From bd8d09e08a6c179b7c842b4ac77c5f468a0b1470 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 24 六月 2025 16:32:34 +0800 Subject: [PATCH] qx --- src/views/system/user/index.vue | 4 ++-- src/views/doctor/checkAll/index.vue | 27 +++++++++++++++++++++------ src/views/hosp/rules/index.vue | 4 ++-- src/views/hosp/ruleAdvice/index.vue | 23 +++++++++++++++++++++-- 4 files changed, 46 insertions(+), 12 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 226b7b3..f2f8cb4 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -449,6 +449,11 @@ </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> @@ -836,7 +841,7 @@ 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"; @@ -1851,6 +1856,16 @@ }); }, + huifu(row){ + const tjNUm = this.tjNumber; + const proId = row.proId; + huifu(tjNUm, proId).then((res) => { + if (res.code == 200) { + this.xiangmuqingkuang() + } + }); + }, + resetQuery() { this.startTime = []; this.queryParams = { @@ -1896,14 +1911,14 @@ this.handleClick(val); } }, -qingkong() { + qingkong() { this.tableAll = {} this.changedate = [] this.yichangList = [] this.statusList = [] this.xmChange = [] - this.fcList =[] - this.formobj ={} + this.fcList = [] + this.formobj = {} }, handleClick(row) { @@ -1931,7 +1946,7 @@ 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) => { @@ -1980,7 +1995,7 @@ 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++) { diff --git a/src/views/hosp/ruleAdvice/index.vue b/src/views/hosp/ruleAdvice/index.vue index d57632a..e3d471b 100644 --- a/src/views/hosp/ruleAdvice/index.vue +++ b/src/views/hosp/ruleAdvice/index.vue @@ -290,6 +290,7 @@ showSearch: true, // 鎬绘潯鏁� total: 0, + proId:"", // 鐥呯+鎰忚琛ㄦ牸鏁版嵁 ruleAdviceList: [], rulesList: [], @@ -361,8 +362,26 @@ this.loading = false; }); }, + getsList() { + this.loading = true; + let date = { + proId: this.proId, + }; + getByProId(date).then((response) => { + response.rows.forEach((item, index) => { + item.newID = + (this.queryParams.pageNum - 1) * this.queryParams.pageSize + + index + + 1; + }); + this.ruleAdviceList = response.rows; + this.total = response.total; + this.loading = false; + }); + }, // 鑺傜偣鍗曞嚮浜嬩欢 handleNodeClick(data) { + this.proId = data.id this.loading = true; let date = { proId: data.id, @@ -480,13 +499,13 @@ updateRuleAdvice(this.form).then((response) => { this.$modal.msgSuccess("淇敼鎴愬姛"); this.open = false; - this.getList(); + this.getsList(); }); } else { addRuleAdvice(this.form).then((response) => { this.$modal.msgSuccess("鏂板鎴愬姛"); this.open = false; - this.getList(); + this.getsList(); }); } } diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue index 38aa5e1..d442679 100644 --- a/src/views/hosp/rules/index.vue +++ b/src/views/hosp/rules/index.vue @@ -788,13 +788,13 @@ this.$modal.msgSuccess("淇敼鎴愬姛"); this.open = false; - this.getList(); + this.getListByXmId() }); } else { addRules(this.form).then((response) => { this.$modal.msgSuccess("鏂板鎴愬姛"); this.open = false; - this.getList(); + this.getListByXmId() }); } } diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 8ce3a66..b431477 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -1752,8 +1752,8 @@ // 鍙栨秷鎸夐挳 cancel() { this.open = false; - this.reset(); - this.$tab.refreshPage(); + // this.reset(); + // this.$tab.refreshPage(); }, handleClose() { this.$tab.refreshPage(); -- Gitblit v1.8.0