更新页面
This commit is contained in:
@ -214,7 +214,7 @@ const delDictItem = (id) =>{
|
||||
|
||||
// 导出
|
||||
const exportFile = () =>{
|
||||
window.open('/mosty-api/mosty-gsxt/qbcj/exportQbsjcjDc?cjLx=1')
|
||||
window.open('/mosty-api/mosty-gsxt/qbcj/exportQbsjcjDc?cjLx=1','_self')
|
||||
// download("/mosty-api/mosty-gsxt/qbcj/exportQbsjcjDc",{},`情报采集流转_${new Date().getTime()}.xlsx`);
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- 左侧树形菜单 -->
|
||||
<div class="left-menu">
|
||||
<!-- 这个部分用的是组件-后期替换 -->
|
||||
<MOSTY.DepartmentTree width="310px" @change="init" placeholder="管理部门" clearable filterable :isBmId="true" v-model="listQuery.ssbmdm" />
|
||||
<MOSTY.DepartmentTree width="310px" @change="init" placeholder="管理部门" clearable filterable v-model="listQuery.ssbmdm" />
|
||||
</div>
|
||||
|
||||
<!-- 右侧内容区 -->
|
||||
@ -32,7 +32,7 @@
|
||||
<div class="chart-item">
|
||||
<div class="chart-title">
|
||||
<span>线索类型</span>
|
||||
<el-button type="primary">导出统计表</el-button>
|
||||
<el-button type="primary" @click="handleExport('线索类型')">导出统计表</el-button>
|
||||
</div>
|
||||
<div class="chart">
|
||||
<PieEcharts echartsId="bsqkEpieChart" :key="ketcount" color="#333" :data="obj.xslxList"></PieEcharts>
|
||||
@ -41,7 +41,7 @@
|
||||
<div class="chart-item">
|
||||
<div class="chart-title">
|
||||
<span>采纳情况</span>
|
||||
<el-button type="primary">导出统计表</el-button>
|
||||
<el-button type="primary" @click="handleExport('采纳情况')">导出统计表</el-button>
|
||||
</div>
|
||||
<div class="chart">
|
||||
<DbarEcharts echartsId="bar3DChart" :key="ketcount" :data="obj.cnList"></DbarEcharts>
|
||||
@ -50,7 +50,7 @@
|
||||
<div class="chart-item">
|
||||
<div class="chart-title">
|
||||
<span>处置状态</span>
|
||||
<el-button type="primary">导出统计表</el-button>
|
||||
<el-button type="primary" @click="handleExport('处置状态')">导出统计表</el-button>
|
||||
</div>
|
||||
<ul class="chart mt8">
|
||||
<li v-for="(it, idx) in obj.czztList" :key="idx" class="mb6">
|
||||
@ -64,7 +64,7 @@
|
||||
<div class="chart-item">
|
||||
<div class="chart-title">
|
||||
<span>奖惩情况</span>
|
||||
<el-button type="primary">导出统计表</el-button>
|
||||
<el-button type="primary" @click="handleExport('奖惩情况')">导出统计表</el-button>
|
||||
</div>
|
||||
<lineEcharts color="#333" :key="ketcount" echartsId="areaChart" :data="obj.jcqkList"></lineEcharts>
|
||||
</div>
|
||||
@ -74,6 +74,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { download } from "@/utils/request";
|
||||
import { timeValidate, timeSlotChange } from "@/utils/tools.js";
|
||||
import * as MOSTY from "@/components/MyComponents/index";
|
||||
import lineEcharts from "@/views/home/echarts/lineEcharts.vue";
|
||||
@ -171,6 +172,25 @@ const handleDateChange = (val) => {
|
||||
if(val[0] == timeSlotChange('本年')[0] && val[1] == timeSlotChange('本年')[1]) radio.value = 3;
|
||||
};
|
||||
|
||||
// 导出
|
||||
const handleExport = (type) =>{
|
||||
switch(type){
|
||||
case '线索类型':
|
||||
window.open('/mosty-api/mosty-gsxt/qbcj/getXscjTjByXslxDc','_self')
|
||||
break;
|
||||
case '采纳情况':
|
||||
window.open('/mosty-api/mosty-gsxt/qbcj/getXscjTjByXslxDc','_self')
|
||||
break;
|
||||
case '处置状态':
|
||||
window.open('/mosty-api/mosty-gsxt/qbcj/getXscjTjByCzztDc','_self')
|
||||
break;
|
||||
case '奖惩情况':
|
||||
window.open('/mosty-api/mosty-gsxt/tbJlqk/getShygkhtjDc','_self')
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 重置
|
||||
const handleRest = () => {
|
||||
radio.value = 0;
|
||||
|
@ -46,8 +46,8 @@
|
||||
</template>
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-link type="primary" v-if="row.bkZt == '01'" size="small" @click="handleSend(row.id)">送审</el-link>
|
||||
<el-link type="primary" v-if="row.bkZt == '01'" size="small" @click="handleAdd('edit',row)">编辑</el-link>
|
||||
<el-link type="primary" v-if="['01','03','06'].includes(row.bkZt)" size="small" @click="handleSend(row.id)">送审</el-link>
|
||||
<el-link type="primary" v-if="['01','03','06'].includes(row.bkZt)" size="small" @click="handleAdd('edit',row)">编辑</el-link>
|
||||
<el-link type="primary" size="small" @click="handleAdd('detail',row)">详情</el-link>
|
||||
<el-link type="danger" size="small" @click="handleRow(row.id)">删除</el-link>
|
||||
</template>
|
||||
|
@ -52,8 +52,8 @@
|
||||
>
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-link type="primary" size="small">网上会商</el-link>
|
||||
<el-link type="primary" size="small">处置</el-link>
|
||||
<el-link type="primary" size="small" @click="handleHs(row)">网上会商</el-link>
|
||||
<el-link type="primary" size="small" @click="gozl(row)">处置</el-link>
|
||||
</template>
|
||||
</MyTable>
|
||||
</div>
|
||||
@ -73,6 +73,8 @@ import MoreBarEcharts from "@/views/home/echarts/moreBarEcharts.vue";
|
||||
import LineEcharts from "@/views/home/echarts/moreLineEcharts.vue";
|
||||
import Search from "@/components/aboutTable/Search.vue";
|
||||
import MyTable from "@/components/aboutTable/DarkTable.vue";
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
import { nextTick, onMounted, reactive,getCurrentInstance ,ref, watch } from 'vue';
|
||||
const { proxy } = getCurrentInstance();
|
||||
const {D_BZ_SSZT,D_GS_XS_LY} = proxy.$dict("D_BZ_SSZT","D_GS_XS_LY"); //获取字典数据
|
||||
@ -188,6 +190,14 @@ const handleGetList = () => {
|
||||
});
|
||||
};
|
||||
|
||||
const handleHs = (val) =>{
|
||||
router.push({path:'/MeetingRoom',query:{tsypid:val.id}})
|
||||
}
|
||||
|
||||
const gozl = () =>{
|
||||
router.push('/InstructionInformation')
|
||||
}
|
||||
|
||||
// 搜索
|
||||
const onSearch = (val) =>{
|
||||
searchForm.value = val;
|
||||
|
@ -10,23 +10,23 @@
|
||||
<img width="30" height="30" src="" alt="">
|
||||
</template>
|
||||
<template #ryXb="{row}">
|
||||
<DictTag :tag="false" :value="row.ryXb" :options="D_BZ_XB"/>
|
||||
<DictTag :tag="false" :value="row.ryXb" color="#fff" :options="D_BZ_XB"/>
|
||||
</template>
|
||||
<template #zdrRyjb="{row}">
|
||||
<DictTag :tag="false" :value="row.zdrRyjb" :options="D_GS_ZDR_RYJB"/>
|
||||
<DictTag :tag="false" :value="row.zdrRyjb" color="#fff" :options="D_GS_ZDR_RYJB"/>
|
||||
</template>
|
||||
<template #zdrBkZt="{row}">
|
||||
<DictTag :tag="false" :value="row.zdrBkZt" :options="D_GS_ZDR_BK_ZT"/>
|
||||
<DictTag :tag="false" :value="row.zdrBkZt" color="#fff" :options="D_GS_ZDR_BK_ZT"/>
|
||||
</template>
|
||||
<template #zdrCzzt="{row}">
|
||||
<DictTag :tag="false" color="#FDBC3A" :value="row.zdrCzzt" :options="D_GS_ZDR_CZZT" />
|
||||
</template>
|
||||
<!-- *************** -->
|
||||
<template #qtFxdj="{row}">
|
||||
<DictTag :value="row.qtFxdj" :options="D_GS_ZDQT_FXDJ" />
|
||||
<DictTag :value="row.qtFxdj" color="#fff" :options="D_GS_ZDQT_FXDJ" />
|
||||
</template>
|
||||
<template #qtLb="{row}">
|
||||
<DictTag :value="row.qtLb" :options="D_GS_ZDQT_LB" />
|
||||
<DictTag :value="row.qtLb" color="#fff" :options="D_GS_ZDQT_LB" />
|
||||
</template>
|
||||
|
||||
</MyTable>
|
||||
|
@ -22,13 +22,13 @@
|
||||
:tableConfiger="pageData.tableConfiger"
|
||||
>
|
||||
<template #ryXb="{row}">
|
||||
<DictTag :tag="false" :value="row.ryXb" :options="D_BZ_XB" />
|
||||
<DictTag :tag="false" :value="row.ryXb" color="#fff" :options="D_BZ_XB" />
|
||||
</template>
|
||||
<template #qtLb="{row}">
|
||||
<DictTag :tag="false" :value="row.qtLb" :options="D_GS_ZDQT_LB" />
|
||||
<DictTag :tag="false" :value="row.qtLb" color="#fff" :options="D_GS_ZDQT_LB" />
|
||||
</template>
|
||||
<template #qtFxdj="{row}">
|
||||
<DictTag :tag="false" :value="row.qtFxdj" :options="D_GS_ZDQT_FXDJ" />
|
||||
<DictTag :tag="false" :value="row.qtFxdj" color="#fff" :options="D_GS_ZDQT_FXDJ" />
|
||||
</template>
|
||||
<template #tp="{ row }">
|
||||
<img width="30" height="30" src="" alt="" />
|
||||
@ -81,29 +81,29 @@ onMounted(() => {
|
||||
const changeIndex = (index) =>{
|
||||
activeIndex.value = index;
|
||||
page.value = 1;
|
||||
pageData.tableData = [];
|
||||
switch(index){
|
||||
case 0:
|
||||
pageData.tableColumn = [
|
||||
{ label: "照片", prop: "tp", showSolt: true },
|
||||
{ label: "姓名", prop: "ryXm", showOverflowTooltip: true },
|
||||
{ label: "性别", prop: "ryXb", showOverflowTooltip: true,showSolt:true },
|
||||
{ label: "身份证号码", prop: "rySfzh", showOverflowTooltip: true },
|
||||
{ label: "管控原因", prop: "zdrLkyy", showOverflowTooltip: true }
|
||||
]
|
||||
break;
|
||||
case 1:
|
||||
pageData.tableColumn = [
|
||||
{ label: "照片", prop: "tp", showSolt: true },
|
||||
{ label: "群体名称", prop: "qtMc", showOverflowTooltip: true },
|
||||
{ label: "群体类别", prop: "qtLb", showOverflowTooltip: true,showSolt:true },
|
||||
{ label: "风险等级", prop: "qtFxdj", showOverflowTooltip: true ,showSolt: true},
|
||||
{ label: "列控原因", prop: "zdrLkyy", showOverflowTooltip: true }
|
||||
]
|
||||
break;
|
||||
}
|
||||
pageData.keyCount++;
|
||||
getList()
|
||||
pageData.tableData = [];
|
||||
switch(index){
|
||||
case 0:
|
||||
pageData.tableColumn = [
|
||||
{ label: "照片", prop: "tp", showSolt: true },
|
||||
{ label: "姓名", prop: "ryXm", showOverflowTooltip: true },
|
||||
{ label: "性别", prop: "ryXb", showOverflowTooltip: true,showSolt:true },
|
||||
{ label: "身份证号码", prop: "rySfzh", showOverflowTooltip: true },
|
||||
{ label: "管控原因", prop: "zdrLkyy", showOverflowTooltip: true }
|
||||
]
|
||||
break;
|
||||
case 1:
|
||||
pageData.tableColumn = [
|
||||
{ label: "照片", prop: "tp", showSolt: true },
|
||||
{ label: "群体名称", prop: "qtMc", showOverflowTooltip: true },
|
||||
{ label: "群体类别", prop: "qtLb", showOverflowTooltip: true,showSolt:true },
|
||||
{ label: "风险等级", prop: "qtFxdj", showOverflowTooltip: true ,showSolt: true},
|
||||
{ label: "列控原因", prop: "zdrLkyy", showOverflowTooltip: true }
|
||||
]
|
||||
break;
|
||||
}
|
||||
pageData.keyCount++;
|
||||
getList()
|
||||
}
|
||||
|
||||
// 获取列表
|
||||
|
@ -48,7 +48,8 @@ function changeData(val){
|
||||
if(it == '蓝') ids.push(40);
|
||||
});
|
||||
yjJb.value = ids.join(',')
|
||||
getList()
|
||||
if(val.length == 0) personList.value = [];
|
||||
else getList();
|
||||
}
|
||||
|
||||
// 触底加载
|
||||
@ -144,5 +145,4 @@ const chooseItem = (item) =>{
|
||||
background: #000;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user