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