修改 详情
This commit is contained in:
parent
4695a0f2db
commit
d54a90b430
@ -688,15 +688,7 @@ export default {
|
|||||||
form: {},
|
form: {},
|
||||||
itemindex: 0,
|
itemindex: 0,
|
||||||
listindex: null,
|
listindex: null,
|
||||||
lists: [],
|
|
||||||
value: '',
|
|
||||||
input: '',
|
input: '',
|
||||||
//任务类型
|
|
||||||
selectTaskTypeList: [],
|
|
||||||
//任务状态
|
|
||||||
taskStatusDictList: [],
|
|
||||||
//任务细分
|
|
||||||
taskPartitionList: [],
|
|
||||||
moban: [],
|
moban: [],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -725,9 +717,7 @@ export default {
|
|||||||
// this.getAllNodeByPatientlist = res.data
|
// this.getAllNodeByPatientlist = res.data
|
||||||
loading.close();
|
loading.close();
|
||||||
this.getAllNodeByPatientlist = this.handleData(res.data, 'routeNodeDay', 'routeNodeName')
|
this.getAllNodeByPatientlist = this.handleData(res.data, 'routeNodeDay', 'routeNodeName')
|
||||||
console.log(this.getAllNodeByPatientlist, 'this.getAllNodeByPatientlist')
|
// console.log(this.getAllNodeByPatientlist, 'this.getAllNodeByPatientlist')
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
loading.close();
|
loading.close();
|
||||||
@ -797,10 +787,7 @@ export default {
|
|||||||
this.getParamslistData = res.data
|
this.getParamslistData = res.data
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 药品列表
|
// 药品列表
|
||||||
informationInfoinfo() {
|
informationInfoinfo() {
|
||||||
// this.informationqueryParams.pageNum = 1;
|
// this.informationqueryParams.pageNum = 1;
|
||||||
@ -918,7 +905,7 @@ export default {
|
|||||||
background: 'rgba(0, 0, 0, 0.7)'
|
background: 'rgba(0, 0, 0, 0.7)'
|
||||||
});
|
});
|
||||||
inserList(this.getParamslistData).then(res => {
|
inserList(this.getParamslistData).then(res => {
|
||||||
this.getAllNodeBy();
|
// this.getAllNodeBy();
|
||||||
this.$modal.msgSuccess("提交成功!");
|
this.$modal.msgSuccess("提交成功!");
|
||||||
loading.close();
|
loading.close();
|
||||||
})
|
})
|
||||||
@ -936,47 +923,6 @@ export default {
|
|||||||
this.itemindex = ulindex;
|
this.itemindex = ulindex;
|
||||||
this.taskPartitionCode = ulitem.taskPartitionCode
|
this.taskPartitionCode = ulitem.taskPartitionCode
|
||||||
},
|
},
|
||||||
//任务类型 任务状态
|
|
||||||
taskinfo() {
|
|
||||||
selectTaskTypeList().then(res => {
|
|
||||||
this.selectTaskTypeList = res.data
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
//任务类型
|
|
||||||
changeTaskType(code, taskSubdivision) {
|
|
||||||
let id = this.selectTaskTypeList?.find(e => e.taskTypeCode == code)?.id
|
|
||||||
this.form.taskTypeName = this.selectTaskTypeList?.find(e => e.taskTypeCode == code)?.taskTypeName
|
|
||||||
taskPartitionList(id).then(res => {
|
|
||||||
this.taskPartitionList = res.data
|
|
||||||
this.form.taskSubdivision = ''
|
|
||||||
this.form.taskSubdivisionName = ''
|
|
||||||
this.form.taskSubdivisiontemplateType = ''
|
|
||||||
this.taskStatusDictList = []
|
|
||||||
if (taskSubdivision) {
|
|
||||||
this.form.taskSubdivision = taskSubdivision
|
|
||||||
this.changetaskSubdivision(taskSubdivision, 1)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//点击任务细分
|
|
||||||
changetaskSubdivision(code, type) {
|
|
||||||
this.form.taskSubdivisionName = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.taskPartitionName
|
|
||||||
let id = this.taskPartitionList?.find(e => e.taskPartitionCode == code)?.id
|
|
||||||
taskStatusDictList(id).then(res => {
|
|
||||||
this.taskStatusDictList = res.data
|
|
||||||
})
|
|
||||||
this.taskPartitionList.forEach(el => {
|
|
||||||
if (code == el.taskPartitionCode) {
|
|
||||||
this.form.executionTime = el.executionTime
|
|
||||||
this.form.taskSubdivisiontemplateType = el.templateType
|
|
||||||
if (!type) {
|
|
||||||
this.form.templateId = ''
|
|
||||||
this.form.templateName = ''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 知识库获取
|
// 知识库获取
|
||||||
knowledge(index, item) {
|
knowledge(index, item) {
|
||||||
console.log(this.taskPartitionCode)
|
console.log(this.taskPartitionCode)
|
||||||
@ -1004,10 +950,9 @@ export default {
|
|||||||
this.moban[0].forEach(e=>{
|
this.moban[0].forEach(e=>{
|
||||||
console.log(e,'099999999999')
|
console.log(e,'099999999999')
|
||||||
e.paramValue=""
|
e.paramValue=""
|
||||||
|
e.id=""
|
||||||
})
|
})
|
||||||
const newVal = JSON.parse(JSON.stringify(this.moban[0]))
|
const newVal = JSON.parse(JSON.stringify(this.moban[0]))
|
||||||
|
|
||||||
// const newVal = JSON.parse(JSON.stringify(this.getParamslistData[0]))
|
// const newVal = JSON.parse(JSON.stringify(this.getParamslistData[0]))
|
||||||
newVal.forEach(i => {
|
newVal.forEach(i => {
|
||||||
// i.sn = this.getParamslistData.length +1
|
// i.sn = this.getParamslistData.length +1
|
||||||
@ -1121,6 +1066,7 @@ export default {
|
|||||||
::v-deep .el-card {
|
::v-deep .el-card {
|
||||||
width: 85%;
|
width: 85%;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
|
padding-top: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
@ -1222,6 +1168,7 @@ export default {
|
|||||||
.toptop {
|
.toptop {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user