diff --git a/src/views/manage/components/PathReview.vue b/src/views/manage/components/PathReview.vue index 092f687..c805d7c 100644 --- a/src/views/manage/components/PathReview.vue +++ b/src/views/manage/components/PathReview.vue @@ -172,8 +172,7 @@
{{ item.routeName }} - (不符合条件) + (不符合条件)
@@ -443,6 +442,8 @@ export default { } .righttextarea { + word-break: break-all; + word-wrap: break-word; min-height: 80px; padding: 10px; width: 90%; diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index 8741fd4..ea869a0 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -400,11 +400,6 @@ export default { phonePushSign: "1", phoneDialMethod: "", }, - // updata: { - // suitRange: "", - // routeId: "", - // triggerConditionList: [], - // }, list: [ { routeNodeDay: "", @@ -427,7 +422,7 @@ export default { ], listindex: 0, // optionstriggerConditionOperator: [], // 将这部分选项的 - dictDataType: "", + // dictDataType: "", }; }, created() { @@ -437,12 +432,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 +557,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 +649,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 +675,6 @@ export default { }, changephoneDialMethod(e) { if (e == 'AI') { - // this.form.templateId='' this.formInline.phoneId = '' this.formInline.phoneTemplateName = '' } else if (e == 'COMMON') {