quick-admin-vue3-core
Version:
以快(计算机执行效率、开发效率)为核心的后台管理系统开发模板
722 lines (721 loc) • 19.4 kB
JavaScript
import { defineComponent as J, ref as K, reactive as _, resolveComponent as u, createElementBlock as q, openBlock as g, Fragment as A, createVNode as e, withCtx as s, createElementVNode as i, unref as p, createTextVNode as r, renderList as T, isRef as v, createBlock as I, toDisplayString as n } from "vue";
import $ from "./ImgItem-ByE94JBn.js";
import { _ as Q } from "./RejectAvatar.vue_vue_type_script_setup_true_lang-CvxCQNxh.js";
import X from "./CoinList-DOCxAFpT.js";
import { _ as Z } from "./ReportList.vue_vue_type_script_setup_true_lang-BTaUm2BX.js";
import { _ as h } from "./LoveList.vue_vue_type_script_setup_true_lang-C65N-JJd.js";
import { _ as tt } from "./EvaluateList.vue_vue_type_script_setup_true_lang-DMasoCJ7.js";
import { _ as et } from "./AboutList.vue_vue_type_script_setup_true_lang-9FVWjV9z.js";
import D from "./AboutTitle-Qsg5dXX9.js";
import { u as st, v as lt } from "./index-C0qRtkRj.js";
import { b as ot, W as rt } from "./platform-DsTwHxm6.js";
/* empty css */
import { u as it } from "./dict-C-wULPWV.js";
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
const nt = { class: "f-c-s-c mr-o" }, at = { class: "f-c-s-c mr-o" }, dt = { class: "img-item f-c-c-c" }, ut = { class: "f-c-s-c mr-o" }, mt = { class: "f-fs-c" }, ft = { class: "f-1 f-sb-c" }, ct = { class: "tags f-fs-c mr-a" }, yt = { class: "comment mr-a f-fs-c" }, bt = { class: "attitude f-fs-c" }, gt = /* @__PURE__ */ J({
name: "CommonCenterUserDetailBaseInfo",
__name: "index",
props: {
data: { default: () => ({}) }
},
setup(kt) {
const { openPopup: d, closePopup: P } = st(), { getOpts: R } = it(), V = R("D_Gender"), C = {
yes: {
text: "已完善资料",
type: "success"
}
}, S = K(0);
let m = _({
gyw: "江西人,清华本科,关于我的介绍江西人,清华本科,关于我的介绍江西人,清华本科,关于我的介绍江西人,清华本科,关于我的介绍……",
wdlxx: "希望是90后,净身高希望是90后,净身高希望是90后,希望是90后,净身高希望是90后,净身高希望是90后,净身高净身高希望是90后,净身高希望是90后,净身高希望是90后,净身高希望是90后,净身高希望是90后,净身高希望是90后,净身高希望是90后,净身高希望是90后,净身高……"
});
const L = [
{
prop: "yhid",
label: "用户ID",
required: !0
},
{
prop: "nc",
label: "昵称"
},
{
prop: "xb",
label: "性别",
type: "select",
attrs: {
options: V
}
},
{
tpl: "T_Age",
prop: "nl",
label: "年龄",
type: "input-number",
quickAttrs: {}
},
{
prop: "sr",
label: "生日",
type: "date-picker",
attrs: {
type: "date"
}
},
{
prop: "xz",
label: "星座",
attrs: {
disabled: !0
}
},
{
prop: "sg",
label: "身高",
type: "input-number",
attrs: {
min: 100,
height: 250
}
},
{
prop: "xh",
label: "学号"
},
{
prop: "zy",
label: "职业",
type: "select"
},
{
prop: "sru",
label: "收入",
type: "BaseNumberRange"
},
{
prop: "hyzk",
label: "婚姻状况",
type: "select"
},
{
prop: "wxh",
label: "微信号"
},
{
tpl: "T_Phone",
prop: "sr",
label: "手机号",
quickAttrs: {}
},
{
prop: "sjh",
label: "资料完善度",
type: "input-number"
},
{
prop: "phcs",
label: "偏好城市",
type: "cascader",
attrs: {
options: "C_Region"
}
},
{
prop: "xjd",
label: "现居地",
type: "cascader",
attrs: {
options: "C_Region"
}
},
{
prop: "jx",
label: "家乡",
type: "cascader",
attrs: {
options: "C_Region"
}
},
{
prop: "dwcs",
label: "定位城市"
},
{
prop: "hjcs",
label: "户籍城市",
type: "cascader",
attrs: {
options: "C_Region"
}
},
{
prop: "lyqd",
label: "来源渠道",
type: "select"
},
{
prop: "zczd",
label: "注册终端"
},
{
prop: "zcip",
label: "注册IP",
quickAttrs: {}
},
{
prop: "zjdlip",
label: "最近登录IP",
quickAttrs: {}
},
{
prop: "zcsj",
label: "注册时间",
quickAttrs: {}
},
{
prop: "zjdlsj",
label: "最近登录时间",
required: !0,
quickAttrs: {
explain: "最近登录时间"
}
}
];
let k = _({ yhid: 1, nc: 12233 }), f = _({ jbye: 10 });
const N = [
{
prop: "jbye",
label: "金币余额",
type: "slot",
quickAttrs: {
grid: 8
}
},
{
prop: "tdtq",
label: "脱单特权",
quickAttrs: {
grid: 8
}
}
], M = [
{
prop: "yyjs",
label: "语音介绍",
type: "slot",
quickAttrs: {
grid: 24
}
},
{
prop: "gyw",
label: "关于我",
type: "slot",
quickAttrs: {
grid: 12,
valueAlignContent: "flex-start"
}
},
{
prop: "wdlxx",
label: "我的理想型",
type: "slot",
quickAttrs: {
grid: 12
}
},
{
prop: "qghwddf",
label: "去过好玩的地方",
type: "slot",
quickAttrs: {
grid: 12
}
},
{
prop: "xhdyd",
label: "喜欢的运动",
quickAttrs: {
grid: 12
}
},
{
prop: "xhdys",
label: "喜欢的影视",
quickAttrs: {
grid: 12
}
},
{
prop: "xhdsj",
label: "喜欢的书籍",
quickAttrs: {
grid: 12
}
},
{
prop: "xhdms",
label: "喜欢的美食",
quickAttrs: {
grid: 12
}
},
{
prop: "scdlq",
label: "擅长的乐器",
quickAttrs: {
grid: 12
}
},
{
prop: "cmmldah",
label: "充满魅力的爱好",
quickAttrs: {
grid: 24
}
}
], E = [
{
prop: "ppcs",
label: "匹配城市",
type: "cascader",
attrs: {
options: "C_Region"
},
quickAttrs: {
grid: 6
}
},
{
prop: "yxqx",
label: "优先权限",
type: "select",
quickAttrs: {
grid: 6
}
},
{
tpl: "T_Age",
prop: "nlfw",
label: "年龄范围",
type: "BaseNumberRange",
quickAttrs: {
grid: 6
}
},
{
prop: "xlyq",
label: "学历要求",
type: "select",
attrs: {
multiple: !0,
options: "D_EducationType"
},
quickAttrs: {
grid: 6
}
},
{
prop: "qgzt",
label: "情感状态",
type: "select",
quickAttrs: {
grid: 6
}
},
{
prop: "sgfw",
label: "身高范围",
type: "BaseNumberRange",
quickAttrs: {
grid: 6
},
attrs: {
min: 100,
max: 250
}
},
{
prop: "jx",
label: "家乡",
type: "cascader",
attrs: {
options: "C_Region"
},
quickAttrs: {
grid: 6
}
},
{
prop: "sfsfrz",
label: "是否身份认证",
type: "select",
attrs: {
options: "D_YesNoStatus"
},
quickAttrs: {
grid: 6
}
}
], U = [
{
prop: "glsl",
label: "关联数量"
},
{
prop: "yzx",
label: "已注销"
}
];
function w(o) {
o ? d(
{
title: "温馨提示",
onConfirm() {
lt({}).then((t) => {
rt.success("已取消驳回"), P("dialog");
});
},
footer: "confirm"
},
`确定${o ? "取消" : ""}驳回?`
) : d("头像驳回", Q);
}
function O() {
d("金币明细", X);
}
function B(o) {
d((o === 2 ? "被" : "") + "举报记录", [Z, { type: o }]);
}
function z(o) {
d((o === 2 ? "被" : "") + "喜欢记录", [h, { type: o }]);
}
function F(o) {
d((o === 2 ? "负" : "正") + "面评价", [tt, { type: o }]);
}
function j(o) {
d((o === 1 ? "关于我" : "我的理想型") + "提交记录", [et, { type: o }]);
}
return (o, t) => {
const a = u("el-button"), G = u("el-popconfirm"), W = u("BaseImg"), c = u("BaseSection"), Y = u("BaseTag"), y = u("el-tag"), b = u("BaseForm"), H = u("BaseAudio");
return g(), q(A, null, [
e(c, {
class: "imgs",
title: "图片审核",
bodyClass: "f-fs-s p-o"
}, {
"head-right": s(() => [
e(a, {
onClick: t[0] || (t[0] = (l) => p(d)({ title: "处理用户", footer: "confirm" }, "这是处理用户弹窗中的内容")),
type: "primary",
style: { "margin-left": "auto" }
}, {
default: s(() => t[14] || (t[14] = [
r("处理用户")
])),
_: 1
}),
e(G, {
title: "确定注销当前用户吗?",
width: "220",
onConfirm: t[1] || (t[1] = (l) => p(ot)("注销成功"))
}, {
reference: s(() => [
e(a, { type: "info" }, {
default: s(() => t[15] || (t[15] = [
r("注销用户")
])),
_: 1
})
]),
_: 1
})
]),
default: s(() => [
i("div", nt, [
t[16] || (t[16] = i("strong", { class: "title" }, "封面头像", -1)),
e($, {
rejected: "",
onClick: w
})
]),
i("div", at, [
t[18] || (t[18] = i("strong", { class: "title" }, "学历头像", -1)),
i("div", dt, [
e(W, { class: "mb-q" }),
e(a, {
type: "success",
style: { width: "5em" },
size: "small",
onClick: t[2] || (t[2] = (l) => p(d)({ footer: "confirm" }, "是否要重新比对人脸?"))
}, {
default: s(() => t[17] || (t[17] = [
r(" 比对人脸 ")
])),
_: 1
})
])
]),
i("div", ut, [
t[19] || (t[19] = i("strong", { class: "title" }, "相册", -1)),
i("div", mt, [
(g(), q(A, null, T(4, (l, x) => e($, {
onClick: w,
key: x
})), 64))
])
])
]),
_: 1
}),
e(c, {
class: "base-info",
title: "基本信息"
}, {
"head-right": s(() => [
i("div", ft, [
i("div", ct, [
e(Y, {
class: "tag",
name: "D_AccountStatus",
value: p(S)
}, null, 8, ["value"]),
(g(), I(y, {
key: 0,
class: "tag",
color: "#F3DBFB",
style: { color: "#d359f5", border: "1px solid #d359f5" }
}, {
default: s(() => t[20] || (t[20] = [
r("优质嘉宾")
])),
_: 1
})),
(g(), I(y, {
key: 1,
class: "tag",
color: "#CFFAFF",
style: { color: "#2bb4c5", border: "1px solid #2bb4c5" }
}, {
default: s(() => t[21] || (t[21] = [
r("代理人")
])),
_: 1
})),
e(y, {
class: "tag",
effect: "dark"
}, {
default: s(() => t[22] || (t[22] = [
r("新人曝光期")
])),
_: 1
})
]),
i("div", yt, [
e(a, {
type: "danger",
size: "small",
text: "",
onClick: t[3] || (t[3] = (l) => F(1)),
class: "f-c-c item positive"
}, {
default: s(() => t[23] || (t[23] = [
r(" 正面评价(" + n(3) + ") ")
])),
_: 1
}),
e(a, {
type: "danger",
size: "small",
text: "",
onClick: t[4] || (t[4] = (l) => F(2)),
class: "f-c-c item negative"
}, {
default: s(() => t[24] || (t[24] = [
r(" 负面评价(" + n(3) + ") ")
])),
_: 1
})
]),
i("div", bt, [
e(a, {
type: "warning",
size: "small",
text: "",
onClick: t[5] || (t[5] = (l) => B(1)),
class: "item"
}, {
default: s(() => t[25] || (t[25] = [
r("举报(" + n(3) + ")")
])),
_: 1
}),
e(a, {
type: "warning",
size: "small",
text: "",
onClick: t[6] || (t[6] = (l) => B(2)),
class: "item"
}, {
default: s(() => t[26] || (t[26] = [
r("被举报(" + n(3) + ")")
])),
_: 1
}),
e(a, {
type: "warning",
size: "small",
text: "",
onClick: t[7] || (t[7] = (l) => z(1)),
class: "item"
}, {
default: s(() => t[27] || (t[27] = [
r("超级喜欢(" + n(3) + ")")
])),
_: 1
}),
e(a, {
type: "warning",
size: "small",
text: "",
onClick: t[8] || (t[8] = (l) => z(2)),
class: "item"
}, {
default: s(() => t[28] || (t[28] = [
r("被超级喜欢(" + n(3) + ")")
])),
_: 1
})
])
])
]),
default: s(() => [
e(b, {
styleType: "cell",
pureText: "",
fields: L,
modelValue: p(k),
"onUpdate:modelValue": t[9] || (t[9] = (l) => v(k) ? k.value = l : k = l)
}, null, 8, ["modelValue"])
]),
_: 1
}),
e(c, {
class: "business-info",
title: "商业化信息"
}, {
default: s(() => [
e(b, {
modelValue: p(f),
"onUpdate:modelValue": t[10] || (t[10] = (l) => v(f) ? f.value = l : f = l),
styleType: "cell",
pureText: "",
fields: N
}, {
jbye: s(() => [
e(a, {
onClick: O,
disabled: !p(f).jbye,
type: "primary",
size: "small",
style: { "min-width": "2em" },
text: ""
}, {
default: s(() => [
r(n(p(f).jbye || 0), 1)
]),
_: 1
}, 8, ["disabled"])
]),
_: 1
}, 8, ["modelValue"])
]),
_: 1
}),
e(c, {
class: "detail-info",
title: "详细信息"
}, {
"head-right": s(() => [
e(y, {
type: C.yes.type,
class: "mr-a ml-h"
}, {
default: s(() => [
r(n(C.yes.text), 1)
]),
_: 1
}, 8, ["type"])
]),
default: s(() => [
e(b, {
modelValue: p(m),
"onUpdate:modelValue": t[13] || (t[13] = (l) => v(m) ? m.value = l : m = l),
styleType: "cell",
pureText: "",
fields: M
}, {
yyjs: s(() => [
e(H)
]),
gyw: s(() => [
e(D, {
onSubmit: t[11] || (t[11] = (l) => j(1))
}),
i("div", null, n(p(m).gyw), 1)
]),
wdlxx: s(() => [
e(D, {
onSubmit: t[12] || (t[12] = (l) => j(2)),
type: "you",
rejected: ""
}),
i("div", null, n(p(m).wdlxx), 1)
]),
qghwddf: s(() => [
(g(), q(A, null, T(3, (l, x) => e(y, {
class: "mr-h",
key: x
}, {
default: s(() => [
r(n("北京故宫" + x), 1)
]),
_: 2
}, 1024)), 64))
]),
_: 1
}, 8, ["modelValue"])
]),
_: 1
}),
e(c, { title: "偏好设置" }, {
default: s(() => [
e(b, {
styleType: "cell",
pureText: "",
fields: E
})
]),
_: 1
}),
e(c, {
title: "关联账号",
class: "mb-t"
}, {
default: s(() => [
e(b, {
styleType: "cell",
pureText: "",
fields: U
})
]),
_: 1
})
], 64);
};
}
}), Dt = /* @__PURE__ */ pt(gt, [["__scopeId", "data-v-8833432c"]]);
export {
Dt as default
};