From b5a56d53e44c426fa188ba3e4e1db3eb779e2fd9 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 11 九月 2024 21:49:21 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/questionnaire/index.vue | 68 ++++++++++++++++------------------ 1 files changed, 32 insertions(+), 36 deletions(-) diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue index a06d5ff..d4087fd 100644 --- a/src/views/patient/questionnaire/index.vue +++ b/src/views/patient/questionnaire/index.vue @@ -168,23 +168,18 @@ label="濮撳悕" fixed align="center" - key="types" - prop="types" + key="patientname" + prop="patientname" /> <el-table-column label="搴婂彿" align="center" sortable - key="userName" - prop="userName" + key="bedNo" + prop="bedNo" width="120" /> - <el-table-column - label="骞撮緞" - align="center" - key="nickName" - prop="nickName" - /> + <el-table-column label="骞撮緞" align="center" key="age" prop="age" /> <el-table-column label="绉戝/鐥呭尯" align="center" @@ -209,8 +204,8 @@ <el-table-column label="鍙戦�佹柟寮�" align="center" - key="topicnumber" - prop="topicnumber" + key="topicnumberc" + prop="topicnumberc" width="120" :show-overflow-tooltip="true" > @@ -221,8 +216,8 @@ <el-table-column label="鍙戦�佸唴瀹�" align="center" - key="topicnumberaa" - prop="topicnumberaa" + key="topicnumberb" + prop="topicnumberb" width="120" /> <el-table-column @@ -241,7 +236,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 @@ -252,7 +247,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 @@ -263,15 +258,15 @@ 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 label="鍙戦�佺姸鎬�" align="center" - key="topicnumber" - prop="topicnumber" + key="topicnumbera" + prop="topicnumbera" width="120" :show-overflow-tooltip="true" > @@ -287,7 +282,7 @@ class-name="small-padding fixed-width" > <template slot-scope="scope"> - <el-button + <!-- <el-button size="medium" type="text" @click="followupvisit(scope.row)" @@ -304,7 +299,7 @@ ><span class="button-sc" ><i class="el-icon-delete"></i>鍋滄</span ></el-button - > + > --> <el-button size="medium" type="text" @@ -460,7 +455,6 @@ <script> import { - listUser, getUser, delUser, addUser, @@ -468,6 +462,8 @@ resetUserPwd, changeUserStatus, } from "@/api/system/user"; +import { getTaskservelist } from "@/api/AiCentre/index"; + import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; @@ -593,9 +589,8 @@ topqueryParams: { pageNum: 1, pageSize: 10, - userName: undefined, - tagid: undefined, - topic: undefined, + serviceType:7, + }, propss: { multiple: true }, options: [], @@ -683,13 +678,11 @@ /** 鏌ヨ闂ㄨ瘖闅忚鍒楄〃 */ getList() { this.loading = true; - listUser(this.addDateRange(this.topqueryParams, this.dateRange)).then( - (response) => { - this.userList = response.rows; - this.total = response.total; - this.loading = false; - } - ); + getTaskservelist(this.topqueryParams).then((response) => { + this.userList = response.rows; + this.total = response.total; + this.loading = false; + }); }, // 鏌ョ湅闂ㄨ瘖闅忚璇︽儏 Referencequestion(row) { @@ -789,8 +782,11 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { this.$router.push({ - path: "/followvisit/particty", - query: { type: 6 }, + path: "/followvisit/QuestionnaireTask", + query: { + type: 2, + serviceType: 7, + }, }); }, @@ -889,10 +885,10 @@ this.modificationVisible = true; }, // 璺宠浆璇︽儏椤� - Seedetails() { + Seedetails(row) { this.$router.push({ path: "/followvisit/QuestionnaireTask", - query: { type: 6 }, + query: { taskid: row.taskid, patid: row.patid }, }); }, // 瀵煎叆鎸夐挳 -- Gitblit v1.9.3