|
|
|
@ -46,26 +46,31 @@ |
|
|
|
type="bottom-button" |
|
|
|
type="bottom-button" |
|
|
|
> |
|
|
|
> |
|
|
|
<datav-tab-item label="初信初访" name="1"> |
|
|
|
<datav-tab-item label="初信初访" name="1"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="fxsjFirstMailList" |
|
|
|
:data="fxsjFirstMailList" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="重复信访" name="2"> |
|
|
|
<datav-tab-item label="重复信访" name="2"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="fxsjRepeatMailList" |
|
|
|
:data="fxsjRepeatMailList" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="领导接访" name="3"> |
|
|
|
<datav-tab-item label="领导接访" name="3"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<el-scrollbar height="300px"> |
|
|
|
|
|
|
|
<datav-chart-bar |
|
|
|
:data="fxsjLeaderViewMailList" |
|
|
|
:data="fxsjLeaderViewMailList" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tabs> |
|
|
|
</datav-tabs> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
@ -75,33 +80,32 @@ |
|
|
|
type="bottom-button" |
|
|
|
type="bottom-button" |
|
|
|
> |
|
|
|
> |
|
|
|
<datav-tab-item label="初信初访" name="1"> |
|
|
|
<datav-tab-item label="初信初访" name="1"> |
|
|
|
<div style="height: 300px; overflow: auto"> |
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="bwzdFirstMailList" |
|
|
|
:data="bwzdFirstMailList" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="重复信访" name="2"> |
|
|
|
<datav-tab-item label="重复信访" name="2"> |
|
|
|
<div style="height: 300px; overflow: auto"> |
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="bwzdRepeatMailList" |
|
|
|
:data="bwzdRepeatMailList" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="领导接访" name="3"> |
|
|
|
<datav-tab-item label="领导接访" name="3"> |
|
|
|
<div style="height: 300px; overflow: auto"> |
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="bwzdLeaderViewMailList" |
|
|
|
:data="bwzdLeaderViewMailList" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tabs> |
|
|
|
</datav-tabs> |
|
|
|
|
|
|
|
|
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tabs> |
|
|
|
</datav-tabs> |
|
|
|
</datav-card> |
|
|
|
</datav-card> |
|
|
|
@ -242,24 +246,30 @@ |
|
|
|
type="bottom-button" |
|
|
|
type="bottom-button" |
|
|
|
> |
|
|
|
> |
|
|
|
<datav-tab-item label="领导督办" name="1"> |
|
|
|
<datav-tab-item label="领导督办" name="1"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="xx" |
|
|
|
:data="xx" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="缠访闹访" name="2"> |
|
|
|
<datav-tab-item label="缠访闹访" name="2"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="xx" |
|
|
|
:data="xx" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="群体集访" name="3"> |
|
|
|
<datav-tab-item label="群体集访" name="3"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="xx" |
|
|
|
:data="xx" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
|
|
|
|
|
|
|
|
</datav-tabs> |
|
|
|
</datav-tabs> |
|
|
|
@ -270,24 +280,30 @@ |
|
|
|
type="bottom-button" |
|
|
|
type="bottom-button" |
|
|
|
> |
|
|
|
> |
|
|
|
<datav-tab-item label="领导督办" name="1"> |
|
|
|
<datav-tab-item label="领导督办" name="1"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="xx" |
|
|
|
:data="xx" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="缠访闹访" name="2"> |
|
|
|
<datav-tab-item label="缠访闹访" name="2"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="xx" |
|
|
|
:data="xx" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
<datav-tab-item label="群体集访" name="3"> |
|
|
|
<datav-tab-item label="群体集访" name="3"> |
|
|
|
|
|
|
|
<el-scrollbar height="300px"> |
|
|
|
<datav-chart-bar-mail |
|
|
|
<datav-chart-bar-mail |
|
|
|
:data="xx" |
|
|
|
:data="xx" |
|
|
|
:max="11" |
|
|
|
:max="11" |
|
|
|
size="large" |
|
|
|
size="large" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</el-scrollbar> |
|
|
|
</datav-tab-item> |
|
|
|
</datav-tab-item> |
|
|
|
|
|
|
|
|
|
|
|
</datav-tabs> |
|
|
|
</datav-tabs> |
|
|
|
@ -303,11 +319,11 @@ |
|
|
|
/> |
|
|
|
/> |
|
|
|
</datav-card> |
|
|
|
</datav-card> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
</main> |
|
|
|
</main> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-scrollbar> |
|
|
|
</el-scrollbar> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -363,7 +379,6 @@ const option = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const option1 = ref({ |
|
|
|
const option1 = ref({ |
|
|
|
xAxis: { |
|
|
|
xAxis: { |
|
|
|
type: "category", |
|
|
|
type: "category", |
|
|
|
@ -415,8 +430,6 @@ const option1 = ref({ |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const option2 = { |
|
|
|
const option2 = { |
|
|
|
series: [ |
|
|
|
series: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -455,10 +468,6 @@ const option3 = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const activeTab = ref("1"); |
|
|
|
const activeTab = ref("1"); |
|
|
|
const bwzdActiveTab = ref("1"); // 部委支队初重信tab |
|
|
|
const bwzdActiveTab = ref("1"); // 部委支队初重信tab |
|
|
|
const activeMailTrend = ref("1"); // 信访趋势tab |
|
|
|
const activeMailTrend = ref("1"); // 信访趋势tab |
|
|
|
@ -531,8 +540,6 @@ function initRecentlyMailTrend() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
watch(activeMailTrend, async () => { |
|
|
|
watch(activeMailTrend, async () => { |
|
|
|
// console.log("Active Tab: ", activeMailTrend.value); |
|
|
|
|
|
|
|
// console.log("Active Tab Right: ", selectedOption.value); |
|
|
|
|
|
|
|
const recentlyMailTrend = await getRecentlyMailTrend({ |
|
|
|
const recentlyMailTrend = await getRecentlyMailTrend({ |
|
|
|
sourcesCode: activeMailTrend.value, |
|
|
|
sourcesCode: activeMailTrend.value, |
|
|
|
year: selectedOption.value, |
|
|
|
year: selectedOption.value, |
|
|
|
@ -560,6 +567,7 @@ onMounted(() => { |
|
|
|
// console.log("Active Tab: ", activeMailTab.value); |
|
|
|
// console.log("Active Tab: ", activeMailTab.value); |
|
|
|
// }, 3000); // 每3秒切换一次 |
|
|
|
// }, 3000); // 每3秒切换一次 |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
function getData() { |
|
|
|
function getData() { |
|
|
|
getMailVisitsData(time.value).then((data) => { |
|
|
|
getMailVisitsData(time.value).then((data) => { |
|
|
|
overview.value = data.overview; |
|
|
|
overview.value = data.overview; |
|
|
|
@ -577,8 +585,6 @@ function getData() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import "@/style/datav.scss"; |
|
|
|
@import "@/style/datav.scss"; |
|
|
|
@ -589,4 +595,16 @@ function getData() { |
|
|
|
top: 65px; |
|
|
|
top: 65px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.main { |
|
|
|
|
|
|
|
padding: 0 10px 10px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.main-left, |
|
|
|
|
|
|
|
.main-right { |
|
|
|
|
|
|
|
float: left; |
|
|
|
|
|
|
|
width: 25%; |
|
|
|
|
|
|
|
padding: 0 10px; |
|
|
|
|
|
|
|
height: 90%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
</style> |