This commit is contained in:
闫晓茹 2024-08-21 15:06:15 +08:00
parent 934043feb4
commit 5d2e7f4b56

View File

@ -40,14 +40,14 @@
v-for="(item, index) in taskSituationlist" v-for="(item, index) in taskSituationlist"
:key="index" :key="index"
> >
<div> <div @click="goback(item)">
<el-tooltip <el-tooltip
class="" class=""
effect="dark" effect="dark"
:content="item.name == '人工审核' ? '待审核数' : '待随访数'" :content="item.name == '人工审核' ? '待审核数' : '待随访数'"
placement="top" placement="top"
> >
<div class="person" @click="goback"> <div class="person">
<span class="">{{ item.name }}</span> <span class="">{{ item.name }}</span>
<el-badge :value="item.count" class="item"></el-badge> <el-badge :value="item.count" class="item"></el-badge>
<i class="el-icon-arrow-right"></i> <i class="el-icon-arrow-right"></i>
@ -63,7 +63,7 @@
" "
placement="top" placement="top"
> >
<div style="display: flex" @click="gofollowup"> <div style="display: flex">
<el-progress :percentage="item.content"></el-progress> <el-progress :percentage="item.content"></el-progress>
<span style="float: right; margin: 12px 19px 0 10px" <span style="float: right; margin: 12px 19px 0 10px"
>{{ item.allCount - item.count }}/{{ item.allCount }}</span >{{ item.allCount - item.count }}/{{ item.allCount }}</span
@ -79,7 +79,6 @@
<div class="word">本月签约患者情况</div> <div class="word">本月签约患者情况</div>
<div id="main1" style="height: 80%" v-if="countydata"></div> <div id="main1" style="height: 80%" v-if="countydata"></div>
<el-empty description="暂无" style="width: 100%" v-else></el-empty> <el-empty description="暂无" style="width: 100%" v-else></el-empty>
</div> </div>
<div class="appbottomtwo"> <div class="appbottomtwo">
<div class="word">服务方式</div> <div class="word">服务方式</div>
@ -108,8 +107,8 @@ export default {
list: {}, list: {},
namelist: [], namelist: [],
taskSituationlist: [], taskSituationlist: [],
countydata:[], countydata: [],
arrlist:[], arrlist: [],
}; };
}, },
mounted() { mounted() {
@ -118,20 +117,21 @@ export default {
this.info(); this.info();
}, },
methods: { methods: {
goback() { goback(item) {
this.$router.push({ console.log(item, "item");
path: "/task/manualReview", if (item.name == "人工审核") {
}); this.$router.push({
}, path: "/task/manualReview",
gofollowup() { });
this.$router.push({ } else {
path: "/task/followup", this.$router.push({
}); path: "/task/followup",
});
}
}, },
// //
infolist() { infolist() {
topStatistics().then((res) => { topStatistics().then((res) => {
// console.log(res, "res");
this.list = res.data; this.list = res.data;
}); });
taskSituation().then((res) => { taskSituation().then((res) => {
@ -146,7 +146,7 @@ export default {
signPatientCount().then((res) => { signPatientCount().then((res) => {
// x // x
res.data.forEach((e) => { res.data.forEach((e) => {
this. countydata.push(e.time); this.countydata.push(e.time);
}); });
// //
var countydatay = []; var countydatay = [];
@ -259,7 +259,7 @@ export default {
}, },
info() { info() {
serviceModeStatistics().then((res) => { serviceModeStatistics().then((res) => {
this. arrlist = []; this.arrlist = [];
res.data.forEach((element) => { res.data.forEach((element) => {
this.arrlist.push({ this.arrlist.push({
value: element.count, //conutvalue value: element.count, //conutvalue