Browse Source

审计大屏 11/17/ 2:46 现场督察 黄赌毒

main
parent
commit
93f2015dd6
  1. 32
      src/views/datav/SceneInsp.vue
  2. 24
      src/views/sensitivePerception/DictContent.vue

32
src/views/datav/SceneInsp.vue

@ -50,12 +50,7 @@
</el-col> </el-col>
</el-row> </el-row>
<datav-tabs
type="bottom-button"
v-model="activeTabLeft"
>
<datav-tab-item label="分县市局" name="3">
<el-scrollbar height="350px"> <el-scrollbar height="350px">
<datav-chart-bar <datav-chart-bar
:data="data1" :data="data1"
@ -66,20 +61,7 @@
unit="%" unit="%"
/> />
</el-scrollbar> </el-scrollbar>
</datav-tab-item>
<datav-tab-item label="局属单位" name="4">
<el-scrollbar height="350px">
<datav-chart-bar
:data="data1"
:max="11"
size="large"
:color="colors"
title="整改率排名"
sub-title="完成数/问题数"
/>
</el-scrollbar>
</datav-tab-item>
</datav-tabs>
</datav-card> </datav-card>
@ -158,12 +140,7 @@
<datav-card> <datav-card>
<datav-tabs v-model="activeTabRight" size="small"> <datav-tabs v-model="activeTabRight" size="small">
<datav-tab-item label="黄赌毒" name="3"> <datav-tab-item label="黄赌毒" name="3">
<datav-tabs <el-scrollbar height="420px">
v-model="activeMailTabRight"
type="bottom-button"
>
<datav-tab-item label="分县市局" name="1">
<el-scrollbar height="300px">
<datav-chart-bar <datav-chart-bar
:data="hddList" :data="hddList"
size="large" size="large"
@ -171,9 +148,6 @@
sub-title="问题数" sub-title="问题数"
/> />
</el-scrollbar> </el-scrollbar>
</datav-tab-item>
</datav-tabs>
</datav-tab-item> </datav-tab-item>
</datav-tabs> </datav-tabs>
@ -482,7 +456,7 @@ function getData() {
getChangedRank(time.value, 3).then((res) => { getChangedRank(time.value, 3).then((res) => {
rankOverview.value = res.rankOverview; rankOverview.value = res.rankOverview;
data1.value = res.changedRankList; data1.value = res.changedRankList;
option2.series[0].data = res.wtlxList; // option2.series[0].data = res.wtlxList;
}); });
getSupervisionTrend(new Date().getFullYear()).then((res) => { getSupervisionTrend(new Date().getFullYear()).then((res) => {

24
src/views/sensitivePerception/DictContent.vue

@ -7,7 +7,8 @@
<template #icon> <template #icon>
<icon name="el-icon-Plus"/> <icon name="el-icon-Plus"/>
</template> </template>
新增</el-button 新增
</el-button
> >
</div> </div>
<div style="width: 50%"> <div style="width: 50%">
@ -16,7 +17,8 @@
<el-col :span="12"> <el-col :span="12">
<div class="flex end"> <div class="flex end">
<el-button type="primary" @click="handleCalculate"> <el-button type="primary" @click="handleCalculate">
重新计算分值</el-button 重新计算分值
</el-button
> >
</div> </div>
</el-col> </el-col>
@ -28,7 +30,7 @@
<div class="text-primary mt-10 mb-10">赋分分公式如下</div> <div class="text-primary mt-10 mb-10">赋分分公式如下</div>
<div> <div>
问题综合得分 = 问题综合得分 =
基础分值x(1+问题严重等级系数)x(1+问题发生频次系数)x(1+问题发生率系数) 问题风险值 = 基础风险值+(基础风险值×问题严重等级系数)+(基础风险值×问题发生频次系数)
</div> </div>
</div> </div>
<a <a
@ -63,10 +65,12 @@
> >
<template #default="{ row }"> <template #default="{ row }">
<el-tag type="success" v-if="row.isActiveLevel === true" <el-tag type="success" v-if="row.isActiveLevel === true"
>开启</el-tag >开启
</el-tag
> >
<el-tag type="danger" v-if="row.isActiveLevel === false" <el-tag type="danger" v-if="row.isActiveLevel === false"
>关闭</el-tag >关闭
</el-tag
> >
</template> </template>
</el-table-column> </el-table-column>
@ -80,10 +84,12 @@
<el-table-column label="操作"> <el-table-column label="操作">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="primary" link @click="handleEdit(row)" <el-button type="primary" link @click="handleEdit(row)"
>编辑</el-button >编辑
</el-button
> >
<el-button type="danger" link @click="handleDelete(row)" <el-button type="danger" link @click="handleDelete(row)"
>删除</el-button >删除
</el-button
> >
</template> </template>
</el-table-column> </el-table-column>
@ -214,6 +220,7 @@ function getList() {
dictContentOptions.value[0].children = data; dictContentOptions.value[0].children = data;
}); });
} }
getList(); getList();
const show = ref(false); const show = ref(false);
@ -227,6 +234,7 @@ watch(mode, (val) => {
formRef.value.resetFields(); formRef.value.resetFields();
} }
}); });
async function submit() { async function submit() {
await formRef.value.validate(); await formRef.value.validate();
if (mode.value === "add") { if (mode.value === "add") {
@ -284,6 +292,7 @@ function getScoreRange(row) {
} }
const loading = ref(false) const loading = ref(false)
async function handleCalculate() { async function handleCalculate() {
await feedback.confirm("确定要重新计算风险指数?"); await feedback.confirm("确定要重新计算风险指数?");
loading.value = true loading.value = true
@ -299,6 +308,7 @@ async function handleCalculate() {
color: #19257d; color: #19257d;
padding: 0 8px; padding: 0 8px;
border-radius: 8px; border-radius: 8px;
&:hover { &:hover {
background-color: #eee; background-color: #eee;
} }

Loading…
Cancel
Save