From 3b7c66dac49938ef05bfdc3e7baba8232d956112 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 05 十二月 2023 13:45:01 +0800 Subject: [PATCH] 提交信息 --- src/views/followvisit/tasklist/index.vue | 106 +++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 74 insertions(+), 32 deletions(-) diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue index 0758e88..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> @@ -156,19 +166,38 @@ prop="describe" /> <el-table-column - label="瀛愪换鍔℃�绘暟" + label="寰呮墽琛�/鎬讳换鍔�" align="center" key="nickName" prop="nickName" /> - <!-- <el-table-column - label="鎮h�呮�绘暟" + <el-table-column + label="鐘舵��" align="center" key="phonenumber" prop="phonenumber" width="120" - /> --> + /> + <el-table-column + label="瀹℃牳浜�" + align="center" + key="create_by" + prop="create_by" + width="120" + :show-overflow-tooltip="true" + /> + <el-table-column + label="瀹℃牳鏃堕棿" + sortable + align="center" + prop="create_time" + width="160" + > + <template slot-scope="scope"> + <span>{{ parseTime(scope.row.create_time) }}</span> + </template> + </el-table-column> <el-table-column label="鍒涘缓浜�" align="center" @@ -189,20 +218,6 @@ </template> </el-table-column> - <el-table-column - label="鏈�杩戜慨鏀�" - sortable - align="center" - prop="update_time" - width="160" - > - <template slot-scope="scope"> - <span - >{{ scope.row.update_by }} - {{ parseTime(scope.row.update_time) }}</span - > - </template> - </el-table-column> <el-table-column label="鎿嶄綔" align="center" @@ -392,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, @@ -685,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