diff --git a/src/views/devide/device.vue b/src/views/devide/device.vue new file mode 100644 index 0000000..c8f1502 --- /dev/null +++ b/src/views/devide/device.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/views/operation/hand.vue b/src/views/operation/hand.vue index fcd03ec..45e6ece 100644 --- a/src/views/operation/hand.vue +++ b/src/views/operation/hand.vue @@ -99,7 +99,7 @@ > @@ -148,181 +148,309 @@ :append-to-body="true" width="50%" > -
- -
- 故障信息 +
+ +
+
+ 故障信息 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - - - +
- - - - - + + + + +
+
+
- - - - - - - - - - - - - - - - -
- 处理情况 + 维修详情 +
+ + + + + + + + + + + + + + + + + + + + + +
- - - - -
- 维修详情 +
+
+ 评价 +
+
+

1.您对本次维修的质量方面满意吗?

+
+
满意
+
不满意
+
+
+
+

2.您对本次维修的安全方面满意吗?

+
+
满意
+
不满意
+
+
+
+

3.您对本次维修的时效方面满意吗?

+
+
满意
+
不满意
+
+
- - - - - +
- - - - - - - - - - - - - - - - - + 签名 +
+ + 清空 + 确定 + + + + + + + +
- 关闭 + 关闭 评价并签字 @@ -587,7 +715,6 @@ export default { }, data: [], videoList: "", //上传成功的视频 - form2Option: { emptyBtn: false, submitBtn: false, @@ -671,6 +798,12 @@ export default { ], }, detailForm: {}, + rowStatus:'', + isEvalute:false, + isQuality:0, + isSafe:0, + isTime:0, + nameImg:'' }; }, directives: { @@ -912,6 +1045,11 @@ export default { }); } }, + // 点击关闭按钮 + handleClose(){ + this.detailForm = {} + this.detailVisible = false + }, // 点击取消按钮 handleCancel() { this.dialogVisible = false; @@ -1111,6 +1249,50 @@ export default { this.dialogVisible = true; }, + clickQualityYes(){ + this.isQuality = 1 + }, + clickQualityNo(){ + this.isQuality = 2 + }, + clickSafeYes(){ + this.isSafe = 1 + }, + clickSafeNo(){ + this.isSafe = 2 + }, + clickTimeYes(){ + this.isTime = 1 + }, + clickTimeNo(){ + this.isTime = 2 + }, + + confirmName(){ + this.nameImg = this.$refs.sign.submit(80, 50); + }, + + clearName(){ + this.$refs.sign.clear() + this.nameImg = '' + }, + + + // 点击行内的评价并签字按钮 + handleEvaluate(row){ + this.rowStatus = row.operationStatus + this.detailVisible = true + this.detailForm = row + this.isEvalute = true + }, + + // 查看 + handleView(row){ + this.rowStatus = row.operationStatus + this.detailVisible = true + this.detailForm = row + }, + // 点击保存按钮 handleSave() { this.dialogVisible = false; @@ -1151,6 +1333,8 @@ export default { onLoad(page, params = {}) { this.data = [ { + addPerson:'张三', + addPersonPhone:'13325412312', operationNo: "WX-20240820-01", deviceName: "通风柜", errPosition: "一楼102室", @@ -1159,6 +1343,7 @@ export default { operationDate: "2024-02-15", operationStatus: 1, finishDate: "2024-02-26", + addTime:'2024-02-15 16:00:05', errorVideo: "/i/movie.ogg", errorImg: [ "https://api.avuejs.com/imgview/1721789673575.jpg", @@ -1166,6 +1351,8 @@ export default { ], }, { + addPerson:'张三', + addPersonPhone:'13325412312', operationNo: "WX-20240820-01", deviceName: "通风柜", errPosition: "一楼102室", @@ -1174,10 +1361,24 @@ export default { operationDate: "2024-02-15", operationStatus: 2, finishDate: "2024-02-26", + addTime:'2024-02-15 16:00:05', errorVideo: "https://api.avuejs.com/imgview/主动管控页面.mp4", errorImg: [], + orderTime:'2024-02-18 15:32:10', + maintainPerson:'李四', + maintainName:'通风柜', + errorReason:'故障原因故障原因故障原因故障原因故障原因故障原因故障原因故障原因故障原因故障原因', + dealMethod:'处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法', + tableData:[ + {name:'物料1',money:100.00}, + {name:'物料2',money:100.00}, + {name:'物料3',money:58.50}, + {name:'物料4',money:32.00}, + ] }, { + addPerson:'张三', + addPersonPhone:'13325412312', operationNo: "WX-20240820-01", deviceName: "通风柜", errPosition: "一楼102室", @@ -1186,8 +1387,20 @@ export default { operationDate: "2024-02-15", operationStatus: 3, finishDate: "2024-02-26", + addTime:'2024-02-15 16:00:05', errorVideo: "https://api.avuejs.com/imgview/主动管控页面.mp4", errorImg: [], + orderTime:'2024-02-18 15:32:10', + maintainPerson:'李四', + maintainName:'通风柜', + errorReason:'故障原因故障原因故障原因故障原因故障原因故障原因故障原因故障原因故障原因故障原因', + dealMethod:'处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法处理方法', + tableData:[ + {name:'物料1',money:100.00}, + {name:'物料2',money:100.00}, + {name:'物料3',money:58.50}, + {name:'物料4',money:32.00}, + ] }, ]; this.loading = false;