From bc241c45a62a92045c18ef18f9355c8f4ea71c56 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 15 五月 2025 15:26:57 +0800
Subject: [PATCH] 测试完成

---
 src/views/followvisit/outpatient/index.vue |  100 ++++++++++++++++++-------------------------------
 1 files changed, 37 insertions(+), 63 deletions(-)

diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 6794650..4b328c7 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -17,7 +17,7 @@
                   font-weight: 600;
                 "
               >
-                {{ item.value }}
+              {{ item.value ? item.value : 0 }}
               </div>
             </div>
           </el-card>
@@ -26,7 +26,7 @@
           <div class="ysfleftvlue">
             <el-card shadow="hover">
               <div style="padding: 8px">
-                <span>宸插彂閫佹湭棰嗗彇</span>
+                <span>琛ㄥ崟宸插彂閫�</span>
                 <div
                   style="
                     text-align: center;
@@ -79,7 +79,7 @@
           ></el-input>
         </el-form-item>
 
-        <el-form-item label="妫�鏌ユ椂闂�">
+        <el-form-item label="褰卞儚鏃堕棿">
           <el-date-picker
             v-model="dateRange"
             style="width: 240px"
@@ -154,7 +154,6 @@
                 icon="el-icon-upload2"
                 size="medium"
                 @click="handleExport"
-                v-hasPermi="['system:user:export']"
                 >瀵煎嚭</el-button
               >
             </div>
@@ -192,7 +191,7 @@
       <el-table
         v-loading="loading"
         :data="userList"
-        height="660"
+        height="808"
         :row-class-name="tableRowClassName"
         @selection-change="handleSelectionChange"
       >
@@ -208,6 +207,7 @@
         <!-- <el-table-column label="搴忓彿" fixed align="center" key="id" prop="id" /> -->
         <el-table-column
           label="濮撳悕"
+          width="100"
           align="center"
           key="sendname"
           prop="sendname"
@@ -217,9 +217,10 @@
               size="medium"
               type="text"
               @click="
-                $router.push({
-                  path: '/patient/indexls'+'?current='+scope.row.sfzh
-                })
+                  $router.push({
+                    path: '/patient/indexls/',
+                    query: { sfzh: scope.row.idcardno },
+                  })
               "
               ><span class="button-textsc">{{
                 scope.row.sendname
@@ -237,17 +238,17 @@
           <template slot-scope="scope">
             <div v-if="scope.row.sendstate == 1">
               <el-tag type="primary" :disable-transitions="false"
-                >琚鍙�</el-tag
+                >琛ㄥ崟宸查鍙�</el-tag
               >
             </div>
             <div v-if="scope.row.sendstate == 2">
               <el-tag type="primary" :disable-transitions="false"
-                >寰呭彂閫�</el-tag
+                >寰呴殢璁�</el-tag
               >
             </div>
             <div v-if="scope.row.sendstate == 3">
               <el-tag type="success" :disable-transitions="false"
-                >宸插彂閫佹湭棰嗗彇</el-tag
+                >琛ㄥ崟宸插彂閫�</el-tag
               >
             </div>
             <div v-if="scope.row.sendstate == 4">
@@ -272,7 +273,7 @@
         />
 
         <el-table-column
-          label="浜哄伐澶勭悊鎰忚"
+          label="澶勭悊鎰忚"
           align="center"
           key="suggest"
           prop="suggest"
@@ -288,12 +289,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"
@@ -304,7 +305,7 @@
           </template>
         </el-table-column>
         <el-table-column
-          label="褰卞儚缁撴灉"
+          label="闅忚缁撴灉"
           width="200"
           align="center"
           key="remark"
@@ -320,7 +321,7 @@
           </template>
         </el-table-column>
         <el-table-column
-          label="褰卞儚鏃ユ湡"
+          label="妫�鏌ユ棩鏈�"
           width="200"
           align="center"
           key="endtime"
@@ -342,7 +343,7 @@
           </template></el-table-column
         >
         <el-table-column
-          label="褰卞儚澶╂暟"
+          label="宸叉鏌ュぉ鏁�"
           width="120"
           align="center"
           key="endDay"
@@ -391,7 +392,7 @@
         /> -->
 
         <!-- <el-table-column label="骞撮緞" align="center" key="age" prop="age" /> -->
-        <!-- <el-table-column label="鎬у埆" align="center" key="sex" prop="sex" /> -->
+        <!-- <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="绉戝"
@@ -730,7 +731,7 @@
       loading: false,
       cardlist: [
         {
-          name: "褰卞儚鎶ュ憡鎬婚噺",
+          name: "褰卞儚鏈嶅姟鎬婚噺",
           value: 0,
         },
         // {
@@ -760,7 +761,7 @@
         },
 
         // {
-        //   name: "宸插彂閫佹湭棰嗗彇",
+        //   name: "琛ㄥ崟宸插彂閫�",
         //   value: 0,
         // },
       ],
@@ -778,11 +779,10 @@
       topqueryParams: {
         pageNum: 1,
         pageSize: 10,
-        serviceType: 3,
-        searchscope: 3,
+        serviceType: 11,
+        sendstate:2,
         scopetype: [],
-        leaveldeptcodes: [],
-        leavehospitaldistrictcodes: [],
+
       },
       propss: { multiple: true },
       options: [],
@@ -794,7 +794,7 @@
         },
         {
           value: 2,
-          label: "寰呮墽琛�",
+          label: "寰呴殢璁�",
         },
         {
           value: 3,
@@ -866,21 +866,12 @@
     /** 鏌ヨ褰卞儚闅忚鏈嶅姟鍒楄〃 */
     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;
+
+
       getTaskservelist(this.topqueryParams).then((response) => {
         this.userList = response.rows[0].serviceSubtaskList;
         this.total = response.total;
@@ -979,13 +970,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];
@@ -996,20 +981,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() {
@@ -1017,8 +991,8 @@
       this.topqueryParams = {
         pageNum: 1,
         pageSize: 10,
-        serviceType: 3,
-        searchscope: 2,
+        serviceType: 11,
+        sendstate:2,
       };
       this.handleQuery(1);
     },
@@ -1054,7 +1028,7 @@
         path: "/followvisit/QuestionnaireTask",
         query: {
           type: 2,
-          serviceType: 3,
+          serviceType: 11,
         },
       });
     },
@@ -1188,7 +1162,7 @@
       this.topqueryParams.pageNum = null;
       this.topqueryParams.pageSize = null;
       this.download(
-        "smartor/serviceSubtask/export",
+        "smartor/serviceSubtask/patItemExport",
         {
           ...this.topqueryParams,
         },

--
Gitblit v1.9.3