瀏覽代碼

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao 2 年之前
父節點
當前提交
1e8fe1f353
共有 2 個文件被更改,包括 14 次插入2 次删除
  1. 1 1
      pages/risk/risk.vue
  2. 13 1
      pages/task/submit/submit.vue

+ 1 - 1
pages/risk/risk.vue

@@ -38,7 +38,7 @@
 					<h4 class="goafName" v-if="item.goafName">{{formateGoafName(item)}}</h4>
 					<view class="footer">
 						<view class="lf">
-							<div class="time">{{item.dangerDeadline}}</div>
+							<div class="time">{{item.submitTime}}</div>
 							<div class="user">{{item.curAccountName}}</div>						
 						</view>
 						<div class="status" v-if="item.status===4">完成</div>

+ 13 - 1
pages/task/submit/submit.vue

@@ -10,6 +10,12 @@
 					:localdata="goafList"
 				></uni-data-select>
 			</uni-forms-item>
+			<uni-forms-item label="预警类型" name="hdangerType" required>
+				<uni-data-select :clear="false"
+					v-model="formData.hdangerType"
+					:localdata="hdangerTypes"
+				></uni-data-select>
+			</uni-forms-item>
 			<uni-forms-item v-if="formState!=='form_checkList'" label="检查表" name="checklistId" required>
 				<uni-data-select
 					v-model="formData.checklistId"
@@ -85,6 +91,7 @@
 					'dangerDeadline': '', // 截止时间
 					'goafId': undefined,
 					'checklistId': '',
+					'hdangerType':0,
 					"attachList":[]
 				},
 				formState:undefined,
@@ -94,6 +101,10 @@
 				userList:[],
 				checkList:[],
 				goafList:[],
+				hdangerTypes:[
+					{"value": 0,"text": "人员巡检"	},
+					{"value": 1,"text": "传感器巡检"},					
+				],
 				hdangerLevels:[
 					{"value": 0,"text": "较低"	},
 					{"value": 1,"text": "一般"},
@@ -259,7 +270,8 @@
 					this.formData.submitPositionId = userData.positionId
 					this.formData.submitPositionName = userData.positionName
 					this.formData.submitAccountId = userData.userId
-					this.formData.submitAccountName = userData.userName			  
+					this.formData.submitAccountName = userData.userName	
+				/*评审人信息*/
 					this.formData.reviewRemark = this.flowData.hdangerDesc			
 					this.formData.reviewAccountName = user.accountName
 					this.formData.reviewGroupId = user.groupId