| | |
| | | :inline="true" |
| | | label-width="76px" |
| | | style="margin-top: 10px" |
| | | v-if="tjStatus == 1" |
| | | > |
| | | <el-form-item label="姓名" prop="name"> |
| | | <el-input |
| | |
| | | @blur="hb" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="体检类别"> |
| | | <el-select |
| | | style="width: 200px" |
| | | v-model="queryParams.tjCategory" |
| | | placeholder="请选择体检类别" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.dict_tjtype" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="套餐名称" prop="tcm"> |
| | | <el-input |
| | | v-model="queryParams.tcm" |
| | | style="width: 120px" |
| | | placeholder="请输入套餐名称" |
| | | clearable |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="单位名称" |
| | | prop="tjCompName" |
| | |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="审核医师" prop="shys"> |
| | | <el-input |
| | | ref="inputName" |
| | | v-model="queryParams.shys" |
| | | style="width: 180px" |
| | | placeholder="请输入审核医师" |
| | | clearable |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | |
| | | > |
| | | </el-form-item> |
| | | <el-row v-show="isCollapsed == 1" :gutter="20"> |
| | | <el-col :span="4"> |
| | | <el-form-item label="审核医师" prop="shys"> |
| | | <el-input |
| | | ref="inputName" |
| | | v-model="queryParams.shys" |
| | | style="width: 120px" |
| | | placeholder="请输入审核医师" |
| | | clearable |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="体检时间" prop="tjTime"> |
| | | <el-date-picker |
| | |
| | | </el-row> |
| | | </el-form> |
| | | |
| | | <el-form |
| | | :model="queryParams" |
| | | ref="tableList" |
| | | :inline="true" |
| | | label-width="76px" |
| | | style="margin-top: 10px" |
| | | v-else |
| | | > |
| | | <!-- <el-form :model="queryParams" ref="tableList" :inline="true" label-width="76px" style="margin-top: 10px" > |
| | | <el-form-item label="姓名" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.name" |
| | | style="width: 120px" |
| | | placeholder="请输入姓名" |
| | | clearable |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | <el-input v-model="queryParams.name" style="width: 120px" placeholder="请输入姓名" clearable |
| | | @keyup.enter.native="submitForm"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNumber"> |
| | | <el-input |
| | | ref="inputName" |
| | | v-model="queryParams.tjNumber" |
| | | style="width: 180px" |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="submitForm" |
| | | @blur="hb" |
| | | ></el-input> |
| | | <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 180px" placeholder="请输入体检号" clearable |
| | | @keyup.enter.native="submitForm" @blur="hb"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="体检时间" prop="tjTime"> |
| | | <el-date-picker |
| | | v-model="startTime" |
| | | type="datetimerange" |
| | | align="right" |
| | | :picker-options="pickerOptions" |
| | | style="width: 310px" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | :default-time="['00:00:00', '23:00:00']" |
| | | format="yyyy-MM-dd HH:mm" |
| | | value-format="yyyy-MM-dd HH:mm" |
| | | @change="dateChangebirthday1" |
| | | > |
| | | <el-date-picker v-model="startTime" type="datetimerange" align="right" :picker-options="pickerOptions" |
| | | style="width: 310px" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:00:00']" |
| | | format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item |
| | | label="单位名称" |
| | | prop="tjCompName" |
| | | style="margin-left: 20px" |
| | | > |
| | | <el-select |
| | | :remote-method="getRemoteData" |
| | | v-model="queryParams.tjCompName" |
| | | value-key="drugManufacturerId" |
| | | style="width: 180px" |
| | | remote |
| | | filterable |
| | | placeholder="请选择单位名称" |
| | | clearable |
| | | @change="searchSelect" |
| | | > |
| | | <el-option |
| | | v-for="dict in CompanyList" |
| | | :key="dict.drugManufacturerId" |
| | | :label="dict.cnName" |
| | | :value="dict" |
| | | /> |
| | | <el-form-item label="单位名称" prop="tjCompName" style="margin-left: 20px"> |
| | | <el-select :remote-method="getRemoteData" v-model="queryParams.tjCompName" value-key="drugManufacturerId" |
| | | style="width: 180px" remote filterable placeholder="请选择单位名称" clearable @change="searchSelect"> |
| | | <el-option v-for="dict in CompanyList" :key="dict.drugManufacturerId" :label="dict.cnName" :value="dict" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="submitForm" |
| | | style="margin-right: 15px" |
| | | >搜索</el-button |
| | | > |
| | | <el-button type="primary" size="mini" @click="submitForm" style="margin-right: 15px">搜索</el-button> |
| | | <el-button size="mini" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-form> --> |
| | | |
| | | <el-radio-group |
| | | v-model="tjStatus" |
| | |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | fixed="right" |
| | | title="处方" |
| | | type="text" |
| | | size="mini" |
| | | @click.stop="rowClick(scope.row)" |
| | | icon="el-icon-edit-outline" |
| | | ></el-button> |
| | | v-if="msgkcf == 'y' || msgkcf == 'Y'" |
| | | >处方</el-button |
| | | > |
| | | <el-button |
| | | fixed="right" |
| | | title="详情" |
| | | type="text" |
| | | size="mini" |
| | | @click.stop="handleClick(scope.row)" |
| | | icon="el-icon-document-copy" |
| | | ></el-button> |
| | | >详情</el-button |
| | | > |
| | | <el-button |
| | | type="text" |
| | | size="mini" |
| | | @click.stop="viewReport(scope.row)" |
| | | v-if="scope.row.tjStatus == '1'" |
| | | title="预览" |
| | | icon="el-icon-view" |
| | | ></el-button> |
| | | >预览</el-button |
| | | > |
| | | <el-button |
| | | type="text" |
| | | size="mini" |
| | | v-if="scope.row.tjStatus == '1'" |
| | | title="撤销" |
| | | @click.stop="getRevoke(scope.row)" |
| | | icon="el-icon-refresh-left" |
| | | ></el-button> |
| | | >撤销</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | " |
| | | > |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | 姓名: |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | {{ tableAll.cusName }} |
| | | 姓名:{{ tableAll.cusName }} |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | 性别: |
| | |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | 年龄:{{ tableAll.age }} |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | 体检号:{{ tableAll.tjNumber }} |
| | | </td> |
| | | </tr> |
| | | <tr |
| | | style=" |
| | |
| | | " |
| | | > |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | 体检单号: |
| | | 单位名称:{{ tableAll.tjCompName }} |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | {{ tableAll.tjNumber }} |
| | | 体检类型:{{ tableAll.tjCategory }} |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | 体检时间: |
| | | 套餐:{{ tableAll.pacName }} |
| | | </td> |
| | | <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> |
| | | {{ tableAll.tjTime }} |
| | | 体检时间:{{ tableAll.tjTime }} |
| | | </td> |
| | | </tr> |
| | | </table> |
| | |
| | | type="textarea" |
| | | placeholder="请输入内容" |
| | | v-model="textarea1" |
| | | :rows="3" |
| | | style="width: 96%" |
| | | :autosize="{ minRows: minRows, maxRows: maxRows }" |
| | | style="font-size: 16px" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | border |
| | | style="width: 100%" |
| | | :header-cell-style="{ background: '#67C23A' }" |
| | | :expand-row-keys="expends" |
| | | :row-key="getRowKeys" |
| | | :expand-row-keys="expends" |
| | | > |
| | | <!-- :expand-row-keys="expends" --> |
| | | <el-table-column type="expand"> |
| | | <template slot-scope="props"> |
| | | <div style="padding: 10px"> |
| | |
| | | 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'"> |
| | |
| | | border |
| | | style="width: 100%" |
| | | :header-cell-style="{ background: '#67C23A' }" |
| | | :expand-row-keys="expends" |
| | | :row-key="getRowKeys" |
| | | > |
| | | <!-- :expand-row-keys="expends" --> |
| | | <el-table-column type="expand"> |
| | | <template slot-scope="props"> |
| | | <div style="padding: 10px"> |
| | |
| | | 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> |
| | |
| | | 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> |
| | |
| | | label="检查时间" |
| | | align="center" |
| | | prop="bcupdateTime" |
| | | :formatter="formatDate" |
| | | width="160" |
| | | /> |
| | | <el-table-column label="操作" align="center" width="130px"> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | fixed="right" |
| | | width="80px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="huifu" |
| | | @click="huifu(scope.row)" |
| | | v-if="scope.row.type == '2'" |
| | | :disabled="tjStatus === '1'" |
| | | >恢复</el-button |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="chexiao(scope.row)" |
| | | v-if="scope.row.type == '1'" |
| | | :disabled="tjStatus === '1'" |
| | | >撤销</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | |
| | | style="width: 100%" |
| | | border |
| | | > |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | type="selection" |
| | | width="40" |
| | | align="center" |
| | | /> |
| | | /> --> |
| | | <el-table-column label="序号" align="center" prop="newID" /> |
| | | <el-table-column |
| | | label="名称" |
| | |
| | | </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="常用建议维护" |
| | |
| | | </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, |
| | | advicerulesList: [], |
| | | xmChange: [], |
| | | ychfList: [], |
| | |
| | | name: null, |
| | | checkStatus: null, |
| | | shys: null, |
| | | tcm: null, |
| | | tjCategory: null, |
| | | }, |
| | | formobj: {}, |
| | | yichangList: [], |
| | | fcList: [], |
| | | statusList: [], |
| | | mrjy: "", |
| | | queryParam: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | |
| | | status1: 0, |
| | | viewportHeight: 0, |
| | | expends: [], |
| | | expandRowKeys: [], |
| | | shouldExpand: false, |
| | | }; |
| | | }, |
| | | |
| | |
| | | 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; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | |
| | | this.cancelAdviceDialog(); |
| | | done(); |
| | | } |
| | | }, |
| | | |
| | | formatDate(row) { |
| | | if (!row.qdcreateTime) return ""; |
| | | const date = moment(row.qdcreateTime, "YYYY-MM-DD"); |
| | | return date.isValid() ? date.format("YYYY-MM-DD") : "无效日期"; |
| | | }, |
| | | |
| | | handleAdviceBlur(row, index) { |
| | |
| | | yichangjieguo() { |
| | | this.loading = true; |
| | | this.status1 = 0; |
| | | getConfigKey("kzycxmsfzk").then((res) => { |
| | | this.shouldExpand = res.msg; |
| | | // 只有Y/y才展开,其它(包括空、N、null、undefined)都不展开 |
| | | if (this.shouldExpand === "Y") { |
| | | this.getExpends(); |
| | | } else { |
| | | this.expends = []; |
| | | } |
| | | }); |
| | | yichang({ |
| | | tjNum: this.tjNumber, |
| | | }) |
| | |
| | | if (!this.yichangList) { |
| | | this.$message.warning("暂无异常报告"); |
| | | } |
| | | // 这里也可以根据shouldExpand再调用一次getExpends,确保数据已加载 |
| | | if (this.shouldExpand === "Y" || this.shouldExpand === "y") { |
| | | this.getExpends(); |
| | | } else { |
| | | this.expends = []; |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | this.isLoading = false; |
| | | console.error("获取异常结果失败:", error); |
| | | this.$message.error("获取异常结果失败"); |
| | | }) |
| | | .finally(() => { |
| | | this.isLoading = false; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | |
| | | fuchaxiangmu() { |
| | | this.loading = true; |
| | |
| | | yichanghuifu() { |
| | | this.loading = true; |
| | | let tjNum = this.tjNumber; |
| | | huiFuyichangxiangmu(tjNum).then((res) => { |
| | | this.status1 = 4; |
| | | this.ychfList = res.data; |
| | | if(this.ychfList.length == 0){ |
| | | this.message.success("暂无异常恢复项目") |
| | | } |
| | | }) |
| | | .catch((error)=>{ |
| | | console.error("获取项目失败:",error); |
| | | |
| | | this.$message.error("获取项目失败") |
| | | }) |
| | | .finally(()=>{ |
| | | this.loading = false; |
| | | }) |
| | | huiFuyichangxiangmu(tjNum) |
| | | .then((res) => { |
| | | this.status1 = 4; |
| | | this.ychfList = res.data; |
| | | if (this.ychfList.length == 0) { |
| | | this.$message.success("暂无异常恢复项目"); |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | console.error("获取项目失败:", error); |
| | | |
| | | this.$message.error("获取项目失败"); |
| | | }) |
| | | .finally(() => { |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | hfyc(id) { |
| | | this.$confirm("确认要恢复该项吗?", "提示", { |
| | |
| | | |
| | | propoChange() { |
| | | this.cusobj = { sex: this.tableAll.cusSex, isZj: 0 }; |
| | | this.$refs.proposal.open = true; |
| | | this.$refs.proposal.title = "建议方案"; |
| | | this.$refs.proposal.clearSearchFields(); |
| | | getConfigKey("mrzscyjy").then((res) => { |
| | | this.mrjy = res.msg; // 会触发 watch → 设置 tjproposal = "1" |
| | | // 等数据状态准备好后再打开弹窗 |
| | | this.$refs.proposal.title = "建议方案"; |
| | | this.$refs.proposal.open = true; |
| | | }); |
| | | }, |
| | | |
| | | eventchange(data) { |
| | |
| | | this.startTime = []; |
| | | this.resetForm("tableList"); |
| | | this.submitForm(); |
| | | this.queryParams.tjCategory = null; |
| | | }, |
| | | |
| | | huifu(row) { |
| | |
| | | const proId = row.proId; |
| | | huifu(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$message.success("恢复成功"); |
| | | this.xiangmuqingkuang(); |
| | | } |
| | | }); |
| | | }, |
| | | chexiao(row) { |
| | | const tjNUm = this.tjNumber; |
| | | const proId = row.proId; |
| | | chexiao(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | this.$message.success("撤销成功"); |
| | | this.xiangmuqingkuang(); |
| | | } |
| | | }); |
| | |
| | | this.qingkong(); |
| | | this.$refs.Pre.open = false; |
| | | this.tableAll = row; |
| | | let dict = "dict_tjtype"; |
| | | getDicts(dict).then((res) => { |
| | | if (res.code == 200) { |
| | | res.data.forEach((item) => { |
| | | if (this.tableAll.tjCategory == item.dictValue) { |
| | | this.tableAll.tjCategory = item.dictLabel; |
| | | } |
| | | }); |
| | | } else { |
| | | throw new Error("获取体检类型字典失败"); |
| | | } |
| | | }); |
| | | this.tjproject = "0"; |
| | | this.tjNumber = this.tableAll.tjNumber; |
| | | |
| | |
| | | this.isLoading = true; |
| | | this.drawer = true; |
| | | getupdateCheckType(this.tjNumber).then((response) => { |
| | | this.isLoading = false; |
| | | // this.isLoading = false; |
| | | this.changedate = response.data; |
| | | if (this.changedate) { |
| | | this.changedate.forEach((item) => { |
| | |
| | | this.isLoading = true; |
| | | this.drawer = true; |
| | | getupdateCheckType(this.tjNumber).then((response) => { |
| | | this.isLoading = false; |
| | | // this.isLoading = false; |
| | | this.changedate = response.data; |
| | | if (this.changedate) { |
| | | for (let i = 0; i < this.changedate.length; i++) { |
| | |
| | | let tjNumber = this.tableAll.tjNumber; |
| | | let tjh = this.tableAll.tjNumber; |
| | | let advice = this.textarea1; |
| | | this.isLoading = true; |
| | | let data = { |
| | | tjNumber, |
| | | advice, |
| | |
| | | getTjdetailList(data) |
| | | .then((response) => { |
| | | if (response.code === 200) { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.$modal.msgSuccess("提交成功"); |
| | | this.$modal.msgSuccess(response.msg); |
| | | this.isLoading = false; |
| | | // 清空字段 |
| | | this.zhiyeJl = ""; |
| | | this.zhiyeJg = ""; |
| | |
| | | id: this.MsgId, |
| | | }; |
| | | |
| | | addOrder(dataList) |
| | | /* gettoPdf(tjNumber) |
| | | .then((res) => { |
| | | this.$modal.msgSuccess("已生成报告!请前往报告核收页面确认!"); |
| | | }) |
| | | .catch(() => { |
| | | this.$modal.msgError( |
| | | "打印报告失败,请前往报告打印页面补打报告!" |
| | | ); |
| | | }); */ |
| | | const statePromise = getfiedState(reportData).then(() => { |
| | | this.drawer = false; |
| | | }); |
| | | const updatePromises = this.changedate.map((item) => { |
| | | this.proIds = item.parentId; |
| | | let remarks = item.remark; |
| | | let updateOrderRemarkVos = [ |
| | | { |
| | | tjNumber, |
| | | proId: this.proIds.toString(), |
| | | remarks, |
| | | }, |
| | | ]; |
| | | return getModified(updateOrderRemarkVos); |
| | | }); |
| | | |
| | | Promise.all([statePromise, ...updatePromises]) |
| | | .then(() => { |
| | | this.loading = false; |
| | | this.queryParams.page = 1; |
| | | this.queryParams.pageSize = 10; |
| | | this.submitForm(); |
| | | this.$forceUpdate(); |
| | | }) |
| | | .catch((error) => { |
| | | this.loading = false; |
| | | console.error("发生错误:", error); |
| | | }); |
| | | |
| | | /* addOrder(dataList) |
| | | .then((res) => { |
| | | if (res.code == 200) { |
| | | gettoPdf(tjNumber) |
| | | .then((res) => { |
| | | this.$modal.msgSuccess( |
| | | "已生成报告!请前往报告核收页面确认!" |
| | | ); |
| | | }) |
| | | .catch(() => { |
| | | this.$modal.msgError( |
| | | "打印报告失败,请前往报告打印页面补打报告!" |
| | | ); |
| | | }); |
| | | // gettoPdf(tjNumber) |
| | | // .then((res) => { |
| | | // this.$modal.msgSuccess( |
| | | // "已生成报告!请前往报告核收页面确认!" |
| | | // ); |
| | | // }) |
| | | // .catch(() => { |
| | | // this.$modal.msgError( |
| | | // "打印报告失败,请前往报告打印页面补打报告!" |
| | | // ); |
| | | // }); |
| | | const statePromise = getfiedState(reportData).then(() => { |
| | | this.drawer = false; |
| | | }); |
| | |
| | | .catch((error) => { |
| | | this.loading = false; |
| | | console.error("addOrderPromise 失败:", error); |
| | | }); |
| | | }); */ |
| | | } else { |
| | | this.loading = false; |
| | | this.$modal.msgError("提交失败"); |