This commit is contained in:
2025-07-28 17:19:51 +08:00
parent 2908620516
commit b97ab73e02
6 changed files with 235 additions and 119 deletions

View File

@@ -10,6 +10,7 @@
<el-button type="primary" size="mini">去处理</el-button>
</router-link>
</el-card>
</el-col>
<el-col :span="12">
<el-card shadow="hover">
@@ -20,7 +21,19 @@
</router-link>
</el-card>
</el-col>
</el-row>
<el-row :gutter="12" style="margin-top: 30px;">
<el-col :span="12">
<el-card shadow="hover">
待审核医案
<span class="number">{{medicalNum}}</span>
<router-link :to="{ path: '/medicalrecords-medicalList', query: {} }">
<el-button type="primary" size="mini" v-if="medicalNum>0">去处理</el-button>
</router-link>
</el-card>
</el-col>
</el-row>
</div>
</template>
@@ -28,6 +41,7 @@
export default {
data(){
return{
medicalNum:0,
orderNum:0,
workOrderNum:0,
// loadAll:true,
@@ -35,6 +49,7 @@
}
},
created(){
this.getMedicalList()
this.getDataList()
this.getWorkDataList()
},
@@ -89,6 +104,22 @@
this.$message.error("获取待处理工数量失败");
// console.log("表单提交报错");
});
},
// 获取工单列表
getMedicalList() {
this.$http({
url: this.$http.adornUrl(
"/master/medicalRecords/getMedicalRecordsListCheck"
),
method: "post",
data: this.$http.adornData({
current: 1,
limit: 999999,
state: 1
})
}).then(({ data }) => {
this.medicalNum = data.page.total
});
}
},
computed:{