chenrui hace 2 años
padre
commit
3ca5481e72
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/power/equipment/equipmentManagement.vue

+ 2 - 2
src/views/power/equipment/equipmentManagement.vue

@@ -76,7 +76,7 @@ import storeList from '@/views/common/storeList.vue'
 import { STable, VSelect } from '@/components'
 import addEquipmentModal from './addEquipmentModal'
 import { handDeviceList, handDeviceDel, handDeviceEdit } from '@/api/handDevice.js'
-import { getAreaCgj } from '@/api/data'
+import { getArea } from '@/api/data'
 export default {
   name: 'EquipmentManagement',
   components: { STable, VSelect, storeList, addEquipmentModal },
@@ -133,7 +133,7 @@ export default {
     },
     // 获取所属省份
     getCityList () {
-      getAreaCgj({ type: '2' }).then(res => {
+      getArea({ type: '2' }).then(res => {
         if (res.status == 200) {
           this.addrProvinceList = res.data || []
         } else {