全局替换终端

This commit is contained in:
GGJ
2024-06-13 13:32:50 +08:00
parent d4db10d5ca
commit 2c66e096e7
90 changed files with 1369 additions and 628 deletions

View File

@@ -131,12 +131,12 @@
<el-option label="年" value="1" />
<el-option label="月" value="3" />
</el-select> -->
<div style="position: absolute; width: 100px; top: 0px; right: 10px; z-index: 1">
<el-radio-group v-model="city" size="small" >
<el-radio-button label="1"></el-radio-button>
<el-radio-button label="2"></el-radio-button>
<div style="position: absolute; width: 100px; top: 0px; right: 0px; z-index: 1">
<el-radio-group v-model="city" size="small" @change="analysis">
<el-radio-button label="0"></el-radio-button>
<el-radio-button label="1"></el-radio-button>
</el-radio-group>
<el-radio-group v-model="time" size="small" @change="analysis">
<el-radio-group v-model="type" size="small" @change="analysis">
<el-radio-button label="1"></el-radio-button>
<el-radio-button label="3"></el-radio-button>
</el-radio-group>
@@ -153,8 +153,8 @@ import { defaultAttribute } from '@/components/table/defaultAttribute'
import { getAssessDetail, getAssessTrend } from '@/api/device-boot/panorama'
const dialogVisible: any = ref(false)
const rowList: any = ref({})
const time = ref('1')
const city = ref('1')
const type = ref('1')
const city = ref('0')
const loading = ref(false)
const tableData: any = ref([])
@@ -164,13 +164,13 @@ const open = async (row: any) => {
tableData.value = res.data
})
rowList.value = row
analysis(1)
analysis()
dialogVisible.value = true
}
const analysis = (e: any) => {
const analysis = () => {
loading.value = true
let time = rowList.value.searchBeginTime.slice(0, 4) + `-01-01`
getAssessTrend({ ...rowList.value, searchBeginTime: time, type: e }).then(res => {
getAssessTrend({ ...rowList.value, searchBeginTime: time, type: type.value, areaType: city.value }).then(res => {
picEChart.value = {
title: {
text: '各地市综合评估趋势对比'
@@ -230,7 +230,7 @@ const analysis = (e: any) => {
grid: {
bottom: '10px',
top: '60px',
top: '60px'
},
yAxis: {