瀏覽代碼

bug 修复

lilei 4 年之前
父節點
當前提交
3cc9c3540a

+ 2 - 3
hybrid/html/video.html

@@ -377,6 +377,8 @@
 					},
 					// 打开抓拍照片弹框
 					openCamera(index) {
+						// 显示弹框
+						this.showPz = true
 						this.activeZbIndex = index
 						this.sendMsg('getWinStatus', JSON.stringify({
 							key: 'showPz',
@@ -414,9 +416,6 @@
 							this.curZbItem.taskTargetPhotoList.push(obj)
 							this.curZbItem.taskTargetPhotoList.splice()
 						}
-						
-						// 显示弹框
-						this.showPz = true
 					},
 					// 关闭抓拍弹框
 					onClosePz() {

+ 1 - 1
pages/login/login.vue

@@ -125,6 +125,7 @@ export default {
 		},
 		//  表单提交
 		formSubmit() {
+			this.toMain();
 			const _this = this;
 			//  表单校验
 			if (_this.form.username == '') {
@@ -152,7 +153,6 @@ export default {
 			});
 			//  登录
 			login(_this.form).then(ret => {
-				console.log(ret)
 				uni.hideLoading();
 				let res = ret.data ? ret.data : ret;
 				if (res.status == 200) {

+ 6 - 1
pages/shopTour/shopTour.vue

@@ -86,8 +86,13 @@
 				let params = {
 					id: data.id,
 					comments: data.comments,
-					taskTargetPhotoList: data.taskTargetPhotoList
+					taskTargetPhotoList: []
 				}
+				data.taskTargetPhotoList.map(item=>{
+					params.taskTargetPhotoList.push({
+						photoPath: item.photoPath
+					})
+				})
 				console.log(params,'saveZbPlImgs')
 				taskCommentsSave(params).then(res=>{
 					console.log(res)

+ 6 - 2
pages/spotCheckConfigure/spotCheckList.vue

@@ -15,8 +15,12 @@
 				</span>
 			</view>
 		</view>
-		<u-empty :text="noDataText" v-if="list.length == 0 && status != 'loading'" mode="list"></u-empty>
-		<view style="padding: 20upx;"><u-loadmore v-if="total > pageSize || status == 'loading'" :status="status" /></view>
+		<view style="padding-top: 30vh;">
+			<u-empty :text="noDataText" v-if="list.length == 0 && status != 'loading'" mode="list"></u-empty>
+		</view>
+		<view style="padding: 20upx;">
+			<u-loadmore v-if="total > pageSize || status == 'loading'" :status="status" />
+		</view>
 	</view>
 </template>
 

+ 1 - 1
pages/videoShopTour/videoShopTour.vue

@@ -86,7 +86,7 @@
 					}else{
 						uni.showToast({
 							icon: 'none',
-							title: '当前门店没绑定设备,暂时不能视频巡店'
+							title: '当前门店没绑定设备,暂时不能视频巡店'
 						})
 					}
 				})

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


+ 8 - 3
unpackage/dist/dev/app-plus/app-view.js

@@ -19793,11 +19793,16 @@ var render = function() {
           1
         )
       }),
-      _vm._$g(11, "i") ? _c("u-empty", { attrs: { _i: 11 } }) : _vm._e(),
       _c(
         "v-uni-view",
-        { staticStyle: { padding: "20upx" }, attrs: { _i: 12 } },
-        [_vm._$g(13, "i") ? _c("u-loadmore", { attrs: { _i: 13 } }) : _vm._e()],
+        { staticStyle: { "padding-top": "30vh" }, attrs: { _i: 11 } },
+        [_vm._$g(12, "i") ? _c("u-empty", { attrs: { _i: 12 } }) : _vm._e()],
+        1
+      ),
+      _c(
+        "v-uni-view",
+        { staticStyle: { padding: "20upx" }, attrs: { _i: 13 } },
+        [_vm._$g(14, "i") ? _c("u-loadmore", { attrs: { _i: 14 } }) : _vm._e()],
         1
       )
     ],

+ 2 - 3
unpackage/dist/dev/app-plus/hybrid/html/video.html

@@ -377,6 +377,8 @@
 					},
 					// 打开抓拍照片弹框
 					openCamera(index) {
+						// 显示弹框
+						this.showPz = true
 						this.activeZbIndex = index
 						this.sendMsg('getWinStatus', JSON.stringify({
 							key: 'showPz',
@@ -414,9 +416,6 @@
 							this.curZbItem.taskTargetPhotoList.push(obj)
 							this.curZbItem.taskTargetPhotoList.splice()
 						}
-						
-						// 显示弹框
-						this.showPz = true
 					},
 					// 关闭抓拍弹框
 					onClosePz() {

Some files were not shown because too many files changed in this diff