diff --git a/.env.development b/.env.development index fbcc74b..b8ccd8b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -VITE_API_URL=http://127.0.0.1:9200/api +#VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index 4ef9e12..3817ff1 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -282,3 +282,17 @@ export async function listAdminsByPhoneAll(params?: UserParam){ } return Promise.reject(new Error(res.data.message)); } + +/** + * 导出用户列表 + */ +export async function exportUsers(params?: UserParam) { + const res = await request.get( + SERVER_API_URL + '/system/user/export', + { + params, + responseType: 'blob' + } + ); + return res.data; +} diff --git a/src/views/sdy/shopDealerApply/index.vue b/src/views/sdy/shopDealerApply/index.vue index d40d07e..0935dfc 100644 --- a/src/views/sdy/shopDealerApply/index.vue +++ b/src/views/sdy/shopDealerApply/index.vue @@ -165,6 +165,15 @@ const columns = ref([ key: 'comments', align: 'left' }, + { + title: '收益基数', + dataIndex: 'rate', + key: 'rate', + align: 'left', + customRender: () => { + return `0.007`; + } + }, { title: '报备人信息', key: 'applicantInfo', diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 97e3f1f..7eab860 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -54,18 +54,21 @@ 批量删除 - - - 导入 - + @@ -149,7 +152,7 @@