三审处理中

This commit is contained in:
2025-08-26 09:48:42 +08:00
parent ce6f877d4a
commit 699df9534d
3 changed files with 25 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
<el-card shadow="hover"> <el-card shadow="hover">
待处理医案 待处理医案
<div style="display: flex;align-items: center;"> <p v-if="medicalNum > 0"><span style="color: #c97902;"> 待审核:</span><span class="number">{{ medicalNum }}</span></p> <div style="display: flex;align-items: center;"> <p v-if="medicalNum > 0"><span style="color: #c97902;"> 待审核:</span><span class="number">{{ medicalNum }}</span></p>
<p v-if="medicalNum2 > 0"><span style="color: #2568d9;"> 待审批</span> <p v-if="medicalNum2 > 0"><span style="color: #2568d9;"> 三审待审批</span>
<span class="number">{{ medicalNum2 }}</span></p><router-link :to="{ path: '/medicalrecords-medicalList', query: {} }"> <span class="number">{{ medicalNum2 }}</span></p><router-link :to="{ path: '/medicalrecords-medicalList', query: {} }">
<el-button type="primary" size="mini" v-if="medicalNum > 0||medicalNum2>0" <el-button type="primary" size="mini" v-if="medicalNum > 0||medicalNum2>0"
@@ -134,7 +134,8 @@ export default {
data: this.$http.adornData({ data: this.$http.adornData({
current: 1, current: 1,
limit: 999999, limit: 999999,
state: 3 state: 3,
infoCount: 2
}) })
}).then(({ data }) => { }).then(({ data }) => {
this.medicalNum2 = data.page.total; this.medicalNum2 = data.page.total;

View File

@@ -186,7 +186,8 @@ export default {
data: this.$http.adornData({ data: this.$http.adornData({
current: 1, current: 1,
limit: 999999, limit: 999999,
state: 3 state: 3,
infoCount: 2
}) })
}) })
]).then(([res1, res3]) => { ]).then(([res1, res3]) => {
@@ -209,7 +210,7 @@ export default {
messageNodes.push( messageNodes.push(
h("i", { h("i", {
style: "color: #2568d9; display: block;" style: "color: #2568d9; display: block;"
}, `待审批的共有 【${totalApprove}】 条,请及时处理!`) }, `三审待审批的共有 【${totalApprove}】 条,请及时处理!`)
); );
} }

View File

@@ -1985,16 +1985,32 @@ console.log('formattedData at line 1286:', formattedData)
limit: 999999, limit: 999999,
state: 3 state: 3
}) })
}),
this.$http({
url: this.$http.adornUrl(
"/master/medicalRecords/getMedicalRecordsListCheck"
),
method: "post",
data: this.$http.adornData({
current: 1,
limit: 999999,
state: 3,
infoCount: 2
})
}) })
]).then(([res1, res3]) => { ]).then(([res1, res2,res3]) => {
const totalCheck = res1.data.page.total || 0; // 待审核 const totalCheck = res1.data.page.total || 0; // 待审核
const totalApprove = res3.data.page.total || 0; // 待审批 const totalApprove = res2.data.page.total || 0; // 待审批
const totalApprove3 = res3.data.page.total || 0; // 待审批
if (totalCheck > 0) { if (totalCheck > 0) {
this.$set(this.treeDataList[1], "number", totalCheck); this.$set(this.treeDataList[1], "number", totalCheck);
} }
if (totalApprove > 0) { if (totalApprove > 0) {
this.$set(this.treeDataList[4], "number", totalApprove); this.$set(this.treeDataList[3], "number", totalApprove);
}
if (totalApprove3 > 0) {
this.$set(this.treeDataList[4], "number", totalApprove3);
} }
}); });
// this.treeDataList = data.labelList; // this.treeDataList = data.labelList;