Browse Source

批量控制

wangqin
王钦 7 months ago
parent
commit
da843c8c1b
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue

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

@ -1,7 +1,7 @@
<template> <template>
<div class="HomeFrameControl"> <div class="HomeFrameControl">
<ElPopover trigger="manual" :value="activeIcon === 'FrameControl'" :visibleArrow="false" placement="left" <ElPopover trigger="manual" :value="activeIcon === 'FrameControl'" :visibleArrow="false" placement="left"
popper-class="global-input-search-popover"> popper-class="global-input-search-popover" @hide="onHide()">
<Button :class="['btn', { 'btn-active': activeIcon }]" slot="reference" <Button :class="['btn', { 'btn-active': activeIcon }]" slot="reference"
@click.native="handleClick('FrameControl')"> @click.native="handleClick('FrameControl')">
<img src="@screen/images/home-FrameControl/FrameControl.svg" /> <img src="@screen/images/home-FrameControl/FrameControl.svg" />
@ -418,6 +418,10 @@ export default {
changeHandle(this.data, this.formList); changeHandle(this.data, this.formList);
}, },
methods: { methods: {
onHide(){
this.data['deviceType']=deviceTypeDefault;
changeHandle(this.data, this.formList);
},
submitClick() { submitClick() {
this.$refs.ControlComponent?.handleSubmit(); this.$refs.ControlComponent?.handleSubmit();
}, },

Loading…
Cancel
Save