调整BUG
This commit is contained in:
parent
8de01d7585
commit
87dae3ea27
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-select
|
<!-- <el-select
|
||||||
filterable
|
filterable
|
||||||
placeholder="请选择租户"
|
placeholder="请选择租户"
|
||||||
class="!w-180px"
|
class="!w-180px"
|
||||||
@ -9,7 +9,7 @@
|
|||||||
clearable
|
clearable
|
||||||
>
|
>
|
||||||
<el-option v-for="item in tenants" :key="item.id" :label="item.name" :value="item.id" />
|
<el-option v-for="item in tenants" :key="item.id" :label="item.name" :value="item.id" />
|
||||||
</el-select>
|
</el-select> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -49,9 +49,9 @@ const loginOut = async () => {
|
|||||||
const toProfile = async () => {
|
const toProfile = async () => {
|
||||||
push('/user/profile')
|
push('/user/profile')
|
||||||
}
|
}
|
||||||
const toDocument = () => {
|
// const toDocument = () => {
|
||||||
window.open('https://doc.iocoder.cn/')
|
// window.open('https://doc.iocoder.cn/')
|
||||||
}
|
// }
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -68,10 +68,10 @@ const toDocument = () => {
|
|||||||
<Icon icon="ep:tools" />
|
<Icon icon="ep:tools" />
|
||||||
<div @click="toProfile">{{ t('common.profile') }}</div>
|
<div @click="toProfile">{{ t('common.profile') }}</div>
|
||||||
</ElDropdownItem>
|
</ElDropdownItem>
|
||||||
<ElDropdownItem>
|
<!-- <ElDropdownItem>
|
||||||
<Icon icon="ep:menu" />
|
<Icon icon="ep:menu" />
|
||||||
<div @click="toDocument">{{ t('common.document') }}</div>
|
<div @click="toDocument">{{ t('common.document') }}</div>
|
||||||
</ElDropdownItem>
|
</ElDropdownItem> -->
|
||||||
<ElDropdownItem divided>
|
<ElDropdownItem divided>
|
||||||
<Icon icon="ep:lock" />
|
<Icon icon="ep:lock" />
|
||||||
<div @click="lockScreen">{{ t('lock.lockScreen') }}</div>
|
<div @click="lockScreen">{{ t('lock.lockScreen') }}</div>
|
||||||
|
@ -118,6 +118,7 @@ import { dateFormatter } from '@/utils/formatTime'
|
|||||||
import download from '@/utils/download'
|
import download from '@/utils/download'
|
||||||
import { ComboApi, ComboVO } from '@/api/combo'
|
import { ComboApi, ComboVO } from '@/api/combo'
|
||||||
import ComboForm from './ComboForm.vue'
|
import ComboForm from './ComboForm.vue'
|
||||||
|
import { getUserProfile } from '@/api/system/user/profile'
|
||||||
|
|
||||||
/** 会员套餐 列表 */
|
/** 会员套餐 列表 */
|
||||||
defineOptions({ name: 'Combo' })
|
defineOptions({ name: 'Combo' })
|
||||||
@ -147,6 +148,9 @@ const exportLoading = ref(false) // 导出的加载中
|
|||||||
const getList = async () => {
|
const getList = async () => {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
try {
|
try {
|
||||||
|
const userProfile = await getUserProfile()
|
||||||
|
queryParams.orgid = userProfile.dept.orgid
|
||||||
|
console.log(queryParams)
|
||||||
const data = await ComboApi.getComboPage(queryParams)
|
const data = await ComboApi.getComboPage(queryParams)
|
||||||
list.value = data.list
|
list.value = data.list
|
||||||
total.value = data.total
|
total.value = data.total
|
||||||
|
Loading…
Reference in New Issue
Block a user