mirror of
https://gitcode.com/yangzongzhuan/RuoYi-Vue3.git
synced 2026-05-22 19:08:37 +00:00
消除ts告警提示
This commit is contained in:
@@ -239,7 +239,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="Job">
|
||||
import JobDetail from './detail'
|
||||
import JobDetail from './detail.vue'
|
||||
import Crontab from '@/components/Crontab/index.vue'
|
||||
import { listJob, getJob, delJob, addJob, updateJob, runJob, changeJobStatus } from "@/api/monitor/job"
|
||||
import type { JobQueryParams, SysJob } from '@/types/api/monitor/job'
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="JobLog">
|
||||
import JobDetail from './detail'
|
||||
import JobDetail from './detail.vue'
|
||||
import { getJob } from "@/api/monitor/job"
|
||||
import { listJobLog, delJobLog, cleanJobLog } from "@/api/monitor/jobLog"
|
||||
import type { SysJobLog, JobLogQueryParams } from '@/types/api/monitor/jobLog'
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="Operlog">
|
||||
import OperlogDetail from './detail'
|
||||
import OperlogDetail from './detail.vue'
|
||||
import { list, delOperlog, cleanOperlog } from "@/api/monitor/operlog"
|
||||
import type { SysOperLog, OperlogQueryParams } from '@/types/api/monitor/operlog'
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="Dict">
|
||||
import DictDataDrawer from './detail'
|
||||
import DictDataDrawer from './detail.vue'
|
||||
import useDictStore from '@/store/modules/dict'
|
||||
import { listType, getType, delType, addType, updateType, refreshCache } from "@/api/system/dict/type"
|
||||
import type { SysDictType, DictTypeQueryParams } from '@/types/api/system/dict'
|
||||
|
||||
@@ -184,11 +184,9 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="User">
|
||||
import { getToken } from "@/utils/auth"
|
||||
import useAppStore from '@/store/modules/app'
|
||||
import TreePanel from "@/components/TreePanel"
|
||||
import ExcelImportDialog from "@/components/ExcelImportDialog"
|
||||
import UserViewDrawer from "./view"
|
||||
import TreePanel from "@/components/TreePanel/index.vue"
|
||||
import ExcelImportDialog from "@/components/ExcelImportDialog/index.vue"
|
||||
import UserViewDrawer from "./view.vue"
|
||||
import { changeUserStatus, listUser, resetUserPwd, delUser, getUser, updateUser, addUser, deptTreeSelect } from "@/api/system/user"
|
||||
import type { SysUser, UserQueryParams, UserFormDataResult } from '@/types/api/system/user'
|
||||
import type { SysRole } from '@/types/api/system/role'
|
||||
@@ -196,7 +194,6 @@ import type { SysPost } from '@/types/api/system/post'
|
||||
import type { TreeSelect, TableShowColumns, AjaxResult } from '@/types/api/common'
|
||||
|
||||
const router = useRouter()
|
||||
const appStore = useAppStore()
|
||||
const { proxy } = getCurrentInstance()
|
||||
const { sys_normal_disable, sys_user_sex } = useDict("sys_normal_disable", "sys_user_sex")
|
||||
|
||||
|
||||
@@ -136,7 +136,6 @@ const loading = ref<boolean>(false)
|
||||
const info = reactive<SysUser>({})
|
||||
const postOptions = ref<SysPost[]>([])
|
||||
const roleOptions = ref<SysRole[]>([])
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
||||
const { sys_user_sex } = useDict("sys_user_sex")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user