Browse Source

图片列表问题修复

zhangsijie 1 year ago
parent
commit
2388791422

+ 4 - 4
pages/cb/cbd/equip-set/imgpage.vue

@@ -40,10 +40,10 @@
 						<image :src="item.addr" mode="" @click="examine(index)"></image>
 					</view>
 					<view class="imglist_right">
-						<view class="icon_box" @click="delimg(item.id)">
+						<view class="icon_box" @click="delimg(item.ids)">
 							<p class="iconfont icon-shanchu">删除</p>
 						</view>
-						<view class="icon_box" @click="shibie(item.id,item.addr)" v-if="disable==1 && device_type!=7">
+						<view class="icon_box" @click="shibie(item.ids,item.addr)" v-if="disable==1 && device_type!=7">
 							<p class="iconfont icon-shibie">识别</p>
 						</view>
 						<view class="icon_box" v-else-if="disable==2 && device_type!=7">
@@ -222,13 +222,13 @@
 			},
 			tongji(item) { //统计
 				uni.navigateTo({
-					url: "./manualinput?id=" + item.id + "&device_id=" + item.device_id + "&addtime=" + item
+					url: "./manualinput?id=" + item.ids + "&device_id=" + item.device_id + "&addtime=" + item
 						.addtime
 				})
 			},
 			add(item) {
 				uni.navigateTo({
-					url: "./addimg?id=" + item.id + "&device_id=" + item.device_id + "&addtime=" + item.addtime
+					url: "./addimg?id=" + item.ids + "&device_id=" + item.device_id + "&addtime=" + item.addtime
 				})
 			},
 			examine(index) {

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/cb/cbd/equip-set/imgpage.js.map


+ 1 - 0
unpackage/dist/dev/mp-weixin/common/vendor.js

@@ -47906,6 +47906,7 @@ exports.myRequest = void 0;
 // const BASE_URL='http://8.136.98.49:8002'
 // let BASE_URL = 'http://192.168.0.36:8003'
 var BASE_URL = 'https://wx.hnyfwlw.com';
+// let BASE_URL = 'http://192.168.0.117:8003'
 var myRequest = function myRequest(options) {
   // BASE_URL=uni.getStorageSync('http')
   // if(BASE_URL==''){

+ 2 - 2
unpackage/dist/dev/mp-weixin/pages/cb/cbd/equip-set/imgpage.js

@@ -485,12 +485,12 @@ var _default = {
     tongji: function tongji(item) {
       //统计
       uni.navigateTo({
-        url: "./manualinput?id=" + item.id + "&device_id=" + item.device_id + "&addtime=" + item.addtime
+        url: "./manualinput?id=" + item.ids + "&device_id=" + item.device_id + "&addtime=" + item.addtime
       });
     },
     add: function add(item) {
       uni.navigateTo({
-        url: "./addimg?id=" + item.id + "&device_id=" + item.device_id + "&addtime=" + item.addtime
+        url: "./addimg?id=" + item.ids + "&device_id=" + item.device_id + "&addtime=" + item.addtime
       });
     },
     examine: function examine(index) {

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/cb/cbd/equip-set/imgpage.wxml


+ 1 - 0
util/api.js

@@ -2,6 +2,7 @@
 // const BASE_URL='http://8.136.98.49:8002'
 // let BASE_URL = 'http://192.168.0.36:8003'
 let BASE_URL = 'https://wx.hnyfwlw.com'
+// let BASE_URL = 'http://192.168.0.117:8003'
 export const myRequest=(options)=>{
 	// BASE_URL=uni.getStorageSync('http')
 	// if(BASE_URL==''){