diff --git a/src/views/zhiwujiance/zhiwujianceList.vue b/src/views/zhiwujiance/zhiwujianceList.vue
index e1cb030..be79dd8 100644
--- a/src/views/zhiwujiance/zhiwujianceList.vue
+++ b/src/views/zhiwujiance/zhiwujianceList.vue
@@ -5,20 +5,20 @@
-
+
{{ searchxianshitit }}
@@ -48,7 +48,6 @@
联系人:{{ item.ren }}
联系电话:{{ item.dianhua }}
-
@@ -83,8 +82,8 @@
-
+
@@ -109,6 +108,7 @@ import zhiwujianceInfo from './zhiwujianceInfo'
import * as echarts from "echarts";
import PieChartrenyuan from '@/views/echarts/components/PieChartrenyuanb'
import { getDeviceImagePage, getShiPinNormalByChannelNo } from '@/api/deviceImage/deviceImage'
+import { getWareHouseList } from '@/api/device/device'
// 1.1完好率饼图
const wanhao_Chart = {
@@ -182,8 +182,7 @@ export default {
data() {
return {
// imgUrl: 'http://huirong.ybkjyl.com/1.png',
- // fileUrl: 'http://huirong.ybkjyl.com/imagesDownload/',
- fileUrl: 'http://8.130.39.13:7003/upload/monitor/',
+ fileUrl: 'http://huirong.ybkjyl.com/imagesDownload/',
wanhao_Chart: wanhao_Chart, // 1.1
weixiu_Chart: weixiu_Chart,
sunhai_Chart: sunhai_Chart,
@@ -211,6 +210,7 @@ export default {
// 查询 -----------
tableKey: 0,
list: [],
+ ckList: [],
Datalistb: [
{ name: '仓库1', cangku: '仓库1003F3', weizhi: '石家庄市长安区和平西路126号', huohao: 'F31006C102325', ren: '李舜华', dianhua: '13933263572' },
],
@@ -285,9 +285,6 @@ export default {
}
}
},
- parseImg(imgUrl) {
- return imgUrl
- },
getSupplierType(item) {
for (var i = 0; i < this.supplierType_list.length; i++) {
if (this.supplierType_list[i].id == item) {
@@ -333,8 +330,22 @@ export default {
}
},
init() {
+ getWareHouseList().then(res => {
+ console.log(res)
+ if (res.code == 200) {
+ this.ckList = res.data
+ }
+ })
+
+ getDeviceImagePage(this.listQuery).then((res) => {
+ this.list = res.data.records
+ this.listQuery.total = res.data.total
+ })
+ },
+ getList() {
getDeviceImagePage(this.listQuery).then((res) => {
this.list = res.data.records
+ this.listQuery.total = res.data.total
})
},
// 序号