|
@@ -105,12 +105,13 @@ import type { Ref } from 'vue'
|
|
import { reactive, ref, onMounted } from 'vue'
|
|
import { reactive, ref, onMounted } from 'vue'
|
|
import type { FormInstance, FormRules } from 'element-plus'
|
|
import type { FormInstance, FormRules } from 'element-plus'
|
|
import { ElMessage } from 'element-plus'
|
|
import { ElMessage } from 'element-plus'
|
|
|
|
+import router from '@/router'
|
|
// 接口
|
|
// 接口
|
|
import { AdminStore } from '@common/src/stores/users/admin' //管理员
|
|
import { AdminStore } from '@common/src/stores/users/admin' //管理员
|
|
import { UnitStore } from '@common/src/stores/users/unit' //依托单位
|
|
import { UnitStore } from '@common/src/stores/users/unit' //依托单位
|
|
import { UsersStore } from '@common/src/stores/users/users' //个人
|
|
import { UsersStore } from '@common/src/stores/users/users' //个人
|
|
import type { IQueryResult } from '@/util/types.util'
|
|
import type { IQueryResult } from '@/util/types.util'
|
|
-import router from '@/router'
|
|
|
|
|
|
+
|
|
const adminAxios = AdminStore()
|
|
const adminAxios = AdminStore()
|
|
const unitAxios = UnitStore()
|
|
const unitAxios = UnitStore()
|
|
const usersAxios = UsersStore()
|
|
const usersAxios = UsersStore()
|