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

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

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

Loading…
Cancel
Save