|
@@ -7,6 +7,7 @@
|
|
|
size="small"
|
|
|
style="position: absolute; left: 15px; top: -66px; color: var(--vent-font-color)"
|
|
|
@click="getBack"
|
|
|
+ v-if="hasPermission('deviceWarn:return')"
|
|
|
>返回</a-button
|
|
|
>
|
|
|
<div class="content">
|
|
@@ -70,6 +71,7 @@
|
|
|
import { getAutoScrollContainer } from '/@/utils/common/compUtils';
|
|
|
import { useRouter } from 'vue-router';
|
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
|
+ import { usePermission } from '/@/hooks/web/usePermission';
|
|
|
|
|
|
const props = defineProps({
|
|
|
formConfig: {
|
|
@@ -78,6 +80,7 @@
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+ const { hasPermission } = usePermission();
|
|
|
let router = useRouter();
|
|
|
let activeIndex = ref(0);
|
|
|
let devicekindType = ref('modelsensor');
|