From 015aeab7a6a99afd0b24ee6ea7b5e4a9c950c3b5 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期一, 27 五月 2024 18:05:52 +0800
Subject: [PATCH] qxtj

---
 src/views/doctor/checkAll/index.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue
index a97c0b8..6f0c246 100644
--- a/src/views/doctor/checkAll/index.vue
+++ b/src/views/doctor/checkAll/index.vue
@@ -67,8 +67,8 @@
           />
         </el-select>
       </el-form-item>
-      <el-form-item>
-        <el-button type="primary" size="mini" @click="submitForm"
+      <el-form-item> 
+        <el-button type="primary" size="mini" @click="submitForm" style="margin-right:15px;"
           >鎼滅储</el-button
         >
         <el-button size="mini" @click="resetQuery">閲嶇疆</el-button>
@@ -1048,7 +1048,7 @@
     </el-dialog>
     <Packages ref="bbb" :baogao="baogao" />
     <proposal ref="proposal" :cusobj="cusobj" @event1="eventchange($event)" />
-    <createproposal ref="createproposal" :dataText="dataText" />
+    <createproposal ref="createproposal" :creatobj="creatobj" />
 
     <el-dialog
       title="甯哥敤寤鸿缁存姢"
@@ -1123,6 +1123,7 @@
       hosproy: true,
       remarks: "",
       remark: "",
+      creatobj:{},
       propdialog: false,
       proIds: "",
       cusobj: {},
@@ -1483,19 +1484,24 @@
       });
     },
     propoChange() {
-      this.cusobj = { sex: this.tableAll.cusSex, isZj: 1 };
+      this.cusobj = { sex: this.tableAll.cusSex, isZj: 0 };
       this.$refs.proposal.open = true;
       this.$refs.proposal.title = "寤鸿鏂规";
       // this.$refs.proposal.getList();
     },
     eventchange(data) {
       this.dataText = data
+      console.log(this.textarea1 )
+      if(this.textarea1 == null ){
+        this.textarea1 = ""
+      }
       data.forEach((item) => {
         this.textarea1 += item.advice;
       });
     },
     proposalChange() {
-      if (this.dataText.length != 0) {
+      if (this.textarea1) {
+        this.creatobj = {proParentList:this.textarea1, isZj: 0}
         this.$refs.createproposal.open = true;
         this.$refs.createproposal.title = "甯哥敤寤鸿缁存姢";
       }else{

--
Gitblit v1.8.0