|
@@ -196,7 +196,9 @@
|
|
|
width="160px"
|
|
width="160px"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <el-button class="btn" type="default" size="mini" @click="editMember(scope.row)" v-if="userLevel != 4">编辑</el-button>
|
|
|
|
|
|
|
+ <el-button class="btn" type="default" size="mini" @click="editMember(scope.row)"
|
|
|
|
|
+ v-if="userLevel != 4">编辑
|
|
|
|
|
+ </el-button>
|
|
|
<el-button class="btn" type="danger" v-if="scope.row.UserInfo.Status == 1" size="mini"
|
|
<el-button class="btn" type="danger" v-if="scope.row.UserInfo.Status == 1" size="mini"
|
|
|
@click="pauseRow(scope.row)">
|
|
@click="pauseRow(scope.row)">
|
|
|
禁用
|
|
禁用
|
|
@@ -407,7 +409,7 @@
|
|
|
imageUrl: '',
|
|
imageUrl: '',
|
|
|
token: {}, // 七牛云的上传地址,根据自己所在地区选择,我这里是华南区
|
|
token: {}, // 七牛云的上传地址,根据自己所在地区选择,我这里是华南区
|
|
|
domain: 'https://up-z1.qiniup.com', // 这是七牛云空间的外链默认域名
|
|
domain: 'https://up-z1.qiniup.com', // 这是七牛云空间的外链默认域名
|
|
|
- qiniuaddr: 'qjzpcd34v.hb-bkt.clouddn.com',
|
|
|
|
|
|
|
+ qiniuaddr: 'qjzpcd34v.hb-bkt.clouddn.com',//xhead.beswell.com
|
|
|
pullRight: true,//其他dialog
|
|
pullRight: true,//其他dialog
|
|
|
addDisabled: true,//禁止添加新用户
|
|
addDisabled: true,//禁止添加新用户
|
|
|
dialogVisible: false,//其他dialog
|
|
dialogVisible: false,//其他dialog
|
|
@@ -422,6 +424,8 @@
|
|
|
Takevalue: 0,
|
|
Takevalue: 0,
|
|
|
Takeoptions: [],
|
|
Takeoptions: [],
|
|
|
TakeHid: 0,
|
|
TakeHid: 0,
|
|
|
|
|
+ start: 0,
|
|
|
|
|
+ draw: 1,
|
|
|
sexOptions: [
|
|
sexOptions: [
|
|
|
{value: 1, label: '男'},//性别 1:男, 2:女
|
|
{value: 1, label: '男'},//性别 1:男, 2:女
|
|
|
{value: 2, label: '女'},
|
|
{value: 2, label: '女'},
|
|
@@ -507,7 +511,7 @@
|
|
|
getUsrInfoList() {
|
|
getUsrInfoList() {
|
|
|
|
|
|
|
|
// 只有新增的时候启用当前功能
|
|
// 只有新增的时候启用当前功能
|
|
|
- if(this.form.btnType == 1){
|
|
|
|
|
|
|
+ if (this.form.btnType == 1) {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -544,7 +548,7 @@
|
|
|
that.pullRight = false;
|
|
that.pullRight = false;
|
|
|
that.form.name = Info.Name;
|
|
that.form.name = Info.Name;
|
|
|
that.form.height = Info.Height;
|
|
that.form.height = Info.Height;
|
|
|
- that.form.weight = parseInt(Info.Weight) / 10;
|
|
|
|
|
|
|
+ that.form.weight = parseInt(Info.Weight) / 10;
|
|
|
that.form.birthday = Info.Birthday;
|
|
that.form.birthday = Info.Birthday;
|
|
|
that.imageUrl = Info.Head;
|
|
that.imageUrl = Info.Head;
|
|
|
that.form.head = Info.Head;
|
|
that.form.head = Info.Head;
|
|
@@ -1234,8 +1238,8 @@
|
|
|
phone: that.panel.phone,//
|
|
phone: that.panel.phone,//
|
|
|
name: that.panel.name,//
|
|
name: that.panel.name,//
|
|
|
expDay: that.panel.expDay,//
|
|
expDay: that.panel.expDay,//
|
|
|
- start: 0,//
|
|
|
|
|
- tableMax: 9999,//
|
|
|
|
|
|
|
+ start: that.start,//
|
|
|
|
|
+ tableMax: 20,//
|
|
|
};
|
|
};
|
|
|
let postdata = qs.stringify(param);
|
|
let postdata = qs.stringify(param);
|
|
|
VipUserListQuery(postdata).then(res => {
|
|
VipUserListQuery(postdata).then(res => {
|
|
@@ -1244,7 +1248,7 @@
|
|
|
that.loading = false;
|
|
that.loading = false;
|
|
|
if (json.Rs) {
|
|
if (json.Rs) {
|
|
|
that.allTableData = json.Rs;
|
|
that.allTableData = json.Rs;
|
|
|
- that.recordsTotal = json.Rs.length;
|
|
|
|
|
|
|
+ that.recordsTotal = json.PageCount * that.pageination.pageItem;
|
|
|
} else {
|
|
} else {
|
|
|
that.allTableData = [];
|
|
that.allTableData = [];
|
|
|
that.recordsTotal = 0;
|
|
that.recordsTotal = 0;
|
|
@@ -1292,7 +1296,9 @@
|
|
|
this.tableData = tables;
|
|
this.tableData = tables;
|
|
|
}
|
|
}
|
|
|
that.start = index * that.draw;
|
|
that.start = index * that.draw;
|
|
|
- // that.getTableQuery();
|
|
|
|
|
|
|
+ console.log(index);
|
|
|
|
|
+ console.log(that.draw);
|
|
|
|
|
+ that.getTableQuery();
|
|
|
},
|
|
},
|
|
|
// 过滤时间
|
|
// 过滤时间
|
|
|
filterFmtDate(value, row, column) {
|
|
filterFmtDate(value, row, column) {
|