| | |
| | | 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="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> |
| | |
| | | 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("确认要恢复该项吗?", "提示", { |
| | |
| | | getTjdetailList(data) |
| | | .then((response) => { |
| | | if (response.code === 200) { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | // this.$modal.msgSuccess("提交成功"); |
| | | this.$modal.msgSuccess( |
| | | response.msg |
| | | ); |
| | | // 清空字段 |
| | | this.zhiyeJl = ""; |
| | | this.zhiyeJg = ""; |
| | |
| | | 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; |
| | | }); |