From 0b750c864ec673c52425be252df72edb0790c4f4 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 05 十二月 2023 09:47:06 +0800 Subject: [PATCH] 提交信息 --- src/views/followvisit/tasklist/index.vue | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 46 insertions(+), 5 deletions(-) diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue index 870d48a..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> @@ -207,7 +217,7 @@ <span>{{ parseTime(scope.row.create_time) }}</span> </template> </el-table-column> - + <el-table-column label="鎿嶄綔" align="center" @@ -397,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, @@ -690,8 +727,12 @@ }, /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { + // this.$router.push({ + // path: "/followvisit/tasklist/FollowupDetails/", + // }); this.$router.push({ - path: "/followvisit/tasklist/FollowupDetails/", + path: "/followvisit/particty", + query: { type: this.tasktopic }, }); }, /** 淇敼鎸夐挳鎿嶄綔 */ @@ -703,7 +744,7 @@ // }); this.$router.push({ path: "/followvisit/particty", - query: { type: 2, }, + query: { type: 2 }, }); }, /** 閲嶇疆瀵嗙爜鎸夐挳鎿嶄綔 */ -- Gitblit v1.9.3