修改手动创建任务

This commit is contained in:
shidongli 2024-12-10 14:25:20 +08:00
parent c7ce6dbffa
commit cca94d7156
2 changed files with 13 additions and 7 deletions

View File

@ -172,7 +172,7 @@ export default {
query: {
path: "/patient/patientinfoimport",
// signPatientRecordId: row.id,
importMainId: row.id ?row.id : '',
sn: row.sn ?row.sn : '',
patientName: row.patientName ? row.patientName : '',
departmentId: row.departmentId ? row.departmentId : '',
departmentName: row.departmentName ? row.departmentName : '',

View File

@ -559,7 +559,7 @@ export default {
optionslisttime: [],
parentDictCodelist: [],
updata: {
importMainId: "",
sn: "",
signPatientRecordId: "",
patientId: "",
patientName: "",
@ -640,7 +640,7 @@ export default {
this.optiononditionOperator();
this.updata.signPatientRecordId = this.$route.query.signPatientRecordId;
this.updata.patientId = this.$route.query.patientId;
this.updata.importMainId = this.$route.query.importMainId;
this.updata.sn = this.$route.query.sn;
this.updata.patientName = this.$route.query.patientName;
this.updata.departmentId = this.$route.query.departmentId;
this.updata.departmentName = this.$route.query.departmentName;
@ -711,7 +711,7 @@ export default {
item.checked1=""
item.checked2=2
item.checked3=""
item.routeNodeName = ""
// item.routeNodeName = ""
item.routeNodeDay = ""
item.plantype = "APPOINT"
item.timedata = ""
@ -745,7 +745,7 @@ export default {
item.checked1 = ""
item.checked3 = ""
console.log(this.list, 'list')
item.routeNodeName = ""
// item.routeNodeName = ""
item.routeNodeDay = ""
item.plantype = "APPOINT"
item.timedata = ""
@ -754,7 +754,7 @@ export default {
handleCheckAllChange3(e, item) {
item.checked1 = ""
item.checked2 = ""
item.routeNodeName = ""
// item.routeNodeName = ""
item.routeNodeDay = ""
console.log(e, item, 'value3')
let yy = new Date().getFullYear();
@ -776,6 +776,7 @@ export default {
}).then(() => {
this.updata.routeNodeList = this.list;
var newObj = JSON.parse(JSON.stringify(this.updata));
newObj.routeNodeList.forEach(e => {
if (e.timedata) {
e.nodePlanTime = e.timedata
@ -784,8 +785,13 @@ export default {
delete e.checked1;
delete e.checked2;
delete e.checked3;
})
// var nulllength= newObj.routeNodeList.filter(item => item.routeNodeName=="" || item.routeNodeName==null || item.routeNodeName==undefined);
// console.log(nulllength,'nulllength')
// if(nulllength.length>0){
// this.$message.error('');
// return
// }
console.log(newObj, 'this.newObj')
console.log(this.updata, 'this.updata')
// return