|
@@ -110,7 +110,7 @@
|
|
|
type="primary"
|
|
|
plain
|
|
|
@click="openForm('create', undefined, queryParams.deptId)"
|
|
|
- v-hasPermi="['rq:iot-device:create']"
|
|
|
+ v-hasPermi="['pms:iot-device-person-log:create']"
|
|
|
>
|
|
|
<Icon icon="ep:plus" class="mr-5px" /> {{ t('devicePerson.setUp') }}
|
|
|
</el-button>
|
|
@@ -180,7 +180,6 @@
|
|
|
import download from '@/utils/download'
|
|
|
import { IotDeviceApi, IotDeviceVO } from '@/api/pms/device'
|
|
|
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
|
|
|
-import { dateFormatter } from '@/utils/formatTime'
|
|
|
import DeptTree from '@/views/system/user/DeptTree.vue'
|
|
|
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
|
|
|
import DevicePersonLogDrawer from "@/views/pms/device/personlog/DevicePersonLogDrawer.vue";
|