You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
551 B
28 lines
551 B
import { formatDate } from '@/utils/util'
|
|
import Area from '@/components/_util/Area'
|
|
import { postAction } from '@/api/manage'
|
|
|
|
const onlUtil = {
|
|
data(){
|
|
return {
|
|
mixin_pca:'',
|
|
flowCodePre: 'onl_'
|
|
}
|
|
},
|
|
created(){
|
|
this.mixin_pca = new Area()
|
|
},
|
|
methods:{
|
|
simpleDateFormat(millisecond, format){
|
|
return formatDate(millisecond, format)
|
|
},
|
|
getPcaText(code){
|
|
return this.mixin_pca.getText(code);
|
|
},
|
|
getPcaCode(text){
|
|
return this.mixin_pca.getCode(text)
|
|
}
|
|
}
|
|
}
|
|
|
|
export { onlUtil } |