| | |
| | | </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"; |
| | |
| | | yichangList: [], |
| | | fcList: [], |
| | | statusList: [], |
| | | mrjy:"", |
| | | queryParam: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | |
| | | |
| | | 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; // 会触发 watch → 设置 tjproposal = "1" |
| | | console.log(res,4444); |
| | | |
| | | // 等数据状态准备好后再打开弹窗 |
| | | this.$refs.proposal.title = "建议方案"; |
| | | this.$refs.proposal.open = true; |
| | | }); |
| | | |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | eventchange(data) { |
| | | this.dataText = data; |
| | | if (this.textarea1 == null) { |