Browse Source

更新

wangqin
hui 7 months ago
parent
commit
284dc303e2
  1. 13
      ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue

13
ruoyi-ui/src/views/JiHeExpressway/pages/service/board/index.vue

@ -335,13 +335,13 @@ export default {
// }
},
created() {
this.____resetForm();
Promise.all([
this.____initDirection(),
this.____getBoardPixel(),
this.____getTemplateCategory(),
this.____getAllTemplate(),
]).then((res) => {
this.____resetForm();
this.____getIotBoard();
});
},
@ -421,7 +421,6 @@ export default {
____initDirection() {
return this.getDicts("iot_board_direction").then((res) => {
this.boardDirectionList = res.data;
this.form.selectedDirection = res.data[0].dictValue;
});
},
//
@ -434,15 +433,15 @@ export default {
},
____resetForm() {
this.form = {
selectedDirection: "",
selectedDirection: this.boardDirectionList[0].dictValue,
status: ["0", "1"],
stakeFrom: initSearch.startStakeMark,
stakeTo: initSearch.endStakeMark
stakeFrom: [+initSearch.startStakeMark[0], +initSearch.startStakeMark[1]],
stakeTo: [+initSearch.endStakeMark[0], +initSearch.endStakeMark[1]],
}
},
____onResetSearchDevice() {
this.____resetForm();
this.____initDirection();
// this.____initDirection();
this.____getIotBoard();
},
//
@ -493,7 +492,7 @@ export default {
if (!this.selectedSize) {
this.selectedSize = item.otherConfig.screenSize;
}
console.log(item, item.otherConfig.screenSize)
// console.log(item, item.otherConfig.screenSize)
// if (!this.selectedDevices.deviceName) {
// this.selectedDevices = item;
// }

Loading…
Cancel
Save