Browse Source

连点事件

wangqin
王钦 7 months ago
parent
commit
69b4dd3f04
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue
  2. 23
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue

10
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFilter/index.vue

@ -110,7 +110,8 @@ export default {
this.formList[2].options.options = options;
},
immediate: true,
deep: true
deep: true,
isButtonClick: false
}
},
methods: {
@ -126,6 +127,13 @@ export default {
this.$parent.$refs.RoadAndEventsRef?.setFilterDataNoAction?.(data);
},
async handleResetForm() {
if(this.isButtonClick){return}
this.isButtonClick = true;
setTimeout(() => {
this.isButtonClick = false;
}, 500);
this.$refs.FormConfigRef?.reset();
this.activeIcon = "filter";
this.filterEnd(initSearch);

23
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue

@ -2,10 +2,15 @@
<div class="HomeFrameControl">
<ElPopover trigger="manual" :value="activeIcon === 'FrameControl'" :visibleArrow="false" placement="left"
popper-class="global-input-search-popover" @hide="onHide()">
<Button :class="['btn', { 'btn-active': activeIcon }]" slot="reference"
<el-tooltip slot="reference" effect="light" content="批量控制" placement="left">
<Button :class="['btn', { 'btn-active': activeIcon }]"
@click.native="handleClick('FrameControl')">
<img src="@screen/images/home-FrameControl/FrameControl.svg" />
</Button>
</el-tooltip>
<el-tabs v-model="tabAction" @tab-click="tabClick">
<el-tab-pane label="批量管控" name="1">{{ }}</el-tab-pane>
<el-tab-pane label="定时管控" name="2"></el-tab-pane>
@ -322,22 +327,6 @@ export default {
return true;
},
},
// {
// label: ":",
// key: "controlOp",
// type: "select",
// default: null,
// options: {
// clearable: true,
// options: [{
// label: "线",
// value: "1"
// }, {
// label: "线",
// value: "0"
// }]
// },
// },
],
DeviceTopics,
componentMap,

Loading…
Cancel
Save