797 lines
29 KiB
JavaScript
797 lines
29 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const js_sdk_validator_uniIdUsers = require("../../js_sdk/validator/uni-id-users.js");
|
|
const db = common_vendor.er.database();
|
|
const dbOrderBy = "";
|
|
const dbSearchFields = [];
|
|
const pageSize = 20;
|
|
const pageCurrent = 1;
|
|
const orderByMapping = {
|
|
"ascending": "asc",
|
|
"descending": "desc"
|
|
};
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
collectionList: [db.collection("uni-id-users").field("ali_openid,apple_openid,avatar,avatar_file,comment,dcloud_appid,department_id,email,email_confirmed,gender,invite_time,inviter_uid,last_login_date,last_login_ip,mobile,mobile_confirmed,my_invite_code,nickname,password,password_secret_version,realname_auth,register_date,register_ip,role,tags,score,status,token,username,wx_openid,wx_unionid,qq_openid,qq_unionid,third_party,identities").getTemp(), db.collection("uni-id-roles").field("role_id, role_name as text").getTemp()],
|
|
query: "",
|
|
where: "",
|
|
orderby: dbOrderBy,
|
|
orderByFieldName: "",
|
|
selectedIndexs: [],
|
|
options: {
|
|
pageSize,
|
|
pageCurrent,
|
|
filterData: {
|
|
"email_confirmed_localdata": [
|
|
{
|
|
"text": "未验证",
|
|
"value": 0
|
|
},
|
|
{
|
|
"text": "已验证",
|
|
"value": 1
|
|
}
|
|
],
|
|
"gender_localdata": [
|
|
{
|
|
"text": "未知",
|
|
"value": 0
|
|
},
|
|
{
|
|
"text": "男",
|
|
"value": 1
|
|
},
|
|
{
|
|
"text": "女",
|
|
"value": 2
|
|
}
|
|
],
|
|
"mobile_confirmed_localdata": [
|
|
{
|
|
"text": "未验证",
|
|
"value": 0
|
|
},
|
|
{
|
|
"text": "已验证",
|
|
"value": 1
|
|
}
|
|
],
|
|
"status_localdata": [
|
|
{
|
|
"text": "正常",
|
|
"value": 0
|
|
},
|
|
{
|
|
"text": "禁用",
|
|
"value": 1
|
|
},
|
|
{
|
|
"text": "审核中",
|
|
"value": 2
|
|
},
|
|
{
|
|
"text": "审核拒绝",
|
|
"value": 3
|
|
},
|
|
{
|
|
"text": "已注销",
|
|
"value": 4
|
|
}
|
|
]
|
|
},
|
|
...js_sdk_validator_uniIdUsers.enumConverter
|
|
},
|
|
imageStyles: {
|
|
width: 64,
|
|
height: 64
|
|
},
|
|
exportExcel: {
|
|
"filename": "uni-id-users.xls",
|
|
"type": "xls",
|
|
"fields": {
|
|
"ali_openid": "ali_openid",
|
|
"apple_openid": "apple_openid",
|
|
"头像地址": "avatar",
|
|
"头像文件": "avatar_file",
|
|
"备注": "comment",
|
|
"dcloud_appid": "dcloud_appid",
|
|
"部门": "department_id",
|
|
"邮箱": "email",
|
|
"邮箱验证状态": "email_confirmed",
|
|
"性别": "gender",
|
|
"invite_time": "invite_time",
|
|
"inviter_uid": "inviter_uid",
|
|
"last_login_date": "last_login_date",
|
|
"last_login_ip": "last_login_ip",
|
|
"手机号码": "mobile",
|
|
"手机号验证状态": "mobile_confirmed",
|
|
"my_invite_code": "my_invite_code",
|
|
"昵称": "nickname",
|
|
"密码": "password",
|
|
"passwordSecret": "password_secret_version",
|
|
"realname_auth": "realname_auth",
|
|
"register_date": "register_date",
|
|
"register_ip": "register_ip",
|
|
"角色": "role",
|
|
"标签": "tags",
|
|
"score": "score",
|
|
"用户状态": "status",
|
|
"token": "token",
|
|
"用户名": "username",
|
|
"wx_openid": "wx_openid",
|
|
"wx_unionid": "wx_unionid",
|
|
"qq_openid": "qq_openid",
|
|
"qq_unionid": "qq_unionid",
|
|
"third_party": "third_party",
|
|
"identities": "identities"
|
|
}
|
|
},
|
|
exportExcelData: []
|
|
};
|
|
},
|
|
onLoad() {
|
|
this._filter = {};
|
|
},
|
|
onReady() {
|
|
this.$refs.udb.loadData();
|
|
},
|
|
methods: {
|
|
onqueryload(data) {
|
|
this.exportExcelData = data;
|
|
},
|
|
getWhere() {
|
|
const query = this.query.trim();
|
|
if (!query) {
|
|
return "";
|
|
}
|
|
const queryRe = new RegExp(query, "i");
|
|
return dbSearchFields.map((name) => queryRe + ".test(" + name + ")").join(" || ");
|
|
},
|
|
search() {
|
|
const newWhere = this.getWhere();
|
|
this.where = newWhere;
|
|
this.$nextTick(() => {
|
|
this.loadData();
|
|
});
|
|
},
|
|
loadData(clear = true) {
|
|
this.$refs.udb.loadData({
|
|
clear
|
|
});
|
|
},
|
|
onPageChanged(e) {
|
|
this.selectedIndexs.length = 0;
|
|
this.$refs.table.clearSelection();
|
|
this.$refs.udb.loadData({
|
|
current: e.current
|
|
});
|
|
},
|
|
navigateTo(url, clear) {
|
|
common_vendor.index.navigateTo({
|
|
url,
|
|
events: {
|
|
refreshData: () => {
|
|
this.loadData(clear);
|
|
}
|
|
}
|
|
});
|
|
},
|
|
// 多选处理
|
|
selectedItems() {
|
|
var dataList = this.$refs.udb.dataList;
|
|
return this.selectedIndexs.map((i) => dataList[i]._id);
|
|
},
|
|
// 批量删除
|
|
delTable() {
|
|
this.$refs.udb.remove(this.selectedItems(), {
|
|
success: (res) => {
|
|
this.$refs.table.clearSelection();
|
|
}
|
|
});
|
|
},
|
|
// 多选
|
|
selectionChange(e) {
|
|
this.selectedIndexs = e.detail.index;
|
|
},
|
|
confirmDelete(id) {
|
|
this.$refs.udb.remove(id, {
|
|
success: (res) => {
|
|
this.$refs.table.clearSelection();
|
|
}
|
|
});
|
|
},
|
|
sortChange(e, name) {
|
|
this.orderByFieldName = name;
|
|
if (e.order) {
|
|
this.orderby = name + " " + orderByMapping[e.order];
|
|
} else {
|
|
this.orderby = "";
|
|
}
|
|
this.$refs.table.clearSelection();
|
|
this.$nextTick(() => {
|
|
this.$refs.udb.loadData();
|
|
});
|
|
},
|
|
filterChange(e, name) {
|
|
this._filter[name] = {
|
|
type: e.filterType,
|
|
value: e.filter
|
|
};
|
|
let newWhere = js_sdk_validator_uniIdUsers.filterToWhere(this._filter, db.command);
|
|
if (Object.keys(newWhere).length) {
|
|
this.where = newWhere;
|
|
} else {
|
|
this.where = "";
|
|
}
|
|
this.$nextTick(() => {
|
|
this.$refs.udb.loadData();
|
|
});
|
|
}
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _easycom_download_excel2 = common_vendor.resolveComponent("download-excel");
|
|
const _easycom_uni_th2 = common_vendor.resolveComponent("uni-th");
|
|
const _easycom_uni_tr2 = common_vendor.resolveComponent("uni-tr");
|
|
const _easycom_uni_td2 = common_vendor.resolveComponent("uni-td");
|
|
const _easycom_uni_file_picker2 = common_vendor.resolveComponent("uni-file-picker");
|
|
const _easycom_uni_link2 = common_vendor.resolveComponent("uni-link");
|
|
const _easycom_uni_dateformat2 = common_vendor.resolveComponent("uni-dateformat");
|
|
const _easycom_uni_table2 = common_vendor.resolveComponent("uni-table");
|
|
const _easycom_uni_pagination2 = common_vendor.resolveComponent("uni-pagination");
|
|
const _easycom_unicloud_db2 = common_vendor.resolveComponent("unicloud-db");
|
|
(_easycom_download_excel2 + _easycom_uni_th2 + _easycom_uni_tr2 + _easycom_uni_td2 + _easycom_uni_file_picker2 + _easycom_uni_link2 + _easycom_uni_dateformat2 + _easycom_uni_table2 + _easycom_uni_pagination2 + _easycom_unicloud_db2)();
|
|
}
|
|
const _easycom_download_excel = () => "../../components/download-excel/download-excel.js";
|
|
const _easycom_uni_th = () => "../../uni_modules/uni-table/components/uni-th/uni-th.js";
|
|
const _easycom_uni_tr = () => "../../uni_modules/uni-table/components/uni-tr/uni-tr.js";
|
|
const _easycom_uni_td = () => "../../uni_modules/uni-table/components/uni-td/uni-td.js";
|
|
const _easycom_uni_file_picker = () => "../../uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.js";
|
|
const _easycom_uni_link = () => "../../uni_modules/uni-link/components/uni-link/uni-link.js";
|
|
const _easycom_uni_dateformat = () => "../../uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.js";
|
|
const _easycom_uni_table = () => "../../uni_modules/uni-table/components/uni-table/uni-table.js";
|
|
const _easycom_uni_pagination = () => "../../uni_modules/uni-pagination/components/uni-pagination/uni-pagination.js";
|
|
const _easycom_unicloud_db = () => "../../node-modules/@dcloudio/uni-components/lib/unicloud-db/unicloud-db.js";
|
|
if (!Math) {
|
|
(_easycom_download_excel + _easycom_uni_th + _easycom_uni_tr + _easycom_uni_td + _easycom_uni_file_picker + _easycom_uni_link + _easycom_uni_dateformat + _easycom_uni_table + _easycom_uni_pagination + _easycom_unicloud_db)();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.o((...args) => $options.search && $options.search(...args)),
|
|
b: $data.query,
|
|
c: common_vendor.o(($event) => $data.query = $event.detail.value),
|
|
d: common_vendor.o((...args) => $options.search && $options.search(...args)),
|
|
e: common_vendor.o(($event) => $options.navigateTo("./add")),
|
|
f: !$data.selectedIndexs.length,
|
|
g: common_vendor.o((...args) => $options.delTable && $options.delTable(...args)),
|
|
h: common_vendor.p({
|
|
fields: $data.exportExcel.fields,
|
|
data: $data.exportExcelData,
|
|
type: $data.exportExcel.type,
|
|
name: $data.exportExcel.filename
|
|
}),
|
|
i: common_vendor.w(({
|
|
data,
|
|
pagination,
|
|
loading,
|
|
error,
|
|
options
|
|
}, s0, i0) => {
|
|
return {
|
|
a: "6f235e20-4-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
b: "6f235e20-5-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
c: "6f235e20-6-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
d: "6f235e20-7-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
e: "6f235e20-8-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
f: "6f235e20-9-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
g: "6f235e20-10-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
h: "6f235e20-11-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
i: "6f235e20-12-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
j: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "select",
|
|
["filter-data"]: options.filterData.email_confirmed_localdata
|
|
}),
|
|
k: "6f235e20-13-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
l: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "select",
|
|
["filter-data"]: options.filterData.gender_localdata
|
|
}),
|
|
m: "6f235e20-14-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
n: "6f235e20-15-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
o: "6f235e20-16-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
p: "6f235e20-17-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
q: "6f235e20-18-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
r: "6f235e20-19-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
s: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "select",
|
|
["filter-data"]: options.filterData.mobile_confirmed_localdata
|
|
}),
|
|
t: "6f235e20-20-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
v: "6f235e20-21-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
w: "6f235e20-22-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
x: "6f235e20-23-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
y: "6f235e20-24-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
z: "6f235e20-25-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
A: "6f235e20-26-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
B: "6f235e20-27-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
C: "6f235e20-28-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
D: "6f235e20-29-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
E: "6f235e20-30-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
F: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "select",
|
|
["filter-data"]: options.filterData.status_localdata
|
|
}),
|
|
G: "6f235e20-31-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
H: "6f235e20-32-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
I: "6f235e20-33-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
J: "6f235e20-34-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
K: "6f235e20-35-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
L: "6f235e20-36-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
M: "6f235e20-37-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
N: "6f235e20-38-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
O: "6f235e20-39-" + i0 + "," + ("6f235e20-3-" + i0),
|
|
P: "6f235e20-3-" + i0 + "," + ("6f235e20-2-" + i0),
|
|
Q: common_vendor.f(data, (item, index, i1) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.t(item.ali_openid),
|
|
b: "6f235e20-41-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
c: common_vendor.t(item.apple_openid),
|
|
d: "6f235e20-42-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
e: common_vendor.t(item.avatar),
|
|
f: "6f235e20-43-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
g: item.avatar_file && item.avatar_file.fileType == "image"
|
|
}, item.avatar_file && item.avatar_file.fileType == "image" ? {
|
|
h: "6f235e20-45-" + i0 + "-" + i1 + "," + ("6f235e20-44-" + i0 + "-" + i1),
|
|
i: common_vendor.p({
|
|
value: item.avatar_file,
|
|
["file-mediatype"]: item.avatar_file && item.avatar_file.fileType,
|
|
["return-type"]: "object",
|
|
imageStyles: $data.imageStyles,
|
|
readonly: true
|
|
})
|
|
} : {
|
|
j: "6f235e20-46-" + i0 + "-" + i1 + "," + ("6f235e20-44-" + i0 + "-" + i1),
|
|
k: common_vendor.p({
|
|
href: item.avatar_file && item.avatar_file.url,
|
|
text: item.avatar_file && item.avatar_file.url
|
|
})
|
|
}, {
|
|
l: "6f235e20-44-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
m: common_vendor.t(item.comment),
|
|
n: "6f235e20-47-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
o: common_vendor.t(item.dcloud_appid),
|
|
p: "6f235e20-48-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
q: common_vendor.t(item.department_id && item.department_id[0] && item.department_id[0].text),
|
|
r: "6f235e20-49-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
s: "6f235e20-51-" + i0 + "-" + i1 + "," + ("6f235e20-50-" + i0 + "-" + i1),
|
|
t: common_vendor.p({
|
|
href: "mailto:" + item.email,
|
|
text: item.email
|
|
}),
|
|
v: "6f235e20-50-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
w: common_vendor.t(options.email_confirmed_valuetotext[item.email_confirmed]),
|
|
x: "6f235e20-52-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
y: common_vendor.t(options.gender_valuetotext[item.gender]),
|
|
z: "6f235e20-53-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
A: "6f235e20-55-" + i0 + "-" + i1 + "," + ("6f235e20-54-" + i0 + "-" + i1),
|
|
B: common_vendor.p({
|
|
threshold: [0, 0],
|
|
date: item.invite_time
|
|
}),
|
|
C: "6f235e20-54-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
D: common_vendor.t(item.inviter_uid),
|
|
E: "6f235e20-56-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
F: "6f235e20-58-" + i0 + "-" + i1 + "," + ("6f235e20-57-" + i0 + "-" + i1),
|
|
G: common_vendor.p({
|
|
threshold: [0, 0],
|
|
date: item.last_login_date
|
|
}),
|
|
H: "6f235e20-57-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
I: common_vendor.t(item.last_login_ip),
|
|
J: "6f235e20-59-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
K: common_vendor.t(item.mobile),
|
|
L: "6f235e20-60-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
M: common_vendor.t(options.mobile_confirmed_valuetotext[item.mobile_confirmed]),
|
|
N: "6f235e20-61-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
O: common_vendor.t(item.my_invite_code),
|
|
P: "6f235e20-62-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
Q: common_vendor.t(item.nickname),
|
|
R: "6f235e20-63-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
S: common_vendor.t(item.password),
|
|
T: "6f235e20-64-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
U: common_vendor.t(item.password_secret_version),
|
|
V: "6f235e20-65-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
W: common_vendor.t(item.realname_auth),
|
|
X: "6f235e20-66-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
Y: "6f235e20-68-" + i0 + "-" + i1 + "," + ("6f235e20-67-" + i0 + "-" + i1),
|
|
Z: common_vendor.p({
|
|
threshold: [0, 0],
|
|
date: item.register_date
|
|
}),
|
|
aa: "6f235e20-67-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
ab: common_vendor.t(item.register_ip),
|
|
ac: "6f235e20-69-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
ad: common_vendor.t(item.role && item.role[0] && item.role[0].text),
|
|
ae: "6f235e20-70-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
af: common_vendor.t(item.tags),
|
|
ag: "6f235e20-71-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
ah: common_vendor.t(item.score),
|
|
ai: "6f235e20-72-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
aj: common_vendor.t(options.status_valuetotext[item.status]),
|
|
ak: "6f235e20-73-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
al: common_vendor.t(item.token),
|
|
am: "6f235e20-74-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
an: common_vendor.t(item.username),
|
|
ao: "6f235e20-75-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
ap: common_vendor.t(item.wx_openid),
|
|
aq: "6f235e20-76-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
ar: common_vendor.t(item.wx_unionid),
|
|
as: "6f235e20-77-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
at: common_vendor.t(item.qq_openid),
|
|
av: "6f235e20-78-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
aw: common_vendor.t(item.qq_unionid),
|
|
ax: "6f235e20-79-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
ay: common_vendor.t(item.third_party),
|
|
az: "6f235e20-80-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
aA: common_vendor.t(item.identities),
|
|
aB: "6f235e20-81-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
aC: common_vendor.o(($event) => $options.navigateTo("./edit?id=" + item._id, false), index),
|
|
aD: common_vendor.o(($event) => $options.confirmDelete(item._id), index),
|
|
aE: "6f235e20-82-" + i0 + "-" + i1 + "," + ("6f235e20-40-" + i0 + "-" + i1),
|
|
aF: index,
|
|
aG: "6f235e20-40-" + i0 + "-" + i1 + "," + ("6f235e20-2-" + i0)
|
|
});
|
|
}),
|
|
R: common_vendor.sr("table", "6f235e20-2-" + i0 + ",6f235e20-1"),
|
|
S: "6f235e20-2-" + i0 + ",6f235e20-1",
|
|
T: common_vendor.p({
|
|
loading,
|
|
emptyText: error.message || "没有更多数据",
|
|
border: true,
|
|
stripe: true,
|
|
type: "selection"
|
|
}),
|
|
U: "6f235e20-83-" + i0 + ",6f235e20-1",
|
|
V: common_vendor.o(($event) => pagination.current = $event),
|
|
W: common_vendor.p({
|
|
["show-icon"]: true,
|
|
["page-size"]: pagination.size,
|
|
total: pagination.count,
|
|
modelValue: pagination.current
|
|
}),
|
|
X: i0,
|
|
Y: s0
|
|
};
|
|
}, {
|
|
name: "d",
|
|
path: "i",
|
|
vueId: "6f235e20-1"
|
|
}),
|
|
j: common_vendor.o(($event) => $options.filterChange($event, "ali_openid")),
|
|
k: common_vendor.o(($event) => $options.sortChange($event, "ali_openid")),
|
|
l: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
m: common_vendor.o(($event) => $options.filterChange($event, "apple_openid")),
|
|
n: common_vendor.o(($event) => $options.sortChange($event, "apple_openid")),
|
|
o: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
p: common_vendor.o(($event) => $options.filterChange($event, "avatar")),
|
|
q: common_vendor.o(($event) => $options.sortChange($event, "avatar")),
|
|
r: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
s: common_vendor.o(($event) => $options.sortChange($event, "avatar_file")),
|
|
t: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
v: common_vendor.o(($event) => $options.filterChange($event, "comment")),
|
|
w: common_vendor.o(($event) => $options.sortChange($event, "comment")),
|
|
x: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
y: common_vendor.o(($event) => $options.sortChange($event, "dcloud_appid")),
|
|
z: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
A: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
B: common_vendor.o(($event) => $options.filterChange($event, "email")),
|
|
C: common_vendor.o(($event) => $options.sortChange($event, "email")),
|
|
D: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
E: common_vendor.o(($event) => $options.filterChange($event, "email_confirmed")),
|
|
F: common_vendor.o(($event) => $options.filterChange($event, "gender")),
|
|
G: common_vendor.o(($event) => $options.filterChange($event, "invite_time")),
|
|
H: common_vendor.o(($event) => $options.sortChange($event, "invite_time")),
|
|
I: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "timestamp",
|
|
sortable: true
|
|
}),
|
|
J: common_vendor.o(($event) => $options.sortChange($event, "inviter_uid")),
|
|
K: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
L: common_vendor.o(($event) => $options.filterChange($event, "last_login_date")),
|
|
M: common_vendor.o(($event) => $options.sortChange($event, "last_login_date")),
|
|
N: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "timestamp",
|
|
sortable: true
|
|
}),
|
|
O: common_vendor.o(($event) => $options.filterChange($event, "last_login_ip")),
|
|
P: common_vendor.o(($event) => $options.sortChange($event, "last_login_ip")),
|
|
Q: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
R: common_vendor.o(($event) => $options.filterChange($event, "mobile")),
|
|
S: common_vendor.o(($event) => $options.sortChange($event, "mobile")),
|
|
T: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
U: common_vendor.o(($event) => $options.filterChange($event, "mobile_confirmed")),
|
|
V: common_vendor.o(($event) => $options.filterChange($event, "my_invite_code")),
|
|
W: common_vendor.o(($event) => $options.sortChange($event, "my_invite_code")),
|
|
X: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
Y: common_vendor.o(($event) => $options.filterChange($event, "nickname")),
|
|
Z: common_vendor.o(($event) => $options.sortChange($event, "nickname")),
|
|
aa: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
ab: common_vendor.o(($event) => $options.sortChange($event, "password")),
|
|
ac: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
ad: common_vendor.o(($event) => $options.filterChange($event, "password_secret_version")),
|
|
ae: common_vendor.o(($event) => $options.sortChange($event, "password_secret_version")),
|
|
af: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "range",
|
|
sortable: true
|
|
}),
|
|
ag: common_vendor.o(($event) => $options.sortChange($event, "realname_auth")),
|
|
ah: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
ai: common_vendor.o(($event) => $options.filterChange($event, "register_date")),
|
|
aj: common_vendor.o(($event) => $options.sortChange($event, "register_date")),
|
|
ak: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "timestamp",
|
|
sortable: true
|
|
}),
|
|
al: common_vendor.o(($event) => $options.filterChange($event, "register_ip")),
|
|
am: common_vendor.o(($event) => $options.sortChange($event, "register_ip")),
|
|
an: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
ao: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
ap: common_vendor.o(($event) => $options.sortChange($event, "tags")),
|
|
aq: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
ar: common_vendor.o(($event) => $options.filterChange($event, "score")),
|
|
as: common_vendor.o(($event) => $options.sortChange($event, "score")),
|
|
at: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "range",
|
|
sortable: true
|
|
}),
|
|
av: common_vendor.o(($event) => $options.filterChange($event, "status")),
|
|
aw: common_vendor.o(($event) => $options.sortChange($event, "token")),
|
|
ax: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
ay: common_vendor.o(($event) => $options.filterChange($event, "username")),
|
|
az: common_vendor.o(($event) => $options.sortChange($event, "username")),
|
|
aA: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
aB: common_vendor.o(($event) => $options.sortChange($event, "wx_openid")),
|
|
aC: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
aD: common_vendor.o(($event) => $options.filterChange($event, "wx_unionid")),
|
|
aE: common_vendor.o(($event) => $options.sortChange($event, "wx_unionid")),
|
|
aF: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
aG: common_vendor.o(($event) => $options.sortChange($event, "qq_openid")),
|
|
aH: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
aI: common_vendor.o(($event) => $options.filterChange($event, "qq_unionid")),
|
|
aJ: common_vendor.o(($event) => $options.sortChange($event, "qq_unionid")),
|
|
aK: common_vendor.p({
|
|
align: "center",
|
|
["filter-type"]: "search",
|
|
sortable: true
|
|
}),
|
|
aL: common_vendor.o(($event) => $options.sortChange($event, "third_party")),
|
|
aM: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
aN: common_vendor.o(($event) => $options.sortChange($event, "identities")),
|
|
aO: common_vendor.p({
|
|
align: "center",
|
|
sortable: true
|
|
}),
|
|
aP: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aQ: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aR: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aS: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aT: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aU: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aV: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aW: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aX: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aY: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
aZ: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
ba: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bb: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bc: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bd: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
be: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bf: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bg: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bh: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bi: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bj: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bk: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bl: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bm: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bn: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bo: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bp: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bq: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
br: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bs: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bt: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bv: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bw: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bx: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
by: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bz: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bA: common_vendor.p({
|
|
align: "center"
|
|
}),
|
|
bB: common_vendor.o($options.selectionChange),
|
|
bC: common_vendor.o($options.onPageChanged),
|
|
bD: common_vendor.sr("udb", "6f235e20-1"),
|
|
bE: common_vendor.o($options.onqueryload),
|
|
bF: common_vendor.p({
|
|
collection: $data.collectionList,
|
|
where: $data.where,
|
|
["page-data"]: "replace",
|
|
orderby: $data.orderby,
|
|
getcount: true,
|
|
["page-size"]: $data.options.pageSize,
|
|
["page-current"]: $data.options.pageCurrent,
|
|
options: $data.options,
|
|
loadtime: "manual"
|
|
})
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/uni-id-users/list.js.map
|