From 76a5d23754b260701ff0c786a711c447ccc44fb2 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期四, 25 四月 2024 11:28:25 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/checkAll/index.vue |   66 ++++++++++++++++++++++++++-------
 1 files changed, 52 insertions(+), 14 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index 36553b6..b228e37 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -110,7 +110,7 @@
               鎬у埆锛�
             </td>
             <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
-              {{ tableAll.cusSex }}
+              {{ tableAll.cusSex == 0? "鐢�" :tableAll.cusSex == 1?"濂�":"鏈煡"}}
             </td>
           </tr>
           <tr style="border: 1px solid #dfe6ec; border-collapse: collapse">
@@ -322,6 +322,11 @@
                 </td>
               </tr>
             </table>
+            <el-radio-group v-model="proposal" @input="proposalChange" style="margin-left: 20px;margin-bottom: 20px">
+                <el-radio-button label="0">蹇嵎寤鸿</el-radio-button>
+                <el-radio-button label="1">甯哥敤寤鸿</el-radio-button>
+                <el-radio-button label="2">涓�閿敓鎴�</el-radio-button>
+              </el-radio-group>
             <el-form ref="numberValidateForm" label-width="80px" class="demo-ruleForm">
               <el-form-item label="鎬绘寤鸿">
                 <el-input type="textarea" placeholder="璇疯緭鍏ュ唴瀹�" v-model="textarea1" :rows="3" style="width: 96%">
@@ -554,7 +559,28 @@
       </span>
     </el-dialog>
     <Packages ref="bbb" :baogao="baogao" />
-
+    <el-dialog title="甯哥敤寤鸿缁存姢" :visible.sync="propdialog" width="500px" append-to-body>
+      <el-form ref="form" :model="propform"  label-width="80px">
+        <el-form-item label="寤鸿鏍囬" prop="title">
+          <el-input v-model="propform.title" placeholder="璇疯緭鍏ュ悕绉版爣棰�" />
+        </el-form-item>
+        <el-form-item label="蹇嵎鏍囩" prop="title">
+          <el-input v-model="propform.title" placeholder="璇疯緭鍏ュ悕绉版爣棰�" />
+        </el-form-item>
+        <el-form-item label="寤鸿鍐呭" prop="advice">
+          <el-input
+            type="textarea"
+            v-model="propform.advice"
+            :autosize="{ minRows: 9, maxRows: 10 }"
+            placeholder="璇疯緭鍏ュ缓璁�"
+          />
+        </el-form-item>
+      </el-form>
+      <!-- <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">纭� 瀹�</el-button>
+        <el-button @click="cancel">鍙� 娑�</el-button>
+      </div> -->
+    </el-dialog>
   </div>
 </template>
   
@@ -618,6 +644,9 @@
       hosproy: true,
       remarks: "",
       remark: "",
+      proposal:"0",
+      propdialog:false,
+      propform:{},
       proIds: "",
       xiaojie: "",
       isdisabled: false,
@@ -728,7 +757,7 @@
 
   created() {
     // this.getNowTime();
-    this.getList();
+   
     this.getdate();
   },
 
@@ -744,6 +773,7 @@
           moment(res.data).format("YYYY-MM-DD 00:00:00"),
           moment(res.data).format("YYYY-MM-DD 23:59:00"),
         ];
+        this.getList();
       });
     },
     // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡
@@ -971,6 +1001,11 @@
         this.loading = false;
       });
     },
+    proposalChange(){
+      if(this.proposal == "2"){
+        this.propdialog = true
+      }
+    },
     radiotjprojectChange() {
       if (this.tjproject == "0") {
         getupdateCheckType(this.tjNumber).then((response) => {
@@ -1095,23 +1130,25 @@
     },
     // 閲嶇疆
     resetQuery() {
+      this.startTime=[]
       this.resetForm("tableList");
       this.submitForm();
     },
 
     // 鐐瑰嚮璇︽儏
     handleClick(row) {
+     
       this.tableAll = row;
       this.tjproject = "0"
-      if (this.tableAll.cusSex === 0) {
-        this.tableAll.cusSex = "鐢�";
-      }
-      if (this.tableAll.cusSex === 1) {
-        this.tableAll.cusSex = "濂�";
-      }
-      if (this.tableAll.cusSex === 2) {
-        this.tableAll.cusSex = "鏈煡";
-      }
+      // if (this.tableAll.cusSex === 0) {
+      //   this.tableAll.cusSex = "鐢�";
+      // }
+      // if (this.tableAll.cusSex === 1) {
+      //   this.tableAll.cusSex = "濂�";
+      // }
+      // if (this.tableAll.cusSex === 2) {
+      //   this.tableAll.cusSex = "鏈煡";
+      // }
       this.tjNumber = this.tableAll.tjNumber;
       getState(this.tjNumber).then((res) => {
         this.status = res.data;
@@ -1129,10 +1166,10 @@
                 this.drawer = true;
                 getupdateCheckType(this.tjNumber).then((response) => {
                   this.changedate = response.data;
-                  this.changedate.forEach((item) => {
+                  if (this.changedate) {
+                    this.changedate.forEach((item) => {
                     this.textarea1 = item.checkAdvice;
                   });
-                  if (this.changedate) {
                     for (let i = 0; i < this.changedate.length; i++) {
                       this.remark = this.changedate[i].remark;
                     }
@@ -1218,6 +1255,7 @@
               });
             });
           this.drawer = false;
+          
         }
       });
 

--
Gitblit v1.8.0