diff --git a/src/views/system/ManuallyCreatingTasks/index.vue b/src/views/system/ManuallyCreatingTasks/index.vue index c201420..675152d 100644 --- a/src/views/system/ManuallyCreatingTasks/index.vue +++ b/src/views/system/ManuallyCreatingTasks/index.vue @@ -5,43 +5,25 @@ 保存 - + - - + +
触发条件 - 添加触发条件 + 添加触发条件
-
-
+
+
触发条件{{ index + 1 }}
@@ -51,24 +33,14 @@ - + - - + +
@@ -79,41 +51,20 @@
- +
- + - - +
- +
@@ -129,10 +80,8 @@
-
+
@@ -143,102 +92,54 @@ 人工随访 - + - + - - + + - + - + - +
-
+
推送方式:短信 - +
推送方式:公众号 - +
推送方式:小程序 - +
推送方式:人工电话 - +
@@ -321,11 +222,6 @@ export default { }, created() { this.infolist(); - // console.log(this.updata, "this.updata"); - // this.parentDictCode = this.options.find( - // (el) => el.dictValue == this.updata.suitRange - // ).dictCode; - // this.changelisy(); this.formInline = this.list[0]; this.updata.signPatientRecordId = this.$route.query.signPatientRecordId; this.updata.patientId = this.$route.query.patientId; @@ -337,26 +233,16 @@ export default { infolist() { var dictType = "suit_range"; getAgencytype(dictType).then((res) => { - console.log(res, "res"); this.options = res.data; }); }, changeoptions(e) { - console.log(e); - this.parentDictCode = this.options.find( - (el) => el.dictValue == e - ).dictCode; - console.log(this.parentDictCode, "this.parentDictCode"); + this.parentDictCode = this.options.find((el) => el.dictValue == e).dictCode; this.changelisy(); }, changelisy() { list(this.parentDictCode).then((res) => { this.parentDictCodelist = res.rows; - res.rows.forEach((e) => { - this.list.forEach((el) => { - el.routeNodeName = e.dictLabel; - }); - }); }); }, addtriggerCondition() { @@ -393,7 +279,7 @@ export default { this.listindex = index; }, additem(item) { - list(this.parentDictCode).then((res) => { + list(this.parentDictCode).then((res) => { res.rows.forEach((e) => { this.list.forEach((el) => { el.routeNodeName = e.dictLabel;