This commit is contained in:
2024-07-18 15:42:59 +08:00
parent 8001c651a2
commit f6ac8a4357

View File

@ -437,12 +437,12 @@ export default {
this.infolistoptionslistS();
this.optiononditionOperators();
this.optiononditionOperator();
this.formInline = this.list[0];
this.updata.signPatientRecordId = this.$route.query.signPatientRecordId;
this.updata.patientId = this.$route.query.patientId;
this.updata.patientName = this.$route.query.patientName;
this.updata.departmentId = this.$route.query.departmentId;
this.updata.departmentName = this.$route.query.departmentName;
this.formInline = this.list[0];
},
mounted() {
this.getMaxTableHeight()
@ -562,24 +562,17 @@ export default {
var dictType = "text_message_remind";
getAgencytype(dictType).then((res) => {
this.optionslist = res.data;
// this.taskinfo();
});
},
infolistMESSAGE() {
var dictType = "redial_times";
getAgencytype(dictType).then((res) => {
this.optionslisttime = res.data;
// this.taskinfo();
});
},
changeoptions(e) {
this.parentDictCode = this.options.find(
(el) => el.dictValue == e
).dictCode;
this.changelisy();
},
changelisy() {
list(this.parentDictCode).then((res) => {
let parentDictCode = this.options.find((el) => el.dictValue == e).dictCode;
list(parentDictCode).then((res) => {
this.parentDictCodelist = res.rows;
});
},
@ -661,20 +654,12 @@ export default {
this.formInline = item;
this.listindex = index;
},
additem(item) {
if (this.parentDictCode) {
list(this.parentDictCode).then((res) => {
res.rows.forEach((e) => {
this.list.forEach((el) => {
el.routeNodeName = e.dictValue;
});
});
});
}
additem() {
let routeNodeName = this.parentDictCodelist.length > 0 ? this.parentDictCodelist[0].dictValue : ""
this.list.push({
routeNodeDay: "",
taskNodeType: "",
routeNodeName: "",
routeNodeName: routeNodeName,
// questionExpirationDate: 7,
questionInfoId: "",
questionnaireName: "",
@ -695,7 +680,6 @@ export default {
},
changephoneDialMethod(e) {
if (e == 'AI') {
// this.form.templateId=''
this.formInline.phoneId = ''
this.formInline.phoneTemplateName = ''
} else if (e == 'COMMON') {