Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

26 rader
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 }