更新
This commit is contained in:
@ -173,20 +173,18 @@ const pageData = reactive({
|
|||||||
},
|
},
|
||||||
controlsWidth: 280,
|
controlsWidth: 280,
|
||||||
tableColumn: [
|
tableColumn: [
|
||||||
{ label: "群体名称", prop: "qtMc", width: 150 },
|
{ label: "群体名称", prop: "qtMc" },
|
||||||
{ label: "群体类别", prop: "qtLb", showSolt: true, width: 150 },
|
{ label: "群体类别", prop: "qtLb", showSolt: true },
|
||||||
{ label: "风险等级", prop: "qtFxdj", showSolt: true, width: 150 },
|
{ label: "风险等级", prop: "qtFxdj", showSolt: true },
|
||||||
{ label: "背景资料", prop: "qtBjzl", width: 150 },
|
// { label: "背景资料", prop: "qtBjzl" },
|
||||||
{ label: "背景信息", prop: "bgxx", showSolt: true, width: 150 },
|
{ label: "背景信息", prop: "bgxx", showSolt: true },
|
||||||
{ label: "管辖单位", prop: "gxSsdwmc", width: 150 },
|
{ label: "管辖单位", prop: "gxSsdwmc" },
|
||||||
{ label: "列控原因", prop: "zdrLkyy", width: 150 },
|
{ label: "列控原因", prop: "zdrLkyy" },
|
||||||
{ label: "开始时间", prop: "zdrRkkssj", width: 150 },
|
{ label: "开始时间", prop: "zdrRkkssj" },
|
||||||
{ label: "截至时间", prop: "zdrRkjssj", width: 150 },
|
{ label: "截至时间", prop: "zdrRkjssj" },
|
||||||
{ label: "稳控人数", prop: "zdryList", showSolt: true, width: 150 },
|
{ label: "稳控人数", prop: "zdryList", showSolt: true },
|
||||||
{ label: "状态", prop: "qtZt", showSolt: true, width: 150 },
|
{ label: "状态", prop: "qtZt", showSolt: true },
|
||||||
{ label: "标签", prop: "bqList", showSolt: true, showOverflowTooltip: true, width: 400 },
|
{ label: "标签", prop: "bqList", showSolt: true, showOverflowTooltip: true, },
|
||||||
{ label: "创建单位", prop: "xtCjbmmc", width: 150 },
|
|
||||||
{ label: "创建时间", prop: "xtCjsj", width: 150 },
|
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,12 @@
|
|||||||
<CirclePlus />
|
<CirclePlus />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
<span class="vertical-middle">删除</span>
|
<span class="vertical-middle">删除</span>
|
||||||
</el-button></template>
|
</el-button>
|
||||||
|
<el-button type="primary" size="small">
|
||||||
|
<el-icon class="vertical-middle"><Edit /></el-icon>
|
||||||
|
<span class="vertical-middle">情报信息报告</span>
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
</PageTitle>
|
</PageTitle>
|
||||||
<!-- 表格 -->
|
<!-- 表格 -->
|
||||||
<div class="tabBox" :style="{ height: (pageData.tableHeight + 40) + 'px' }">
|
<div class="tabBox" :style="{ height: (pageData.tableHeight + 40) + 'px' }">
|
||||||
@ -141,6 +146,7 @@ import CustomTag from '../components/customTag.vue'
|
|||||||
import Configuration from '../components/configuration.vue'
|
import Configuration from '../components/configuration.vue'
|
||||||
import transferMerchant from "./components/transferMerchant.vue";
|
import transferMerchant from "./components/transferMerchant.vue";
|
||||||
import { isShiQingZhi } from "@/utils/auth.js"
|
import { isShiQingZhi } from "@/utils/auth.js"
|
||||||
|
import { Edit } from "@element-plus/icons";
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const { D_GS_XS_LY, D_BZ_SSSHZT, D_BZ_SSZT, D_BZ_SF, D_GS_XS_LX, D_BZ_BQJB,
|
const { D_GS_XS_LY, D_BZ_SSSHZT, D_BZ_SSZT, D_BZ_SF, D_GS_XS_LX, D_BZ_BQJB,
|
||||||
|
|||||||
@ -1,6 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" :title="title" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
||||||
<div style="height: 60vh; overflow: auto;">
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">{{ title }}</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
||||||
@ -33,6 +40,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
@ -141,6 +150,24 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
sxsbsj: "情报上报时间",
|
||||||
|
xsBh: "情报编号",
|
||||||
|
qbmc: "情报标题",
|
||||||
|
qbly_name: "情报来源",
|
||||||
|
lczt_name: "流程状态",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
qbly_name: getMultiDictVal(item.jqdjdm, D_BZ_CJLX),
|
||||||
|
lczt_name: getMultiDictVal(item.jqlbdm, D_BZ_QBCZZT),
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, props.title)
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" title="重点群体" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" destroy-on-close append-to-body :close-on-click-modal="false">
|
||||||
<div style="height: 60vh; overflow: auto;">
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">重点群体</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
|
||||||
@ -45,6 +51,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
@ -149,7 +157,6 @@ const changePage = () => {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const changeNo = (val) => {
|
const changeNo = (val) => {
|
||||||
pageData.pageConfiger.pageCurrent = val;
|
pageData.pageConfiger.pageCurrent = val;
|
||||||
changePage()
|
changePage()
|
||||||
@ -158,6 +165,25 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
qtMc: "群体名称",
|
||||||
|
qtLb_name: "群体类别",
|
||||||
|
qtFxdj_name: "风险等级",
|
||||||
|
qtBjzl: "背景资料",
|
||||||
|
bgxx_name: "背景信息",
|
||||||
|
gxSsdwmc: "管辖单位",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
qtLb_name: getMultiDictVal(item.qtLb, D_GS_ZDQT_LB),
|
||||||
|
qtFxdj_name: getMultiDictVal(item.qtFxdj, D_GS_ZDQT_FXDJ),
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, '重点群体')
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@ -1,8 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" title="重点人总数" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" destroy-on-close append-to-body :close-on-click-modal="false">
|
||||||
<div style="height: 60vh; overflow: auto;">
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">重点人总数</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
|
||||||
@ -63,6 +67,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
@ -175,16 +181,6 @@ const changePage = () => {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查看详情
|
|
||||||
const showDetail = (item) => {
|
|
||||||
router.push({
|
|
||||||
path: '/CollectCrculate',
|
|
||||||
query: {
|
|
||||||
id: item.id
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
const changeNo = (val) => {
|
const changeNo = (val) => {
|
||||||
pageData.pageConfiger.pageCurrent = val;
|
pageData.pageConfiger.pageCurrent = val;
|
||||||
changePage()
|
changePage()
|
||||||
@ -193,6 +189,28 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
ryXm: "姓名",
|
||||||
|
ryXb_name: "性别",
|
||||||
|
ryJg_name: "籍贯",
|
||||||
|
rySfzh: "身份证",
|
||||||
|
ryMz_name: "民族",
|
||||||
|
hjdQh_name: "户籍地区划",
|
||||||
|
hjdPcsmc: "户籍派出所",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
ryXb_name: getMultiDictVal(item.ryXb, D_BZ_XB),
|
||||||
|
ryJg_name: getMultiDictVal(item.ryJg, D_BZ_XZQHDM),
|
||||||
|
ryMz_name: getMultiDictVal(item.ryMz, D_BZ_MZ),
|
||||||
|
hjdQh_name: getMultiDictVal(item.hjdQh, D_BZ_XZQHDM),
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, '重点人总数')
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
@ -1,6 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" :title="title" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
||||||
<div style="height: 60vh; overflow: auto;">
|
|
||||||
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">{{ title }}</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
||||||
@ -54,6 +61,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
@ -196,6 +205,30 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
ryxm: "姓名",
|
||||||
|
rysfzh: "身份证号",
|
||||||
|
yjbq: "预警标签",
|
||||||
|
yjdz: "预警地址",
|
||||||
|
yjjb_name: "预警级别",
|
||||||
|
yjlb_name: "预警类别",
|
||||||
|
yjlx_name: "预警类型",
|
||||||
|
yjsj: "预警时间",
|
||||||
|
ssbm: "所属部门",
|
||||||
|
cph: "车牌号",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
yjjb_name: getMultiDictVal(item.yjjb, D_BZ_YJJB),
|
||||||
|
yjlb_name: getMultiDictVal(item.yjlb, D_BZ_YJLX),
|
||||||
|
yjlx_name: getMultiDictVal(item.yjlx, D_GS_ZDQT_YJLB),
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, title.value)
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@ -1,8 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" title="警情总数" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" :close-on-click-modal="false" destroy-on-close append-to-body>
|
||||||
<div style="height: 60vh; overflow: auto;">
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">警情总数</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
||||||
@ -43,6 +47,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
@ -127,7 +133,7 @@ const pageData = reactive({
|
|||||||
{ label: "补充接警内容", prop: "bcjjnr", showOverflowTooltip: true },
|
{ label: "补充接警内容", prop: "bcjjnr", showOverflowTooltip: true },
|
||||||
{ label: "研判状态", prop: "ypzt",showSolt:true },
|
{ label: "研判状态", prop: "ypzt",showSolt:true },
|
||||||
],
|
],
|
||||||
tableHeight: "43vh",
|
tableHeight: "40vh",
|
||||||
});
|
});
|
||||||
const parameter = ref()
|
const parameter = ref()
|
||||||
const onSearch = (val) => {
|
const onSearch = (val) => {
|
||||||
@ -153,7 +159,6 @@ pageData.tableConfiger.loading = true;
|
|||||||
...parameter.value
|
...parameter.value
|
||||||
}
|
}
|
||||||
lzJcjPjdbSelectPage(params).then(res => {
|
lzJcjPjdbSelectPage(params).then(res => {
|
||||||
console.log(res);
|
|
||||||
pageData.tableData = res.records || [];
|
pageData.tableData = res.records || [];
|
||||||
pageData.total = res.total;
|
pageData.total = res.total;
|
||||||
|
|
||||||
@ -162,16 +167,6 @@ pageData.tableConfiger.loading = true;
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查看详情
|
|
||||||
const showDetail = (item) => {
|
|
||||||
router.push({
|
|
||||||
path: '/CollectCrculate',
|
|
||||||
query: {
|
|
||||||
id: item.id
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
const changeNo = (val) => {
|
const changeNo = (val) => {
|
||||||
pageData.pageConfiger.pageCurrent = val;
|
pageData.pageConfiger.pageCurrent = val;
|
||||||
changePage()
|
changePage()
|
||||||
@ -180,6 +175,29 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
jjdbh: "接警单编号",
|
||||||
|
bjdh: "报警电话",
|
||||||
|
bjsj: "报警时间",
|
||||||
|
bjnr: "报警内容",
|
||||||
|
jjyxm: "接警员姓名",
|
||||||
|
jqdjdm_name: "警情级别",
|
||||||
|
jqlbdm_name: "警情类型",
|
||||||
|
jqdz: "警情地址",
|
||||||
|
bcjjnr: "补充接警内容",
|
||||||
|
ypzt_name: "研判状态",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
jqdjdm_name: getMultiDictVal(item.jqdjdm, D_GS_BQ_DJ),
|
||||||
|
jqlbdm_name: getMultiDictVal(item.jqlbdm, JQLB),
|
||||||
|
ypzt_name: item.ypzt == '01' ? '已研判' : '未研判'
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, '警情总数')
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" :title="title" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" destroy-on-close append-to-body :close-on-click-modal="false" >
|
||||||
<div style="height: 60vh; overflow: auto;">
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">{{ props.title }}</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
||||||
@ -36,13 +42,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
import { xxcjXfxsSelectPage } from "@/api/xxcj.js"
|
import { xxcjXfxsSelectPage } from "@/api/xxcj.js"
|
||||||
import { ref, reactive, getCurrentInstance, watch } from "vue";
|
import { ref, reactive, getCurrentInstance, watch } from "vue";
|
||||||
const { proxy } = getCurrentInstance()
|
const { proxy } = getCurrentInstance()
|
||||||
const { D_GS_XS_SJLY, D_GS_XS_ZLLX, D_GS_ZDQT_FXDJ, D_GS_XS_CZZT } = proxy.$dict('D_GS_XS_SJLY', 'D_GS_XS_ZLLX', 'D_GS_ZDQT_FXDJ', 'D_GS_XS_CZZT')
|
const { D_BZ_SF,D_GS_XS_SJLY, D_GS_XS_ZLLX, D_GS_ZDQT_FXDJ, D_GS_XS_CZZT } = proxy.$dict('D_BZ_SF','D_GS_XS_SJLY', 'D_GS_XS_ZLLX', 'D_GS_ZDQT_FXDJ', 'D_GS_XS_CZZT')
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@ -51,7 +59,8 @@ const props = defineProps({
|
|||||||
dict: {
|
dict: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({})
|
default: () => ({})
|
||||||
}, title: {
|
},
|
||||||
|
title: {
|
||||||
default: "下发总数",
|
default: "下发总数",
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
@ -140,6 +149,29 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
zlbt: "指令标题",
|
||||||
|
zllx_name: "指令类型",
|
||||||
|
zldj_name: "指令等级",
|
||||||
|
jssj: "反馈截止时间",
|
||||||
|
czzt_name: "处置状态",
|
||||||
|
jsffk_name: "是否反馈",
|
||||||
|
sfqs_name: "是否签收",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
zllx_name: getMultiDictVal(item.zllx, D_GS_XS_ZLLX),
|
||||||
|
zldj_name: getMultiDictVal(item.zldj, D_GS_ZDQT_FXDJ),
|
||||||
|
czzt_name: getMultiDictVal(item.czzt, D_GS_XS_CZZT),
|
||||||
|
sffk_name: getMultiDictVal(item.sffk, D_BZ_SF),
|
||||||
|
sfqs_name: getMultiDictVal(item.sfqs, D_BZ_SF),
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, props.title)
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :model-value="modelValue" title="线索总数" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
<el-dialog :model-value="modelValue" width="70%" @close="closeDialog" destroy-on-close append-to-body>
|
||||||
<div style="height: 60vh; overflow: auto;">
|
<template #title>
|
||||||
|
<div class="flex just-between align-center">
|
||||||
|
<span class="f18">线索总数</span>
|
||||||
|
<span @click="exportFile" class="f14 pointer" style="color: #0072ff;">下载</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<div>
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch" :key="pageData.keyCount"></Search>
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
||||||
@ -33,6 +39,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { getMultiDictVal } from "@/utils/dict.js"
|
||||||
|
import { exportExlByObj } from "@/utils/exportExcel.js"
|
||||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||||
import Search from "@/components/aboutTable/Search.vue";
|
import Search from "@/components/aboutTable/Search.vue";
|
||||||
import Pages from "@/components/aboutTable/Pages.vue";
|
import Pages from "@/components/aboutTable/Pages.vue";
|
||||||
@ -83,7 +91,6 @@ const pageData = reactive({
|
|||||||
{ label: "线索来源", prop: "cjLx",showSolt:true },
|
{ label: "线索来源", prop: "cjLx",showSolt:true },
|
||||||
{ label: "上报时间", prop: "sxsbsj",showOverflowTooltip:true },
|
{ label: "上报时间", prop: "sxsbsj",showOverflowTooltip:true },
|
||||||
{ label: "线索内容", prop: "qbnr"},
|
{ label: "线索内容", prop: "qbnr"},
|
||||||
|
|
||||||
{ label: "审核状态", prop: "shzt", showSolt: true },
|
{ label: "审核状态", prop: "shzt", showSolt: true },
|
||||||
],
|
],
|
||||||
tableHeight: "43vh",
|
tableHeight: "43vh",
|
||||||
@ -124,6 +131,27 @@ const changeSize = (val) => {
|
|||||||
pageData.pageConfiger.pageSize = val;
|
pageData.pageConfiger.pageSize = val;
|
||||||
changePage()
|
changePage()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportFile = () =>{
|
||||||
|
const titleObj = {
|
||||||
|
xsBh: "线索编号",
|
||||||
|
qbmc: "线索名称",
|
||||||
|
qblx_name: "线索类型",
|
||||||
|
cjLx_name: "线索来源",
|
||||||
|
sxsbsj: "上报时间",
|
||||||
|
qbnr: "线索内容",
|
||||||
|
shzt_name: "审核状态",
|
||||||
|
}
|
||||||
|
let list = pageData.tableData.map(item => ({
|
||||||
|
...item,
|
||||||
|
qblx_name: getMultiDictVal(item.qblx, D_GS_XS_LX),
|
||||||
|
cjLx_name: getMultiDictVal(item.cjLx, D_GS_XS_LY),
|
||||||
|
shzt_name: getMultiDictVal(item.shzt, D_BZ_XSSHZT),
|
||||||
|
}))
|
||||||
|
exportExlByObj(titleObj, list, '线索总数')
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|||||||
@ -79,7 +79,6 @@ const openTc = (val) => {
|
|||||||
title.value = '信息采集总数'
|
title.value = '信息采集总数'
|
||||||
break;
|
break;
|
||||||
case 'xszs':
|
case 'xszs':
|
||||||
|
|
||||||
openShow.xszs = true
|
openShow.xszs = true
|
||||||
title.value = '线索总数'
|
title.value = '线索总数'
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
<div class="flex align-center" v-for="(item, idx) in contentItem" :key="idx">
|
<div class="flex align-center" v-for="(item, idx) in contentItem" :key="idx">
|
||||||
<div class="mr10"><img :src="item.icon" alt=""></div>
|
<div class="mr10"><img :src="item.icon" alt=""></div>
|
||||||
<div class="vountItem">
|
<div class="vountItem">
|
||||||
<div style="color:#ffffff" class="f16 lh20">{{ item.label }} <span @click="openTc(item.type,'zs')" v-if="item.type == 'yjzs'">{{ item.value }}</span></div>
|
<div style="color:#ffffff" class="f16 lh20">{{ item.label }} <span class="pointer" @click="openTc(item.type,'zs')" v-if="item.type == 'yjzs'">{{ item.value }}</span></div>
|
||||||
<div v-if="!item.isChild" class="mt4 f12" style="color: #ffffff;font-size: 24px;">{{ item.value }}</div>
|
<div v-if="!item.isChild" class="mt4 f12 pointer" style="color: #ffffff;font-size: 24px;" @click="openTc(item.type,'zs')" >{{ item.value }}</div>
|
||||||
<div v-else class="mt4 flex align-center just-between" style="color: #ffffff;">
|
<div v-else class="mt4 flex align-center just-between" style="color: #ffffff;">
|
||||||
<span class="f12" style="color: #ff0000;" @click="openTc(item.type,'wqs')">未签收:{{ item.wqsyj }}</span>
|
<span class="f12" style="color: #ff0000;" @click="openTc(item.type,'wqs')">未签收:{{ item.wqsyj }}</span>
|
||||||
<span class="f12" style="color: #4cf35d;" @click="openTc(item.type,'yfk')">已反馈:{{ item.yfkyj }}</span>
|
<span class="f12" style="color: #4cf35d;" @click="openTc(item.type,'yfk')">已反馈:{{ item.yfkyj }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user