diff --git a/supervise-organizational-ui/src/views/brank/brankAdd.vue b/supervise-organizational-ui/src/views/brank/brankAdd.vue
index 5da879de..76d9b778 100644
--- a/supervise-organizational-ui/src/views/brank/brankAdd.vue
+++ b/supervise-organizational-ui/src/views/brank/brankAdd.vue
@@ -23,7 +23,6 @@
-
省-市-县:
@@ -227,6 +227,14 @@ export default {
taskid: ''
}
},
+ queryParamsA: {
+ current: 1,
+ size: 10,
+ total: 0,
+ params: {
+ orderId:''
+ }
+ },
}
},
mounted(){
@@ -234,7 +242,6 @@ export default {
if (resp.success) {
const data = resp.data
this.dataList = data.records
- this.list = data.records
}
})
},
@@ -258,7 +265,7 @@ export default {
this.formobj.operationcontent = '' // 处理情况
this.formobj.receiveperson = '' // 现场联系人
this.formobj.receivetel = '' // 现场联系人电话
-
+ this.queryParamsA.params.orderId=''
this.$refs['form_obj'].resetFields()
this.$emit('doback')
},
@@ -276,6 +283,7 @@ export default {
this.$refs['form_obj'].clearValidate()
})
this.viewTitle = '【新增】工单数据'
+ this.ShowList()
},
showEdit(row) {
this.$nextTick(() => {
@@ -310,6 +318,9 @@ export default {
.catch(e => {
this.formobj = row
})
+ this.queryParamsA.params.orderId=row.sid
+ this.ShowList()
+ this.ShowYunwei()
},
saveOrUpdate() {
if (this.formobj.workers.length === 0) {
@@ -327,6 +338,7 @@ export default {
if (resp.success) {
_this.$message({ showClose: true, type: 'success', message: resp.msg })
_this.handleReturn('true')
+ _this.queryParamsA.params.orderId=''
} else {
// 根据resp.code进行异常情况处理
}
@@ -362,9 +374,21 @@ export default {
}).then(() => {
this.TabList.splice(index, 1);
})
- },
- }
- }
+ },
+ // 查询运维人员信息
+ ShowYunwei(){
+ req.listPageB(this.queryParamsA).then((res)=>{
+ console.log(res);
+ })
+ },
+ // 查询任务项列表信息
+ ShowList(){
+ req.listPageA(this.queryParamsA).then((res)=>{
+ this.list = res.data.records
+ })
+ },
+ }
+}
diff --git a/yxt_supervise/supervise-dispatchcenter/supervise-dispatchcenter-ui/src/views/yxtdispatchcenter/dispatchorderinfo/dispatchpatrolplanAdds.vue b/yxt_supervise/supervise-dispatchcenter/supervise-dispatchcenter-ui/src/views/yxtdispatchcenter/dispatchorderinfo/dispatchpatrolplanAdds.vue
index 6d090484..8afda781 100644
--- a/yxt_supervise/supervise-dispatchcenter/supervise-dispatchcenter-ui/src/views/yxtdispatchcenter/dispatchorderinfo/dispatchpatrolplanAdds.vue
+++ b/yxt_supervise/supervise-dispatchcenter/supervise-dispatchcenter-ui/src/views/yxtdispatchcenter/dispatchorderinfo/dispatchpatrolplanAdds.vue
@@ -130,17 +130,40 @@