| | |
| | | <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 |
| | |
| | | ></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="请选择" |
| | |
| | | <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> |
| | |
| | | </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"; |
| | |
| | | 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, |
| | | // 遮罩层 |
| | |
| | | name: null, |
| | | }, |
| | | rules: { |
| | | hzType: [{ required: true, message: "会诊科室为必填项", trigger: "change" }], |
| | | hzType: [ |
| | | { required: true, message: "会诊科室为必填项", trigger: "change" }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | // this.deptList.forEach(items=>{ |
| | | // console.log(item,333); |
| | | // if(item == items.deptId){ |
| | | // this.form.hzDeptNameList = |
| | | // this.form.hzDeptNameList = |
| | | // } |
| | | // }) |
| | | // }) |
| | |
| | | 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("请选择会诊科室"); |
| | | } |
| | | |
| | | } |
| | | } |
| | | }); |
| | |
| | | }); |
| | | }, |
| | | |
| | | jianqian() { |
| | | this.jianqians = true; |
| | | }, |
| | | |
| | | handlecan(row) { |
| | | this.dialogVisible = true; |
| | | const tjNumber = row.tjNumber; |