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.
 
 
 
 

26 lines
482 B

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