解决冲突

This commit is contained in:
13684185576
2025-07-31 11:39:51 +08:00
98 changed files with 55172 additions and 809 deletions

View File

@ -85,6 +85,7 @@
</template>
<script setup>
import { download } from "@/utils/request";
import * as MOSTY from "@/components/MyComponents/index";
import PageTitle from "@/components/aboutTable/PageTitle.vue";
import MyTable from "@/components/aboutTable/MyTable.vue";
@ -211,6 +212,11 @@ const delDictItem = (id) =>{
}).catch(() => {});
}
// 导出
const exportFile = () =>{
window.open('/mosty-api/mosty-gsxt/qbcj/exportQbsjcjDc?cjLx=1','_self')
}
// 详情
const addEdit = (type, row) => {
isShow.value = true;

View File

@ -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;