diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue index da63a7db..1506a111 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue @@ -1,23 +1,41 @@ @@ -144,6 +372,7 @@ export default { data() { return { // formList, + showDocx: false, fData: {}, formConfigList: [], reportList, @@ -345,16 +574,19 @@ export default { }); }, handlePreview() { - const fileContent = this.$refs.file.innerHTML; - console.log(77777); - console.log(fileContent); - // 将HTML转换为DOCX + this.showDocx = true; + }, + handleDownload() { + console.log("下载"); + // 获取HTML内容 + const fileContent = this.$refs.initFile.innerHTML; + // // 将HTML转换为DOCX const doc = htmlDocx.asBlob(fileContent); - - // 下载生成的文档 - FileSaver.saveAs(doc, "document.docx"); + // // 下载生成的文档 + FileSaver.saveAs(doc, "初报.docx"); }, }, + mounted() { this.initData(); this.getReportData(); @@ -513,9 +745,50 @@ export default { } .footer { display: flex; + width: 35%; + margin: auto; + margin-top: 30px; + justify-content: space-around; + // display: flex; + // flex-flow: row-reverse; + div { + margin-left: 20px; + } } ::v-deep .el-tabs__content { overflow: auto; position: relative; } +.docx-wrapper { + background: #fff; + padding: 30px; + display: flex; + flex-flow: column; + align-items: center; + > section.docx { + background: white; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); + margin-bottom: 30px; + } + .docx p, + p.docx_1 span { + font-family: var(--docx-minorHAnsi-font); + color: #00000a; + min-height: 11pt; + font-size: 11pt; + } + button { + cursor: pointer; + width: 100px; + height: 35px; + line-height: 35px; + color: #fff; + background: #00b3cc; + border-radius: 48px; + display: flex; + justify-content: center; + align-items: center; + border: none; + } +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue index c1a15cd8..5ed1dc2d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/DisposalProcess/index.vue @@ -212,7 +212,7 @@ export default { time: item.operationTime ? new Date(item.operationTime).toLocaleString() : null, - name: item.operator, + name: item.operatorName, desc: item.context, source: item.source, // posts: '淄博发展公司管理员' diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Eventfiltering/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Eventfiltering/index.vue index 21e8bfc2..9e44e29f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Eventfiltering/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Eventfiltering/index.vue @@ -158,17 +158,17 @@ export default { gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); context.lineWidth = 1; // 设置线段宽度 - drawRoundRect(context, 410, 134, 380, 24, 12, gr); - drawRoundRect(context, 410, 168, 320, 24, 10, gr); - drawRoundRect(context, 410, 202, 320, 24, 10, gr); - drawRoundRect(context, 410, 236, 320, 24, 10, gr); - drawRoundRect(context, 410, 270, 320, 24, 10, gr); - drawRoundRect(context, 410, 304, 320, 24, 10, gr); - drawRoundRect(context, 410, 338, 320, 24, 10, gr); - drawRoundRect(context, 410, 372, 320, 24, 10, gr); - drawRoundRect(context, 410, 406, 320, 24, 10, gr); - drawRoundRect(context, 410, 440, 320, 24, 10, gr); - drawRoundRect(context, 410, 474, 320, 24, 10, gr); + drawRoundRect(context, 410, 128, 380, 24, 12, gr); + drawRoundRect(context, 410, 162, 320, 24, 10, gr); + drawRoundRect(context, 410, 196, 320, 24, 10, gr); + drawRoundRect(context, 410, 230, 320, 24, 10, gr); + drawRoundRect(context, 410, 264, 320, 24, 10, gr); + drawRoundRect(context, 410, 298, 320, 24, 10, gr); + drawRoundRect(context, 410, 332, 320, 24, 10, gr); + drawRoundRect(context, 410, 366, 320, 24, 10, gr); + drawRoundRect(context, 410, 400, 320, 24, 10, gr); + drawRoundRect(context, 410, 434, 320, 24, 10, gr); + drawRoundRect(context, 410, 468, 320, 24, 10, gr); console.log("this.formData", this.formData); await this.getNonAutomaticWarningType(this.formData); // drawRoundRect(context, 410, 508, 320, 24, 10, gr); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Sitefiltering/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Sitefiltering/index.vue index 804e76cc..1f087745 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Sitefiltering/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/manual/statistic/components/Sitefiltering/index.vue @@ -181,16 +181,16 @@ export default { gr.addColorStop(1, "rgba(92,197,255,0)"); gr.addColorStop(0, "rgba(92,197,255,0.5)"); context.lineWidth = 1; // 设置线段宽度 - drawRoundRect(context, 385, 134, 320, 24, 12, gr); - drawRoundRect(context, 385, 168, 320, 24, 10, gr); - drawRoundRect(context, 385, 202, 320, 24, 10, gr); - drawRoundRect(context, 385, 236, 320, 24, 10, gr); - drawRoundRect(context, 385, 270, 320, 24, 10, gr); - drawRoundRect(context, 385, 304, 320, 24, 10, gr); - drawRoundRect(context, 385, 338, 320, 24, 10, gr); - drawRoundRect(context, 385, 372, 320, 24, 10, gr); - drawRoundRect(context, 385, 406, 320, 24, 10, gr); - drawRoundRect(context, 385, 440, 320, 24, 10, gr); + drawRoundRect(context, 385, 128, 320, 24, 12, gr); + drawRoundRect(context, 385, 162, 320, 24, 10, gr); + drawRoundRect(context, 385, 196, 320, 24, 10, gr); + drawRoundRect(context, 385, 230, 320, 24, 10, gr); + drawRoundRect(context, 385, 264, 320, 24, 10, gr); + drawRoundRect(context, 385, 298, 320, 24, 10, gr); + drawRoundRect(context, 385, 332, 320, 24, 10, gr); + drawRoundRect(context, 385, 366, 320, 24, 10, gr); + drawRoundRect(context, 385, 400, 320, 24, 10, gr); + drawRoundRect(context, 385, 434, 320, 24, 10, gr); // drawRoundRect(context, 385, 474, 320, 24, 10, gr); // drawRoundRect(context, 385, 510, 320, 24, 10, gr); await this.getNonAutomaticWarningFacility(this.formData); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infoWarning/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infoWarning/index.vue index 8c12fbdb..14cf0f62 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infoWarning/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infoWarning/index.vue @@ -123,21 +123,21 @@ export default { val === "Blue" && ["White", "Blue", "Green"].includes(item.severityColor) ) { - item.severityColorText = "蓝色"; + // item.severityColorText = "蓝色"; this.warningList.push(item); } else if ( val === "Red" && ["Red", "Black"].includes(item.severityColor) ) { - item.severityColorText = "红色"; + // item.severityColorText = "红色"; this.warningList.push(item); } else if (val === "Yellow" && item.severityColor === "Yellow") { - item.severityColorText = "黄色"; + // item.severityColorText = "黄色"; this.warningList.push(item); } else if (val === "Orange" && item.severityColor === "Orange") { - item.severityColorText = "橙色"; + // item.severityColorText = "橙色"; this.warningList.push(item); - } else if (!["Blue", "Red", "Yellow", "Orange"].includes(val)) { + } else if (val === "all") { // 确保只有当val不是预定义颜色时才推送 this.warningList.push(item); } @@ -157,6 +157,18 @@ export default { } } this.warningData = data; + this.warningData.forEach((item) => { + if (["White", "Blue", "Green"].includes(item.severityColor)) { + item.severityColorText = "蓝色"; + } else if (["Red", "Black"].includes(item.severityColor)) { + item.severityColorText = "红色"; + } else if (item.severityColor === "Yellow") { + item.severityColorText = "黄色"; + } else if (item.severityColor === "Orange") { + item.severityColorText = "橙色"; + } + }); + this.warningList = this.warningData; }); }, @@ -207,6 +219,7 @@ export default { flex-direction: column; width: 100%; height: calc(100% - 40px); + overflow-y: auto; > div::after { content: ""; @@ -317,6 +330,7 @@ export default { .right-text { color: #fff; + overflow-y: auto; } } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js index 3504726a..7cde73b1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/components/IndicatorAnalysis/components/changesIndicators/assets/charts3.js @@ -180,32 +180,32 @@ let options = { }, data: data2, }, - { - name: null, - type: "scatter", - emphasis: { - scale: false, - }, - symbol: - "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAACCpJREFUSEuFl+uPXVUZxn/rus9lru200zt2SrEJjQSlDWAipv2AGtQYouGDJhpDofgnmNhTv/pFjAItaGL8QtRojCbEaJXEBKUU4YNtKNCW0tqm6XRmembOZe91M2vP9AKWspJ9zsneZ69nvc9a7/M+r+BjRkpJ3HcYfRHGo2BaSFaX0DJgiAgnqbSkKyLdpmL2vW9zKQEizytE/nnLUT//4EiCBEnA3R3MwnpmnGZrCpj8PwWE/HFthGs3l28k6JM4r5ucu/Qt+jcji5sW8n/AnU6SnQOw5hlmMGyXAusDSMEVZZgLA+baLYbvnaWfgTasRzvPWDKMkdiYJGMikWJkkAQn557gnOgg6JBSyiQss1ADZzqFyN9wEMTTz7JTSrZiQQbmUuTdEcu8n0fE9vI7Nw/ZI7EJdI/Ugwk822NktRBElTiz/yLHOwdI+c1r4CuTLNPbOYj42SbuiYktIhGs4h0rOVtVSOeRl5cQq5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J1v2KVnBsUoHNSJoh1hzlKa53JnVLc5OOCoFPklNrRzlz4gSe2shnh5Wbhhu91C16pxudxfJ8y/RMHWKdiqxOijEH41aiM6CI+NwvaZiViUsTk3RPfENUWR9WTsEtG7f/ARqeIzUaHVUWAAAAAElFTkSuQmCC", - symbolSize: [20, 20], - symbolOffset: ["-115%", 0], - itemStyle: { - color: "#E2BA74", - shadowColor: "#E2BA74", - shadowBlur: 5, - borderWidth: 1, - opacity: 1, - }, - z: 1, - zlevel: 10, - left: "-100%", - data: data2, - animationDelay: 100, - tooltip: { - show: false, - }, - }, + // { + // name: null, + // type: "scatter", + // emphasis: { + // scale: false, + // }, + // symbol: + // "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAACCpJREFUSEuFl+uPXVUZxn/rus9lru200zt2SrEJjQSlDWAipv2AGtQYouGDJhpDofgnmNhTv/pFjAItaGL8QtRojCbEaJXEBKUU4YNtKNCW0tqm6XRmembOZe91M2vP9AKWspJ9zsneZ69nvc9a7/M+r+BjRkpJ3HcYfRHGo2BaSFaX0DJgiAgnqbSkKyLdpmL2vW9zKQEizytE/nnLUT//4EiCBEnA3R3MwnpmnGZrCpj8PwWE/HFthGs3l28k6JM4r5ucu/Qt+jcji5sW8n/AnU6SnQOw5hlmMGyXAusDSMEVZZgLA+baLYbvnaWfgTasRzvPWDKMkdiYJGMikWJkkAQn557gnOgg6JBSyiQss1ADZzqFyN9wEMTTz7JTSrZiQQbmUuTdEcu8n0fE9vI7Nw/ZI7EJdI/Ugwk822NktRBElTiz/yLHOwdI+c1r4CuTLNPbOYj42SbuiYktIhGs4h0rOVtVSOeRl5cQq5ori+0jmARR5jdhboIwnVk/TbJ3EKvIHZXnziTRInJu9iJvpgP1DtZ7fyPig4jJ9dxtJTNJMhAVbyrJUmgi3AIqBmRMyGQRowaxCLTL5UX0JFFOEicrUneRaCYIZpa4MMFIK3FviDR15PT+fRzv1CHWV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SuQmCC", + // symbolSize: [20, 20], + // symbolOffset: ["-115%", 0], + // itemStyle: { + // color: "#E2BA74", + // shadowColor: "#E2BA74", + // shadowBlur: 5, + // borderWidth: 1, + // opacity: 1, + // }, + // z: 1, + // zlevel: 10, + // left: "-100%", + // data: data2, + // animationDelay: 100, + // tooltip: { + // show: false, + // }, + // }, // 下半截柱状图linear-gradient(180deg, #61D8FF 0%, #003B4E 100%); linear-gradient(180deg, #06D7B1 0%, #003B4E 100%) { name: "交通特征", @@ -267,32 +267,32 @@ let options = { data: data1, }, // 进度条的小圆圈 - { - name: "", - type: "scatter", - emphasis: { - scale: false, - }, - symbol: - "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAACCpJREFUSEuFl+uPXVUZxn/rus9lru200zt2SrEJjQSlDWAipv2AGtQYouGDJhpDofgnmNhTv/pFjAItaGL8QtRojCbEaJXEBKUU4YNtKNCW0tqm6XRmembOZe91M2vP9AKWspJ9zsneZ69nvc9a7/M+r+BjRkpJ3HcYfRHGo2BaSFaX0DJgiAgnqbSkKyLdpmL2vW9zKQEizytE/nnLUT//4EiCBEnA3R3MwnpmnGZrCpj8PwWE/HFthGs3l28k6JM4r5ucu/Qt+jcji5sW8n/AnU6SnQOw5hlmMGyXAusDSMEVZZgLA+baLYbvnaWfgTasRzvPWDKMkdiYJGMikWJkkAQn557gnOgg6JBSyiQss1ADZzqFyN9wEMTTz7JTSrZiQQbmUuTdEcu8n0fE9vI7Nw/ZI7EJdI/Ugwk822NktRBElTiz/yLHOwdI+c1r4CuTLNPbOYj42SbuiYktIhGs4h0rOVtVSOeRl5cQq5ori+0jmARR5jdhboIwnVk/TbJ3EKvIHZXnziTRInJu9iJvpgP1DtZ7fyPig4jJ9dxtJTNJMhAVbyrJUmgi3AIqBmRMyGQRowaxCLTL5UX0JFFOEicrUneRaCYIZpa4MMFIK3FviDR15PT+fRzv1CHWVCfR6SB+PMVmbbmH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20, 20], - symbolOffset: ["1%", 0], - itemStyle: { - color: "#FFF", - shadowColor: "#00E4BB53", - shadowBlur: 5, - borderWidth: 1, - opacity: 1, - }, - z: 2, - zlevel: 10, - left: 10, - data: data1, - animationDelay: 500, - tooltip: { - show: false, - }, - }, + // { + // name: "", + // type: "scatter", + // emphasis: { + // scale: false, + // }, + // symbol: + // "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAACCpJREFUSEuFl+uPXVUZxn/rus9lru200zt2SrEJjQSlDWAipv2AGtQYouGDJhpDofgnmNhTv/pFjAItaGL8QtRojCbEaJXEBKUU4YNtKNCW0tqm6XRmembOZe91M2vP9AKWspJ9zsneZ69nvc9a7/M+r+BjRkpJ3HcYfRHGo2BaSFaX0DJgiAgnqbSkKyLdpmL2vW9zKQEizytE/nnLUT//4EiCBEnA3R3MwnpmnGZrCpj8PwWE/HFthGs3l28k6JM4r5ucu/Qt+jcji5sW8n/AnU6SnQOw5hlmMGyXAusDSMEVZZgLA+baLYbvnaWfgTasRzvPWDKMkdiYJGMikWJkkAQn557gnOgg6JBSyiQss1ADZzqFyN9wEMTTz7JTSrZiQQbmUuTdEcu8n0fE9vI7Nw/ZI7EJdI/Ugwk822NktRBElTiz/yLHOwdI+c1r4CuTLNPbOYj42SbuiYktIhGs4h0rOVtVSOeRl5cQq5ori+0jmARR5jdhboIwnVk/TbJ3EKvIHZXnziTRInJu9iJvpgP1DtZ7fyPig4jJ9dxtJTNJMhAVbyrJUmgi3AIqBmRMyGQRowaxCLTL5UX0JFFOEicrUneRaCYIZpa4MMFIK3FviDR15PT+fRzv1CHWVCfR6SB+PMVmbbmHQBwWvDrm6FUaFTwy9FAtjYoRWShU0ojBCtfCk5pA2SDIAVG3CL1A0J5gNDEa2t6xG4GSieNPXeRMpyNiDTz9I1p+nAcQtIXjrcYU75eXUe0W2vVQzqOjQkWJKgpkf4BsKMQQaGTQSGgZkoyEqsSbS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5//yivNsCFLB6BSmcF6+GGAVesxl1awK9u8lkhaBM4Jvh1smsW2BsFVgx5bcOQq+cL1JxGjQiMddggMKbA6IjOkpl1m4DIimkUyRuCKAlZMn2gUi1c2cdJg8+SOXsVn2lOkt0kelce50hdJFYf5pNCcJeILLQLjg5mUXU+N9DNCu0HmGjQVi6DpoQka3UFaJLIVyI4h897WvZwExrfN/hcHtst/ELJbi2ZsIqTF74rTtZlkZ9g11j2RoXJZdEqzrlJpJ9HtRpo36/rsra5SkXksAG2QolAwpDKXJ2yGVipUKbE99qErNHmMrHazOYU2aEC/anAP098TywtAydY+0tmYuBuPEFFXsvuI9udXB6DQo0EZDciGxKFRqTqhvcSGTRfitiPBHWTEega2saxW0p0EXlj30XOdzorFqg2eyvWR0pmVGIoh/xbFvSy9bnkkBNdVBxFpuEN63NNTUSDtNQjZv+1oIhrFDG7jwxqHfcKuWx9Lj3Bfz5k9mqvmS2oWHPN7EW8Dbxrm5x9r42YHiKDQ8beitkrVjx7m8QcyDZJzRFVjyTHSLHNHQPYJhNaWM7Nvs+bdERcduw3m70Vv5n919Mb2Slha16OZNnezpbMbfLI2EVcWA8bgAvZV68oirVEzsLSeiZF4M6oWK0FEcOZ/Wc5nunNgB8Avq5GKYk6jg5i/SY2x8j2AK1cRFAsisR5EouqSzfr7rvAJwLNpRbNKFiVPKukYVU29AJcI/H2uX2crluaD7UzHzDn9V5f854J1v2KVnBsUoHNSJoh1hzlKa53JnVLc5OOCoFPklNrRzlz4gSe2shnh5Wbhhu91C16pxudxfJ8y/RMHWKdiqxOijEH41aiM6CI+NwvaZiViUsTk3RPfENUWR9WTsEtG7f/ARqeIzUaHVUWAAAAAElFTkSuQmCC", + // symbolSize: [20, 20], + // symbolOffset: ["1%", 0], + // itemStyle: { + // color: "#FFF", + // shadowColor: "#00E4BB53", + // shadowBlur: 5, + // borderWidth: 1, + // opacity: 1, + // }, + // z: 2, + // zlevel: 10, + // left: 10, + // data: data1, + // animationDelay: 500, + // tooltip: { + // show: false, + // }, + // }, { name: "拥挤度", type: "bar", @@ -351,32 +351,32 @@ let options = { }, data: data2, }, - { - name: "", - type: "scatter", - emphasis: { - scale: false, - }, - symbol: - "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAACCpJREFUSEuFl+uPXVUZxn/rus9lru200zt2SrEJjQSlDWAipv2AGtQYouGDJhpDofgnmNhTv/pFjAItaGL8QtRojCbEaJXEBKUU4YNtKNCW0tqm6XRmembOZe91M2vP9AKWspJ9zsneZ69nvc9a7/M+r+BjRkpJ3HcYfRHGo2BaSFaX0DJgiAgnqbSkKyLdpmL2vW9zKQEizytE/nnLUT//4EiCBEnA3R3MwnpmnGZrCpj8PwWE/HFthGs3l28k6JM4r5ucu/Qt+jcji5sW8n/AnU6SnQOw5hlmMGyXAusDSMEVZZgLA+baLYbvnaWfgTasRzvPWDKMkdiYJGMikWJkkAQn557gnOgg6JBSyiQss1ADZzqFyN9wEMTTz7JTSrZiQQbmUuTdEcu8n0fE9vI7Nw/ZI7EJdI/Ugwk822NktRBElTiz/yLHOwdI+c1r4CuTLNPbOYj42SbuiYktIhGs4h0rOVtVSOeRl5cQq5ori+0jmARR5jdhboIwnVk/TbJ3EKvIHZXnziTRInJu9iJvpgP1DtZ7fyPig4jJ9dxtJTNJMhAVbyrJUmgi3AIqBmRMyGQRowaxCLTL5UX0JFFOEicrUneRaCYIZpa4MMFIK3FviDR15PT+fRzv1CHWVCfR6SB+PMVmbbmHQBwWvDrm6FUaFTwy9FAtjYoRWShU0ojBCtfCk5pA2SDIAVG3CL1A0J5gNDEa2t6xG4GSieNPXeRMpyNiDTz9I1p+nAcQtIXjrcYU75eXUe0W2vVQzqOjQkWJKgpkf4BsKMQQaGTQSGgZkoyEqsSbSXxvjmA24ovzhDjOljKyQwbcFsFfju3DC1ISU7/gruTYIRVzxSLHygLlNco7dENggkVHgRoBM4zI5FBJIawF54j5EMlEqIE1XoMzFt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UyRuCKAlZMn2gUi1c2cdJg8+SOXsVn2lOkt0kelce50hdJFYf5pNCcJeILLQLjg5mUXU+N9DNCu0HmGjQVi6DpoQka3UFaJLIVyI4h897WvZwExrfN/hcHtst/ELJbi2ZsIqTF74rTtZlkZ9g11j2RoXJZdEqzrlJpJ9HtRpo36/rsra5SkXksAG2QolAwpDKXJ2yGVipUKbE99qErNHmMrHazOYU2aEC/anAP098TywtAydY+0tmYuBuPEFFXsvuI9udXB6DQo0EZDciGxKFRqTqhvcSGTRfitiPBHWTEega2saxW0p0EXlj30XOdzorFqg2eyvWR0pmVGIoh/xbFvSy9bnkkBNdVBxFpuEN63NNTUSDtNQjZv+1oIhrFDG7jwxqHfcKuWx9Lj3Bfz5k9mqvmS2oWHPN7EW8Dbxrm5x9r42YHiKDQ8beitkrVjx7m8QcyDZJzRFVjyTHSLHNHQPYJhNaWM7Nvs+bdERcduw3m70Vv5n919Mb2Slha16OZNnezpbMbfLI2EVcWA8bgAvZV68oirVEzsLSeiZF4M6oWK0FEcOZ/Wc5nunNgB8Avq5GKYk6jg5i/SY2x8j2AK1cRFAsisR5EouqSzfr7rvAJwLNpRbNKFiVPKukYVU29AJcI/H2uX2crluaD7UzHzDn9V5f854J1v2KVnBsUoHNSJoh1hzlKa53JnVLc5OOCoFPklNrRzlz4gSe2shnh5Wbhhu91C16pxudxfJ8y/RMHWKdiqxOijEH41aiM6CI+NwvaZiViUsTk3RPfENUWR9WTsEtG7f/ARqeIzUaHVUWAAAAAElFTkSuQmCC", - symbolSize: [20, 20], - symbolOffset: ["110%", 0], - itemStyle: { - color: "#FCBE39", - shadowColor: "#FCBE3953", - shadowBlur: 5, - borderWidth: 1, - opacity: 1, - }, - z: 1, - zlevel: 10, - left: "-100%", - data: data2, - animationDelay: 100, - tooltip: { - show: false, - }, - }, + // { + // name: "", + // type: "scatter", + // emphasis: { + // scale: false, + // }, + // symbol: + // "image://data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAA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XJZdEqzrlJpJ9HtRpo36/rsra5SkXksAG2QolAwpDKXJ2yGVipUKbE99qErNHmMrHazOYU2aEC/anAP098TywtAydY+0tmYuBuPEFFXsvuI9udXB6DQo0EZDciGxKFRqTqhvcSGTRfitiPBHWTEega2saxW0p0EXlj30XOdzorFqg2eyvWR0pmVGIoh/xbFvSy9bnkkBNdVBxFpuEN63NNTUSDtNQjZv+1oIhrFDG7jwxqHfcKuWx9Lj3Bfz5k9mqvmS2oWHPN7EW8Dbxrm5x9r42YHiKDQ8beitkrVjx7m8QcyDZJzRFVjyTHSLHNHQPYJhNaWM7Nvs+bdERcduw3m70Vv5n919Mb2Slha16OZNnezpbMbfLI2EVcWA8bgAvZV68oirVEzsLSeiZF4M6oWK0FEcOZ/Wc5nunNgB8Avq5GKYk6jg5i/SY2x8j2AK1cRFAsisR5EouqSzfr7rvAJwLNpRbNKFiVPKukYVU29AJcI/H2uX2crluaD7UzHzDn9V5f854J1v2KVnBsUoHNSJoh1hzlKa53JnVLc5OOCoFPklNrRzlz4gSe2shnh5Wbhhu91C16pxudxfJ8y/RMHWKdiqxOijEH41aiM6CI+NwvaZiViUsTk3RPfENUWR9WTsEtG7f/ARqeIzUaHVUWAAAAAElFTkSuQmCC", + // symbolSize: [20, 20], + // symbolOffset: ["110%", 0], + // itemStyle: { + // color: "#FCBE39", + // shadowColor: "#FCBE3953", + // shadowBlur: 5, + // borderWidth: 1, + // opacity: 1, + // }, + // z: 1, + // zlevel: 10, + // left: "-100%", + // data: data2, + // animationDelay: 100, + // tooltip: { + // show: false, + // }, + // }, ], }; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue index b1ae798c..aec8da58 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/AddNEditDialog.vue @@ -216,6 +216,7 @@ export default { this.formList[0].options.disabled = true; } else { this.formData = null; + this.formList[0].options.disabled = false; } }, immediate: true, @@ -230,19 +231,24 @@ export default { // } this.$refs.FormConfigRef.validate().then((data) => { this.submitting = true; - let params = { - ...this.formData, - id: this.data.id, - publishChannels: publishChannels.toString(), - }; - if (this.data.id) { + + if (this.data && this.data.id) { + let params = { + ...this.formData, + id: this.data.id, + publishChannels: this.formData.publishChannels.toString(), + }; editChannels(params).then((res) => { this.modelVisible = false; this.submitting = false; this.$parent.handleSearch(); }); } else { - addChannels(this.formData).then((res) => { + let params = { + ...this.formData, + publishChannels: this.formData.publishChannels.toString(), + }; + addChannels(params).then((res) => { this.modelVisible = false; this.submitting = false; this.$parent.handleSearch();