| | |
| | | |
| | | <el-form ref="numberValidateForm" label-width="80px" class="demo-ruleForm" v-if="tjproject != '1'"> |
| | | <el-form-item label="总检建议"> |
| | | <el-input type="textarea" placeholder="请输入内容" v-model="textarea1" :rows="3" |
| | | style="width: 96%"></el-input> |
| | | <el-input type="textarea" placeholder="请输入内容" v-model="textarea1" :autosize="{ minRows: minRows, maxRows: maxRows }"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footers"> |
| | |
| | | </el-dialog> |
| | | <Packages ref="bbb" :baogao="baogao" /> |
| | | <Prescription ref="Pre" :preObj="preObj" /> |
| | | <proposal ref="proposal" :cusobj="cusobj" @event1="eventchange($event)" /> |
| | | <proposal ref="proposal" :cusobj="cusobj" :mrjy="mrjy" @event1="eventchange($event)" /> |
| | | <createproposal ref="createproposal" :creatobj="creatobj" /> |
| | | <el-dialog title="常用建议维护" :visible.sync="propdialog" width="500px" append-to-body></el-dialog> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import _ from 'lodash'; |
| | | import { getConfigKey } from "@/api/system/config"; |
| | | import jianqianwenzhen from "@/components/jianqianwenzhen"; |
| | | import Packages from "@/components/Packages"; |
| | | import Prescription from "@/components/Prescription"; |
| | |
| | | zhiyeJg: '', // 初始化体检结果为默认值 |
| | | selectedAdvice: null, |
| | | activeAdviceIndex: 0, |
| | | minRows: 3, |
| | | maxRows: null, |
| | | gotyval: null, |
| | | advicerulesList: [], |
| | | xmChange: [], |
| | |
| | | src: "", |
| | | url: "", |
| | | userId: "", |
| | | mrjy: "", |
| | | flag: true, |
| | | bill: null, |
| | | numberList: [], |
| | |
| | | this.$nextTick(() => { |
| | | this.$refs.inputName.focus(); |
| | | this.viewportHeight = window.innerHeight || document.documentElement.clientHeight; |
| | | }); |
| | | getConfigKey("zjysjymrhs").then((res) => { |
| | | const val = parseInt(res.msg); // 确保是数字 |
| | | if (!isNaN(val)) { |
| | | this.maxRows = val; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | |
| | | |
| | | propoChange() { |
| | | this.cusobj = { sex: this.tableAll.cusSex, isZj: 0 }; |
| | | this.$refs.proposal.open = true; |
| | | this.$refs.proposal.title = "建议方案"; |
| | | getConfigKey("mrzscyjy").then((res) => { |
| | | this.mrjy = res.msg; |
| | | this.$refs.proposal.title = "建议方案"; |
| | | this.$refs.proposal.open = true; |
| | | }); |
| | | }, |
| | | |
| | | eventchange(data) { |