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/check/index.vue | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 51 insertions(+), 3 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index b2a43e5..b27449e 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -10,7 +10,7 @@ @blur="hb" @keyup.enter.native="submitForm"></el-input> </el-form-item> <el-form-item> - <el-button size="mini" type="primary" @click="submitForm">鎼滅储</el-button> + <el-button size="mini" type="primary" @click="submitForm" style="margin-right:15px;">鎼滅储</el-button> <el-button size="mini" @click="resetQuery">閲嶇疆</el-button> </el-form-item> </el-form> @@ -357,6 +357,14 @@ 寤鸿锛� </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2"> + <div style="margin: 0 0px 10px 15px"> + <el-button type="primary" @click="propoChange" style="margin-top:10px;height:37px" + >蹇嵎寤鸿</el-button + > + <el-button type="primary" @click="proposalChange" style="margin-top:10px;height:37px" + >鐢熸垚寤鸿</el-button + > + </div> <el-input type="textarea" placeholder="璇疯緭鍏ュ唴瀹�" v-model="proParentList.remark" rows="7"> </el-input> </td> @@ -481,6 +489,14 @@ </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> + <div style="margin: 0 0px 10px 15px"> + <el-button type="primary" @click="propoChange" style="margin-top:10px;height:37px" + >蹇嵎寤鸿</el-button + > + <el-button type="primary" @click="proposalChange" style="margin-top:10px;height:37px" + >鐢熸垚寤鸿</el-button + > + </div> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 寤鸿锛� </td> @@ -570,11 +586,15 @@ <el-button @click="jianqians = false">鍙� 娑�</el-button> </span> </el-dialog> + <proposal ref="proposal" :cusobj="cusobj" @event1="eventchange($event)" /> + <createproposal ref="createproposal" :creatobj="creatobj" /> </div> </template> <script> +import proposal from "@/components/proposal"; +import createproposal from "@/components/createproposal"; import { getInfoById } from "@/api/hosp/history"; import jianqianwenzhen from "@/components/jianqianwenzhen"; import Public from "@/components/public"; @@ -599,9 +619,13 @@ export default { dicts: ["sys_user_sex", "sys_yes_no", "tj_result_type", "lj_positive"], name: "check", - components: { Public, Historicalreport, jianqianwenzhen }, + components: { Public, Historicalreport, jianqianwenzhen,createproposal,proposal }, data() { return { + creatobj:{}, + dataText: [], + propform: {}, + cusobj: {}, baogaoqian: true, baogaohou: false, flags: false, @@ -777,7 +801,7 @@ // 灏忕粨鑾峰彇澶囨敞 sel(val) { if (this.proParentList.xiaoJie.length != 0) { - this.proParentList.remark = ""; + // this.proParentList.remark = ""; this.deptAdviceList.forEach((item) => { this.ids = item.id; val.forEach((item1) => { @@ -915,6 +939,30 @@ this.submitForm(); } }, + propoChange() { + this.cusobj = { sex: this.tableAll.cusSex, isZj: 1 }; + this.$refs.proposal.open = true; + this.$refs.proposal.title = "寤鸿鏂规"; + // this.$refs.proposal.getList(); + }, + eventchange(data) { + this.dataText = data + data.forEach((item) => { + this.proParentList.remark += item.advice; + }); + }, + proposalChange() { + if (this.proParentList.remark) { + this.creatobj = {proParentList:this.proParentList.remark, isZj: 1} + this.$refs.createproposal.open = true; + this.$refs.createproposal.title = "甯哥敤寤鸿缁存姢"; + }else{ + this.$message({ + type: "warning ", + message: "璇峰厛濉啓鎬绘寤鸿", + }); + } + }, // 鎼滅储 submitForm() { -- Gitblit v1.8.0