瀏覽代碼

no message

DESKTOP-70VPDLK\Administrator 1 年之前
父節點
當前提交
0d3099c815

+ 6 - 3
components/en-utils/en-select/en-select.vue

@@ -4,7 +4,7 @@
 			<view class="icon"></view>
 			<text class="size-30 sys-weight-600">{{title}}</text>
 			<view class="icon">
-				<uni-icons class="dropdown-icon" type="closeempty" size="20" color="#666"></uni-icons>
+				<uni-icons class="dropdown-icon" type="closeempty" size="20" color="#666" @click="close"></uni-icons>
 			</view>
 		</view>
 		<view class="select">
@@ -75,7 +75,10 @@
 				this.newValue = this.localData[index][this.itemKey]
 				this.$emit('input', this.newValue)
 				this.$emit('onChange', index)
-			}
+			},
+      close(){
+        this.$emit('close')
+      }
 		}
 	}
 </script>
@@ -107,4 +110,4 @@
 		color: #333333;
 		background: #F7F9FE;
 	}
-</style>
+</style>

+ 2 - 1
page_task/credit_upload/camera.vue

@@ -95,9 +95,10 @@ export default {
         sourceType:[ 'album'],
         success: (res) => {
           tools.showLoading()
+          console.log(res)
           if (res.tempFiles !== undefined) {
             res.tempFiles.forEach((file) => {
-              this.uploadingFile(file.path);
+              this.uploadingFile(file.tempFilePath);
             })
           }
         },

+ 3 - 3
page_task/task_details/module/property.vue

@@ -65,7 +65,7 @@
 					</view>
 				</view>
 				<!-- 保单信息 -->
-				<view v-else-if="property.property_type===2" class="m-t30">
+				<view v-else-if="property.property_type===3" class="m-t30">
 					<view class="row-c">
 						<view class="dot"></view>
 						<text class="sys-weight-600 m-l10">保单信息</text>
@@ -77,7 +77,7 @@
 						</view>
 						<view class="size-26 m-tb10">
 							<text class="capsule two-text"
-								v-if="verifyKey('insurance_type')">{{property.data.insurance_type}}</text>
+								v-if="verifyKey('insurance_type')">{{property.data.type_name}}</text>
 							<text class="capsule two-text"
 								v-if="verifyKey('year_money')">{{property.data.year_money}}元/年</text>
 						</view>
@@ -103,7 +103,7 @@
 				</view>
 
 				<!-- 车辆信息 -->
-				<view v-else-if="property.property_type===3" class="m-t30">
+				<view v-else-if="property.property_type===2" class="m-t30">
 					<view class="row-c">
 						<view class="dot"></view>
 						<text class="sys-weight-600 m-l10">车辆信息</text>

+ 3 - 2
page_task/task_details/module/send_chat.vue

@@ -177,6 +177,7 @@
 							res.tempFiles.forEach((tempFilePath) => {
 								console.log(tempFilePath)
 								txUploadFile(tempFilePath.path).then((data) => {
+                  this.showUploadingImg(false);
 									if (!data) {
 										tools.error('图片上传失败')
 									} else {
@@ -197,7 +198,7 @@
 									}
 								})
 							})
-							this.showUploadingImg(false);
+
 						} else {
 							tools.error("请选择上传文件")
 							tools.hideLoading()
@@ -363,4 +364,4 @@
 		display: inline-block;
 		margin-bottom: 10rpx;
 	}
-</style>
+</style>

+ 3 - 3
page_task/task_details/module/third_party.vue

@@ -20,7 +20,7 @@
 							</view>
 						</view>
 						<view class="row-c m-t20" v-if="verifyKey('identity_one')">
-							<EnImage @onShowImg="onPreviewImage" :list="[item.identity_one,item.identity_two]">
+							<EnImage @onShowImg="onPreviewImage" :img="[item.identity_one,item.identity_two]">
 							</EnImage>
 						</view>
 					</view>
@@ -39,7 +39,7 @@
 							<text class="m-l16">{{item.id_number}}</text>
 						</view>
 						<EnImage @onShowImg="onPreviewImage" v-if="verifyKey('identity_one')"
-							:list="[item.identity_one]"></EnImage>
+							:img="[item.identity_one]"></EnImage>
 					</view>
 				</view>
 				<view class="m-t20 color-4A2600">
@@ -154,4 +154,4 @@
 		background: #FFE6C8;
 		border-radius: 10rpx 0rpx 10rpx 0rpx;
 	}
-</style>
+</style>

+ 4 - 1
page_task/task_details/task_details.vue

@@ -100,7 +100,7 @@
 
 		<uni-popup ref="executePopup" type="bottom">
 			<EnSelect title="请选择任务接收人" :local-data="executeData" ref="system" v-model="executeId"
-				@setAffirm="setNewExecute"></EnSelect>
+				@setAffirm="setNewExecute" @close="closeExecutePopup"></EnSelect>
 		</uni-popup>
 
 	</view>
@@ -331,6 +331,9 @@
 					}
 				})
 			},
+      closeExecutePopup(){
+        this.$refs.executePopup.close('bottom')
+      },
 			setNewExecute(type) {
 				if (type) {
 					//设置新执行人