修改浙江无线bug

This commit is contained in:
GGJ
2024-11-28 16:26:21 +08:00
parent da184e1a37
commit 6522aaa499
7 changed files with 23 additions and 19 deletions

View File

@@ -90,7 +90,7 @@ const initChart = () => {
itemStyle: {},
// textStyle: {
fontSize: 12,
padding: [2, 0, 0, 0], //[上、右、下、左]
// padding: [2, 0, 0, 0], //[上、右、下、左]
// },
itemWidth: 15,
itemHeight: 10,

View File

@@ -14,7 +14,7 @@ export const useConfig = defineStore(
// 后台布局方式,可选值<Default|Classic|Streamline|Double>
layoutMode: 'Classic',
// 后台主页面切换动画,可选值<slide-right|slide-left|el-fade-in-linear|el-fade-in|el-zoom-in-center|el-zoom-in-top|el-zoom-in-bottom>
mainAnimation: 'slide-right',
mainAnimation: 'el-fade-in',
// 是否暗黑模式
isDark: false,
elementUiPrimary: ['#002B6A', '#002B6A'],

View File

@@ -36,7 +36,7 @@ const deviceData = ref({})
const { push, options, currentRoute } = useRouter()
const tableStore: any = new TableStore({
url: '/cs-device-boot/portableOfflLog/queryMainLogPage',
publicHeight: 400,
publicHeight: 420,
method: 'POST',
column: [
// { width: '60', type: 'checkbox', fixed: 'left' },

View File

@@ -7,10 +7,7 @@
<el-button :loading="loading" style="margin-left: 10px" type="primary" @click="submitUpload">
上传离线数据
</el-button>
<el-button type="primary" @click="handleUpload" :loading="loading"
:disabled="offLineFileList.length == 0 || disableHandleUpload">
开始上传
</el-button>
<el-button type="primary" @click="removeAllFile" :loading="loading"
:disabled="offLineFileList.length == 0">
重置上传文件
@@ -45,7 +42,11 @@
<template #footer>
<div class="dialog-footer">
<!-- <el-button @click="close">取消</el-button> -->
<el-button type="primary" @click="close">确定</el-button>
<!-- <el-button type="primary" @click="close">确定</el-button> -->
<el-button type="primary" @click="handleUpload" :loading="loading"
:disabled="offLineFileList.length == 0 || disableHandleUpload">
开始上传
</el-button>
</div>
</template>
</el-dialog>

View File

@@ -245,15 +245,14 @@ const init = async () => {
echartsData.value = {
legend: {
itemWidth: 20,
itemHeight: 10,
itemGap: 10,
itemHeight: 20,
itemStyle: { opacity: 0 },//去圆点
type: 'scroll', // 开启滚动分页
// orient: 'vertical', // 垂直排列
top: 5,
right: 70,
width: 550,
height: 50
// height: 50
},
grid: {
top: '80px',

View File

@@ -501,14 +501,13 @@ const init = (flag: boolean) => {
},
legend: {
itemWidth: 20,
itemHeight: 10,
itemGap: 15,
itemHeight: 20,
itemStyle: { opacity: 0 },//去圆点
type: 'scroll', // 开启滚动分页
// orient: 'vertical', // 垂直排列
top: 5,
right: 70,
width: 550,
height: 50
// height: 50
},
grid: {
top: '80px',

View File

@@ -1,6 +1,6 @@
<template>
<el-dialog class="cn-operate-dialog statistical-type-binding" v-model="dialogVisible" title="绑定指标"
style="width: 1040px">
style="width: 1040px" @closed="close">
<el-scrollbar style="padding-right: 0">
<div class="box">
<div class="box-left">
@@ -66,7 +66,7 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogVisible = false">取消</el-button>
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="submit">确认</el-button>
</span>
</template>
@@ -393,6 +393,11 @@ const submit = async () => {
dialogVisible.value = false
})
}
const close = () => {
searchKey.value = ''
searchKey1.value = ''
dialogVisible.value = false
}
defineExpose({ open })
</script>