From 136b92041c3303fbb52f3d8ac95237c8788db93b Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期日, 27 四月 2025 09:16:58 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 42 ++++++++++++++++++++++--------------------
1 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 5197070..62796f9 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -1,7 +1,7 @@
<template>
<div class="Questionnairemanagement">
<!-- 宸︿晶鏍� -->
- <div class="sidecolumn">
+ <!-- <div class="sidecolumn">
<div class="sidecolumn-top">
<div class="top-wj">鍖婚櫌鎮h��</div>
</div>
@@ -12,13 +12,12 @@
v-model="queryParams.allhosp"
@tab-click="handleClick"
>
- <!-- <el-tab-pane label="鎮h�呭垪琛�" name="0"></el-tab-pane> -->
<el-tab-pane label="鍑哄叆闄㈡偅鑰�" name="1"></el-tab-pane>
<el-tab-pane label="闂ㄨ瘖鎮h��" name="2"></el-tab-pane>
<el-tab-pane label="浣撴鎮h��" name="3"></el-tab-pane>
</el-tabs>
</div>
- </div>
+ </div> -->
<!-- 鍙充晶鏁版嵁 -->
<div class="leftvlue">
@@ -208,8 +207,12 @@
align="center"
key="age"
prop="age"
- width="60"
- />
+ width="160"
+ > <template slot-scope="scope">
+ <span v-if="scope.row.age">{{ scope.row.age }}{{scope.row.ageUnit }}</span><span v-if="scope.row.age2">{{ scope.row.age2 }}{{scope.row.ageUnit2 }}</span>
+
+ </template>
+ </el-table-column>
<el-table-column
label="鍑虹敓骞存湀"
align="center"
@@ -964,7 +967,8 @@
allhosp: "1",
pageSize: 10,
searchscope: 2,
- tagname:'',
+ notrequiredFlag:1,
+ tagname: "",
idcardno: undefined,
name: undefined,
status: undefined,
@@ -1086,7 +1090,7 @@
},
RiskMarker(row) {
this.RiskVisible = true;
- this.RiskObj=row;
+ this.RiskObj = row;
},
// 鍙栨秷鎸夐挳
@@ -1116,13 +1120,13 @@
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
this.dateRange = [];
- this.queryParams= {
+ (this.queryParams = {
pageNum: 1,
allhosp: "1",
pageSize: 10,
searchscope: 2,
- },
- this.handleQuery();
+ }),
+ this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
@@ -1141,7 +1145,6 @@
handleUpdate(row) {
const userIds = row.id || this.ids;
particularpatient(userIds).then((response) => {
- console.log(response);
this.form = response.data;
});
this.amendtag = true;
@@ -1202,14 +1205,13 @@
});
},
RiskService() {
-
this.RiskObj.visitFlag = this.Risklist.join(", ");
this.RiskObj.visitType = this.Riskradio;
alterpatient(this.RiskObj).then((res) => {
- if (res.code==200) {
+ if (res.code == 200) {
this.getList();
- this.Risklist=[];
- this.Riskradio=1;
+ this.Risklist = [];
+ this.Riskradio = 1;
this.$modal.msgSuccess("寮傚父璁板綍鎴愬姛");
}
});
@@ -1299,9 +1301,9 @@
</script>
<style lang="scss" scoped>
-.Questionnairemanagement {
- display: flex;
-}
+// .Questionnairemanagement {
+// display: flex;
+// }
.sidecolumn {
width: 180px;
min-height: 100vh;
@@ -1381,8 +1383,8 @@
cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
}
.leftvlue {
- width: 80%;
- margin-top: 10px;
+ width: 100%;
+ // margin-top: 10px;
}
.leftvlue-bg {
// display: flex;
--
Gitblit v1.9.3