Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
zhangzhang 8 months ago
parent
commit
682f492e1b
  1. BIN
      ruoyi-ui/src/assets/images/no_img.png
  2. 5
      ruoyi-ui/src/assets/styles/JiHeExpressway.scss
  3. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue
  4. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/data.js
  5. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/index.vue

BIN
ruoyi-ui/src/assets/images/no_img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

5
ruoyi-ui/src/assets/styles/JiHeExpressway.scss

@ -286,5 +286,10 @@
// background-color: #000 !important; // background-color: #000 !important;
} }
} }
.el-image__placeholder{
background-color: #133242;
background-image: url("~@/assets/images/no_img.png");
background-size: contain;
}
} }

5
ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/statisticalAnalysis/index.vue

@ -290,8 +290,7 @@ export default {
initDevice() { initDevice() {
//线线 //线线
getSystemStatusType().then((res) => { if (process.env.NODE_ENV == "development") {
if (IS_TESTING && (!res.data || res.msg == "暂无数据")) {
this.equipments = []; this.equipments = [];
this.equipSeries.forEach((item) => { this.equipSeries.forEach((item) => {
this.equipments.push({ this.equipments.push({
@ -305,6 +304,8 @@ export default {
}); });
return; return;
} }
getSystemStatusType().then((res) => {
let allList = []; let allList = [];
let sort = res.data["排序规则"].rule.split(","); let sort = res.data["排序规则"].rule.split(",");
sort.forEach((i) => { sort.forEach((i) => {

4
ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/data.js

@ -14,11 +14,11 @@ export const searchFormList = [
valueFormat: "yyyy-MM-dd HH:mm:ss", valueFormat: "yyyy-MM-dd HH:mm:ss",
}, },
}, },
PresetFormItems.directionCreater("CheckboxGroup"), PresetFormItems.directionCreater("RadioGroup"),
{ {
label: "发布状态:", label: "发布状态:",
key: "releaseStatus", key: "releaseStatus",
type: "checkboxGroup", type: "RadioGroup",
default: [], default: [],
options: { options: {
options: [ options: [

6
ruoyi-ui/src/views/JiHeExpressway/pages/service/boardRecord/index.vue

@ -17,14 +17,13 @@
<InputSearch <InputSearch
ref="searchComp" ref="searchComp"
style="width: 402px" style="width: 480px"
:formList="searchFormList" :formList="searchFormList"
:formConfigOptions="{ dFormData: { eventState: '0' } }" :formConfigOptions="{ dFormData: { eventState: '0' } }"
@handleSearch="handleSearch" @handleSearch="handleSearch"
/> />
</div> </div>
<!-- 内容 --> <!-- 内容 -->
<div class="body"> <div class="body">
<Table :data="tableData" height="100%"> <Table :data="tableData" height="100%">
@ -139,6 +138,7 @@ export default {
...this.searchData, ...this.searchData,
// releaseContent: data.releaseContent || "", // releaseContent: data.releaseContent || "",
direction: data.direction || "", direction: data.direction || "",
releaseStatus: data.releaseStatus,
startTime, startTime,
endTime, endTime,
// stakeMark: stakeMark, // stakeMark: stakeMark,
@ -153,7 +153,7 @@ export default {
return DirectionTypes[row.direction]; return DirectionTypes[row.direction];
}, },
formatterStatus(row, column) { formatterStatus(row, column) {
return ["","成功"][row.releaseStatus]; return ["失败", "成功"][row.releaseStatus];
}, },
initData() { initData() {
request({ request({

Loading…
Cancel
Save