|
|
@@ -55,7 +55,7 @@ import { handlerManagerList } from '@/common/setup/user';
|
|
|
import { getLoginStatusEnumItemName } from '@/common/constants/enumsName';
|
|
|
import { ErmcpLoginUserEx } from '@/services/go/ermcp/account/interface';
|
|
|
import { getUserName } from '@/services/bus/user';
|
|
|
-import { _handleTableList } from '../setup';
|
|
|
+import { handleTableList } from '../setup';
|
|
|
import { ref } from 'vue';
|
|
|
import { handleModalComponent } from '@/common/setup/asyncComponent';
|
|
|
import { getTableButton } from '@/common/setup/table/button';
|
|
|
@@ -71,8 +71,8 @@ export default defineComponent({
|
|
|
account_spot_add: defineAsyncComponent(() => import('../../compoments/add-business/index.vue')),
|
|
|
account_spot_resetpwd: defineAsyncComponent(() => import('../../compoments/reset-business/index.vue')),
|
|
|
account_spot_locked: defineAsyncComponent(() => import('../../compoments/locked-business/index.vue')),
|
|
|
+ account_spot_unlocked: defineAsyncComponent(() => import('../../compoments/unlocked-business/index.vue')),
|
|
|
account_spot_cancel: defineAsyncComponent(() => import('../../compoments/cancel-business/index.vue')),
|
|
|
- account_info_business_btn_unlocked: defineAsyncComponent(() => import('../../compoments/unlocked-business/index.vue')),
|
|
|
},
|
|
|
setup() {
|
|
|
// 加载状态
|
|
|
@@ -80,11 +80,11 @@ export default defineComponent({
|
|
|
const { tableList, queryTable } = handlerManagerList(loading, 1);
|
|
|
|
|
|
const firstBtn = getTableButton(['account_spot_add']);
|
|
|
- const secondBtn = getTableButton(['account_spot_modify', 'account_spot_resetpwd', 'account_spot_locked', 'account_spot_cancel', 'detail']);
|
|
|
+ const secondBtn = getTableButton(['account_spot_add'], true);
|
|
|
|
|
|
// 处理根据状态显示对应按钮
|
|
|
function handleBtnAction() {
|
|
|
- _handleTableList(queryTable, tableList, secondBtn);
|
|
|
+ handleTableList(queryTable, tableList, secondBtn);
|
|
|
}
|
|
|
|
|
|
// 弹窗选中的数据
|