微调
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
import {
|
||||
getRoleList,
|
||||
deleteRole,
|
||||
} from '@/api/role/role'
|
||||
} from '@/api/user/role/index'
|
||||
import { deleteUser } from '@/api/user/user'
|
||||
const dialogVisible = ref(false)
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@
|
||||
<script setup lang='tsx'>
|
||||
import { Delete, View ,Upload,Download} from '@element-plus/icons-vue'
|
||||
import { reactive,ref } from 'vue'
|
||||
import type { Device } from '@/api/device/interface'
|
||||
import type { Device } from '@/api/device/interface/device.ts'
|
||||
import ProTable from '@/components/ProTable/index.vue'
|
||||
import { type ProTableInstance, type ColumnProps } from '@/components/ProTable/interface'
|
||||
import deviceDataList from '@/api/device/deviceData'
|
||||
import deviceDataList from '@/api/device/device/deviceData.ts'
|
||||
import DeviceSelectOpen from '@/views/plan/planList/components/devSelectPopup.vue'
|
||||
import { useViewSize } from '@/hooks/useViewSize'
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang='tsx' name='useRole'>
|
||||
import { Device } from '@/api/device/interface'
|
||||
import { Device } from '@/api/device/interface/device.ts';
|
||||
import { useHandleData } from '@/hooks/useHandleData'
|
||||
import { useDownload } from '@/hooks/useDownload'
|
||||
import { useAuthButtons } from '@/hooks/useAuthButtons'
|
||||
@@ -34,11 +34,11 @@
|
||||
import { ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
|
||||
|
||||
import { CirclePlus, Delete, EditPen, Share, Download, Upload, View, Refresh } from '@element-plus/icons-vue'
|
||||
import deviceDataList from '@/api/device/deviceData'
|
||||
import deviceDataList from '@/api/device/device/deviceData'
|
||||
import { useDictStore } from '@/stores/modules/dict'
|
||||
import {
|
||||
getPqDevList,
|
||||
} from '@/api/device/device'
|
||||
} from '@/api/device/device/index.ts'
|
||||
|
||||
const dictStore = useDictStore()
|
||||
|
||||
|
||||
@@ -37,10 +37,10 @@
|
||||
<script setup lang='tsx'>
|
||||
import { Delete, View ,Upload,Download} from '@element-plus/icons-vue'
|
||||
import { reactive,ref } from 'vue'
|
||||
import type { TestSource } from '@/api/testSource/interface'
|
||||
import type { TestSource } from '@/api/device/interface/testSource'
|
||||
import ProTable from '@/components/ProTable/index.vue'
|
||||
import { type ProTableInstance, type ColumnProps } from '@/components/ProTable/interface'
|
||||
import sourceDataList from '@/api/testSource/testSourceData'
|
||||
import sourceDataList from '@/api/device/testSource/testSourceData'
|
||||
import SourceSelectOpen from '@/views/plan/planList/components/sourceSelectPopup.vue'
|
||||
import { useDictStore } from '@/stores/modules/dict'
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang='tsx' name='useRole'>
|
||||
import { TestSource } from '@/api/testSource/interface'
|
||||
import { TestSource } from '@/api/device/interface/testSource'
|
||||
import { useHandleData } from '@/hooks/useHandleData'
|
||||
import { useDownload } from '@/hooks/useDownload'
|
||||
import { useAuthButtons } from '@/hooks/useAuthButtons'
|
||||
@@ -34,11 +34,11 @@
|
||||
import { ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
|
||||
|
||||
import { CirclePlus, Delete, EditPen, Share, Download, Upload, View, Refresh } from '@element-plus/icons-vue'
|
||||
import testSourceDataList from '@/api/testSource/testSourceData'
|
||||
import testSourceDataList from '@/api/device/testSource/testSourceData'
|
||||
import { useDictStore } from '@/stores/modules/dict'
|
||||
import {
|
||||
getTestSourceList,
|
||||
} from '@/api/testSource/testSource'
|
||||
} from '@/api/device/testSource/index'
|
||||
|
||||
const dictStore = useDictStore()
|
||||
const dialogVisible = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user