From 83d83221778cf0213a979ebfcb4d75884038d9c1 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 04 三月 2025 14:34:45 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/satisfaction/index.vue | 83 +++++++++++++++++++++++++++++------------
1 files changed, 59 insertions(+), 24 deletions(-)
diff --git a/src/views/followvisit/satisfaction/index.vue b/src/views/followvisit/satisfaction/index.vue
index a75b6fa..1a45f3c 100644
--- a/src/views/followvisit/satisfaction/index.vue
+++ b/src/views/followvisit/satisfaction/index.vue
@@ -66,13 +66,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"
+ :disabled="!tasktopic"
@click="handleAdd"
- v-hasPermi="['system:user:add']"
>鏂板</el-button
>
</el-col>
@@ -100,7 +110,7 @@
>鍒犻櫎</el-button
>
</el-col>
- <el-col :span="19">
+ <el-col :span="1.5">
<div class="documentf">
<div class="document">
<el-button
@@ -145,6 +155,7 @@
/>
<el-table-column
label="濮撳悕"
+ width="100"
align="center"
sortable
key="userName"
@@ -152,14 +163,20 @@
:show-overflow-tooltip="true"
/>
<el-table-column
- label="骞撮緞"
- align="center"
- key="age"
- prop="age"
- width="120"
- />
+ label="骞撮緞"
+ align="center"
+ key="age"
+ prop="age"
+ width="120"
+ />
<el-table-column
label="璋冩煡妯℃澘"
+ align="center"
+ key="types"
+ prop="types"
+ />
+ <el-table-column
+ label="璋冩煡绫诲瀷"
align="center"
key="types"
prop="types"
@@ -195,7 +212,6 @@
prop="nickName"
/>
-
<el-table-column
label="鎵ц鐘舵��"
align="center"
@@ -226,7 +242,7 @@
width="160"
>
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.createTime) }}</span>
+ <span>{{ formatTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column
@@ -275,7 +291,7 @@
@pagination="getList"
/>
</el-row>
- <!-- 娣诲姞鎴栦慨鏀归棬璇婇殢璁垮璇濇 -->
+ <!-- 娣诲姞鎴栦慨鏀瑰奖鍍忛殢璁垮璇濇 -->
<el-dialog
:title="title"
:visible.sync="addalteropen"
@@ -318,7 +334,7 @@
</el-row>
<el-row :gutter="20">
<el-col :span="24">
- <el-form-item label="闂ㄨ瘖闅忚瑕佹眰">
+ <el-form-item label="褰卞儚闅忚瑕佹眰">
<el-input type="textarea" v-model="form.desc"></el-input>
</el-form-item>
</el-col>
@@ -366,7 +382,7 @@
// 鐢ㄦ埛琛ㄦ牸鏁版嵁
userList: null,
// 寮瑰嚭灞傛爣棰�
- title: "鏂板闂ㄨ瘖闅忚",
+ title: "鏂板褰卞儚闅忚",
// 鏄惁鏄剧ず淇敼銆佹坊鍔犲脊鍑哄眰
addalteropen: false,
// 閮ㄩ棬鍚嶇О
@@ -377,18 +393,33 @@
dateRange: [],
// 宀椾綅閫夐」
postOptions: [],
+ taskoptions: [
+ {
+ value: "1",
+ label: "闂ㄨ瘖鐥呬汉",
+ },
+ {
+ value: "2",
+ label: "鍑洪櫌鐥呬汉",
+ },
+ {
+ value: "3",
+ label: "鍖绘姢浜哄憳",
+ },
+ ],
+ tasktopic: null, //鏂板绫诲瀷
// 瑙掕壊閫夐」
roleOptions: [],
dynamicTags: ["閫夐」涓�", "閫夐」浜�", "閫夐」涓�"], //閫夐」
inputVisible: false,
inputValue: "",
- previewVisible: false, //闂ㄨ瘖闅忚棰勮寮规
+ previewVisible: false, //褰卞儚闅忚棰勮寮规
radio: "",
radios: [],
- previewtype: 2, //棰勮闂ㄨ瘖闅忚绫诲瀷
+ previewtype: 2, //棰勮褰卞儚闅忚绫诲瀷
total: 0, // 鎬绘潯鏁�
- ImportQuantity: 999, //瀵奸棬璇婇殢璁挎暟閲�
- //棰勮闂ㄨ瘖闅忚淇℃伅
+ ImportQuantity: 999, //瀵煎奖鍍忛殢璁挎暟閲�
+ //棰勮褰卞儚闅忚淇℃伅
previewvalue: {
username: "杩欎釜鍖荤敓瀵逛綘鎬庝箞鏍�",
},
@@ -576,7 +607,7 @@
});
},
methods: {
- /** 鏌ヨ闂ㄨ瘖闅忚鍒楄〃 */
+ /** 鏌ヨ褰卞儚闅忚鍒楄〃 */
getList() {
this.loading = true;
listUser(this.addDateRange(this.topqueryParams, this.dateRange)).then(
@@ -587,7 +618,7 @@
}
);
},
- // 鏌ョ湅闂ㄨ瘖闅忚璇︽儏
+ // 鏌ョ湅褰卞儚闅忚璇︽儏
Referencequestion(row) {
this.previewVisible = true;
},
@@ -605,7 +636,7 @@
this.options = [];
}
},
- // 闂ㄨ瘖闅忚鐘舵�佷慨鏀�
+ // 褰卞儚闅忚鐘舵�佷慨鏀�
handleStatusChange(row) {
let text = row.status === "0" ? "鍚敤" : "鍋滅敤";
this.$modal
@@ -684,12 +715,16 @@
},
/** 鏂板鎸夐挳鎿嶄綔 */
handleAdd() {
- this.reset();
- this.addalteropen = true;
+ // this.reset();
+ // this.addalteropen = true;
+ this.$router.push({
+ path: "/Intelligentcenter/satisfaction/particulars",
+ query: { type: this.tasktopic },
+ });
// getUser().then((response) => {
// this.postOptions = response.posts;
// this.roleOptions = response.roles;
- // this.title = "鏂板闂ㄨ瘖闅忚";
+ // this.title = "鏂板褰卞儚闅忚";
// this.form.password = this.initPassword;
// });
},
--
Gitblit v1.9.3