From c50a8b158e31b9157869d28fb90c6f5c840bb05d Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 08 十二月 2023 15:17:55 +0800 Subject: [PATCH] 提交信息 --- src/views/followvisit/tasklist/index.vue | 66 +++++++++++++++++++++++++------- 1 files changed, 51 insertions(+), 15 deletions(-) diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue index 8d5cbf1..6fca870 100644 --- a/src/views/followvisit/tasklist/index.vue +++ b/src/views/followvisit/tasklist/index.vue @@ -77,13 +77,23 @@ <el-divider></el-divider> <el-row :gutter="10" class="mb8"> <el-col :span="1.5"> + <el-select v-model="tasktopic" placeholder="璇烽�夋嫨鏂板绫诲瀷"> + <el-option + v-for="item in taskoptions" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </el-select> + </el-col> + <el-col :span="1.5"> <el-button type="primary" - plain icon="el-icon-plus" size="medium" @click="handleAdd" - v-hasPermi="['system:user:add']" + :disabled="!tasktopic" >鏂板</el-button > </el-col> @@ -208,7 +218,6 @@ </template> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" @@ -398,6 +407,33 @@ previewvalue: { username: "杩欎釜鍖荤敓瀵逛綘鎬庝箞鏍�", }, + taskoptions: [ + { + value: "1", + label: "瀹f暀鏈嶅姟", + }, + { + value: "2", + label: "闂ㄨ瘖闅忚", + }, + { + value: "3", + label: "鍑洪櫌闅忚", + }, + { + value: "4", + label: "澶嶈瘖鏈嶅姟", + }, + { + value: "5", + label: "浣撴閫氱煡", + }, + { + value: "6", + label: "闂嵎鏈嶅姟", + }, + ], + tasktopic: null, //鏂板绫诲瀷 value: [], list: [], loading: false, @@ -691,24 +727,24 @@ }, /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { - this.$router.push({ - path: "/followvisit/tasklist/FollowupDetails/", - }); - // this.reset(); - // this.addalteropen = true; - // getUser().then((response) => { - // this.postOptions = response.posts; - // this.roleOptions = response.roles; - // this.title = "鏂板闂ㄨ瘖闅忚"; - // this.form.password = this.initPassword; + // this.$router.push({ + // path: "/followvisit/tasklist/FollowupDetails/", // }); + this.$router.push({ + path: "/followvisit/particty", + query: { type: this.tasktopic }, + }); }, /** 淇敼鎸夐挳鎿嶄綔 */ handleUpdate(row) { // const userId = row.userId || this.ids; + // this.$router.push({ + // path: "/followvisit/tasklist/FollowupDetails/", + // query: { id: row.id }, + // }); this.$router.push({ - path: "/followvisit/tasklist/FollowupDetails/", - query: { id: row.id }, + path: "/followvisit/particty", + query: { type: 2 }, }); }, /** 閲嶇疆瀵嗙爜鎸夐挳鎿嶄綔 */ -- Gitblit v1.9.3