USER-20230908AJ\Administrator 1 rok pred
rodič
commit
dbdc3547a6

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

@@ -28,8 +28,7 @@
 					<image class="delete-iocn wh-25" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/hint-subtract.png" @click.stop="delFile(delFile)" mode=""></image>
 				</view>
 				<view class="sys-from-background-color row-c p-20 r-20" @click.stop="uploadingFile(5)">
-					<image class="wh-80 m-r20" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task-details/add-file.png" mode="aspectFill">
-					</image>
+					<image class="wh-80 m-r20" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task-details/add-file.png" mode="aspectFill"></image>
 					<view class="column">
 						<text class="select-file size-24">选择文件</text>
 						<text class="size-24 text-color-666">支持上传文件:pdf、word、excel、ppt</text>

+ 7 - 3
page_task/task_details/task_details.vue

@@ -77,6 +77,7 @@
     </view>
 <!--		<EnButton :text="'冲销'" v-if="current === 1"></EnButton>-->
 <!--		<EnButton is_both :leftText="'交接'" :rightText="'操作'"  @onSubmit="setTaskOperate(1)" @onLeftSubmit="openExecute"></EnButton>-->
+
     <uni-popup ref="executePopup" type="bottom">
       <EnSelect title="请选择任务接收人"  :local-data="executeData" ref="system" v-model="executeId" @setAffirm="setNewExecute"></EnSelect>
     </uni-popup>
@@ -187,9 +188,12 @@
 		},
 		methods: {
       auditTask(auditType) {
-        this.$refs.popup.open("bottom");
-        this.auditType = auditType
-        this.$refs.taskSetObj.startAuditType(auditType);
+        // this.$refs.popup.open("bottom");
+        // this.auditType = auditType
+        // this.$refs.taskSetObj.startAuditType(auditType);
+        uni.navigateTo({
+          url: '/page_task/task_operate/task_operate?businessId='+  this.business.id+'&type=2&auditType='+auditType
+        });
       },
       setPostLoan(){
         uni.navigateTo({

+ 3 - 28
page_task/task_operate/task_operate.vue

@@ -136,6 +136,7 @@
       }else {
         this.businessId=ret.businessId
         this.type=ret.type
+        if(ret.auditType)this.businessData.audit_type=ret.auditType*1
         if(this.type==='1'){
           this.type='任务反馈'
         }else if(this.type==='2'){
@@ -223,7 +224,6 @@
         })
       },
       submit() {
-        console.log('---------------------------------')
         if (this.type==='2') {
           this.auditTask()
         } else {
@@ -311,33 +311,8 @@
           }
         })
       },
-			// 下拉刷新
-			onRefresh() {
-				uni.showLoading({
-					title: '数据加载中'
-				})
-				setTimeout(() => {
-					uni.showToast({
-						title: '加载完成',
-						icon: 'none'
-					})
-					this.$refs.scroll.onEndPulling()
-				}, 1000)
-				console.log("下拉刷新");
-			},
-			// 滚动到底部
-			onScrollBottom() {
-				uni.showLoading({
-					title: '数据加载中'
-				})
-				setTimeout(() => {
-					uni.showToast({
-						title: '加载完成',
-						icon: 'none'
-					})
-				}, 1000)
-				console.log("到底部了");
-			},
+
+
 		}
 	}
 </script>