From 814116f2537e340bfd800d74c0bd0fdf84b25832 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 04 七月 2024 19:45:52 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/propaganda/particty.vue | 47 +++++++---------------------------------------- 1 files changed, 7 insertions(+), 40 deletions(-) diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue index 5c3de17..58b9660 100644 --- a/src/views/patient/propaganda/particty.vue +++ b/src/views/patient/propaganda/particty.vue @@ -46,7 +46,7 @@ <el-input style="width: 220px" :disabled="true" - v-model="form.templatename" + v-model="form.templateName" placeholder="鐐瑰嚮鍙充晶閫夋嫨" /> </el-form-item ></el-col> @@ -849,7 +849,7 @@ form: { patTaskRelevances: [], sendType: 1, - templatename: "", + templateName: "", templateid: null, libtemplateid: null, }, @@ -919,20 +919,6 @@ }; this.currenttype = this.$route.query.type; console.log(this.currenttype, "1"); - if (this.currenttype == 1 || this.currenttype == 8) { - // 鍖绘妧闅忚锛屾櫘閫氶殢璁� - this.title = "闅忚鍐呭鍒楄〃"; - this.tableLabel = this.tableLabelxj; - this.checkboxlist = ["澶氬獟浣�", "绾歌川"]; - getlibrarylist(queryParams).then((response) => { - this.userList = response.rows; - this.total = response.total; - }); - } else if ( - this.currenttype == 2 || - this.currenttype == 3 || - this.currenttype == 7 - ) { // 鍑洪櫌銆侀棬璇娿�佷笓鐥呴殢璁� this.title = "闅忚鍐呭鍒楄〃"; this.tableLabel = this.tableLabelmz; @@ -941,27 +927,6 @@ this.userList = response.rows; this.total = response.total; }); - } else if (this.currenttype == 4 || this.currenttype == 5) { - // 澶嶈瘖銆佷綋妫�閫氱煡 - this.title = "閫氱煡鍐呭鍒楄〃"; - this.tableLabel = this.tableLabelfz; - this.checkboxlist = ["绾夸笅", "AI璇煶澶栧懠", "浜哄伐鐢佃瘽", "鐭俊"]; - getFollowuplist(queryParams).then((response) => { - this.userList = response.rows; - this.total = response.total; - }); - } else if (this.currenttype == 6) { - this.title = "闂嵎鍐呭鍒楄〃"; - this.tableLabel = this.tableLabelwj; - this.checkboxlist = [ - "绾夸笅锛堢焊璐級", - "绾夸笂锛堢煭淇�/閽夐拤鐨勬枃鏈�侀棶鍗烽摼鎺ワ級", - ]; - getQtemplatelist(queryParams).then((response) => { - this.userList = response.rows; - this.total = response.total; - }); - } }, nextstep() { if (this.Editprogress <= 3) { @@ -998,6 +963,7 @@ // 纭閫夋嫨妯$増鏀惧叆浠诲姟妯$増 selectfn(row, type) { // 妯$増鎯呭喌涓嬭幏鍙栨ā鐗堜俊鎭� + console.log(row,'閫夋嫨妯$増'); this.libName = row.templateName; this.libId = row.id; getvFollowup({ id: row.id }).then((res) => { @@ -1294,7 +1260,7 @@ this.Tasktemplate.tempDetpRelevances = null; this.Tasktemplate.libtemplateid = id; this.Tasktemplate.isoperation = 1; - this.Tasktemplate.libtemplatename = this.Tasktemplate.templateName; + this.Tasktemplate.libtemplateName = this.Tasktemplate.templateName; console.log(this.libName, this.libId); TaskTemplatecomit(this.Tasktemplate).then((response) => { @@ -1302,8 +1268,9 @@ this.previewtf = false; this.form.templateid = response.data; this.form.libtemplateid = this.libId; - this.form.templatename = this.libName; - this.$modal.msgSuccess("閫夋嫨妯$増鎴愬姛"); + this.form.templateName = this.libName; + console.log(this.form.templateName, "ss"); + this.$modal.msgSuccess("閫夋嫨妯$増鎴愬姛", this.form.templateName); }); }, // 澶勭悊鏈嶅姟褰㈠紡 -- Gitblit v1.9.3