| | |
| | | </el-table-column> |
| | | <el-table-column label="出生日期" align="center" prop="cusBrithday" :show-overflow-tooltip="true" width="110px" /> |
| | | <el-table-column label="电话" align="center" prop="cusPhone" :show-overflow-tooltip="true" width="130px" /> |
| | | <el-table-column label="审核时间" align="center" prop="shsj" :show-overflow-tooltip="true" width="180px" /> |
| | | <el-table-column label="完成时间" align="center" prop="finishTime" :show-overflow-tooltip="true" width="160px" /> |
| | | <el-table-column label="审核时间" align="center" prop="shsj" :show-overflow-tooltip="true" width="180px" v-if="tjStatus == 1" /> |
| | | <el-table-column label="体检时间" align="center" prop="tjTime" :show-overflow-tooltip="true" width="180px" v-if="tjStatus == 0" /> |
| | | <!-- <el-table-column label="完成时间" align="center" prop="finishTime" :show-overflow-tooltip="true" width="160px" /> --> |
| | | <el-table-column label="状态" align="center" prop="tjStatus" :show-overflow-tooltip="true" width="120px" |
| | | v-if="tjStatus == 0"> |
| | | <template slot-scope="scope" v-if="tjStatus == 0"> |
| | |
| | | </div> |
| | | <div class="btn1"> |
| | | <el-button @click="fuchaxiangmu()" type="primary"><span class="vertical-text">复查项目</span></el-button> |
| | | </div> |
| | | <div class="btn1"> |
| | | <el-button @click="yichanghuifu()" type="primary"><span class="vertical-text">异常恢复</span></el-button> |
| | | </div> |
| | | </div> |
| | | <div class="box"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="检查时间" align="center" prop="bcupdateTime" width="160" /> |
| | | <el-table-column label="操作" align="center" width="130px"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" @click="huifu" v-if="scope.row.type == '2'">恢复</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </template> |
| | |
| | | </el-form> |
| | | </div> |
| | | </template> |
| | | <template v-if="status1 == 4"> |
| | | <div> |
| | | <el-table |
| | | :data="ychfList" |
| | | style="width: 100%" |
| | | :header-cell-style="{ background: '#e6a23c' }" |
| | | > |
| | | <el-table-column |
| | | align="center" |
| | | prop="jcxm" |
| | | label="项目名" |
| | | width="260" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="结果" |
| | | align="center" |
| | | prop="jcjg" |
| | | width="160" |
| | | /> |
| | | <el-table-column label="操作" align="center" width="130px"> |
| | | <template v-slot="scope"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="hfyc(scope.row.id)" |
| | | >恢复</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </template> |
| | | <el-button type="primary" @click="addnew" :disabled="isdisabled" style="margin-top: 20px;">新增</el-button> |
| | | </div> |
| | | </div> |
| | |
| | | addOrder, |
| | | addOrder1, |
| | | getFcList, |
| | | UpdFcPro |
| | | UpdFcPro, |
| | | huiFuyichangxiangmu, |
| | | hfbt, |
| | | } from "@/api/doctor/checkAll"; |
| | | import { getInfoById } from "@/api/hosp/history"; |
| | | import { getInfo } from "@/api/login"; |
| | | import { getCompany, queryCompany } from "@/api/team/tuanti"; |
| | | import { reportHistory, yichang, shanchu } from "@/api/doctor/check"; |
| | | import { getPdf, revoke } from "@/api/hosp/order"; |
| | | import { cSWebGetPro } from "@/api/doctor/examination"; |
| | | import { cSWebGetPro,huifu,} from "@/api/doctor/examination"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import Historicalreport from "@/components/Historicalreport"; |
| | | import { getDicts } from "@/api/system/dict/data"; |
| | |
| | | }); |
| | | }, |
| | | |
| | | huifu(row){ |
| | | const tjNUm = this.tjNumber; |
| | | const proId = row.proId; |
| | | huifu(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | | this.xiangmuqingkuang() |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | 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; |
| | | }) |
| | | }, |
| | | |
| | | hfyc(id) { |
| | | this.$confirm("确认要恢复该项吗?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | }) |
| | | .then(() => { |
| | | // 用户确认后执行接口 |
| | | hfbt({ id }) |
| | | .then((res) => { |
| | | this.$message.success("恢复成功"); |
| | | this.yichanghuifu(); // 恢复后刷新列表 |
| | | }) |
| | | .catch((err) => { |
| | | console.error(err); |
| | | this.$message.error("恢复失败"); |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | // 用户取消了操作 |
| | | this.$message.info("已取消恢复"); |
| | | }); |
| | | }, |
| | | |
| | | resetQuery() { |
| | | this.startTime = []; |
| | | this.queryParams = { |
| | |
| | | this.handleClick(val); |
| | | } |
| | | }, |
| | | qingkong() { |
| | | this.tableAll = {} |
| | | this.changedate = [] |
| | | this.yichangList = [] |
| | | this.statusList = [] |
| | | this.xmChange = [] |
| | | this.fcList = [] |
| | | this.formobj = {} |
| | | }, |
| | | |
| | | handleClick(row) { |
| | | this.qingkong() |
| | | this.$refs.Pre.open = false; |
| | | this.tableAll = row; |
| | | this.tjproject = "0"; |
| | |
| | | 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++) { |