From c3576dff24adbb52cf807c100afb63399e16f813 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 11 九月 2025 09:36:45 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/physical/index.vue |   87 +++++++++++++------------------------------
 1 files changed, 26 insertions(+), 61 deletions(-)

diff --git a/src/views/patient/physical/index.vue b/src/views/patient/physical/index.vue
index a9af34a..a583f41 100644
--- a/src/views/patient/physical/index.vue
+++ b/src/views/patient/physical/index.vue
@@ -138,8 +138,7 @@
         <el-col :span="1.5">
           <el-button
             type="primary"
-            plain
-            icon="el-icon-plus"
+                        icon="el-icon-plus"
             size="medium"
             @click="handleAdd"
             >鏂板</el-button
@@ -154,7 +153,6 @@
                 icon="el-icon-upload2"
                 size="medium"
                 @click="handleExport"
-                v-hasPermi="['system:user:export']"
                 >瀵煎嚭</el-button
               >
             </div>
@@ -192,7 +190,7 @@
       <el-table
         v-loading="loading"
         :data="userList"
-        height="660"
+        height="808"
         :row-class-name="tableRowClassName"
         @selection-change="handleSelectionChange"
       >
@@ -290,12 +288,12 @@
         <el-table-column
           label="闅忚浜哄憳"
           align="center"
-          key="createBy"
-          prop="createBy"
+          key="updateBy"
+          prop="updateBy"
           width="120"
         />
         <el-table-column
-          label="闅忚鏃堕棿"
+          label="闅忚瀹屾垚鏃堕棿"
           sortable
           align="center"
           prop="finishtime"
@@ -396,7 +394,7 @@
         <!-- <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex" /> -->
         <!-- <el-table-column label="搴婂彿" align="center" key="badNo" prop="badNo" /> -->
         <el-table-column
-          label="绉戝"
+          label="璇鹃缁�"
           align="center"
           key="deptname"
           prop="deptname"
@@ -526,8 +524,8 @@
         </el-row>
         <el-row :gutter="20">
           <el-col :span="24"
-            ><el-form-item label="鎵�灞炵瀹�">
-              <el-select v-model="form.region" placeholder="璇烽�夋嫨绉戝">
+            ><el-form-item label="鎵�灞炶棰樼粍">
+              <el-select v-model="form.region" placeholder="璇烽�夋嫨璇鹃缁�">
                 <el-option label="鍖哄煙涓�" value="shanghai"></el-option>
                 <el-option label="鍖哄煙浜�" value="beijing"></el-option>
               </el-select> </el-form-item></el-col
@@ -716,7 +714,7 @@
       sourcetype: [
         {
           value: 1,
-          label: "绉戝",
+          label: "璇鹃缁�",
           children: [],
         },
         {
@@ -740,7 +738,7 @@
         //   value: 0,
         // },
         {
-          name: "搴旈殢璁�",
+          name: "闇�闅忚",
           value: 0,
         },
 
@@ -780,12 +778,10 @@
       topqueryParams: {
         pageNum: 1,
         pageSize: 10,
-        serviceType: 1,
-        searchscope: 3,
+        serviceType: 12,
         sendstate:2,
         scopetype: [],
-        leaveldeptcodes: [],
-        leavehospitaldistrictcodes: [],
+
       },
       propss: { multiple: true },
       options: [],
@@ -869,26 +865,11 @@
     /** 鏌ヨ褰卞儚闅忚鏈嶅姟鍒楄〃 */
     getList(refresh) {
       // 榛樿鍏ㄩ儴
-      if (this.topqueryParams.searchscope == 3) {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-      }
+
       // 鎺ュ彈寮傚父璺宠浆
-      if (this.errtype) {
-        this.topqueryParams.leavehospitaldistrictcodes.push(
-          this.leavehospitaldistrictcode
-        );
-        console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
-      }
+
       this.loading = true;
-      if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
-        this.topqueryParams.deptOrDistrict=2;
-      }else{
-        this.topqueryParams.deptOrDistrict=1;
-      }
+
 
       getTaskservelist(this.topqueryParams).then((response) => {
         this.userList = response.rows[0].serviceSubtaskList;
@@ -900,7 +881,7 @@
           // this.cardlist[2].value = response.rows[0].ysf;
           this.ycvalue = response.rows[0].yc;
           // this.cardlist[3].value = response.rows[0].fssb;
-          // this.cardlist[4].value = response.rows[0].dfs;
+          // this.cardlist[4].value = response.rows[0].dsf;
           // this.cardlist[5].value = response.rows[0].yfs2;
           this.yfsvalue = response.rows[0].yfs;
         }
@@ -988,13 +969,7 @@
     },
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery(refresh) {
-      if (this.topqueryParams.searchscope == 3) {
-        this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
-          (obj) => obj.deptCode
-        );
-        this.topqueryParams.leavehospitaldistrictcodes =
-          store.getters.belongWards.map((obj) => obj.districtCode);
-      }
+
       this.topqueryParams.pageNum = 1;
       this.topqueryParams.startOutHospTime = this.dateRange[0];
       this.topqueryParams.endOutHospTime = this.dateRange[1];
@@ -1005,20 +980,9 @@
     handleChange(value) {
       let type = value[0];
       let code = value.slice(-1)[0];
-      this.topqueryParams.leavehospitaldistrictcodes = [];
-      this.topqueryParams.leaveldeptcodes = [];
 
-      if (type == 1) {
-        this.topqueryParams.leaveldeptcodes.push(code);
-        this.topqueryParams.leavehospitaldistrictcodes = [];
-        this.topqueryParams.searchscope = 1;
-      } else if (type == 2) {
-        this.topqueryParams.leavehospitaldistrictcodes.push(code);
-        this.topqueryParams.leaveldeptcodes = [];
-        this.topqueryParams.searchscope = 2;
-      } else {
-        this.topqueryParams.searchscope = 3;
-      }
+
+
     },
     /** 閲嶇疆鎸夐挳鎿嶄綔 */
     resetQuery() {
@@ -1026,8 +990,7 @@
       this.topqueryParams = {
         pageNum: 1,
         pageSize: 10,
-        serviceType: 1,
-        searchscope: 2,
+        serviceType: 12,
         sendstate:2,
       };
       this.handleQuery(1);
@@ -1064,7 +1027,7 @@
         path: "/followvisit/QuestionnaireTask",
         query: {
           type: 2,
-          serviceType: 1,
+          serviceType: 12,
         },
       });
     },
@@ -1198,7 +1161,7 @@
       this.topqueryParams.pageNum = null;
       this.topqueryParams.pageSize = null;
       this.download(
-        "smartor/serviceSubtask/export",
+        "smartor/serviceSubtask/patItemExport",
         {
           ...this.topqueryParams,
         },
@@ -1309,10 +1272,12 @@
   }
 }
 ::v-deep.leftvlue .el-card__body {
-  background: #d0e9fd;
+  background: #F2F8FF;
+  color: #324A9B;
 }
 ::v-deep.leftvlue .el-card__body:hover {
-  background: #8dc8f8;
+  background: #3664D9;
+  color: #fff;
   cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
 }
 ::v-deep.errleftvlue .el-card__body {

--
Gitblit v1.9.3