| | |
| | | |
| | | <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"> |
| | |
| | | </div> |
| | | <template v-if="item.jyjc == '0'"> |
| | | <el-table :stripe="true" :row-style="red" :data="item.sone" border style="width: 100%" |
| | | :header-cell-style="{ background: '#67C23A' }" :expand-row-keys="expends" :row-key="getRowKeys" |
| | | :header-cell-style="{ background: '#67C23A' }" :row-key="getRowKeys" |
| | | v-loading="loading"> |
| | | <!-- :expand-row-keys="expends" --> |
| | | <el-table-column type="expand"> |
| | | <template slot-scope="props"> |
| | | <div style="padding: 10px;"> |
| | |
| | | <el-table-column align="center" prop="proResult" label="检测结果" width="85"></el-table-column> |
| | | <el-table-column align="center" prop="stanId" label=" 参考范围" width="117"></el-table-column> |
| | | <el-table-column align="center" prop="proAdvice" label="单位" width="78"></el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | class-name="small-padding fixed-width" |
| | | width="60" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="props"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="shanchu(props.row)" |
| | | > |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </template> |
| | | <template v-if="item.jyjc == '1'"> |
| | | <el-table :stripe="true" :row-style="red" :data="item.sone" border style="width: 100%" |
| | | :header-cell-style="{ background: '#67C23A' }" :expand-row-keys="expends" :row-key="getRowKeys"> |
| | | :header-cell-style="{ background: '#67C23A' }" :row-key="getRowKeys"> |
| | | <!-- :expand-row-keys="expends" --> |
| | | <el-table-column type="expand"> |
| | | <template slot-scope="props"> |
| | | <div style="padding: 10px;"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" prop="proResult" label="检测结果" width="403"></el-table-column> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | class-name="small-padding fixed-width" |
| | | width="60" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="props"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="shanchu(props.row)" |
| | | > |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </template> |
| | | </div> |
| | |
| | | <el-table-column align="center" prop="proName" label="项目" width="260"></el-table-column> |
| | | <el-table-column label="状态" align="center" prop="type" :show-overflow-tooltip="true" width="120"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.type == '0'">未审核</span> |
| | | <span v-if="scope.row.type == '1'">已审核</span> |
| | | <span v-if="scope.row.type == '0'">未检</span> |
| | | <span v-if="scope.row.type == '1'">已检</span> |
| | | <span v-if="scope.row.type == '2'">弃检</span> |
| | | <span v-if="scope.row.type == '3'">延期</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="检查时间" align="center" prop="bcupdateTime" width="160" /> |
| | | <el-table-column label="操作" align="center" width="130px"> |
| | | <el-table-column label="检查时间" align="center" prop="bcupdateTime" :formatter="formatDate" width="160" /> |
| | | <el-table-column label="操作" align="center" width="80px"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" @click="huifu" v-if="scope.row.type == '2'">恢复</el-button> |
| | | <el-button type="primary" size="mini" @click="huifu(scope.row)" v-if="scope.row.type == '2'">恢复</el-button> |
| | | <el-button type="primary" size="mini" @click="chexiao(scope.row)" v-if="scope.row.type == '1'">撤销</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </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"; |
| | |
| | | UpdFcPro, |
| | | huiFuyichangxiangmu, |
| | | hfbt, |
| | | chexiao |
| | | } from "@/api/doctor/checkAll"; |
| | | import { getInfoById } from "@/api/hosp/history"; |
| | | import { getInfo } from "@/api/login"; |
| | |
| | | zhiyeJg: '', // 初始化体检结果为默认值 |
| | | selectedAdvice: null, |
| | | activeAdviceIndex: 0, |
| | | minRows: 3, |
| | | maxRows: null, |
| | | gotyval: null, |
| | | advicerulesList: [], |
| | | xmChange: [], |
| | |
| | | src: "", |
| | | url: "", |
| | | userId: "", |
| | | mrjy: "", |
| | | flag: true, |
| | | bill: null, |
| | | numberList: [], |
| | |
| | | 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; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | |
| | | handleCurrentChangeAdvice(currentRow) { |
| | | this.selectedAdvice = currentRow; |
| | | }, |
| | | |
| | | formatDate(row) { |
| | | if (!row.qdcreateTime) return ""; |
| | | const date = moment(row.qdcreateTime, "YYYY-MM-DD"); |
| | | return date.isValid() ? date.format("YYYY-MM-DD") : "无效日期"; |
| | | }, |
| | | |
| | | |
| | |
| | | |
| | | 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) { |
| | |
| | | }); |
| | | }, |
| | | |
| | | chexiao(row) { |
| | | const tjNUm = this.tjNumber; |
| | | const proId = row.proId; |
| | | chexiao(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$message.success("撤销成功"); |
| | | this.xiangmuqingkuang(); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | |
| | | yichanghuifu() { |
| | | this.loading = true; |
| | | let tjNum = this.tjNumber; |