修改手动创建任务
This commit is contained in:
parent
c7ce6dbffa
commit
cca94d7156
@ -172,7 +172,7 @@ export default {
|
|||||||
query: {
|
query: {
|
||||||
path: "/patient/patientinfoimport",
|
path: "/patient/patientinfoimport",
|
||||||
// signPatientRecordId: row.id,
|
// signPatientRecordId: row.id,
|
||||||
importMainId: row.id ?row.id : '',
|
sn: row.sn ?row.sn : '',
|
||||||
patientName: row.patientName ? row.patientName : '',
|
patientName: row.patientName ? row.patientName : '',
|
||||||
departmentId: row.departmentId ? row.departmentId : '',
|
departmentId: row.departmentId ? row.departmentId : '',
|
||||||
departmentName: row.departmentName ? row.departmentName : '',
|
departmentName: row.departmentName ? row.departmentName : '',
|
||||||
|
|||||||
@ -559,7 +559,7 @@ export default {
|
|||||||
optionslisttime: [],
|
optionslisttime: [],
|
||||||
parentDictCodelist: [],
|
parentDictCodelist: [],
|
||||||
updata: {
|
updata: {
|
||||||
importMainId: "",
|
sn: "",
|
||||||
signPatientRecordId: "",
|
signPatientRecordId: "",
|
||||||
patientId: "",
|
patientId: "",
|
||||||
patientName: "",
|
patientName: "",
|
||||||
@ -640,7 +640,7 @@ export default {
|
|||||||
this.optiononditionOperator();
|
this.optiononditionOperator();
|
||||||
this.updata.signPatientRecordId = this.$route.query.signPatientRecordId;
|
this.updata.signPatientRecordId = this.$route.query.signPatientRecordId;
|
||||||
this.updata.patientId = this.$route.query.patientId;
|
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.patientName = this.$route.query.patientName;
|
||||||
this.updata.departmentId = this.$route.query.departmentId;
|
this.updata.departmentId = this.$route.query.departmentId;
|
||||||
this.updata.departmentName = this.$route.query.departmentName;
|
this.updata.departmentName = this.$route.query.departmentName;
|
||||||
@ -711,7 +711,7 @@ export default {
|
|||||||
item.checked1=""
|
item.checked1=""
|
||||||
item.checked2=2
|
item.checked2=2
|
||||||
item.checked3=""
|
item.checked3=""
|
||||||
item.routeNodeName = ""
|
// item.routeNodeName = ""
|
||||||
item.routeNodeDay = ""
|
item.routeNodeDay = ""
|
||||||
item.plantype = "APPOINT"
|
item.plantype = "APPOINT"
|
||||||
item.timedata = ""
|
item.timedata = ""
|
||||||
@ -745,7 +745,7 @@ export default {
|
|||||||
item.checked1 = ""
|
item.checked1 = ""
|
||||||
item.checked3 = ""
|
item.checked3 = ""
|
||||||
console.log(this.list, 'list')
|
console.log(this.list, 'list')
|
||||||
item.routeNodeName = ""
|
// item.routeNodeName = ""
|
||||||
item.routeNodeDay = ""
|
item.routeNodeDay = ""
|
||||||
item.plantype = "APPOINT"
|
item.plantype = "APPOINT"
|
||||||
item.timedata = ""
|
item.timedata = ""
|
||||||
@ -754,7 +754,7 @@ export default {
|
|||||||
handleCheckAllChange3(e, item) {
|
handleCheckAllChange3(e, item) {
|
||||||
item.checked1 = ""
|
item.checked1 = ""
|
||||||
item.checked2 = ""
|
item.checked2 = ""
|
||||||
item.routeNodeName = ""
|
// item.routeNodeName = ""
|
||||||
item.routeNodeDay = ""
|
item.routeNodeDay = ""
|
||||||
console.log(e, item, 'value3')
|
console.log(e, item, 'value3')
|
||||||
let yy = new Date().getFullYear();
|
let yy = new Date().getFullYear();
|
||||||
@ -776,6 +776,7 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.updata.routeNodeList = this.list;
|
this.updata.routeNodeList = this.list;
|
||||||
var newObj = JSON.parse(JSON.stringify(this.updata));
|
var newObj = JSON.parse(JSON.stringify(this.updata));
|
||||||
|
|
||||||
newObj.routeNodeList.forEach(e => {
|
newObj.routeNodeList.forEach(e => {
|
||||||
if (e.timedata) {
|
if (e.timedata) {
|
||||||
e.nodePlanTime = e.timedata
|
e.nodePlanTime = e.timedata
|
||||||
@ -784,8 +785,13 @@ export default {
|
|||||||
delete e.checked1;
|
delete e.checked1;
|
||||||
delete e.checked2;
|
delete e.checked2;
|
||||||
delete e.checked3;
|
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(newObj, 'this.newObj')
|
||||||
console.log(this.updata, 'this.updata')
|
console.log(this.updata, 'this.updata')
|
||||||
// return
|
// return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user