From 4ee2d071034af118e516adcaaca81d3de69265ec Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期三, 27 十二月 2023 18:07:36 +0800 Subject: [PATCH] su --- src/views/doctor/check/index.vue | 66 +++++++++++++++++++++++++-------- 1 files changed, 50 insertions(+), 16 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 0971829..3057cf7 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -215,7 +215,11 @@ <el-radio-button label="1">绉戝浼氳瘖</el-radio-button> </el-radio-group> </el-form-item> - <el-form-item label="閫夋嫨绉戝" v-if="form.hzType == '1'" style="margin-top:22px"> + <el-form-item + label="閫夋嫨绉戝" + v-if="form.hzType == '1'" + style="margin-top: 22px" + > <el-select v-model="form.hzDeptId" multiple @@ -230,7 +234,11 @@ ></el-option> </el-select> </el-form-item> - <el-form-item label="鐢宠浜�" prop="hzDoctorId" style="margin-top:22px"> + <el-form-item + label="鐢宠浜�" + prop="hzDoctorId" + style="margin-top: 22px" + > <el-select v-model="form.hzDoctorId" placeholder="璇烽�夋嫨" @@ -469,6 +477,11 @@ <div style="margin: 10px 10px"> <el-button type="primary" size="mini" @click="historicalreport()" >鍘嗗彶鎶ュ憡</el-button + > + </div> + <div style="margin: 10px 10px"> + <el-button type="primary" size="mini" @click="jianqian()" + >妫�鍓嶉棶璇�</el-button > </div> </div> @@ -736,11 +749,26 @@ </div> --> </el-drawer> <Public ref="aaa" :row="row" @add="handleChanges" /> + + <el-dialog + title="鎻愮ず" + :visible.sync="jianqians" + width="1000px" + :before-close="handleClose" + > + <jianqianwenzhen + :jianqianwenzhendata="jianqianwenzhendata" + ></jianqianwenzhen> + <span slot="footer" class="dialog-footer"> + <el-button @click="jianqians = false">鍙� 娑�</el-button> + </span> + </el-dialog> </div> </template> <script> +import jianqianwenzhen from "@/components/jianqianwenzhen"; import Public from "@/components/public"; import { getPdf } from "@/api/hosp/order"; import { getInfo } from "@/api/login"; @@ -763,9 +791,10 @@ export default { dicts: ["sys_user_sex", "sys_yes_no", "tj_result_type", "lj_positive"], name: "check", - components: { Public, Historicalreport }, + components: { Public, Historicalreport,jianqianwenzhen }, data() { return { + jianqians:false, selected: false, checkval: false, // 閬僵灞� @@ -853,7 +882,9 @@ name: null, }, rules: { - hzType: [{ required: true, message: "浼氳瘖绉戝涓哄繀濉」", trigger: "change" }], + hzType: [ + { required: true, message: "浼氳瘖绉戝涓哄繀濉」", trigger: "change" }, + ], }, }; }, @@ -1179,7 +1210,7 @@ // this.deptList.forEach(items=>{ // console.log(item,333); // if(item == items.deptId){ - // this.form.hzDeptNameList = + // this.form.hzDeptNameList = // } // }) // }) @@ -1256,20 +1287,19 @@ hzDoctorName: this.form.hzDoctorName, id: this.form.id, }; - if(this.form.hzDeptId.length != 0){ + if (this.form.hzDeptId.length != 0) { addHzlog(data).then((res) => { - if (res.code == 200) { - this.$modal.msgSuccess("鐢宠鎴愬姛"); - this.form = {}; - this.Hzlog(); - this.radioChange(1); - } - }); - this.open = false; - }else{ + if (res.code == 200) { + this.$modal.msgSuccess("鐢宠鎴愬姛"); + this.form = {}; + this.Hzlog(); + this.radioChange(1); + } + }); + this.open = false; + } else { this.$modal.msgError("璇烽�夋嫨浼氳瘖绉戝"); } - } } }); @@ -1299,6 +1329,10 @@ }); }, + jianqian() { + this.jianqians = true; + }, + handlecan(row) { this.dialogVisible = true; const tjNumber = row.tjNumber; -- Gitblit v1.8.0