Browse Source

信访大屏1.0

main
parent
commit
5396b5fc66
  1. 1
      src/layout/components/Aside.vue
  2. 52
      src/views/data/Ajhc.vue
  3. 3
      src/views/datav/CaseVerif.vue

1
src/layout/components/Aside.vue

@ -62,7 +62,6 @@
<script setup> <script setup>
import { MenuEnum } from "@/enums/appEnums"; import { MenuEnum } from "@/enums/appEnums";
import useUserStore from "@/stores/modules/user"; import useUserStore from "@/stores/modules/user";
const asideCollapse = ref(false); const asideCollapse = ref(false);
const userStore = useUserStore(); const userStore = useUserStore();
const routes = computed(() => userStore.routes); const routes = computed(() => userStore.routes);

52
src/views/data/Ajhc.vue

@ -122,12 +122,7 @@
<el-table-column label="业务类别" prop="businessTypeName" /> <el-table-column label="业务类别" prop="businessTypeName" />
<el-table-column label="涉嫌问题" prop="involveProblem" /> <el-table-column label="涉嫌问题" prop="involveProblem" />
<el-table-column label="涉及警种" prop="policeTypeName" /> <el-table-column label="涉及警种" prop="policeTypeName" />
<el-table-column label="涉及单位" show-overflow-tooltip> <el-table-column label="涉及单位" prop="involveDepartName" />
<template #default="{ row }">
<span>{{ row.secondDepartName }}</span>
<span>{{ row.thirdDepartName }}</span>
</template>
</el-table-column>
<el-table-column <el-table-column
label="具体内容" label="具体内容"
prop="thingDesc" prop="thingDesc"
@ -145,6 +140,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="200"> <el-table-column label="操作" width="200">
<template #default="{ row }"> <template #default="{ row }">
<template <template
v-if=" v-if="
row.distributionState === row.distributionState ===
@ -170,7 +166,7 @@
>移除</el-button >移除</el-button
> >
</template> </template>
<el-button type="danger" link @click="handleDel(row)" <el-button type="danger" link @click="handleDel(row)"
>删除</el-button >删除</el-button
> >
@ -230,11 +226,7 @@
prop="discoveryTime" prop="discoveryTime"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column label="问题发生时间" prop="happenTime" show-overflow-tooltip />
label="问题发生时间"
prop="happenTime"
show-overflow-tooltip
/>
<el-table-column <el-table-column
label="问题来源" label="问题来源"
prop="problemSources" prop="problemSources"
@ -253,12 +245,10 @@
<el-table-column label="业务类别" prop="businessTypeName" /> <el-table-column label="业务类别" prop="businessTypeName" />
<el-table-column label="涉嫌问题" prop="involveProblem" /> <el-table-column label="涉嫌问题" prop="involveProblem" />
<el-table-column label="涉及警种" prop="policeTypeName" /> <el-table-column label="涉及警种" prop="policeTypeName" />
<el-table-column label="涉及单位" show-overflow-tooltip> <el-table-column
<template #default="{ row }"> label="涉及单位"
<span>{{ row.secondDepartName }}</span> prop="involveDepartName"
<span>{{ row.thirdDepartName }}</span> />
</template>
</el-table-column>
<el-table-column <el-table-column
label="具体内容" label="具体内容"
prop="thingDesc" prop="thingDesc"
@ -266,6 +256,7 @@
/> />
<el-table-column label="操作" width="140"> <el-table-column label="操作" width="140">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button
type="info" type="info"
link link
@ -333,7 +324,10 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<footer class="flex end mt-20"> <footer class="flex end mt-20">
<el-button type="primary" size="large" @click="handleSubmit" <el-button
type="primary"
size="large"
@click="handleSubmit"
>确认下发</el-button >确认下发</el-button
> >
</footer> </footer>
@ -356,7 +350,7 @@ const catchStore = useCatchStore();
const dict = catchStore.getDicts([ const dict = catchStore.getDicts([
"distributionState", "distributionState",
"timeLimit", "timeLimit",
"approvalFlow", "approvalFlow"
]); ]);
const query = ref({ const query = ref({
@ -405,7 +399,7 @@ function handleShowDistributeDialog() {
distributeShow.value = true; distributeShow.value = true;
} }
const form = ref({}); const form = ref({});
const formRef = ref(); const formRef = ref()
function handleRemoveDistribute(row) { function handleRemoveDistribute(row) {
distributeList.value.splice( distributeList.value.splice(
@ -417,14 +411,14 @@ function handleRemoveDistribute(row) {
} }
async function handleSubmit() { async function handleSubmit() {
await formRef.value.validate(); await formRef.value.validate()
form.value.data = distributeList.value; form.value.data = distributeList.value
await distributeCaseVerif(form.value); await distributeCaseVerif(form.value)
form.value = {}; form.value = {}
distributeShow.value = false; distributeShow.value = false
distributeListShow.value = false; distributeListShow.value = false
feedback.msgSuccess("下发成功"); feedback.msgSuccess('下发成功')
getList(); getList()
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

3
src/views/datav/CaseVerif.vue

@ -23,6 +23,7 @@
size="large" size="large"
/> />
</datav-tab-item> </datav-tab-item>
</datav-tabs> </datav-tabs>
</datav-card> </datav-card>
<datav-card title="案件问题性质"> <datav-card title="案件问题性质">
@ -136,6 +137,7 @@
</div> </div>
</el-scrollbar> </el-scrollbar>
</template> </template>
<script setup> <script setup>
import vCharts from "vue-echarts"; import vCharts from "vue-echarts";
import changshaMap from "@/assets/data/changsha.json"; import changshaMap from "@/assets/data/changsha.json";
@ -371,6 +373,7 @@ const option4 = {
const activeTab = ref("1"); const activeTab = ref("1");
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/style/datav.scss"; @import "@/style/datav.scss";
</style> </style>
Loading…
Cancel
Save