From 68601357160da2687ddd84459727c507b9117683 Mon Sep 17 00:00:00 2001 From: hui <770260999@qq.com> Date: Tue, 9 Apr 2024 15:21:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E6=83=85=E6=8A=A5=E6=9D=BF=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/assets/images/no_img.png | Bin 0 -> 10485 bytes ruoyi-ui/src/assets/styles/JiHeExpressway.scss | 5 +++++ .../statisticalAnalysis/index.vue | 5 +++-- .../pages/service/boardRecord/data.js | 4 ++-- .../pages/service/boardRecord/index.vue | 6 +++--- 5 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 ruoyi-ui/src/assets/images/no_img.png diff --git a/ruoyi-ui/src/assets/images/no_img.png b/ruoyi-ui/src/assets/images/no_img.png new file mode 100644 index 0000000000000000000000000000000000000000..34ab887dadc2b81146a60b60c4219db9c2470c00 GIT binary patch literal 10485 zcmeHtc{r4N`}p8QrBug>$`PTYjC~zj9ig!nl`S&H*v&A;3|UX4vSx_NRynAIv4t6X zBuggQ#xj(BnMR0-VSGQ%d(OGO%lm$R@AY24-ygs0dR;v8%;&j3_kDlv{k|XfE}0wc z-+OE?1OnL)zj(nC0^!C(AY5y^dBMuozQ!8xvB&qKtv>|9FSzr^1$mrt1OnkDdR(!= z*_fHakQg61gbT(QB^T)93!otoZM{HW1kwwI6L&_rd7yP97Af@-;vOzK64t6_3TD3g zD0h#GH?b(Io90)LH@%RWE)sgW;@W{QfWQZZLx>0Zc%%JcfjSbuT-%uq=JHixVomCCK8EMaY1P+%Ze*0C@IM+D9bCVKowPB z3hFQ=CGkIgBmhCIi!03Xg5e+Jz&9NUcO1?aCNEDQ5abBTau}?eyrQP2ro4iZypj?W zKtTP2&^SaO6zwnhCx#0seyE);{M|AC0QFyw{|f;i zT{E-4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JiHeExpressway.scss +++ b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss @@ -286,5 +286,10 @@ // background-color: #000 !important; } } + .el-image__placeholder{ + background-color: #133242; + background-image: url("~@/assets/images/no_img.png"); + background-size: contain; + } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue index 10c4a6f9..267fb5f4 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue @@ -290,8 +290,7 @@ export default { initDevice() { //设备在线离线率接口 - getSystemStatusType().then((res) => { - if (IS_TESTING && (!res.data || res.msg == "暂无数据")) { + if (process.env.NODE_ENV == "development") { this.equipments = []; this.equipSeries.forEach((item) => { this.equipments.push({ @@ -305,6 +304,8 @@ export default { }); return; } + + getSystemStatusType().then((res) => { let allList = []; let sort = res.data["排序规则"].rule.split(","); sort.forEach((i) => { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/data.js index b28328d2..10913a15 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/data.js @@ -14,11 +14,11 @@ export const searchFormList = [ valueFormat: "yyyy-MM-dd HH:mm:ss", }, }, - PresetFormItems.directionCreater("CheckboxGroup"), + PresetFormItems.directionCreater("RadioGroup"), { label: "发布状态:", key: "releaseStatus", - type: "checkboxGroup", + type: "RadioGroup", default: [], options: { options: [ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/index.vue index 5817c53e..d9f8f51e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/index.vue @@ -17,14 +17,13 @@ -
@@ -139,6 +138,7 @@ export default { ...this.searchData, // releaseContent: data.releaseContent || "", direction: data.direction || "", + releaseStatus: data.releaseStatus, startTime, endTime, // stakeMark: stakeMark, @@ -153,7 +153,7 @@ export default { return DirectionTypes[row.direction]; }, formatterStatus(row, column) { - return ["","成功"][row.releaseStatus]; + return ["失败", "成功"][row.releaseStatus]; }, initData() { request({