|
|
|
|
@ -175,7 +175,7 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
</div> |
|
|
|
|
<!-- 维修人员 接单 --> |
|
|
|
|
<div v-show="addForm.taskStatus == 2||addForm.taskStatus == 3||addForm.taskStatus == 4|| dialogType != '查看'"> |
|
|
|
|
<div v-show="(addForm.taskStatus == 1||addForm.taskStatus == 2||addForm.taskStatus == 3||addForm.taskStatus == 4)&& dialogType != '查看'"> |
|
|
|
|
<div style=" |
|
|
|
|
color: #101010; |
|
|
|
|
font-size: 20px; |
|
|
|
|
@ -704,6 +704,7 @@ export default { |
|
|
|
|
this.inspectionForm.tableData = this.inspectionTable |
|
|
|
|
this.deviceName = '' |
|
|
|
|
// this.activeFloor = val.value |
|
|
|
|
console.log(111111,this.inspectionTable) |
|
|
|
|
this.activeFloorName = val |
|
|
|
|
let firstFloor = this.addForm.details.find(item => item.floorName == this.activeFloorName) |
|
|
|
|
this.roomArr = firstFloor.details.map(item => item.deptName) |
|
|
|
|
@ -843,7 +844,7 @@ export default { |
|
|
|
|
this.inspectionForm = res.data.data |
|
|
|
|
this.dialogInspection = true |
|
|
|
|
this.inspectionForm.tableData = this.checkDeepData(res.data.data.details) |
|
|
|
|
this.inspectionTable = JSON.parse(JSON.stringify(this.inspectionForm.tableData)) |
|
|
|
|
this.inspectionTable = this.inspectionForm.tableData |
|
|
|
|
|
|
|
|
|
this.floorArr = this.inspectionForm.details.map(item => item.floorName) |
|
|
|
|
this.activeFloorName = this.floorArr[0] |
|
|
|
|
@ -878,7 +879,7 @@ export default { |
|
|
|
|
this.inspectionForm = res.data.data |
|
|
|
|
this.dialogInspection = true |
|
|
|
|
this.inspectionForm.tableData = this.checkDeepData(res.data.data.details) |
|
|
|
|
this.inspectionTable = JSON.parse(JSON.stringify(this.inspectionForm.tableData)) |
|
|
|
|
this.inspectionTable = this.inspectionForm.tableData |
|
|
|
|
this.inspectionForm.tableData.map(item => { |
|
|
|
|
|
|
|
|
|
if (item.picUrl != '') { |
|
|
|
|
@ -1039,6 +1040,7 @@ export default { |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning' |
|
|
|
|
}).then(() => { |
|
|
|
|
console.log('巡检提交',query) |
|
|
|
|
servicemanUpdateDetail(query).then(res => { |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
servicemanSubmit({ id: this.inspectionForm.id }).then(res => { |
|
|
|
|
|