From ad70f145e8bea957b41043b4a1e37ce37cc5ed1e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 16 一月 2024 18:39:24 +0800 Subject: [PATCH] 指标完成 --- src/views/patient/questionnaire/index.vue | 108 +++++++++++++++++++++++------------------------------- 1 files changed, 46 insertions(+), 62 deletions(-) diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue index 327b358..9d12c24 100644 --- a/src/views/patient/questionnaire/index.vue +++ b/src/views/patient/questionnaire/index.vue @@ -158,11 +158,13 @@ <el-table-column type="selection" width="50" align="center" /> <el-table-column label="搴忓彿" + fixed align="center" key="userId" prop="userId" /> + <el-table-column label="濮撳悕" fixed align="center" key="types" prop="types" /> <el-table-column label="搴婂彿" align="center" @@ -171,7 +173,6 @@ prop="userName" width="120" /> - <el-table-column label="濮撳悕" align="center" key="types" prop="types" /> <el-table-column label="骞撮緞" align="center" @@ -225,55 +226,56 @@ prop="topicnumberaa" width="120" /> + <el-table-column - label="鍙戦�佺姸鎬�" - align="center" - key="topicnumber" - prop="topicnumber" - width="120" - :show-overflow-tooltip="true" - > - <template slot-scope="scope"> - <div>宸插彂閫�</div> - </template> - </el-table-column> - - <el-table-column - label="灏辫瘖鏃堕棿" - sortable - align="center" - prop="createTime" - width="160" + label="灏辫瘖鏃堕棿" + sortable + align="center" + prop="createTime" + width="160" > <template slot-scope="scope"> <span>{{ parseTime(scope.row.createTime) }}</span> </template> </el-table-column> <el-table-column - label="鍙戦�佹椂闂�" - sortable - align="center" - prop="createTime" - width="160" + label="鍙戦�佹椂闂�" + sortable + align="center" + prop="createTime" + width="160" > - <template slot-scope="scope"> - <span>{{ parseTime(scope.row.createTime) }}</span> - </template> + <template slot-scope="scope"> + <span>{{ parseTime(scope.row.createTime) }}</span> + </template> </el-table-column> <el-table-column - label="鍥炲鏃堕棿" - sortable - align="center" - prop="createTime" - width="160" + label="鍥炲鏃堕棿" + sortable + align="center" + prop="createTime" + width="160" > - <template slot-scope="scope"> - <span>{{ parseTime(scope.row.createTime) }}</span> - </template> - </el-table-column> - - <el-table-column - label="鎿嶄綔" + <template slot-scope="scope"> + <span>{{ parseTime(scope.row.createTime) }}</span> + </template> + </el-table-column> + + <el-table-column + label="鍙戦�佺姸鎬�" + align="center" + key="topicnumber" + prop="topicnumber" + width="120" + :show-overflow-tooltip="true" + > + <template slot-scope="scope"> + <div>宸插彂閫�</div> + </template> + </el-table-column> + <el-table-column + label="鎿嶄綔" + fixed="right" align="center" width="200" class-name="small-padding fixed-width" @@ -780,30 +782,12 @@ }, /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { - 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/particty", + query: { type: 6 }, + }); }, - /** 淇敼鎸夐挳鎿嶄綔 */ - // handleUpdate(row) { - // this.reset(); - // const userId = row.userId || this.ids; - // getUser(userId).then((response) => { - // this.form = response.data; - // this.postOptions = response.posts; - // this.roleOptions = response.roles; - // this.$set(this.form, "postIds", response.postIds); - // this.$set(this.form, "roleIds", response.roleIds); - // this.addalteropen = true; - // this.title = "淇敼鐢ㄦ埛"; - // this.form.password = ""; - // }); - // }, + /** 閲嶇疆瀵嗙爜鎸夐挳鎿嶄綔 */ handleResetPwd(row) { this.$prompt('璇疯緭鍏�"' + row.userName + '"鐨勬柊瀵嗙爜', "鎻愮ず", { -- Gitblit v1.9.3