Commit 31d6d5ab authored by dcy's avatar dcy

待审核会员列表

parent 2c16e9ee
...@@ -43,6 +43,13 @@ export function getUserPage(params) { ...@@ -43,6 +43,13 @@ export function getUserPage(params) {
params: params params: params
}) })
} }
export function getWaitApprovePage(params){
return request({
url:'/member/user/waitApprovePage',
method:'get',
params
})
}
// 导出用户 Excel // 导出用户 Excel
export function exportUserExcel(query) { export function exportUserExcel(query) {
......
...@@ -98,25 +98,20 @@ ...@@ -98,25 +98,20 @@
<script> <script>
import { import {
createUser,
updateUser,
deleteUser, deleteUser,
getUserPage,
exportUserExcel, exportUserExcel,
operationLogApi, operationLogApi,
seTupdateBackletter, seTupdateBackletter,
memberGetAuthIdcardInfo, memberGetAuthIdcardInfo,
memberGetAuthEnterpriseInfo, memberGetAuthEnterpriseInfo,
memberUserAuditIdCard, memberUserAuditIdCard,
memberUserUpdateIdCard, setUserUpdateStatus, userCreateAuditEnterprise, getWaitApprovePage
memberUserUpdateEnterprise, setUserUpdateStatus, userCreateAuditEnterprise, getWaitApprovePage
} from "@/api/member/user"; } from "@/api/member/user";
import {DICT_TYPE, getDictDatas} from "@/utils/dict"; import {DICT_TYPE, getDictDatas} from "@/utils/dict";
import FileUpload from "@/components/FileUpload" import FileUpload from "@/components/FileUpload"
import ImageUpload from "@/components/ImageUpload"; import ImageUpload from "@/components/ImageUpload";
import uploadImage from "@/components/UploadImage"; import uploadImage from "@/components/UploadImage";
import {CommonStatusEnum} from "@/utils/constants"; import {CommonStatusEnum} from "@/utils/constants";
import {changeUserStatus, listServiceUser, listSimpleUsers} from "@/api/system/user";
export default { export default {
name: "underReview", name: "underReview",
...@@ -148,8 +143,6 @@ export default { ...@@ -148,8 +143,6 @@ export default {
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
dateRangeLoginDate: [],
dateRangeCreateTime: [],
// 查询参数 // 查询参数
queryParams: { queryParams: {
page: 1, page: 1,
...@@ -188,7 +181,6 @@ export default { ...@@ -188,7 +181,6 @@ export default {
}, },
methods: { methods: {
deleteFn(row){ deleteFn(row){
console.log(row)
this.$modal.confirm(`${this.$t('是否要删除昵称为')}${row.nickname}${this.$t('的会员')}`).then(function (){ this.$modal.confirm(`${this.$t('是否要删除昵称为')}${row.nickname}${this.$t('的会员')}`).then(function (){
return deleteUser(row.id) return deleteUser(row.id)
}).then( res => { }).then( res => {
...@@ -226,8 +218,6 @@ export default { ...@@ -226,8 +218,6 @@ export default {
this.loading = true; this.loading = true;
// 处理查询参数 // 处理查询参数
let params = {...this.queryParams}; let params = {...this.queryParams};
this.addBeginAndEndTime(params, this.dateRangeLoginDate, 'loginDate');
this.addBeginAndEndTime(params, this.dateRangeCreateTime, 'createTime');
// 执行查询 // 执行查询
getWaitApprovePage(params).then(response => { getWaitApprovePage(params).then(response => {
this.list = response.data.list; this.list = response.data.list;
...@@ -273,8 +263,6 @@ export default { ...@@ -273,8 +263,6 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.dateRangeLoginDate = [];
this.dateRangeCreateTime = [];
this.resetForm("queryForm"); this.resetForm("queryForm");
this.queryParams = { this.queryParams = {
page: 1, page: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment