05f76ee0d71ed6c3594a8f9df4490402c166d866.svn-base 562 B

12345678910111213141516171819202122232425262728
  1. import { formatDate } from '@/utils/util'
  2. import Area from '@/components/_util/Area'
  3. import { postAction } from '@/api/manage'
  4. const onlUtil = {
  5. data(){
  6. return {
  7. mixin_pca:'',
  8. flowCodePre: 'onl_'
  9. }
  10. },
  11. created(){
  12. this.mixin_pca = new Area(this.$Jpcaa)
  13. },
  14. methods:{
  15. simpleDateFormat(millisecond, format){
  16. return formatDate(millisecond, format)
  17. },
  18. getPcaText(code){
  19. return this.mixin_pca.getText(code);
  20. },
  21. getPcaCode(text){
  22. return this.mixin_pca.getCode(text)
  23. }
  24. }
  25. }
  26. export { onlUtil }