修改海南测试bug

This commit is contained in:
GGJ
2024-11-26 16:45:38 +08:00
parent a2c7c672fc
commit 6a57c4a573
14 changed files with 602 additions and 39 deletions

View File

@@ -19,8 +19,8 @@ pnpm i
npm run dev
#因海南和冀北技术监督不同 通过修改文件的方式来区分
#海南打包 需要吧pqs目录下supervise_hn 文件夹改成supervise 原文件改成supervise_jiebi
#海南打包 需要吧pqs目录下supervise_jiebi 文件夹改成supervise 原文件改成supervise_hn
#海南打包 需要吧pqs目录下supervise_hn 文件夹改成supervise 原文件改成supervise_jb
#冀北打包 需要吧pqs目录下supervise_jb 文件夹改成supervise 原文件改成supervise_hn
```
#### 页面编写-示例

View File

@@ -59,6 +59,7 @@
"screenfull": "^6.0.2",
"splitpanes": "^3.1.5",
"steady-xml": "0.1.0",
"svg-pan-zoom": "^3.6.2",
"use-element-plus-theme": "^0.0.5",
"vue": "^3.3.11",
"vue-baidu-map-3x": "^1.0.35",

View File

@@ -35,10 +35,10 @@ const setupAll = async () => {
const app = createApp(App)
//开启离线地图
// app.use(BaiduMapOffline, {
// offline: true,
// offlineUrl: window.location.origin + '/map/',
// });
app.use(BaiduMapOffline, {
offline: true,
// offlineUrl: window.location.origin + '/map/',
});
app.use(BaiduMap, {
ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
v: '3.0'

View File

@@ -29,6 +29,7 @@
<el-option v-for="item in levelList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
<el-form-item
:label="userShow == 'Power_Station_Users' ? '拟接入容量(MVA)' : '用户协议容量(MVA)'"
prop="protocolCapacity"
@@ -196,6 +197,7 @@ const tableStore: any = new TableStore({
title.value = '查看承载能力预评估用户'
form.value = JSON.parse(JSON.stringify(row))
form.value.regionList = [form.value.province, form.value.city, form.value.region]
userShow.value=uesrList.filter(item => item.id == row.userType)[0].code
}
},
{
@@ -209,8 +211,10 @@ const tableStore: any = new TableStore({
dialogVisible.value = true
await nextTick
title.value = '编辑承载能力预评估用户'
form.value = JSON.parse(JSON.stringify(row))
form.value.regionList = [form.value.province, form.value.city, form.value.region]
userShow.value=uesrList.filter(item => item.id == row.userType)[0].code
}
},
{

View File

@@ -0,0 +1,502 @@
<template>
<div class="default-main">
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg id="mySvg" ref="mySvg" width="100%" height="50vh" xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs">
<defs id="SvgjsDefs1007">
<pattern patternUnits="userSpaceOnUse" id="pattern_mark_0" width="300" height="300"><text x="150"
y="100" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)"
style="dominant-baseline: middle; text-anchor: middle;"></text></pattern>
<pattern patternUnits="userSpaceOnUse" id="pattern_mark_1" width="300" height="300"><text x="150"
y="200" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)"
style="dominant-baseline: middle; text-anchor: middle;"></text></pattern>
<marker id="SvgjsMarker1207" markerWidth="16" markerHeight="12" refX="11" refY="6" viewBox="0 0 16 12"
orient="auto" markerUnits="userSpaceOnUse" stroke-dasharray="0,0">
<path id="SvgjsPath1208" d="M0,0 L16,6 L0,12 L0,0" fill="#323232" stroke="#323232" stroke-width="1">
</path>
</marker>
</defs>
<rect id="svgbackgroundid" width="1717.9166666666667" height="566.5" fill="transparent"></rect>
<rect id="SvgjsRect1009" width="1717.9166666666667" height="566.5" fill="url(#pattern_mark_0)"></rect>
<rect id="SvgjsRect1010" width="1717.9166666666667" height="566.5" fill="url(#pattern_mark_1)"></rect>
<g id="SvgjsG1011" transform="translate(218.91666666666666,25)">
<path id="SvgjsPath1012" d="M 0 0L 159 0L 159 122L 0 122Z" stroke="rgba(53,142,144,1)"
stroke-width="1.5" fill="none"></path>
<path id="SvgjsPath1013" d="M 0 0L 159 0L 159 40L 0 40Z" stroke="rgba(53,142,144,1)" stroke-width="1.5"
fill-opacity="1" fill="#358e90"></path>
<g id="SvgjsG1014"><text id="SvgjsText1015" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="24px" width="139px" fill="#ffffff" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="24px" weight="400" font-style=""
opacity="1" y="-1" transform="rotate(0)">
<tspan id="SvgjsTspan1016" dy="30" x="79.5">
<tspan id="SvgjsTspan1017" style="font-weight: bold;">可研阶段</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1018" transform="translate(25,189)">
<path id="SvgjsPath1019"
d="M 23.333333333333332 0L 151.66666666666666 0C 182.77777777777777 0 182.77777777777777 70 151.66666666666666 70L 23.333333333333332 70C -7.777777777777778 70 -7.777777777777778 0 23.333333333333332 0Z"
stroke="rgba(241,172,106,1)" stroke-width="2" fill-opacity="1" fill="#f1ac6a"></path>
<g id="SvgjsG1020"><text id="SvgjsText1021" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="155px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="8.25" transform="rotate(0)">
<tspan id="SvgjsTspan1022" dy="22.5" x="87.5">
<tspan id="SvgjsTspan1023" style="">电能质量线上管控</tspan>
</tspan>
<tspan id="SvgjsTspan1024" dy="22.5" x="87.5">
<tspan id="SvgjsTspan1025" style="">流程</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1026">
<path id="SvgjsPath1027" d="M201 224L219.8333333333333 224L219.8333333333333 224L238.6666666666666 224"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1028" transform="translate(239.6666666666666,189)">
<path id="SvgjsPath1029"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1030"><text id="SvgjsText1031" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="19.25" transform="rotate(0)">
<tspan id="SvgjsTspan1032" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1033" style="">干扰源接入</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1034" transform="translate(403.58333333333314,189)">
<path id="SvgjsPath1035"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1036"><text id="SvgjsText1037" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="19.25" transform="rotate(0)">
<tspan id="SvgjsTspan1038" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1039" style="">终端检测</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1040">
<path id="SvgjsPath1041"
d="M528.8333333333333 224L547.6666666666664 224L547.6666666666664 224L566.4999999999997 224"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1042" transform="translate(567.4999999999997,189)">
<path id="SvgjsPath1043"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1044"><text id="SvgjsText1045" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="19.25" transform="rotate(0)">
<tspan id="SvgjsTspan1046" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1047" style="">申请联调</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1048" transform="translate(731.4166666666662,189)">
<path id="SvgjsPath1049"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1050"><text id="SvgjsText1051" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="16px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="16px" weight="400" font-style=""
opacity="1" y="21" transform="rotate(0)">
<tspan id="SvgjsTspan1052" dy="20" x="62.5">
<tspan id="SvgjsTspan1053" style="">试运行评估</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1054">
<path id="SvgjsPath1055"
d="M856.6666666666662 224L875.4999999999994 224L875.4999999999994 224L894.3333333333327 224"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1056" transform="translate(895.3333333333327,189)">
<path id="SvgjsPath1057"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1058"><text id="SvgjsText1059" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="19.25" transform="rotate(0)">
<tspan id="SvgjsTspan1060" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1061" style="">正式运行</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1062">
<path id="SvgjsPath1063"
d="M692.7499999999997 224L711.5833333333329 224L711.5833333333329 224L730.4166666666662 224"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1064">
<path id="SvgjsPath1065" d="M1020.5833333333333 224L1121.3749999999993 224L1121.3749999999993 325"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1066" transform="translate(731.4166666666662,326)">
<path id="SvgjsPath1067"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1068"><text id="SvgjsText1069" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="8.25" transform="rotate(0)">
<tspan id="SvgjsTspan1070" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1071" style="">技术监督计</tspan>
</tspan>
<tspan id="SvgjsTspan1072" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1073" style=""></tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1074" transform="translate(895.3333333333327,326)">
<path id="SvgjsPath1075"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1076"><text id="SvgjsText1077" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="8.25" transform="rotate(0)">
<tspan id="SvgjsTspan1078" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1079" style="">技术监督现</tspan>
</tspan>
<tspan id="SvgjsTspan1080" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1081" style="">场测试</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1082">
<path id="SvgjsPath1083"
d="M1020.5833333333327 361L1039.416666666666 361L1039.416666666666 361L1058.2499999999993 361"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1084" transform="translate(1059.2499999999993,326)">
<path id="SvgjsPath1085"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1086"><text id="SvgjsText1087" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="8.25" transform="rotate(0)">
<tspan id="SvgjsTspan1088" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1089" style="">电能质量问</tspan>
</tspan>
<tspan id="SvgjsTspan1090" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1091" style=""></tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1092" transform="translate(1223.1666666666658,326)">
<path id="SvgjsPath1093"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1094"><text id="SvgjsText1095" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="16px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="16px" weight="400" font-style=""
opacity="1" y="21" transform="rotate(0)">
<tspan id="SvgjsTspan1096" dy="20" x="62.5">
<tspan id="SvgjsTspan1097" style="">/告警单</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1098">
<path id="SvgjsPath1099"
d="M1348.4166666666658 361L1367.249999999999 361L1367.249999999999 361L1386.0833333333323 361"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1100" transform="translate(1387.0833333333323,326)">
<path id="SvgjsPath1101"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1102"><text id="SvgjsText1103" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="8.25" transform="rotate(0)">
<tspan id="SvgjsTspan1104" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1105" style="">/告警单反</tspan>
</tspan>
<tspan id="SvgjsTspan1106" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1107" style=""></tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1108">
<path id="SvgjsPath1109"
d="M1184.4999999999993 361L1203.3333333333326 361L1203.3333333333326 361L1222.1666666666658 361"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1110">
<path id="SvgjsPath1111"
d="M1512.3333333333323 361L1531.1666666666656 361L1531.1666666666656 361L1549.9999999999989 361"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1112" transform="translate(1550.9999999999989,326)">
<path id="SvgjsPath1113"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1114"><text id="SvgjsText1115" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="19.25" transform="rotate(0)">
<tspan id="SvgjsTspan1116" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1117" style="">退运</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1118">
<path id="SvgjsPath1119" d="M1121.3749999999993 397L1121.3749999999993 498L1020.5833333333327 498"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1120" transform="translate(895.3333333333327,463)">
<path id="SvgjsPath1121"
d="M 0 35L 20.70833333333332 0L 103.54166666666669 0L 124.25 35L 103.54166666666669 70L 20.70833333333332 70L 0 35Z"
stroke="rgba(112,213,215,1)" stroke-width="2" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1122"><text id="SvgjsText1123" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="105px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="19.25" transform="rotate(0)">
<tspan id="SvgjsTspan1124" dy="22.5" x="62.5">
<tspan id="SvgjsTspan1125" style="">用户投诉</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1126">
<path id="SvgjsPath1127"
d="M856.6666666666662 361L875.4999999999994 361L875.4999999999994 361L894.3333333333327 361"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1128">
<path id="SvgjsPath1129"
d="M364.91666666666663 224L383.7499999999999 224L383.7499999999999 224L402.58333333333314 224"
stroke="#95da69" stroke-width="8" fill="none"></path>
</g>
<g id="SvgjsG1130" transform="translate(395.4999999999993,180.5)">
<path id="SvgjsPath1131" d="M 0 0L 468.2500000000007 0L 468.2500000000007 87L 0 87Z"
stroke-dasharray="10,4" stroke="rgba(0,0,0,1)" stroke-width="2" fill="none"></path>
<g id="SvgjsG1132"><text id="SvgjsText1133" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="449px" fill="#ffffff" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="27.75" transform="rotate(0)"></text></g>
</g>
<g id="SvgjsG1134" transform="translate(883.7500000000001,180.5)">
<path id="SvgjsPath1135" d="M 0 0L 640.8333333333334 0L 640.8333333333334 361L 0 361Z"
stroke-dasharray="10,4" stroke="rgba(0,0,0,1)" stroke-width="2" fill="none"></path>
<g id="SvgjsG1136"><text id="SvgjsText1137" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="621px" fill="#ffffff" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="164.75" transform="rotate(0)"></text></g>
</g>
<g id="SvgjsG1138">
<path id="SvgjsPath1139"
d="M301.79166666666663 188L301.79166666666663 168L301.79166666666663 168L301.79166666666663 147"
stroke="#70d5d7" stroke-width="2" fill="none"></path>
</g>
<g id="SvgjsG1140" transform="translate(234.97916666666654,74.5)">
<path id="SvgjsPath1141"
d="M 0 0L 133.62500000000006 0L 133.62500000000006 60.50000000000003L 0 60.50000000000003Z"
stroke="none" fill="none"></path>
<g id="SvgjsG1142"><text id="SvgjsText1143" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="start" font-size="16px" width="134px" fill="#323232" font-weight="400"
align="middle" lineHeight="125%" anchor="start"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="16px" weight="400" font-style=""
opacity="1" y="-13.749999999999986" transform="rotate(0)">
<tspan id="SvgjsTspan1144" dy="20" x="0">
<tspan id="SvgjsTspan1145" style="">录入未建档用户档</tspan>
</tspan>
<tspan id="SvgjsTspan1146" dy="20" x="0">
<tspan id="SvgjsTspan1147" style="">案信息入网设计</tspan>
</tspan>
<tspan id="SvgjsTspan1148" dy="20" x="0">
<tspan id="SvgjsTspan1149" style="">方案审查预测评估</tspan>
</tspan>
<tspan id="SvgjsTspan1150" dy="20" x="0">
<tspan id="SvgjsTspan1151" style="">报告审查等</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1152" transform="translate(433.91666666666663,25)">
<path id="SvgjsPath1153" d="M 0 0L 398 0L 398 122L 0 122Z" stroke="rgba(53,142,144,1)"
stroke-width="1.5" fill="none"></path>
<path id="SvgjsPath1154" d="M 0 0L 398 0L 398 40L 0 40Z" stroke="rgba(53,142,144,1)" stroke-width="1.5"
fill-opacity="1" fill="#358e90"></path>
<g id="SvgjsG1155"><text id="SvgjsText1156" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="24px" width="378px" fill="#ffffff" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="24px" weight="400" font-style=""
opacity="1" y="-1" transform="rotate(0)">
<tspan id="SvgjsTspan1157" dy="30" x="199">
<tspan id="SvgjsTspan1158" style="font-weight: bold;">建设阶段</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1159">
<path id="SvgjsPath1160"
d="M629.6249999999997 179.5C 629.6249999999997 167.10000000000002 629.6249999999997 160.39999999999998 629.6249999999997 147"
stroke="#70d5d7" stroke-width="2" fill="none"></path>
</g>
<g id="SvgjsG1161" transform="translate(439.44376627604004,68.66666666666666)">
<path id="SvgjsPath1162"
d="M 0 0L 392.41666666666606 0L 392.41666666666606 72.16666666666671L 0 72.16666666666671Z"
stroke="none" fill="none"></path>
<g id="SvgjsG1163"><text id="SvgjsText1164" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="start" font-size="16px" width="393px" fill="#323232" font-weight="400"
align="middle" lineHeight="125%" anchor="start"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="16px" weight="400" font-style=""
opacity="1" y="2.083333333333357" transform="rotate(0)">
<tspan id="SvgjsTspan1165" dy="20" x="0">
<tspan id="SvgjsTspan1166" style="">监测终端台账信息录入终端入网检测监测点信息录</tspan>
</tspan>
<tspan id="SvgjsTspan1167" dy="20" x="0">
<tspan id="SvgjsTspan1168" style="">周期检测申请联调台账数据同源治理工程验</tspan>
</tspan>
<tspan id="SvgjsTspan1169" dy="20" x="0">
<tspan id="SvgjsTspan1170" style="">收报告审查试运行评估报告生成:</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1171" transform="translate(989.0833333333322,25)">
<path id="SvgjsPath1172" d="M 0 0L 398 0L 398 122L 0 122Z" stroke="rgba(53,142,144,1)"
stroke-width="1.5" fill="none"></path>
<path id="SvgjsPath1173" d="M 0 0L 398 0L 398 40L 0 40Z" stroke="rgba(53,142,144,1)" stroke-width="1.5"
fill-opacity="1" fill="#358e90"></path>
<g id="SvgjsG1174"><text id="SvgjsText1175" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="24px" width="378px" fill="#ffffff" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="24px" weight="400" font-style=""
opacity="1" y="-1" transform="rotate(0)">
<tspan id="SvgjsTspan1176" dy="30" x="199">
<tspan id="SvgjsTspan1177" style="font-weight: bold;">生产阶段</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1178">
<path id="SvgjsPath1179"
d="M1204.166666666667 179.5L1204.166666666667 163.75L1204.166666666667 163.75L1204.166666666667 147"
stroke="#70d5d7" stroke-width="2" fill="none"></path>
</g>
<g id="SvgjsG1180" transform="translate(1014.7500000000003,61.5)">
<path id="SvgjsPath1181" d="M 0 0L 364.8333333333333 0L 364.8333333333333 73.5L 0 73.5Z" stroke="none"
fill="none"></path>
<g id="SvgjsG1182"><text id="SvgjsText1183" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="start" font-size="16px" width="365px" fill="#323232" font-weight="400"
align="middle" lineHeight="125%" anchor="start"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="16px" weight="400" font-style=""
opacity="1" y="12.75" transform="rotate(0)">
<tspan id="SvgjsTspan1184" dy="20" x="0">
<tspan id="SvgjsTspan1185" style="">在线监测电能质量问题现场测试电能质量问题</tspan>
</tspan>
<tspan id="SvgjsTspan1186" dy="20" x="0">
<tspan id="SvgjsTspan1187" style="">用户投诉电能质量问题生产预告警单</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1188" transform="translate(1533.9166666666667,25)">
<path id="SvgjsPath1189" d="M 0 0L 159 0L 159 122L 0 122Z" stroke="rgba(53,142,144,1)"
stroke-width="1.5" fill="none"></path>
<path id="SvgjsPath1190" d="M 0 0L 159 0L 159 40L 0 40Z" stroke="rgba(53,142,144,1)" stroke-width="1.5"
fill-opacity="1" fill="#358e90"></path>
<g id="SvgjsG1191"><text id="SvgjsText1192" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="24px" width="139px" fill="#ffffff" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="24px" weight="400" font-style=""
opacity="1" y="-1" transform="rotate(0)">
<tspan id="SvgjsTspan1193" dy="30" x="79.5">
<tspan id="SvgjsTspan1194" style="font-weight: bold;">退运阶段</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1195">
<path id="SvgjsPath1196"
d="M1613.1249999999989 325L1613.1249999999989 236.5L1613.1249999999989 236.5L1613.1249999999989 147"
stroke="#70d5d7" stroke-width="2" fill="none"></path>
</g>
<g id="SvgjsG1197" transform="translate(1544.3062337239585,68.66666666666666)">
<path id="SvgjsPath1198"
d="M 0 0L 138.22086588541654 0L 138.22086588541654 72.16666666666669L 0 72.16666666666669Z"
stroke="none" fill="none"></path>
<g id="SvgjsG1199"><text id="SvgjsText1200" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="start" font-size="16px" width="139px" fill="#323232" font-weight="400"
align="middle" lineHeight="125%" anchor="start"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="16px" weight="400" font-style=""
opacity="1" y="12.083333333333343" transform="rotate(0)">
<tspan id="SvgjsTspan1201" dy="20" x="0">
<tspan id="SvgjsTspan1202" style="">电能质量终端/监测</tspan>
</tspan>
<tspan id="SvgjsTspan1203" dy="20" x="0">
<tspan id="SvgjsTspan1204" style="">点退运管理</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1205">
<path id="SvgjsPath1206"
d="M629.4552990914425 268.4854956121845C 629.6249999999997 320.233807414641 534.8749999999998 306.43285925202565 535.6641092247904 354.58411207000876"
stroke-dasharray="15,6" stroke="#323232" stroke-width="3" fill="none"
marker-end="url(#SvgjsMarker1207)"></path>
</g>
<g id="SvgjsG1209" transform="translate(468.08333333333326,359.16666666666663)">
<path id="SvgjsPath1210"
d="M 0 4Q 0 0 4 0L 129.58333333333306 0Q 133.58333333333306 0 133.58333333333306 4L 133.58333333333306 47.42857142857146Q 133.58333333333306 51.42857142857146 129.58333333333306 51.42857142857146L 4 51.42857142857146Q 0 51.42857142857146 0 47.42857142857146Z"
stroke="rgba(76,203,205,1)" stroke-width="1.5" fill-opacity="1" fill="#70d5d7"></path>
<g id="SvgjsG1211"><text id="SvgjsText1212" font-family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial"
text-anchor="middle" font-size="18px" width="114px" fill="#000000" font-weight="400"
align="middle" lineHeight="125%" anchor="middle"
family="&quot;Microsoft YaHei&quot;, 微软雅黑, Arial" size="18px" weight="400" font-style=""
opacity="1" y="9.96428571428573" transform="rotate(0)">
<tspan id="SvgjsTspan1213" dy="22.5" x="67">
<tspan id="SvgjsTspan1214" style="">台账同源</tspan>
</tspan>
</text></g>
</g>
<g id="SvgjsG1215"></g>
<g id="normal_brand" transform="translate(673.9583333333334,338.25)"><text id="SvgjsText1217"
font-family="Helvetica, Arial, sans-serif"
style="transform:rotate(-30deg);opacity: 0.06; color:#000; font-family: Microsoft Yahei;">
<tspan id="SvgjsTspan1218" font-size="72" dy="0" x="0"></tspan>
</text></g>
</svg>
</div>
</template>
<script setup lang='ts'>
import { ref, reactive, onMounted } from 'vue'
import svgPanZoom from 'svg-pan-zoom'
const mySvg = ref()
onMounted(() => {
var svgElement = document.getElementById('mySvg');
var obj = svgPanZoom(svgElement, {
// 这里可以配置选项,比如:
zoomEnabled: true, // 允许缩放
panEnabled: true, // 允许平移
maxZoom: 10, // 设置最大缩放级别
minZoom: 0.1, // 设置最小缩放级别
// ... 其他配置选项 ...
});
})
</script>
<style lang="scss" scoped></style>

View File

@@ -151,9 +151,9 @@
:key="index" />
</el-select>
</el-form-item>
<el-form-item for="-" label="上送网公司编码:">
<!-- <el-form-item for="-" label="上送网公司编码:">
<el-input v-model="form.lineId" autocomplete="off" placeholder="请输入上送网公司编码" />
</el-form-item>
</el-form-item> -->
<el-form-item for="-" label="监测点性质:" prop="pointNature">
<el-select v-model="form.pointNature" placeholder="请选择监测点性质">
<el-option v-for="(item, index) in pointNatureList" :label="item.name" :value="item.id"
@@ -407,7 +407,7 @@ const resetForm = async () => {
devCapacity: 10, //终端容量
standardCapacity: 10, //基准容量
isGridConnectionPoint: 0, //是否并网点
isStatistical: 0, // 是否参与统计
isStatistical: 1, // 是否参与统计
lineId: '', // 监测点编码
lineName: '', // 监测点名称
loadType: '', //干扰源类型

View File

@@ -30,7 +30,7 @@
})?.label
}}
</el-descriptions-item>
<el-descriptions-item label="关联干扰源">
<el-descriptions-item label="接入场站">
{{ detailData.userName }}
</el-descriptions-item>
<el-descriptions-item label="关联终端">

View File

@@ -264,7 +264,7 @@
</el-form-item>
<!-- </div> -->
<el-divider content-position="left">附件材料</el-divider>
<el-form-item for="-" label="信息安全检测报告:" class="uploadFile" prop="informationSecurityTestReport">
<el-form-item for="-" label="信息安全检测报告:" class="uploadFile">
<el-upload v-model:file-list="form.informationSecurityTestReport" ref="uploadRef" action=""
:accept="acceptType" :limit="1" :on-exceed="handleExceed" :on-change="choose" :auto-upload="false"
:on-progress="uploadFileName('informationSecurityTestReport')" :on-remove="removeFile">
@@ -283,6 +283,7 @@
</template>
</el-upload>
</el-form-item>
<el-form-item for="-" label="验收检验报告:" class="uploadFile" prop="acceptanceInspectionReport">
<el-upload v-model:file-list="form.acceptanceInspectionReport" ref="uploadRef" action=""
:accept="acceptType" :limit="1" :on-exceed="handleExceed" :on-change="choose" :auto-upload="false"
@@ -292,7 +293,7 @@
</template>
</el-upload>
</el-form-item>
<el-form-item for="-" label="型式实验报告:" class="uploadFile" prop="typeExperimentReport">
<el-form-item for="-" label="型式实验报告:" class="uploadFile" >
<el-upload v-model:file-list="form.typeExperimentReport" ref="uploadRef" action="" :accept="acceptType"
:limit="1" :on-exceed="handleExceed" :on-change="choose" :auto-upload="false"
:on-progress="uploadFileName('typeExperimentReport')" :on-remove="removeFile">
@@ -301,7 +302,7 @@
</template>
</el-upload>
</el-form-item>
<el-form-item for="-" label="出厂检验报告:" class="uploadFile" prop="factoryInspectionReport">
<el-form-item for="-" label="出厂检验报告:" class="uploadFile" >
<el-upload v-model:file-list="form.factoryInspectionReport" ref="uploadRef" action=""
:accept="acceptType" :limit="1" :on-exceed="handleExceed" :on-change="choose" :auto-upload="false"
:on-progress="uploadFileName('factoryInspectionReport')" :on-remove="removeFile">
@@ -310,7 +311,7 @@
</template>
</el-upload>
</el-form-item>
<el-form-item for="-" label="性能检测报告:" class="uploadFile" prop="performanceTestReport">
<el-form-item for="-" label="性能检测报告:" class="uploadFile" >
<el-upload v-model:file-list="form.performanceTestReport" ref="uploadRef" action="" :accept="acceptType"
:limit="1" :on-exceed="handleExceed" :on-change="choose" :auto-upload="false"
:on-progress="uploadFileName('performanceTestReport')" :on-remove="removeFile">
@@ -319,7 +320,7 @@
</template>
</el-upload>
</el-form-item>
<el-form-item for="-" label="其他附件:" class="uploadFile" prop="otherAttachments">
<el-form-item for="-" label="其他附件:" class="uploadFile" >
<el-upload v-model:file-list="form.otherAttachments" ref="uploadRef" action="" :accept="acceptType"
:limit="1" :on-exceed="handleExceed" :on-change="choose" :auto-upload="false"
:on-progress="uploadFileName('otherAttachments')" :on-remove="removeFile">

View File

@@ -28,7 +28,7 @@
defineOptions({
name: 'terminalNetwotk'
})
const activeName = ref('2')
const activeName = ref('1')
const route = useRoute()
const id = ref('')

View File

@@ -28,7 +28,7 @@
defineOptions({
name: 'terminalNetwotk'
})
const activeName = ref('2')
const activeName = ref('1')
const route = useRoute()
const id = ref('')

View File

@@ -3,15 +3,15 @@
<el-scrollbar>
<el-form :inline="false" :model="form" label-width="140px" :rules="rules" ref="formRef">
<el-form-item label="暂降原因:" prop="verifyReason">
<el-form-item label="暂降核实原因:" prop="verifyReason">
<el-select v-model="form.verifyReason" placeholder="请选择暂降原因">
<el-select v-model="form.verifyReason" placeholder="请选择暂降核实原因">
<el-option v-for="item in verifyReasonList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
<el-form-item label="暂降原因详情:" prop="verifyReasonDetail">
<el-form-item label="暂降核实原因详情:" prop="verifyReasonDetail">
<el-input v-model="form.verifyReasonDetail" :rows="3" type="textarea" placeholder="请输入暂降原因详情" />
<el-input v-model="form.verifyReasonDetail" :rows="3" type="textarea" placeholder="请输入暂降核实原因详情" />
</el-form-item>
</el-form>
</el-scrollbar>
@@ -40,8 +40,8 @@ const form: any = reactive({
verifyReasonDetail: ''
})
const rules = {
verifyReasonDetail: [{ required: true, message: '请输入暂降原因详情', trigger: 'blur' },],
verifyReason: [{ required: true, message: '请输入暂降原因', trigger: 'blur' },],
verifyReasonDetail: [{ required: true, message: '请输入暂降核实原因详情', trigger: 'blur' },],
verifyReason: [{ required: true, message: '请输入暂降核实原因', trigger: 'blur' },],
}
const open = (row: any) => {

View File

@@ -58,6 +58,18 @@
:value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="暂降核实原因:">
<el-select v-model="tableStore.table.params.verifyReason" placeholder="请选择暂降核实原因" clearable
multiple collapse-tags collapse-tags-tooltip>
<el-option v-for="item in verifyReasonList" :key="item.id" :label="item.name"
:value="item.id"></el-option>
</el-select>
</el-form-item>
<el-form-item label="变电站(监测点):">
<el-cascader v-model="tableStore.table.params.lineIds" :options="options" :props="defaultProps"
collapse-tags-tooltip style="width: 257px;" filterable clearable collapse-tags
placeholder="请选择变电站(监测点)" :show-all-levels="false" />
</el-form-item>
</template>
<template #operation>
<el-button icon="el-icon-Download" type="primary" @click="download">下载波形</el-button>
@@ -82,13 +94,17 @@ import { useDictData } from '@/stores/dictData'
import { ElMessageBox, ElMessage } from 'element-plus'
import addForm from './addForm.vue'
import { getTransientValue } from '@/api/event-boot/report'
import { getTerminalTreeForFive } from '@/api/device-boot/terminalTree'
import { useAdminInfo } from '@/stores/adminInfo'
import waveForm from '@/components/echarts/waveForm.vue'
import { getMonitorEventAnalyseWave, downloadWaveFile } from '@/api/event-boot/transient'
defineOptions({
name: 'Region/transientlist'
})
const dictData = useDictData()
const adminInfo = useAdminInfo()
const pageHeight = mainHeight(20)
const view = ref(true)
const addFormRef = ref()
@@ -107,6 +123,16 @@ const wareaoptions = ref([
label: '否'
}
])
const formData = ({
deptIndex: adminInfo.$state.deptIndex,
monitorFlag: 2,
powerFlag: 2,
loadType: null,
manufacturer: null,
serverName: 'event-boot',
statisticalType: dictData.getBasicData('Statistical_Type', ['Report_Type'])[0],
scale: null
})
const tableStore = new TableStore({
url: '/event-boot/transient/getTransientValue',
method: 'POST',
@@ -127,12 +153,12 @@ const tableStore = new TableStore({
{ field: 'lineName', title: '监测点', minWidth: '100' },
{ field: 'scale', title: '电压等级(kV)', minWidth: '120', },
{
field: 'verifyReason', title: '暂降原因', minWidth: '120', formatter: function (row) {
field: 'verifyReason', title: '暂降核实原因', minWidth: '120', formatter: function (row) {
return verifyReasonList.filter(item => item.id == row.cellValue)[0]?.name || '/' //row.cellValue ? row.cellValue : '/'
}
},
{
field: 'verifyReasonDetail', title: '暂降原因详情', minWidth: '200', formatter: function (row) {
field: 'verifyReasonDetail', title: '暂降核实原因详情', minWidth: '200', formatter: function (row) {
return row.cellValue ? row.cellValue : '/'
}
},
@@ -221,7 +247,18 @@ const tableStore = new TableStore({
loadCallback: () => { }
})
const options = ref([
])
const defaultProps = {
multiple: true,
// checkStrictly: true,
label: 'name',
value: 'id',
children: 'children',
emitPath: false
}
const boxoList = ref({})
const wp = ref({})
@@ -242,10 +279,27 @@ tableStore.table.params.severityMin = ''
tableStore.table.params.severityMax = ''
tableStore.table.params.eventType = []
tableStore.table.params.eventReason = []
tableStore.table.params.verifyReason = []
tableStore.table.params.lineIds = []
tableStore.table.params.waveType = []
tableStore.table.params.fileFlag = ''
onMounted(() => {
tableStore.index()
getTerminalTreeForFive(formData).then(res => {
options.value = []
let list = (res.data.map((item: any) => {
return item.children.map((vv: any) => {
vv.children.map((kk: any) => {
kk.name = kk.name.replace(/\.*?\/, '')
})
return vv.children
})
}))[0]
list.forEach((item: any) => {
options.value.push(...item)
})
})
})
const backbxlb = () => {
view.value = true
@@ -257,7 +311,7 @@ const exportEvent = () => {
form.pageSize = tableStore.table.total
getTransientValue(form).then(res => {
tableRef.value.getRef().exportData({
filename: '区域暂态列表', // 文件名字
filename: '暂态列表', // 文件名字
sheetName: 'Sheet1',
type: 'xlsx', //导出文件类型 xlsx 和 csv
useStyle: true,
@@ -292,3 +346,8 @@ const download = () => {
})
}
</script>
<style scoped lang="scss">
:deep(.el-tag.is-closable) {
width: 100px;
}
</style>

View File

@@ -2,14 +2,8 @@
<div>
<div class="custom-table-header">
<div class="title">接口权限列表</div>
<el-input
v-model="tableStore.table.params.searchValue"
style="width: 240px"
placeholder="请输入菜单名称"
class="ml10"
clearable
@input="search"
/>
<el-input v-model="tableStore.table.params.searchValue" style="width: 240px" placeholder="请输入菜单名称"
class="ml10" clearable @input="search" />
<el-button :icon="Plus" type="primary" @click="addMenu" class="ml10" :disabled="!props.id">新增</el-button>
</div>
<Table ref="tableRef" />
@@ -45,10 +39,12 @@ const tableStore = new TableStore({
url: '/user-boot/function/getButtonById',
publicHeight: 60,
column: [
{ title: '普通接口/接口名称', field: 'name', formatter: row => {
{ title: '普通接口/接口名称', field: 'name', },
{
title: '接口类型', field: 'type', formatter: row => {
return row.cellValue == 1 ? '普通接口' : '公用接口'
} },
{ title: '接口类型', field: 'type' },
}
},
{ title: 'URL接口路径', field: 'path' },
{
title: '操作',

View File

@@ -25,7 +25,7 @@ export default defineConfig({
'/api': {
// target: 'http://10.95.53.49:10215', //海南服务器ip
// target: 'http://10.118.135.128:10215', ///hsw
target: 'http://192.168.1.125:10215', ///hsw
target: 'http://192.168.1.81:10215', ///hsw
// target: 'http://10.119.65.152:10215', //数据中心
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''