Browse Source

fix: js改成ts

master
zhang_li 7 months ago
parent
commit
df7beed6c8
  1. 2
      .env.development
  2. 0
      src/api/dept.ts
  3. 0
      src/api/device.ts
  4. 0
      src/api/dict.ts
  5. 0
      src/api/index.ts
  6. 0
      src/api/location.ts
  7. 0
      src/api/login.ts
  8. 0
      src/api/mold.ts
  9. 0
      src/api/overhaulOrder.ts
  10. 0
      src/api/repairOrder.ts
  11. 0
      src/api/report.ts
  12. 0
      src/api/spareParts.ts
  13. 0
      src/api/sparePartsApplication.ts
  14. 0
      src/api/sparePartsApplicationApprove.ts
  15. 0
      src/api/sparePartsServiceWorkOrderList.ts
  16. 0
      src/api/spotCheckOrder.ts
  17. 0
      src/api/upkeepOrder.ts
  18. 0
      src/api/upload.ts
  19. 0
      src/api/user.ts
  20. 2
      src/components/item/slectItemList.vue
  21. 2
      src/pages/device/index.vue
  22. 12
      src/pages/deviceReport/addForm.vue
  23. 2
      src/pages/deviceReport/index.vue
  24. 2
      src/pages/deviceReport/myDeviceReport.vue
  25. 2
      src/pages/index.vue
  26. 2
      src/pages/mine/changePassword.vue
  27. 2
      src/pages/mold/index.vue
  28. 12
      src/pages/overhaulOrder/addForm.vue
  29. 8
      src/pages/overhaulOrder/addServiceRecord.vue
  30. 2
      src/pages/overhaulOrder/detail.vue
  31. 2
      src/pages/overhaulOrder/index.vue
  32. 2
      src/pages/overhaulOrder/reqairOrderList.vue
  33. 8
      src/pages/repairOrder/addForm.vue
  34. 6
      src/pages/repairOrder/addServiceRecord.vue
  35. 4
      src/pages/repairOrder/detail.vue
  36. 2
      src/pages/repairOrder/index.vue
  37. 2
      src/pages/repairOrder/myOrder.vue
  38. 10
      src/pages/repairOrder/transfer.vue
  39. 2
      src/pages/spareParts/index.vue
  40. 10
      src/pages/sparePartsApplication/addForm.vue
  41. 4
      src/pages/sparePartsApplication/detail.vue
  42. 2
      src/pages/sparePartsApplication/index.vue
  43. 2
      src/pages/sparePartsApplication/mySparePartsApplication.vue
  44. 2
      src/pages/sparePartsApplicationApprove/index.vue
  45. 2
      src/pages/sparePartsApplicationApprove/mySparePartsApplicationApprove.vue
  46. 8
      src/pages/sparePartsServiceWorkOrderList/addForm.vue
  47. 2
      src/pages/sparePartsServiceWorkOrderList/mySparePartsService.vue
  48. 8
      src/pages/spotCheckOrder/addForm.vue
  49. 6
      src/pages/spotCheckOrder/detail.vue
  50. 2
      src/pages/spotCheckOrder/index.vue
  51. 2
      src/pages/spotCheckOrder/myOrder.vue
  52. 8
      src/pages/upkeepOrder/addServiceRecord.vue
  53. 4
      src/pages/upkeepOrder/detail.vue
  54. 2
      src/pages/upkeepOrder/index.vue
  55. 2
      src/pages/upkeepOrder/myOrder.vue

2
.env.development

@ -1,5 +1,5 @@
VITE_BASE_URL=http://192.168.0.106:12080/admin-api VITE_BASE_URL=http://localhost:12080/admin-api
#VITE_BASE_URL=http://dev.ccwin-in.com:25202/api/admin-api #VITE_BASE_URL=http://dev.ccwin-in.com:25202/api/admin-api
VITE_BASE_URL_IMAGE=http://192.168.0.106:12080/admin-api VITE_BASE_URL_IMAGE=http://192.168.0.106:12080/admin-api

0
src/api/dept.js → src/api/dept.ts

0
src/api/device.js → src/api/device.ts

0
src/api/dict.js → src/api/dict.ts

0
src/api/index.js → src/api/index.ts

0
src/api/location.js → src/api/location.ts

0
src/api/login.js → src/api/login.ts

0
src/api/mold.js → src/api/mold.ts

0
src/api/overhaulOrder.js → src/api/overhaulOrder.ts

0
src/api/repairOrder.js → src/api/repairOrder.ts

0
src/api/report.js → src/api/report.ts

0
src/api/spareParts.js → src/api/spareParts.ts

0
src/api/sparePartsApplication.js → src/api/sparePartsApplication.ts

0
src/api/sparePartsApplicationApprove.js → src/api/sparePartsApplicationApprove.ts

0
src/api/sparePartsServiceWorkOrderList.js → src/api/sparePartsServiceWorkOrderList.ts

0
src/api/spotCheckOrder.js → src/api/spotCheckOrder.ts

0
src/api/upkeepOrder.js → src/api/upkeepOrder.ts

0
src/api/upload.js → src/api/upload.ts

0
src/api/user.js → src/api/user.ts

2
src/components/item/slectItemList.vue

@ -39,7 +39,7 @@
import { import {
onLoad, onLoad,
} from '@dcloudio/uni-app' } from '@dcloudio/uni-app'
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
const props = defineProps({ const props = defineProps({
isShowSelectItem: { isShowSelectItem: {

2
src/pages/device/index.vue

@ -50,7 +50,7 @@
import { import {
getAccessToken getAccessToken
} from '@/utils/auth' } from '@/utils/auth'
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import Search from '../../components/search/index.vue' import Search from '../../components/search/index.vue'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({

12
src/pages/deviceReport/addForm.vue

@ -70,12 +70,12 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import * as reportApi from "@/api/report.js" import * as reportApi from "@/api/report"
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as uploadApi from "@/api/upload.js" import * as uploadApi from "@/api/upload"
import * as deptApi from "@/api/dept.js" import * as deptApi from "@/api/dept"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const loading = ref(false) const loading = ref(false)
const type = ref('') const type = ref('')

2
src/pages/deviceReport/index.vue

@ -71,7 +71,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as reportApi from "@/api/report.js" import * as reportApi from "@/api/report"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
// store // store

2
src/pages/deviceReport/myDeviceReport.vue

@ -59,7 +59,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as reportApi from "@/api/report.js" import * as reportApi from "@/api/report"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({
pageNo: 1, pageNo: 1,

2
src/pages/index.vue

@ -94,7 +94,7 @@
} from '@/utils/auth' } from '@/utils/auth'
import { storeToRefs } from 'pinia' import { storeToRefs } from 'pinia'
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove.js" import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
console.log(proxy.$plugins) console.log(proxy.$plugins)

2
src/pages/mine/changePassword.vue

@ -29,7 +29,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as userApi from "@/api/user.js" import * as userApi from "@/api/user"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const newPassword = ref('') const newPassword = ref('')
const oldPassword = ref('') const oldPassword = ref('')

2
src/pages/mold/index.vue

@ -51,7 +51,7 @@
import { import {
getAccessToken getAccessToken
} from '@/utils/auth' } from '@/utils/auth'
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import Search from '../../components/search/index.vue' import Search from '../../components/search/index.vue'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({

12
src/pages/overhaulOrder/addForm.vue

@ -107,12 +107,12 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as overhaulOrderApi from "@/api/overhaulOrder.js" import * as overhaulOrderApi from "@/api/overhaulOrder"
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import * as deptApi from "@/api/dept.js" import * as deptApi from "@/api/dept"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const loading = ref(false) const loading = ref(false)

8
src/pages/overhaulOrder/addServiceRecord.vue

@ -148,10 +148,10 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as overhaulOrderApi from "@/api/overhaulOrder.js" import * as overhaulOrderApi from "@/api/overhaulOrder"
import * as sparePartsApi from "@/api/spareParts.js" import * as sparePartsApi from "@/api/spareParts"
import * as deptApi from "@/api/dept.js" import * as deptApi from "@/api/dept"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import SelectItemList from "../../components/item/slectItemList.vue" import SelectItemList from "../../components/item/slectItemList.vue"
const { proxy} = getCurrentInstance() const { proxy} = getCurrentInstance()
const loading = ref(false) const loading = ref(false)

2
src/pages/overhaulOrder/detail.vue

@ -163,7 +163,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as overhaulOrderApi from "@/api/overhaulOrder.js" import * as overhaulOrderApi from "@/api/overhaulOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

2
src/pages/overhaulOrder/index.vue

@ -69,7 +69,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as overhaulOrderApi from "@/api/overhaulOrder.js" import * as overhaulOrderApi from "@/api/overhaulOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const store = useCountStore() const store = useCountStore()
const isEngineer = ref(false) const isEngineer = ref(false)

2
src/pages/overhaulOrder/reqairOrderList.vue

@ -65,7 +65,7 @@
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const repairOrderList = ref([]) const repairOrderList = ref([])

8
src/pages/repairOrder/addForm.vue

@ -90,10 +90,10 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

6
src/pages/repairOrder/addServiceRecord.vue

@ -138,9 +138,9 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import * as sparePartsApi from "@/api/spareParts.js" import * as sparePartsApi from "@/api/spareParts"
import * as deptApi from "@/api/dept.js" import * as deptApi from "@/api/dept"
import SelectItemList from "../../components/item/slectItemList.vue" import SelectItemList from "../../components/item/slectItemList.vue"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

4
src/pages/repairOrder/detail.vue

@ -284,8 +284,8 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

2
src/pages/repairOrder/index.vue

@ -69,7 +69,7 @@
getCurrentInstance, getCurrentInstance,
nextTick nextTick
} from 'vue' } from 'vue'
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

2
src/pages/repairOrder/myOrder.vue

@ -78,7 +78,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

10
src/pages/repairOrder/transfer.vue

@ -97,11 +97,11 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import * as deptApi from "@/api/dept.js" import * as deptApi from "@/api/dept"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const loading = ref(false) const loading = ref(false)

2
src/pages/spareParts/index.vue

@ -49,7 +49,7 @@
import { import {
getAccessToken getAccessToken
} from '@/utils/auth' } from '@/utils/auth'
import * as sparePartsApi from "@/api/spareParts.js" import * as sparePartsApi from "@/api/spareParts"
import Search from '../../components/search/index.vue' import Search from '../../components/search/index.vue'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({

10
src/pages/sparePartsApplication/addForm.vue

@ -129,11 +129,11 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApplicationApi from "@/api/sparePartsApplication.js" import * as sparePartsApplicationApi from "@/api/sparePartsApplication"
import * as sparePartsApi from "@/api/spareParts.js" import * as sparePartsApi from "@/api/spareParts"
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const loading = ref(false) const loading = ref(false)

4
src/pages/sparePartsApplication/detail.vue

@ -56,8 +56,8 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApplicationApi from "@/api/sparePartsApplication.js" import * as sparePartsApplicationApi from "@/api/sparePartsApplication"
import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove.js" import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const number = ref('') const number = ref('')
const data = ref({}) const data = ref({})

2
src/pages/sparePartsApplication/index.vue

@ -61,7 +61,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApplicationApi from "@/api/sparePartsApplication.js" import * as sparePartsApplicationApi from "@/api/sparePartsApplication"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({
pageNo: 1, pageNo: 1,

2
src/pages/sparePartsApplication/mySparePartsApplication.vue

@ -60,7 +60,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApplicationApi from "@/api/sparePartsApplication.js" import * as sparePartsApplicationApi from "@/api/sparePartsApplication"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({
pageNo: 1, pageNo: 1,

2
src/pages/sparePartsApplicationApprove/index.vue

@ -60,7 +60,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove.js" import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({
pageNo: 1, pageNo: 1,

2
src/pages/sparePartsApplicationApprove/mySparePartsApplicationApprove.vue

@ -60,7 +60,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove.js" import * as sparePartsApplicationApproveApi from "@/api/sparePartsApplicationApprove"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({

8
src/pages/sparePartsServiceWorkOrderList/addForm.vue

@ -108,10 +108,10 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsApi from "@/api/spareParts.js" import * as sparePartsApi from "@/api/spareParts"
import * as sparePartsServiceWorkOrderListApi from "@/api/sparePartsServiceWorkOrderList.js" import * as sparePartsServiceWorkOrderListApi from "@/api/sparePartsServiceWorkOrderList"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as locationApi from "@/api/location.js" import * as locationApi from "@/api/location"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const loading = ref(false) const loading = ref(false)
const type = ref('') const type = ref('')

2
src/pages/sparePartsServiceWorkOrderList/mySparePartsService.vue

@ -66,7 +66,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as sparePartsServiceWorkOrderListApi from "@/api/sparePartsServiceWorkOrderList.js" import * as sparePartsServiceWorkOrderListApi from "@/api/sparePartsServiceWorkOrderList"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({

8
src/pages/spotCheckOrder/addForm.vue

@ -97,10 +97,10 @@
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as deviceApi from "@/api/device.js" import * as deviceApi from "@/api/device"
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import * as spotCheckOrderApi from "@/api/spotCheckOrder.js" import * as spotCheckOrderApi from "@/api/spotCheckOrder"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

6
src/pages/spotCheckOrder/detail.vue

@ -129,10 +129,10 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import * as repairOrderApi from "@/api/repairOrder.js" import * as repairOrderApi from "@/api/repairOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
import * as spotCheckOrderApi from "@/api/spotCheckOrder.js" import * as spotCheckOrderApi from "@/api/spotCheckOrder"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
// store // store

2
src/pages/spotCheckOrder/index.vue

@ -70,7 +70,7 @@
getCurrentInstance, getCurrentInstance,
nextTick nextTick
} from 'vue' } from 'vue'
import * as spotCheckOrderApi from "@/api/spotCheckOrder.js" import * as spotCheckOrderApi from "@/api/spotCheckOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

2
src/pages/spotCheckOrder/myOrder.vue

@ -63,7 +63,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as spotCheckOrderApi from "@/api/spotCheckOrder.js" import * as spotCheckOrderApi from "@/api/spotCheckOrder"
import { useCountStore } from '@/store' import { useCountStore } from '@/store'
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()

8
src/pages/upkeepOrder/addServiceRecord.vue

@ -149,10 +149,10 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as upkeepOrderApi from "@/api/upkeepOrder.js" import * as upkeepOrderApi from "@/api/upkeepOrder"
import * as sparePartsApi from "@/api/spareParts.js" import * as sparePartsApi from "@/api/spareParts"
import * as deptApi from "@/api/dept.js" import * as deptApi from "@/api/dept"
import * as dictApi from "@/api/dict.js" import * as dictApi from "@/api/dict"
import SelectItemList from "../../components/item/slectItemList.vue" import SelectItemList from "../../components/item/slectItemList.vue"
const { proxy} = getCurrentInstance() const { proxy} = getCurrentInstance()
const loading = ref(false) const loading = ref(false)

4
src/pages/upkeepOrder/detail.vue

@ -177,8 +177,8 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as moldApi from "@/api/mold.js" import * as moldApi from "@/api/mold"
import * as upkeepOrderApi from "@/api/upkeepOrder.js" import * as upkeepOrderApi from "@/api/upkeepOrder"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const list = ref([{ const list = ref([{
name: '设备信息' name: '设备信息'

2
src/pages/upkeepOrder/index.vue

@ -61,7 +61,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as upkeepOrderApi from "@/api/upkeepOrder.js" import * as upkeepOrderApi from "@/api/upkeepOrder"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({
pageNo: 1, pageNo: 1,

2
src/pages/upkeepOrder/myOrder.vue

@ -76,7 +76,7 @@
ref, ref,
getCurrentInstance getCurrentInstance
} from 'vue' } from 'vue'
import * as upkeepOrderApi from "@/api/upkeepOrder.js" import * as upkeepOrderApi from "@/api/upkeepOrder"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const params = ref({ const params = ref({
pageNo: 1, pageNo: 1,

Loading…
Cancel
Save