修改海南测试问题
This commit is contained in:
@@ -86,9 +86,40 @@ const onMenuCollapse = () => {
|
|||||||
menuCollapse.value = !menuCollapse.value
|
menuCollapse.value = !menuCollapse.value
|
||||||
proxy.eventBus.emit('cnTreeCollapse', menuCollapse)
|
proxy.eventBus.emit('cnTreeCollapse', menuCollapse)
|
||||||
}
|
}
|
||||||
const filterNode = (value: string, data: any) => {
|
const filterNode = (value: string, data: any, node: any) => {
|
||||||
if (!value) return true
|
if (!value) return true
|
||||||
return data.name.includes(value)
|
// return data.name.includes(value)
|
||||||
|
if (data.name) {
|
||||||
|
|
||||||
|
return chooseNode(value, data, node)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 过滤父节点 / 子节点 (如果输入的参数是父节点且能匹配,则返回该节点以及其下的所有子节点;如果参数是子节点,则返回该节点的父节点。name是中文字符,enName是英文字符.
|
||||||
|
const chooseNode = (value: string, data: any, node: any) => {
|
||||||
|
|
||||||
|
if (data.name.indexOf(value) !== -1) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
const level = node.level
|
||||||
|
// 如果传入的节点本身就是一级节点就不用校验了
|
||||||
|
if (level === 1) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
// 先取当前节点的父节点
|
||||||
|
let parentData = node.parent
|
||||||
|
// 遍历当前节点的父节点
|
||||||
|
let index = 0
|
||||||
|
while (index < level - 1) {
|
||||||
|
// 如果匹配到直接返回,此处name值是中文字符,enName是英文字符。判断匹配中英文过滤
|
||||||
|
if (parentData.data.name.indexOf(value) !== -1) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
// 否则的话再往上一层做匹配
|
||||||
|
parentData = parentData.parent
|
||||||
|
index++
|
||||||
|
}
|
||||||
|
// 没匹配到返回false
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
// 添加树
|
// 添加树
|
||||||
const onAddTree = () => {
|
const onAddTree = () => {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ const formData = ref({
|
|||||||
loadType: null,
|
loadType: null,
|
||||||
manufacturer: null,
|
manufacturer: null,
|
||||||
serverName: 'event-boot',
|
serverName: 'event-boot',
|
||||||
statisticalType: classificationData[2].id,
|
statisticalType: classificationData[0].id,
|
||||||
scale: null
|
scale: null
|
||||||
})
|
})
|
||||||
const loadData = () => {
|
const loadData = () => {
|
||||||
@@ -68,16 +68,16 @@ const loadData = () => {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
res.data.forEach((item: any) => {
|
res.data.forEach((item: any) => {
|
||||||
item.icon = 'fa-solid fa-synagogue'
|
item.icon = 'el-icon-HomeFilled'
|
||||||
item.color = config.getColorVal('elementUiPrimary')
|
item.color = config.getColorVal('elementUiPrimary')
|
||||||
item.children.forEach((item2: any) => {
|
item.children.forEach((item2: any) => {
|
||||||
item2.icon = 'fa-solid fa-city'
|
item2.icon = 'el-icon-CollectionTag'
|
||||||
item.color = config.getColorVal('elementUiPrimary')
|
item.color = config.getColorVal('elementUiPrimary')
|
||||||
item2.children.forEach((item3: any) => {
|
item2.children.forEach((item3: any) => {
|
||||||
item3.icon = 'fa-solid fa-building'
|
item3.icon = 'el-icon-Flag'
|
||||||
item3.color = config.getColorVal('elementUiPrimary')
|
item3.color = config.getColorVal('elementUiPrimary')
|
||||||
item3.children.forEach((item4: any) => {
|
item3.children.forEach((item4: any) => {
|
||||||
item4.icon = 'fa-solid fa-tower-observation'
|
item4.icon = 'el-icon-OfficeBuilding'
|
||||||
item4.color = config.getColorVal('elementUiPrimary')
|
item4.color = config.getColorVal('elementUiPrimary')
|
||||||
item4.children.forEach((item5: anyObj) => {
|
item4.children.forEach((item5: anyObj) => {
|
||||||
item5.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}`
|
item5.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}`
|
||||||
@@ -99,7 +99,7 @@ const loadData = () => {
|
|||||||
nodeKey = res.data[0].children[0].children[0].children[0].children[0].id
|
nodeKey = res.data[0].children[0].children[0].children[0].children[0].id
|
||||||
emit('init', res.data[0].children[0].children[0].children[0].children[0])
|
emit('init', res.data[0].children[0].children[0].children[0].children[0])
|
||||||
|
|
||||||
tree.value = res.data[0].children
|
tree.value = res.data
|
||||||
if (nodeKey) {
|
if (nodeKey) {
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
treeRef.value.treeRef.setCurrentKey(nodeKey)
|
treeRef.value.treeRef.setCurrentKey(nodeKey)
|
||||||
|
|||||||
@@ -16,14 +16,7 @@
|
|||||||
<Icon name="el-icon-Search" style="font-size: 16px" />
|
<Icon name="el-icon-Search" style="font-size: 16px" />
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
<!-- <Icon
|
|
||||||
@click="onMenuCollapse"
|
|
||||||
:name="menuCollapse ? 'el-icon-Expand' : 'el-icon-Fold'"
|
|
||||||
:class="menuCollapse ? 'unfold' : ''"
|
|
||||||
size="18"
|
|
||||||
class="fold ml10 menu-collapse"
|
|
||||||
style="cursor: pointer"
|
|
||||||
/> -->
|
|
||||||
</div>
|
</div>
|
||||||
<el-tree
|
<el-tree
|
||||||
style="flex: 1; overflow: auto"
|
style="flex: 1; overflow: auto"
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ const formData = ref({
|
|||||||
loadType: null,
|
loadType: null,
|
||||||
manufacturer: null,
|
manufacturer: null,
|
||||||
serverName: 'event-boot',
|
serverName: 'event-boot',
|
||||||
statisticalType: classificationData[2].id,
|
statisticalType: classificationData[0].id,
|
||||||
scale: null
|
scale: null
|
||||||
})
|
})
|
||||||
const loadData = () => {
|
const loadData = () => {
|
||||||
|
|||||||
@@ -39,14 +39,14 @@
|
|||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
<div @click="configStore.setLayout('showDrawer', true)" class="nav-menu-item">
|
<!-- <div @click="configStore.setLayout('showDrawer', true)" class="nav-menu-item">
|
||||||
<Icon
|
<Icon
|
||||||
:color="configStore.getColorVal('headerBarTabColor')"
|
:color="configStore.getColorVal('headerBarTabColor')"
|
||||||
class="nav-menu-icon"
|
class="nav-menu-icon"
|
||||||
name="fa fa-cogs"
|
name="fa fa-cogs"
|
||||||
size="18"
|
size="18"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div> -->
|
||||||
<Config />
|
<Config />
|
||||||
<PopupPwd ref="popupPwd" />
|
<PopupPwd ref="popupPwd" />
|
||||||
<AdminInfo ref="popupAdminInfo" />
|
<AdminInfo ref="popupAdminInfo" />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export const useConfig = defineStore(
|
|||||||
// 是否收缩布局(小屏终端)
|
// 是否收缩布局(小屏终端)
|
||||||
shrink: false,
|
shrink: false,
|
||||||
// 后台布局方式,可选值<Default|Classic|Streamline|Double>
|
// 后台布局方式,可选值<Default|Classic|Streamline|Double>
|
||||||
layoutMode: 'Streamline',
|
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>
|
// 后台主页面切换动画,可选值<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: 'slide-right',
|
||||||
// 是否暗黑模式
|
// 是否暗黑模式
|
||||||
|
|||||||
@@ -2,14 +2,10 @@
|
|||||||
<div>
|
<div>
|
||||||
<splitpanes :style="{ height: height }" class="default-theme" id="navigation-splitpanes">
|
<splitpanes :style="{ height: height }" class="default-theme" id="navigation-splitpanes">
|
||||||
<pane :size="size">
|
<pane :size="size">
|
||||||
<bearingTree
|
<bearingTree ref="TreeRef" :default-expand-all="false"
|
||||||
ref="TreeRef"
|
|
||||||
:default-expand-all="false"
|
|
||||||
:default-expanded-keys="monitoringPoint.state.lineId ? [monitoringPoint.state.lineId] : []"
|
:default-expanded-keys="monitoringPoint.state.lineId ? [monitoringPoint.state.lineId] : []"
|
||||||
:current-node-key="monitoringPoint.state.lineId"
|
:current-node-key="monitoringPoint.state.lineId" @node-click="handleNodeClick"
|
||||||
@node-click="handleNodeClick"
|
@init="handleNodeClick"></bearingTree>
|
||||||
@init="handleNodeClick"
|
|
||||||
></bearingTree>
|
|
||||||
</pane>
|
</pane>
|
||||||
<pane style="background: #fff">
|
<pane style="background: #fff">
|
||||||
<el-form :inline="true" v-show="props.rowList.id == undefined">
|
<el-form :inline="true" v-show="props.rowList.id == undefined">
|
||||||
@@ -31,16 +27,9 @@
|
|||||||
<div v-loading="loading">
|
<div v-loading="loading">
|
||||||
<el-descriptions class="mb10" title="基础数据" :column="2" size="" border>
|
<el-descriptions class="mb10" title="基础数据" :column="2" size="" border>
|
||||||
<el-descriptions-item label="待评估用户" label-align="center" width="25%">
|
<el-descriptions-item label="待评估用户" label-align="center" width="25%">
|
||||||
<el-select
|
<el-select v-model="user" placeholder="请选择待评估用户" size="small" filterable
|
||||||
v-model="user"
|
:disabled="props.rowList.id != undefined" style="width: 240px" value-key="userId"
|
||||||
placeholder="请选择待评估用户"
|
@change="userChange">
|
||||||
size="small"
|
|
||||||
filterable
|
|
||||||
:disabled="props.rowList.id != undefined"
|
|
||||||
style="width: 240px"
|
|
||||||
value-key="userId"
|
|
||||||
@change="userChange"
|
|
||||||
>
|
|
||||||
<el-option v-for="item in userList" :key="item" :label="item.userName" :value="item" />
|
<el-option v-for="item in userList" :key="item" :label="item.userName" :value="item" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
@@ -63,17 +52,10 @@
|
|||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="谐波电流幅值" name="3" class="mt10">
|
<el-tab-pane label="谐波电流幅值" name="3" class="mt10">
|
||||||
<div style="position: relative; height: 32px">
|
<div style="position: relative; height: 32px">
|
||||||
<el-select
|
<el-select v-model="harmonicValue" style="position: absolute; right: 0px; width: 200px"
|
||||||
v-model="harmonicValue"
|
placeholder="请选择谐波">
|
||||||
style="position: absolute; right: 0px; width: 200px"
|
<el-option v-for="item in harmonic" :key="item.value" :label="item.label"
|
||||||
placeholder="请选择谐波"
|
:value="item.value"></el-option>
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in harmonic"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<MyEChart :options="options3" />
|
<MyEChart :options="options3" />
|
||||||
@@ -92,19 +74,10 @@
|
|||||||
</el-tabs>
|
</el-tabs>
|
||||||
<div class="bottomBox">
|
<div class="bottomBox">
|
||||||
<el-row v-if="showAssess">
|
<el-row v-if="showAssess">
|
||||||
<el-col
|
<el-col :span="16" :style="`height: calc(${tabsHeight} / 2 - ${props.rowList.id == undefined ? 12 + 45 : 12
|
||||||
:span="16"
|
}px)`">
|
||||||
:style="`height: calc(${tabsHeight} / 2 - ${
|
<vxe-table style="flex: 1.5" v-bind="defaultAttribute" height="auto" ref="xTable"
|
||||||
props.rowList.id == undefined ? 12 + 45 : 12
|
:data="tableData">
|
||||||
}px)`"
|
|
||||||
>
|
|
||||||
<vxe-table
|
|
||||||
style="flex: 1.5"
|
|
||||||
v-bind="defaultAttribute"
|
|
||||||
height="auto"
|
|
||||||
ref="xTable"
|
|
||||||
:data="tableData"
|
|
||||||
>
|
|
||||||
<vxe-colgroup field="group0" title="等级">
|
<vxe-colgroup field="group0" title="等级">
|
||||||
<vxe-column field="name" width="180" title="结果"></vxe-column>
|
<vxe-column field="name" width="180" title="结果"></vxe-column>
|
||||||
</vxe-colgroup>
|
</vxe-colgroup>
|
||||||
@@ -134,22 +107,14 @@
|
|||||||
</vxe-column>
|
</vxe-column>
|
||||||
</vxe-table>
|
</vxe-table>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col
|
<el-col :span="8" :style="`height: calc(${tabsHeight} / 2 - ${props.rowList.id == undefined ? 62 + 45 : 62
|
||||||
:span="8"
|
}px)`">
|
||||||
:style="`height: calc(${tabsHeight} / 2 - ${
|
|
||||||
props.rowList.id == undefined ? 62 + 45 : 62
|
|
||||||
}px)`"
|
|
||||||
>
|
|
||||||
<MyEChart style="flex: 1" :options="pieCharts" />
|
<MyEChart style="flex: 1" :options="pieCharts" />
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-Document" @click="assess"
|
||||||
type="primary"
|
v-show="showBtn && props.rowList.id == undefined">
|
||||||
icon="el-icon-Document"
|
|
||||||
@click="assess"
|
|
||||||
v-show="showBtn && props.rowList.id == undefined"
|
|
||||||
>
|
|
||||||
承载能力评估
|
承载能力评估
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -188,7 +153,7 @@ const props = defineProps(['rowList'])
|
|||||||
const harmonic = harmonicOptions.filter(item => item.value < 26)
|
const harmonic = harmonicOptions.filter(item => item.value < 26)
|
||||||
|
|
||||||
const monitoringPoint = useMonitoringPoint()
|
const monitoringPoint = useMonitoringPoint()
|
||||||
const size = ref(20)
|
const size = ref(0)
|
||||||
const dictData = useDictData()
|
const dictData = useDictData()
|
||||||
const datePickerRef = ref()
|
const datePickerRef = ref()
|
||||||
const height = mainHeight(80).height
|
const height = mainHeight(80).height
|
||||||
@@ -251,8 +216,10 @@ const dotList: any = ref({
|
|||||||
})
|
})
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const dom = document.getElementById('navigation-splitpanes')
|
const dom = document.getElementById('navigation-splitpanes')
|
||||||
|
|
||||||
if (dom) {
|
if (dom) {
|
||||||
size.value = Math.round((180 / dom.offsetHeight) * 100)
|
|
||||||
|
size.value = Math.round((180 / (dom.offsetHeight + 60)) * 100)
|
||||||
}
|
}
|
||||||
datePickerRef.value.setTimeOptions([{ label: '周', value: 4 }])
|
datePickerRef.value.setTimeOptions([{ label: '周', value: 4 }])
|
||||||
datePickerRef.value.setInterval(4)
|
datePickerRef.value.setInterval(4)
|
||||||
@@ -336,7 +303,7 @@ const modelTrain = () => {
|
|||||||
startTime: datePickerRef.value.timeValue[0],
|
startTime: datePickerRef.value.timeValue[0],
|
||||||
time: 0,
|
time: 0,
|
||||||
userId: dictData.state.area[0].id
|
userId: dictData.state.area[0].id
|
||||||
}).then(res => {})
|
}).then(res => { })
|
||||||
}
|
}
|
||||||
|
|
||||||
const setEChart = (val: any, data: any, text: string, name: string) => {
|
const setEChart = (val: any, data: any, text: string, name: string) => {
|
||||||
@@ -401,10 +368,10 @@ const setEChart = (val: any, data: any, text: string, name: string) => {
|
|||||||
val == 1
|
val == 1
|
||||||
? (options1.value = options)
|
? (options1.value = options)
|
||||||
: val == 2
|
: val == 2
|
||||||
? (options2.value = options)
|
? (options2.value = options)
|
||||||
: val == 3
|
: val == 3
|
||||||
? (options3.value = options)
|
? (options3.value = options)
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
|
|
||||||
// 承载能力评估
|
// 承载能力评估
|
||||||
@@ -552,11 +519,14 @@ const handleNodeClick = (data: any, node: any) => {
|
|||||||
.splitpanes.default-theme .splitpanes__pane {
|
.splitpanes.default-theme .splitpanes__pane {
|
||||||
background: #eaeef1;
|
background: #eaeef1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-content {
|
.grid-content {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottomBox {
|
.bottomBox {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.el-button {
|
.el-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -564,35 +534,43 @@ const handleNodeClick = (data: any, node: any) => {
|
|||||||
right: 10px;
|
right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.vxe-table--header thead tr:first-of-type th:first-of-type) {
|
:deep(.vxe-table--header thead tr:first-of-type th:first-of-type) {
|
||||||
background: #f8f8f9;
|
background: #f8f8f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.vxe-table--header thead tr:first-of-type th:first-of-type:before) {
|
:deep(.vxe-table--header thead tr:first-of-type th:first-of-type:before) {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 98px; /*这里需要自己调整,根据td的宽度和高度*/
|
height: 98px;
|
||||||
|
/*这里需要自己调整,根据td的宽度和高度*/
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: grey;
|
background-color: grey;
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
display: block;
|
display: block;
|
||||||
transform: rotate(-66deg); /*这里需要自己调整,根据线的位置*/
|
transform: rotate(-66deg);
|
||||||
|
/*这里需要自己调整,根据线的位置*/
|
||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.vxe-table--header thead tr:last-of-type th:first-of-type:before) {
|
:deep(.vxe-table--header thead tr:last-of-type th:first-of-type:before) {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 98px; /*这里需要自己调整,根据td的宽度和高度*/
|
height: 98px;
|
||||||
|
/*这里需要自己调整,根据td的宽度和高度*/
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background-color: grey;
|
background-color: grey;
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
display: block;
|
display: block;
|
||||||
transform: rotate(-66deg); /*这里需要自己调整,根据线的位置*/
|
transform: rotate(-66deg);
|
||||||
|
/*这里需要自己调整,根据线的位置*/
|
||||||
transform-origin: bottom;
|
transform-origin: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.SelectIcon {
|
.SelectIcon {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
|||||||
@@ -2,19 +2,13 @@
|
|||||||
<div class="default-main" style="padding: 10px">
|
<div class="default-main" style="padding: 10px">
|
||||||
<splitpanes :style="height" class="default-theme" id="navigation-splitpanes">
|
<splitpanes :style="height" class="default-theme" id="navigation-splitpanes">
|
||||||
<pane :size="size">
|
<pane :size="size">
|
||||||
<PointTree
|
<PointTree ref="pointTree" :default-expand-all="false"
|
||||||
ref="pointTree"
|
|
||||||
:default-expand-all="false"
|
|
||||||
:default-expanded-keys="monitoringPoint.state.lineId ? [monitoringPoint.state.lineId] : []"
|
:default-expanded-keys="monitoringPoint.state.lineId ? [monitoringPoint.state.lineId] : []"
|
||||||
:current-node-key="monitoringPoint.state.lineId"
|
:current-node-key="monitoringPoint.state.lineId" :show-checkbox="monitoringPoint.state.showCheckBox"
|
||||||
:show-checkbox="monitoringPoint.state.showCheckBox"
|
:default-checked-keys="monitoringPoint.state.lineIds" @check="handleCheckChange"
|
||||||
:default-checked-keys="monitoringPoint.state.lineIds"
|
@node-click="handleNodeClick" @init="handleNodeClick"></PointTree>
|
||||||
@check="handleCheckChange"
|
|
||||||
@node-click="handleNodeClick"
|
|
||||||
@init="handleNodeClick"
|
|
||||||
></PointTree>
|
|
||||||
</pane>
|
</pane>
|
||||||
<pane>
|
<pane>
|
||||||
<div style="position: relative; height: 100%">
|
<div style="position: relative; height: 100%">
|
||||||
<el-tabs v-model="activeName" type="border-card" class="demo-tabs" style="height: 100%">
|
<el-tabs v-model="activeName" type="border-card" class="demo-tabs" style="height: 100%">
|
||||||
<!-- <el-tab-pane label="稳态综合评估" name="1" lazy v-if="!isReload">
|
<!-- <el-tab-pane label="稳态综合评估" name="1" lazy v-if="!isReload">
|
||||||
@@ -26,7 +20,7 @@
|
|||||||
<el-tab-pane label="稳态数据分析" name="3" lazy v-if="!isReload">
|
<el-tab-pane label="稳态数据分析" name="3" lazy v-if="!isReload">
|
||||||
<Wentaishujufenxi />
|
<Wentaishujufenxi />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="谐波频普" name="4" lazy v-if="!isReload">
|
<el-tab-pane label="谐波频谱" name="4" lazy v-if="!isReload">
|
||||||
<Xiebopingpu />
|
<Xiebopingpu />
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="告警数据统计" name="5" lazy v-if="!isReload">
|
<el-tab-pane label="告警数据统计" name="5" lazy v-if="!isReload">
|
||||||
@@ -122,6 +116,7 @@ const changeTab = (e: string) => {
|
|||||||
.splitpanes.default-theme .splitpanes__pane {
|
.splitpanes.default-theme .splitpanes__pane {
|
||||||
background: #eaeef1;
|
background: #eaeef1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.monitoring-point {
|
.monitoring-point {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
:auto-upload="false"
|
:auto-upload="false"
|
||||||
>
|
>
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
<el-button icon="el-icon-Upload" type="primary" class="mr10">上传接线图</el-button>
|
<el-button icon="el-icon-Upload" type="primary" class="mr10 ml10">上传接线图</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">生成</el-button>
|
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">生成</el-button>
|
||||||
@@ -81,7 +81,10 @@ provide('tableStore', tableStore)
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const dom = document.getElementById('navigation-splitpanes')
|
const dom = document.getElementById('navigation-splitpanes')
|
||||||
|
|
||||||
|
|
||||||
if (dom) {
|
if (dom) {
|
||||||
|
console.log("🚀 ~ onMounted ~ dom.offsetHeight:", dom.offsetHeight)
|
||||||
size.value = Math.round((180 / dom.offsetHeight) * 100)
|
size.value = Math.round((180 / dom.offsetHeight) * 100)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ onMounted(() => {
|
|||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
|
|
||||||
.el-select__wrapper {
|
.el-select__wrapper {
|
||||||
height: 46px;
|
height: 46px !important;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -777,7 +777,7 @@ const rules = ref({
|
|||||||
],
|
],
|
||||||
powerSubstationName: [
|
powerSubstationName: [
|
||||||
{
|
{
|
||||||
required: false,
|
required: true,
|
||||||
message: '请选择电网侧变电站',
|
message: '请选择电网侧变电站',
|
||||||
trigger: 'change'
|
trigger: 'change'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user