|
|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container" v-if="show">
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<div v-show="show">
|
|
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px" size="medium" class="ry_form">
|
|
|
|
|
<el-form-item label="创建时间">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
@ -15,14 +16,14 @@
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label="账号启用状态">-->
|
|
|
|
|
<!-- <el-select v-model="queryParams.status" placeholder="请选择" :clearable="true" size="small">-->
|
|
|
|
|
<!-- <el-option label="禁用" value="0">-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- <el-option label="启用" value="1">-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label="账号启用状态">-->
|
|
|
|
|
<!-- <el-select v-model="queryParams.status" placeholder="请选择" :clearable="true" size="small">-->
|
|
|
|
|
<!-- <el-option label="禁用" value="0">-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- <el-option label="启用" value="1">-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label="昵称" prop="nickname">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model.trim="queryParams.nickname"
|
|
|
|
|
@ -116,6 +117,8 @@
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
/>
|
|
|
|
|
</InBody>
|
|
|
|
|
</div>
|
|
|
|
|
<SeeAdsComponent ref="seeAdsComponentRef" v-if="!show" @confirmOk="confirmOk"/>
|
|
|
|
|
<!-- 统计 -->
|
|
|
|
|
<el-dialog :title="statisticsObj.title" :visible.sync="statisticsObj.open" width="500px" append-to-body>
|
|
|
|
|
<el-descriptions direction="vertical" :column="2" border>
|
|
|
|
|
@ -151,9 +154,11 @@ import {
|
|
|
|
|
import dateUtil from '@/utils/DateUtil';
|
|
|
|
|
import {isStarRepo} from "@/utils/is-star-plugin";
|
|
|
|
|
import {mapGetters} from "vuex";
|
|
|
|
|
import SeeAdsComponent from "@/components/SeeAdsComponent.vue";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "UmsMember",
|
|
|
|
|
components: {SeeAdsComponent},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
show: false,
|
|
|
|
|
@ -220,16 +225,23 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
async created() {
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
this.$refs.seeAdsComponentRef.show()
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
computed:{
|
|
|
|
|
...mapGetters(['userId']),
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
async confirmOk(success) {
|
|
|
|
|
if (success) {
|
|
|
|
|
const res = await isStarRepo('zccbbg', 'RuoYi-Mall', this.userId, 'https://mall.ichengle.top/member/member', 'ruoyi-mall-商城', 'https://gitee.com/zccbbg/RuoYi-Mall')
|
|
|
|
|
this.show = res;
|
|
|
|
|
if (res) {
|
|
|
|
|
this.getList();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed:{
|
|
|
|
|
...mapGetters(['userId']),
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
showUpdateMark(record){
|
|
|
|
|
this.remarkModal = {
|
|
|
|
|
visible: true,
|
|
|
|
|
|