Browse Source

提交

wangqin
Joe 10 months ago
parent
commit
c2c094e176
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue
  2. 1
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js

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

@ -97,6 +97,9 @@ export default {
// },
],
}
},
watch: {
},
async created() {
this.data = { ...this.dialogData, organizationName: null, roadName: null };
@ -109,6 +112,13 @@ export default {
const roadInfo = await getRoadInfoByStakeMark(this.dialogData.stakeMark);
if (roadInfo) this.data.roadName = roadInfo.roadName;
},
methods: {
visibleClose(bool) {
if (bool) return;
this.controlDialogVisible = false;
}
}
}
</script>

1
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/mixin.js

@ -25,6 +25,7 @@ export const dialogDelayVisible = {
computed: {
obverseVisible: {
set(bool) {
this.visibleClose?.(bool);
setTimeout(() => {
this.$emit("change", bool);
}, 180);

Loading…
Cancel
Save