feat(global): 国际化完善
This commit is contained in:
parent
d3f194a968
commit
e8055c2822
|
@ -21,6 +21,7 @@
|
|||
"echarts": "^5.4.2",
|
||||
"element-ui": "2.13.2",
|
||||
"file-saver": "^2.0.5",
|
||||
"glob": "^10.4.5",
|
||||
"html2canvas": "^1.4.1",
|
||||
"js-cookie": "2.2.0",
|
||||
"jsbarcode": "^3.11.5",
|
||||
|
|
|
@ -19,7 +19,6 @@ async function getAllFiles(dir, patterns) {
|
|||
|
||||
// 获取嵌套对象的值
|
||||
function getNestedValue(obj, path) {
|
||||
console.log('obj', obj)
|
||||
return path.split('.').reduce((current, key) => {
|
||||
return current && current[key]
|
||||
}, obj)
|
||||
|
@ -29,20 +28,29 @@ function getNestedValue(obj, path) {
|
|||
function replaceContent(content) {
|
||||
// 替换模板中的 $t('key')
|
||||
content = content.replace(
|
||||
/(?<!this\.|that\.)\$t\(['"]([^'"]+)['"]\)/g,
|
||||
/(?<!this\.|that\.)\$t\(['"`]([^'"`]+)['"`](?:,.*?)?\)/g,
|
||||
(match, key) => {
|
||||
console.log('key', key)
|
||||
const value = getNestedValue(zhCN, key)
|
||||
return value ? `'${value}'` : match
|
||||
}
|
||||
)
|
||||
|
||||
// 替换 JavaScript 中的 this.$t('key')
|
||||
content = content.replace(/i18n\.t\(['"]([^'"]+)['"]\)/g, (match, key) => {
|
||||
content = content.replace(/this\.\$t\(['"`]([^'"`]+)['"`](?:,.*?)?\)/g, (match, key) => {
|
||||
const value = getNestedValue(zhCN, key)
|
||||
return value ? `'${value}'` : match
|
||||
})
|
||||
|
||||
// 替换模板字符串中的 this.$t, 例如 `${this.$t('key')}`
|
||||
content = content.replace(/`\$\{this\.\$t\(['"`]([^'"`]+)['"`](?:,.*?)?\)\}([^`]*)`/g, (match, key, suffix) => {
|
||||
const value = getNestedValue(zhCN, key)
|
||||
if (value) {
|
||||
// 将最终的字符串用单引号包裹
|
||||
return `'${value}${suffix}'`
|
||||
}
|
||||
return match
|
||||
})
|
||||
|
||||
return content
|
||||
}
|
||||
|
||||
|
|
|
@ -851,7 +851,7 @@ export default {
|
|||
this.download(
|
||||
"/sale/manage/deliver/template-export",
|
||||
{},
|
||||
`${this.$t("MN_F_T_232")}${new Date().getTime()}.xlsx`
|
||||
`${'模板'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
|
||||
|
@ -861,7 +861,7 @@ export default {
|
|||
process.env.VUE_APP_BASE_API +
|
||||
"/sale/manage/deliver/immediate-import?idList=" +
|
||||
this.idList;
|
||||
this.upload.title = this.$t("MN_T_9");
|
||||
this.upload.title = '导入';
|
||||
this.upload.open = true;
|
||||
},
|
||||
// 文件上传中处理
|
||||
|
@ -890,7 +890,7 @@ export default {
|
|||
this.upload.open = false;
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(response.msg, this.$t("MN_F_T_233"), {
|
||||
this.$alert(response.msg, '导入结果', {
|
||||
dangerouslyUseHTMLString: true,
|
||||
});
|
||||
// this.getList();
|
||||
|
@ -898,7 +898,7 @@ export default {
|
|||
// 上传文件数量超出后的动作
|
||||
handleExceed() {
|
||||
this.upload.isUploading = false;
|
||||
this.msgInfo(this.$t("MN_F_T_234"));
|
||||
this.msgInfo('仅可上传一个文件哦');
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
|
@ -986,7 +986,7 @@ export default {
|
|||
},
|
||||
//立即发货弹框删除
|
||||
handleDelete(row, index, tab) {
|
||||
this.$confirm(`${this.$t("MN_F_T_267")}?`).then((_) => {
|
||||
this.$confirm(`${'是否删除'}?`).then((_) => {
|
||||
const delList = [];
|
||||
this.fhTable.forEach((ele, eindex) => {
|
||||
if (
|
||||
|
@ -1008,16 +1008,16 @@ export default {
|
|||
//导出
|
||||
handleExport() {
|
||||
this.params.pkIdList = this.idList;
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/sale/manage/deliver/export",
|
||||
// {pkIdList:this.idList},
|
||||
{ ...this.params },
|
||||
`${this.$t("MN_F_T_269")}${new Date().getTime()}.xlsx`
|
||||
`${'发货清单-立即发货'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
},
|
||||
|
|
|
@ -982,7 +982,7 @@ export default {
|
|||
this.download(
|
||||
"/sale/manage/deliver/export",
|
||||
{ ...this.params },
|
||||
`${this.$t("MN_F_T_236")}${new Date().getTime()}.xlsx`
|
||||
`${'发货清单-立即发货'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
tableRowClassName({ row, rowIndex }) {
|
||||
|
|
|
@ -695,11 +695,11 @@ export default {
|
|||
return {
|
||||
qhList: [
|
||||
{
|
||||
text: this.$t("MN_F_T_259"),
|
||||
text: '提货商品',
|
||||
id: 0,
|
||||
},
|
||||
{
|
||||
text: this.$t("MN_F_T_260"),
|
||||
text: '绑定追溯码',
|
||||
id: 1,
|
||||
},
|
||||
],
|
||||
|
@ -724,10 +724,10 @@ export default {
|
|||
},
|
||||
hdrules: {
|
||||
transportTypeList: [
|
||||
{ required: true, message: this.$t("w_0064"), trigger: "change" },
|
||||
{ required: true, message: '请选择运输方式', trigger: "change" },
|
||||
],
|
||||
deliveryWayList: [
|
||||
{ required: true, message: this.$t("w_0062"), trigger: "change" },
|
||||
{ required: true, message: '请选择发货方式', trigger: "change" },
|
||||
],
|
||||
},
|
||||
yesornoList: [],
|
||||
|
@ -737,7 +737,7 @@ export default {
|
|||
presaleStatusList: [], //预售状态
|
||||
unproductData: [],
|
||||
zitiShow: false,
|
||||
ztTitle: this.$t("MN_F_T_708"),
|
||||
ztTitle: '自提',
|
||||
isMenu: "0",
|
||||
ztData: {},
|
||||
ztForm: {
|
||||
|
@ -846,7 +846,7 @@ export default {
|
|||
this.unproductData = res.data;
|
||||
});
|
||||
} else if (index == 0) {
|
||||
this.$confirm(this.$t("MN_F_T_261")).then((_) => {
|
||||
this.$confirm('是否确定进行全部合单操作?').then((_) => {
|
||||
del
|
||||
.deliverUnhandeldMerge(
|
||||
Object.assign({}, this.params, {
|
||||
|
@ -920,16 +920,16 @@ export default {
|
|||
//导出
|
||||
handleExport() {
|
||||
this.params.pkIdList = this.hdform.idList;
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/sale/manage/deliver-unhandled/export",
|
||||
// {pkIdList:this.hdform.idList},
|
||||
{ ...this.params },
|
||||
`${this.$t("MN_F_T_1178")}${new Date().getTime()}.xlsx`
|
||||
`${'未合单'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
},
|
||||
|
|
|
@ -974,7 +974,7 @@ export default {
|
|||
},
|
||||
//删除行内订单状态列
|
||||
deleteOrderRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => {
|
||||
this.$confirm('是否删除' + "?").then((_) => {
|
||||
del.deleteDeliverItems({ id: row.pkId || null }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
@ -988,7 +988,7 @@ export default {
|
|||
},
|
||||
//重置
|
||||
reCz(row) {
|
||||
this.$confirm(this.$t("MN_F_T_283")).then((_) => {
|
||||
this.$confirm('是否重置?').then((_) => {
|
||||
row.barCode = "";
|
||||
// del
|
||||
// .codeReset({ barCodeId: row.deliverBarCodeId || null })
|
||||
|
@ -1004,7 +1004,7 @@ export default {
|
|||
},
|
||||
//列表删除
|
||||
deleteDelivery() {
|
||||
this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => {
|
||||
this.$confirm('是否删除' + "?").then((_) => {
|
||||
del.deleteDeliver({ idList: this.idList.join() }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
@ -1020,7 +1020,7 @@ export default {
|
|||
handleDelete(row, index, rows) {
|
||||
if (this.ifcodebind) {
|
||||
//绑定-删除
|
||||
this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => {
|
||||
this.$confirm('是否删除' + "?").then((_) => {
|
||||
if (row.deliverBarCodeId) {
|
||||
del.codeReset({ barCodeId: row.deliverBarCodeId }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
|
@ -1041,7 +1041,7 @@ export default {
|
|||
} else {
|
||||
//解绑-删除
|
||||
|
||||
this.$confirm(this.$t("MN_F_T_267") + "?").then((_) => {
|
||||
this.$confirm('是否删除' + "?").then((_) => {
|
||||
if (row.deliverBarCodeId) {
|
||||
del.codeReset({ barCodeId: row.deliverBarCodeId }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
|
@ -1114,7 +1114,7 @@ export default {
|
|||
|
||||
if (index == true) {
|
||||
//绑定追溯
|
||||
this.zsTitle = this.$t("MN_F_T_260");
|
||||
this.zsTitle = '绑定追溯码';
|
||||
del
|
||||
.getCodeBindData({ deliverIdList: this.idList.join() })
|
||||
.then((res) => {
|
||||
|
@ -1125,7 +1125,7 @@ export default {
|
|||
});
|
||||
} else if (index == false) {
|
||||
//解绑追溯
|
||||
this.zsTitle = this.$t("MN_F_T_284");
|
||||
this.zsTitle = '解绑追溯码';
|
||||
|
||||
del
|
||||
.getCodeUnbindData({
|
||||
|
@ -1197,15 +1197,15 @@ export default {
|
|||
//导出
|
||||
handleExport() {
|
||||
this.params.pkDeliverList = this.idList;
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/sale/manage/deliver-handled/export",
|
||||
{ ...this.params },
|
||||
`${this.$t("MN_F_T_1179")}${new Date().getTime()}.xlsx`
|
||||
`${'已合单'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
},
|
||||
|
|
|
@ -291,7 +291,7 @@ export default {
|
|||
|
||||
urlRequest(obj).then((res) => {
|
||||
this.$message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: 'success',
|
||||
})
|
||||
|
||||
|
|
|
@ -291,9 +291,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t('ENU_POPUP_TYPE_1');
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t('ENU_POPUP_TYPE_2');
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -302,21 +302,21 @@ export default {
|
|||
typeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('ENU_NOTICE_WEBSITE_TYPE_1'),
|
||||
label: '前台',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_NOTICE_WEBSITE_TYPE_2'),
|
||||
label: '后台',
|
||||
},
|
||||
],
|
||||
digList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('ENU_POPUP_TYPE_1'),
|
||||
label: '允许',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_POPUP_TYPE_2'),
|
||||
label: '禁止',
|
||||
},
|
||||
],
|
||||
creationTime: [],
|
||||
|
@ -339,7 +339,7 @@ export default {
|
|||
name: "",
|
||||
},
|
||||
rules: {
|
||||
name: [{ required: true, message: this.$t('MN_F_T_302'), trigger: "blur" }],
|
||||
name: [{ required: true, message: '请输入规格类型', trigger: "blur" }],
|
||||
},
|
||||
webList: [],
|
||||
localList: [],
|
||||
|
@ -415,9 +415,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.noticeDelete({ pkId: id }).then((res) => {
|
||||
|
@ -482,9 +482,9 @@ export default {
|
|||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
const queryParams = this.queryParams;
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
})
|
||||
.then(function () {
|
||||
|
|
|
@ -221,7 +221,7 @@ export default {
|
|||
moren: 'specialZxqc',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_14'),
|
||||
name: '在线签呈',
|
||||
path: 'specialZxqc',
|
||||
},
|
||||
],
|
||||
|
@ -415,7 +415,7 @@ export default {
|
|||
} else {
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: this.$t('MY_ORD_79'),
|
||||
message: '上传失败',
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
@ -207,9 +207,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -218,28 +218,28 @@ export default {
|
|||
moren: "/announcement/feedback",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_84"),
|
||||
name: '意见反馈',
|
||||
path: "/announcement/feedback",
|
||||
},
|
||||
],
|
||||
typeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t("ENU_NOTICE_WEBSITE_TYPE_1"),
|
||||
label: '前台',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t("ENU_NOTICE_WEBSITE_TYPE_2"),
|
||||
label: '后台',
|
||||
},
|
||||
],
|
||||
digList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t("ENU_POPUP_TYPE_1"),
|
||||
label: '允许',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t("ENU_POPUP_TYPE_2"),
|
||||
label: '禁止',
|
||||
},
|
||||
],
|
||||
creationTime: [],
|
||||
|
@ -259,7 +259,7 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
name: [
|
||||
{ required: true, message: this.$t("MN_F_T_302"), trigger: "blur" },
|
||||
{ required: true, message: '请输入规格类型', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
webList: [],
|
||||
|
@ -325,9 +325,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.delFeed(id).then((res) => {
|
||||
|
@ -354,9 +354,9 @@ export default {
|
|||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -242,9 +242,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t('ENU_POPUP_TYPE_1');
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t('ENU_POPUP_TYPE_2');
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -253,21 +253,21 @@ export default {
|
|||
typeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('ENU_NOTICE_WEBSITE_TYPE_1'),
|
||||
label: '前台',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_NOTICE_WEBSITE_TYPE_2'),
|
||||
label: '后台',
|
||||
},
|
||||
],
|
||||
digList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('ENU_POPUP_TYPE_1'),
|
||||
label: '允许',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_POPUP_TYPE_2'),
|
||||
label: '禁止',
|
||||
},
|
||||
],
|
||||
creationTime: [],
|
||||
|
@ -289,13 +289,13 @@ export default {
|
|||
moren: "/announcement/noticeList/admin",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('ENU_APPROVE_B_520'),
|
||||
name: '前台公告',
|
||||
path: "/announcement/noticeList",
|
||||
url: "Notice",
|
||||
changed: false,
|
||||
},
|
||||
{
|
||||
name: this.$t('ENU_APPROVE_B_521'),
|
||||
name: '后台公告',
|
||||
path: "/announcement/noticeList/admin",
|
||||
url: "NoticeAdmin",
|
||||
changed: false,
|
||||
|
@ -305,7 +305,7 @@ export default {
|
|||
name: "",
|
||||
},
|
||||
rules: {
|
||||
name: [{ required: true, message: this.$t('MN_F_T_302'), trigger: "blur" }],
|
||||
name: [{ required: true, message: '请输入规格类型', trigger: "blur" }],
|
||||
},
|
||||
webList: [],
|
||||
localList: [],
|
||||
|
@ -386,9 +386,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.noticeDelete({ pkId: id }).then((res) => {
|
||||
|
@ -450,9 +450,9 @@ export default {
|
|||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
const queryParams = this.queryParams;
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
})
|
||||
.then(function () {
|
||||
|
|
|
@ -269,17 +269,17 @@ export default {
|
|||
{ required: true, message: "请选择", trigger: "change" },
|
||||
],
|
||||
websiteType: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
ruleFormTime: [
|
||||
{ required: true, message: "请选择起止时间", trigger: "change" },
|
||||
],
|
||||
isPopScreen: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
systemType: [{ required: true, message: "请选择", trigger: "change" }],
|
||||
content: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
@ -323,9 +323,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t('ENU_POPUP_TYPE_1');
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t('ENU_POPUP_TYPE_2');
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -334,21 +334,21 @@ export default {
|
|||
typeList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('ENU_NOTICE_WEBSITE_TYPE_1'),
|
||||
label: '前台',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_NOTICE_WEBSITE_TYPE_2'),
|
||||
label: '后台',
|
||||
},
|
||||
],
|
||||
digList: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('ENU_POPUP_TYPE_1'),
|
||||
label: '允许',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_POPUP_TYPE_2'),
|
||||
label: '禁止',
|
||||
},
|
||||
],
|
||||
creationTime: [],
|
||||
|
@ -370,13 +370,13 @@ export default {
|
|||
moren: "/announcement/noticeList",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('ENU_APPROVE_B_520'),
|
||||
name: '前台公告',
|
||||
path: "/announcement/noticeList",
|
||||
url: "Notice",
|
||||
changed: false,
|
||||
},
|
||||
{
|
||||
name: this.$t('ENU_APPROVE_B_521'),
|
||||
name: '后台公告',
|
||||
path: "/announcement/noticeList/admin",
|
||||
url: "NoticeAdmin",
|
||||
changed: false,
|
||||
|
@ -386,7 +386,7 @@ export default {
|
|||
name: "",
|
||||
},
|
||||
rules: {
|
||||
name: [{ required: true, message: this.$t('MN_F_T_302'), trigger: "blur" }],
|
||||
name: [{ required: true, message: '请输入规格类型', trigger: "blur" }],
|
||||
},
|
||||
webList: [],
|
||||
localList: [],
|
||||
|
@ -484,9 +484,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
// this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
// confirmButtonText: this.$t('w_0035'),
|
||||
// cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
// this.$confirm('确认删除?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: "warning",
|
||||
// }).then(() => {
|
||||
// api.noticeDelete({ pkId: id }).then((res) => {
|
||||
|
@ -553,9 +553,9 @@ export default {
|
|||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
const queryParams = this.queryParams;
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
})
|
||||
.then(function () {
|
||||
|
|
|
@ -176,7 +176,7 @@ export default {
|
|||
moren: "onSiteConfig",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_85'),
|
||||
name: '站内信配置',
|
||||
path: "onSiteConfig",
|
||||
},
|
||||
],
|
||||
|
@ -203,9 +203,9 @@ export default {
|
|||
// serviceRatio: [
|
||||
// { required: true, message: "请输入手续费值", trigger: "blur" },
|
||||
// ],
|
||||
// serviceType: [{ required: true, message: this.$t('CK_KS_38'), trigger: "change" }],
|
||||
// serviceType: [{ required: true, message: '请选择', trigger: "change" }],
|
||||
// effectiveDate: [
|
||||
// { required: true, message: this.$t('MN_F_T_402'), trigger: "change" },
|
||||
// { required: true, message: '请选择生效时间', trigger: "change" },
|
||||
// ],
|
||||
},
|
||||
};
|
||||
|
@ -270,7 +270,7 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t('w_0328');
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
if (this.$refs.form) {
|
||||
this.form.pkId = null;
|
||||
|
@ -280,7 +280,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.updateTitle = this.$t('PER_DA_20');
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.updateShow = true;
|
||||
ons.getMessageDetail({pkId:row.pkId}).then((res) => {
|
||||
|
@ -290,7 +290,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
ons.deletePlateform({ pkId: row.pkId }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -239,13 +239,13 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
templateCode: [
|
||||
{ required: true, message: this.$t('MN_F_T_321'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入短信编号', trigger: 'blur' }
|
||||
],
|
||||
templateName: [
|
||||
{ required: true, message: this.$t('MN_F_T_324'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' }
|
||||
],
|
||||
templateContent: [
|
||||
{ required: true, message: this.$t('MN_F_T_326'), trigger: 'change' }
|
||||
{ required: true, message: '请输入短信内容', trigger: 'change' }
|
||||
]
|
||||
},
|
||||
tables: { templateCode: '', templateName: '', templateContent: '', paramNum: 0, arr: [] },
|
||||
|
@ -259,15 +259,15 @@ export default {
|
|||
moren: 'addSms',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_338'),
|
||||
name: '短信记录',
|
||||
path: 'smsRecordList'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_125'),
|
||||
name: '短信模板',
|
||||
path: 'smsTemplate'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_126'),
|
||||
name: '新增短信',
|
||||
path: 'addSms'
|
||||
}
|
||||
],
|
||||
|
@ -284,7 +284,7 @@ export default {
|
|||
},
|
||||
gradeRangList: [],
|
||||
awardsList: [],
|
||||
statusList: [{ 'name': this.$t('ENU_BON_I_S_0'), 'id': '0' }, { 'name': this.$t('ENU_MACHINE_STATE_3'), 'id': '1' }],
|
||||
statusList: [{ 'name': '正常', 'id': '0' }, { 'name': '停用', 'id': '1' }],
|
||||
menuOptions: [],
|
||||
tableData: [],
|
||||
total: 0,
|
||||
|
@ -369,7 +369,7 @@ export default {
|
|||
const arr = []
|
||||
if (row.paramNum > 0) {
|
||||
for (let i = 0; i < row.paramNum; i++) {
|
||||
arr.push({ 'name': this.$t('MN_F_T_339') + (i + 1), 'value': '' })
|
||||
arr.push({ 'name': '参数' + (i + 1), 'value': '' })
|
||||
}
|
||||
}
|
||||
row.arr = arr
|
||||
|
@ -457,15 +457,15 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除角色信息
|
||||
this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该角色吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delRole(item.roleId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('w_0089'),
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.research()
|
||||
|
@ -482,7 +482,7 @@ export default {
|
|||
const datas = this.table
|
||||
if (datas.templateId == '') {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_336')
|
||||
message: '选择短信模版'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
@ -495,25 +495,25 @@ export default {
|
|||
console.error(this.memberList)
|
||||
if (datas.sendScope == 1 && this.memberList.length==0) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_341')
|
||||
message: '请选择指定会员'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (datas.sendScope == 2 && this.orderList.length==0) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_342')
|
||||
message: '请选择订单短信'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (datas.sendScope == 3 && datas.phones == '' || datas.phones == null) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_343')
|
||||
message: '请输入指定用户'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (datas.sendType == 2 && datas.sendTime == '' || datas.phones == null) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_344')
|
||||
message: '请输入选择指定时间'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
@ -549,9 +549,9 @@ export default {
|
|||
})
|
||||
}
|
||||
if (this.tables.paramNum > 0 && datas.paramList.length == 0) {
|
||||
this.$confirm(this.$t('MN_F_T_349'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('该短信模板存在参数设置是否不输入进行提交?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.create(datas).then((res) => {
|
||||
|
|
|
@ -217,23 +217,23 @@ export default {
|
|||
return {
|
||||
modifiedTime:[],
|
||||
modifiedTime1:[],
|
||||
title: this.$t('w_0328'),
|
||||
title: '添加',
|
||||
forms: '',
|
||||
rules: {
|
||||
position: [
|
||||
{ required: true, message: this.$t('MN_F_T_355'), trigger: 'blur' }
|
||||
{ required: true, message: '请选择发布位置', trigger: 'blur' }
|
||||
],
|
||||
picture: [
|
||||
{ required: true, message: this.$t('MN_F_T_356'), trigger: 'blur' }
|
||||
{ required: true, message: '请上传图片', trigger: 'blur' }
|
||||
],
|
||||
sort: [
|
||||
{ required: true, message: this.$t('MN_F_T_357'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入排序', trigger: 'blur' }
|
||||
],
|
||||
// link: [
|
||||
// { required: true, message: this.$t('MN_F_T_358'), trigger: 'blur' }
|
||||
// { required: true, message: '请输入链接', trigger: 'blur' }
|
||||
// ],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t('MN_F_T_358'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入链接', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { position: '', picture: '', sort: '', effectiveDate: '', link: '' },
|
||||
|
@ -241,7 +241,7 @@ export default {
|
|||
moren: 'advertisementBanner',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_142'),
|
||||
name: '广告Banner',
|
||||
path: 'advertisementBanner'
|
||||
}
|
||||
],
|
||||
|
@ -257,8 +257,8 @@ export default {
|
|||
},
|
||||
gradeRangList: [],
|
||||
awardsList: [],
|
||||
statusList: [{ 'name': this.$t('MN_F_T_334'), 'id': '1' }, { 'name': this.$t('MN_F_T_335'), 'id': '2' }],
|
||||
statusList1: [{ 'name': this.$t('MN_F_T_359'), 'id': '0' }, { 'name': this.$t('MN_F_T_360'), 'id': '1' }],
|
||||
statusList: [{ 'name': '立即发送', 'id': '1' }, { 'name': '定时发送', 'id': '2' }],
|
||||
statusList1: [{ 'name': '未发送', 'id': '0' }, { 'name': '已发送', 'id': '1' }],
|
||||
menuOptions: [],
|
||||
loading:false,
|
||||
tableData: [],
|
||||
|
@ -317,7 +317,7 @@ export default {
|
|||
addRules() {
|
||||
this.types = 1
|
||||
this.ruleShow = true
|
||||
this.title = this.$t('w_0328')
|
||||
this.title = '添加'
|
||||
},
|
||||
submitBtn() {
|
||||
console.error(this.table)
|
||||
|
@ -326,7 +326,7 @@ export default {
|
|||
},
|
||||
updateShow(item) {
|
||||
this.types = 2
|
||||
this.title = this.$t('PER_DA_20')
|
||||
this.title = '修改'
|
||||
// 更新角色信息
|
||||
this.formId = item.pkId
|
||||
api.getBannerDetails(item.pkId).then((res) => {
|
||||
|
@ -344,9 +344,9 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除广告
|
||||
this.$confirm(this.$t('MN_F_T_361'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该广告吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delBanner(item.pkId).then((res) => {
|
||||
|
|
|
@ -294,7 +294,7 @@ export default {
|
|||
moren: "lstd",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_122"),
|
||||
name: '隶属团队',
|
||||
path: "lstd",
|
||||
},
|
||||
],
|
||||
|
@ -325,14 +325,14 @@ export default {
|
|||
pkBdVertex: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("MN_F_T_367"),
|
||||
message: '请选择体系名称',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
teamName: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("MN_F_T_364"),
|
||||
message: '请输入团队名称',
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
|
@ -340,7 +340,7 @@ export default {
|
|||
memberCode: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("w_0046"),
|
||||
message: '请输入会员编号',
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
|
@ -348,7 +348,7 @@ export default {
|
|||
teamCode: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("MN_F_T_370"),
|
||||
message: '请输入团队编码',
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
|
@ -414,9 +414,9 @@ export default {
|
|||
},
|
||||
// 更新团队
|
||||
updateTeam(row) {
|
||||
this.$confirm(this.$t("MN_F_T_371"), "", {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认更新该团队?', "", {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
updateTeams(row.pkId).then((res) => {
|
||||
|
@ -436,8 +436,8 @@ export default {
|
|||
},
|
||||
addflushAll() {
|
||||
this.$confirm("是否确认更新全部?", "", {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
const loading = this.$loading({
|
||||
|
@ -460,7 +460,7 @@ export default {
|
|||
// 修改
|
||||
update(row) {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
getOneTeam(row.pkId).then((res) => {
|
||||
this.form = res.data;
|
||||
|
@ -469,7 +469,7 @@ export default {
|
|||
// 添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
if (this.$refs.form) {
|
||||
this.form.pkId = null;
|
||||
|
@ -494,9 +494,9 @@ export default {
|
|||
|
||||
// 删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
deleteMemberTeam(row.pkId).then((res) => {
|
||||
|
@ -524,9 +524,9 @@ export default {
|
|||
},
|
||||
checkQiyong(row) {
|
||||
if (row.enableState == 0) {
|
||||
return this.$t("MN_F_T_372");
|
||||
return '启用';
|
||||
} else {
|
||||
return this.$t("MN_F_T_373");
|
||||
return '禁用';
|
||||
}
|
||||
},
|
||||
handleSelectionChange(val) {
|
||||
|
|
|
@ -225,7 +225,7 @@ export default {
|
|||
moren: "yhpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_133'),
|
||||
name: '银行配置',
|
||||
path: "yhpz",
|
||||
},
|
||||
],
|
||||
|
@ -241,8 +241,8 @@ export default {
|
|||
loading:false,
|
||||
multipleSelection: [],
|
||||
qiyongList: [
|
||||
{ value: 0, label: this.$t('MN_F_T_372') },
|
||||
{ value: 1, label: this.$t('MN_F_T_373') },
|
||||
{ value: 0, label: '启用' },
|
||||
{ value: 1, label: '禁用' },
|
||||
],
|
||||
total: 0,
|
||||
queryParams: {
|
||||
|
@ -258,15 +258,15 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
enableState: [
|
||||
{ required: true, message: this.$t('MN_F_T_377'), trigger: "change" },
|
||||
{ required: true, message: '请选择启用状态', trigger: "change" },
|
||||
],
|
||||
bankName: [
|
||||
{ required: true, message: this.$t('MN_F_T_374'), trigger: "blur" },
|
||||
{ required: true, message: '请输入银行名称', trigger: "blur" },
|
||||
],
|
||||
backgroundImg: [
|
||||
{ required: true, message: this.$t('MN_F_T_379'), trigger: "change" },
|
||||
{ required: true, message: '请上传背景', trigger: "change" },
|
||||
],
|
||||
logo: [{ required: true, message: this.$t('MN_F_T_380'), trigger: "change" }],
|
||||
logo: [{ required: true, message: '请上传logo', trigger: "change" }],
|
||||
},
|
||||
updateShow: false,
|
||||
addOrEdit: "", //添加还是修改 true添加 false修改
|
||||
|
@ -335,7 +335,7 @@ export default {
|
|||
//修改
|
||||
update(row) {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t('PER_DA_20');
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
getOneBankList({ pkId: row.pkId }).then((res) => {
|
||||
this.form = res.data;
|
||||
|
@ -344,7 +344,7 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t('w_0328');
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
if (this.$refs.form) {
|
||||
this.form.pkId = null;
|
||||
|
@ -365,9 +365,9 @@ export default {
|
|||
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
deleteBank({ pkId: row.pkId }).then((res) => {
|
||||
|
|
|
@ -204,9 +204,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -227,15 +227,15 @@ export default {
|
|||
// 1=已生成 2=已打印 3=已绑定
|
||||
codeStatusList: [
|
||||
{
|
||||
text: this.$t("ENU_BAR_S_1"),
|
||||
text: '已生成',
|
||||
val: 1,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_BAR_S_2"),
|
||||
text: '会员级',
|
||||
val: 2,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_BAR_S_3"),
|
||||
text: '会员级',
|
||||
val: 3,
|
||||
},
|
||||
],
|
||||
|
@ -285,15 +285,15 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/system/manage/bar-code-items/printTxm",
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`${this.$t("MN_F_T_408")}${new Date().getTime()}.pdf`
|
||||
`${'条形码明细'}${new Date().getTime()}.pdf`
|
||||
);
|
||||
// api.printTxm(Object.assign({}, this.queryParams, this.select)).then(res=>{
|
||||
// console.log('%c [ res ]-267', 'font-size:13px; background:#9fe869; color:#e3ffad;', res)
|
||||
|
@ -302,15 +302,15 @@ export default {
|
|||
});
|
||||
},
|
||||
handleExportDetail() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/system/manage/bar-code-items/export",
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`${this.$t("MN_F_T_408")}${new Date().getTime()}.xlsx`
|
||||
`${'条形码明细'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
// api.printTxm(Object.assign({}, this.queryParams, this.select)).then(res=>{
|
||||
// console.log('%c [ res ]-267', 'font-size:13px; background:#9fe869; color:#e3ffad;', res)
|
||||
|
@ -320,9 +320,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.waresDel(id).then((res) => {
|
||||
|
|
|
@ -647,11 +647,11 @@ export default {
|
|||
tableData: [],
|
||||
agreeList: [
|
||||
{
|
||||
text: this.$t('ENU_POPUP_TYPE_1'),
|
||||
text: '允许',
|
||||
val: 0
|
||||
},
|
||||
{
|
||||
text: this.$t('ENU_POPUP_TYPE_2'),
|
||||
text: '禁止',
|
||||
val: 1
|
||||
}
|
||||
],
|
||||
|
@ -664,35 +664,35 @@ export default {
|
|||
shengcheng: false,
|
||||
rules: {
|
||||
isYear: [
|
||||
{ required: true, message: this.$t('MN_F_T_383'), trigger: 'change' }
|
||||
{ required: true, message: '请选择包含年份', trigger: 'change' }
|
||||
],
|
||||
isMonth: [
|
||||
{ required: true, message: this.$t('MN_F_T_385'), trigger: 'change' }
|
||||
{ required: true, message: '请选择包含月份', trigger: 'change' }
|
||||
],
|
||||
isInitialize: [
|
||||
{ required: true, message: this.$t('MN_F_T_389'), trigger: 'change' }
|
||||
{ required: true, message: '请选择自动初始化', trigger: 'change' }
|
||||
],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t('MN_F_T_402'), trigger: 'change' }
|
||||
{ required: true, message: '请选择生效时间', trigger: 'change' }
|
||||
],
|
||||
productCode: [
|
||||
{ required: true, message: this.$t('MN_F_T_401'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入正确的产品编码', trigger: 'blur' }
|
||||
],
|
||||
prefix: [{ required: true, message: this.$t('MN_F_T_400'), trigger: 'blur' }],
|
||||
prefix: [{ required: true, message: '请输入前缀', trigger: 'blur' }],
|
||||
tailNumber: [
|
||||
{ required: true, message: this.$t('MN_F_T_387'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入尾号位数', trigger: 'blur' }
|
||||
],
|
||||
endNumber: [
|
||||
{ required: true, message: this.$t('MN_F_T_399'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入初始位数', trigger: 'blur' }
|
||||
],
|
||||
currentNumber: [
|
||||
{ required: true, message: this.$t('MN_F_T_398'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入当前尾数', trigger: 'blur' }
|
||||
],
|
||||
batch: [{ required: true, message: this.$t('MN_F_T_397'), trigger: 'blur' }]
|
||||
batch: [{ required: true, message: '请输入追溯批次', trigger: 'blur' }]
|
||||
},
|
||||
rules1: {
|
||||
generateCount: [
|
||||
{ required: true, message: this.$t('MN_F_T_396'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入生成数量', trigger: 'blur' }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -753,9 +753,9 @@ export default {
|
|||
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.bd_bar_codeDel(id).then((res) => {
|
||||
|
|
|
@ -75,40 +75,40 @@ export default {
|
|||
moren: "fdfh",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -90,40 +90,40 @@ export default {
|
|||
moren: "fwbt",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_412"),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_114"),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_413"),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_116"),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t("MN_F_T_117"),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_118"),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_119"),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_120"),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_121"),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -45,40 +45,40 @@ export default {
|
|||
moren: "hqjf",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -212,40 +212,40 @@ export default {
|
|||
moren: "bonus",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
@ -279,15 +279,15 @@ export default {
|
|||
methods: {
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm( '是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
'/system/manage/bd-bonus-items/export',
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`${this.$t('MN_F_T_412')}${new Date().getTime()}.xlsx`
|
||||
`${'奖项配置'}${new Date().getTime()}.xlsx`
|
||||
)
|
||||
})
|
||||
},
|
||||
|
@ -380,7 +380,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deletebonusList(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -74,40 +74,40 @@ export default {
|
|||
moren: "jjkx",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -263,40 +263,40 @@ export default {
|
|||
moren: "kzpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -59,40 +59,40 @@ export default {
|
|||
moren: "njjf",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -45,40 +45,40 @@ export default {
|
|||
moren: "ydpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: "bonus",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: "ztpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: "kzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: "fdfh",
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: "fwbt",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: "jjkx",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: "ydpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: "hqjf",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: "njjf",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -446,40 +446,40 @@ export default {
|
|||
moren: 'ztpz',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_412'),
|
||||
name: '奖项配置',
|
||||
path: 'bonus'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_114'),
|
||||
name: '直推配置',
|
||||
path: 'ztpz'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_413'),
|
||||
name: '拓展配置',
|
||||
path: 'kzpz'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_116'),
|
||||
name: '辅导分红',
|
||||
path: 'fdfh'
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_117'),
|
||||
name: '服务补贴',
|
||||
path: 'fwbt'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_118'),
|
||||
name: '奖金扣项',
|
||||
path: 'jjkx'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_119'),
|
||||
name: '云代配置',
|
||||
path: 'ydpz'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_120'),
|
||||
name: '环球积分',
|
||||
path: 'hqjf'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_121'),
|
||||
name: '车奖积分',
|
||||
path: 'njjf'
|
||||
}
|
||||
],
|
||||
|
@ -532,15 +532,15 @@ export default {
|
|||
cdSelectList: [
|
||||
{
|
||||
value: '1',
|
||||
label: this.$t('MN_F_T_493')
|
||||
label: '覆盖'
|
||||
},
|
||||
{
|
||||
value: '2',
|
||||
label: this.$t('MN_F_T_494')
|
||||
label: '补差'
|
||||
},
|
||||
{
|
||||
value: '3',
|
||||
label: this.$t('MN_F_T_495')
|
||||
label: '累计'
|
||||
}
|
||||
], // 升级方式
|
||||
rules: {},
|
||||
|
|
|
@ -258,7 +258,7 @@ export default {
|
|||
moren: "ywblsxf",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_134"),
|
||||
name: '业务办理手续费',
|
||||
path: "ywblsxf",
|
||||
},
|
||||
],
|
||||
|
@ -289,14 +289,14 @@ export default {
|
|||
type: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("MN_F_T_1213"),
|
||||
message: '请选择业务',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
pkAccount: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("MN_F_T_1214"),
|
||||
message: '请选择币种',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
|
@ -386,7 +386,7 @@ export default {
|
|||
// 添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
this.form.pkId = null;
|
||||
this.form = {
|
||||
|
@ -403,7 +403,7 @@ export default {
|
|||
},
|
||||
// 修改
|
||||
update(row) {
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.updateShow = true;
|
||||
this.addOrEdit = false;
|
||||
getOneHandelWorkList(row.pkId).then((res) => {
|
||||
|
@ -412,9 +412,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
deletHandelWork(row.pkId).then((res) => {
|
||||
|
@ -439,9 +439,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm( '是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -129,7 +129,7 @@ export default {
|
|||
children: "children",
|
||||
expandTrigger: "hover",
|
||||
},
|
||||
title: this.$t("w_0328"),
|
||||
title: '添加',
|
||||
forms: "",
|
||||
pickerOptions: {
|
||||
disabledDate(time) {
|
||||
|
@ -140,7 +140,7 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("MN_F_T_355"), trigger: "blur" },
|
||||
{ required: true, message: '请选择发布位置', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
table: {
|
||||
|
@ -171,12 +171,12 @@ export default {
|
|||
gradeRangList: [],
|
||||
awardsList: [],
|
||||
statusList: [
|
||||
{ name: this.$t("MN_F_T_334"), id: "1" },
|
||||
{ name: this.$t("MN_F_T_335"), id: "2" },
|
||||
{ name: '立即发送', id: "1" },
|
||||
{ name: '定时发送', id: "2" },
|
||||
],
|
||||
statusList1: [
|
||||
{ name: this.$t("MN_F_T_359"), id: "0" },
|
||||
{ name: this.$t("MN_F_T_360"), id: "1" },
|
||||
{ name: '未发送', id: "0" },
|
||||
{ name: '已发送', id: "1" },
|
||||
],
|
||||
menuOptions: [],
|
||||
loading: false,
|
||||
|
@ -197,9 +197,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -244,7 +244,7 @@ export default {
|
|||
addRules() {
|
||||
this.types = 1;
|
||||
this.ruleShow = true;
|
||||
this.title = this.$t("w_0328");
|
||||
this.title = '添加';
|
||||
},
|
||||
submitBtn() {
|
||||
// 添加角色
|
||||
|
@ -252,7 +252,7 @@ export default {
|
|||
},
|
||||
updateShow(item) {
|
||||
this.types = 2;
|
||||
this.title = this.$t("PER_DA_20");
|
||||
this.title = '修改';
|
||||
this.table = item;
|
||||
let arr = [item.province + "", item.city + "", (item.county || "") + ""];
|
||||
arr = arr.filter((item) => item != "");
|
||||
|
@ -263,9 +263,9 @@ export default {
|
|||
this.ruleShow = true;
|
||||
},
|
||||
delRole(item) {
|
||||
this.$confirm(this.$t("确认要删除该配置吗?"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm(this.$t("确认要删除该配置吗?"), '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
con.delRetailRegion(item.pkId).then((res) => {
|
||||
|
|
|
@ -293,10 +293,10 @@ export default {
|
|||
ifadd: "",
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
// contacts: [
|
||||
// { required: true, message: this.$t('S_C_70'), trigger: 'blur' },
|
||||
// { required: true, message: '请输入', trigger: 'blur' },
|
||||
// ],
|
||||
},
|
||||
deleteId: "",
|
||||
|
@ -338,7 +338,7 @@ export default {
|
|||
},
|
||||
/** 导入按钮操作 */
|
||||
handleImport() {
|
||||
this.upload.title = this.$t("ENU_APPROVE_B_123");
|
||||
this.upload.title = '安置架构';
|
||||
this.upload.open = true;
|
||||
},
|
||||
// 文件上传中处理
|
||||
|
@ -357,7 +357,7 @@ export default {
|
|||
this.upload.open = false;
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(response.msg, this.$t("MN_F_T_233"), {
|
||||
this.$alert(response.msg, '导入结果', {
|
||||
dangerouslyUseHTMLString: true,
|
||||
});
|
||||
// this.getList();
|
||||
|
@ -365,7 +365,7 @@ export default {
|
|||
// 上传文件数量超出后的动作
|
||||
handleExceed() {
|
||||
this.upload.isUploading = false;
|
||||
this.msgInfo(this.$t("MN_F_T_234"));
|
||||
this.msgInfo('仅可上传一个文件哦');
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
|
@ -430,9 +430,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(row) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
if (row.pkId) {
|
||||
|
@ -457,7 +457,7 @@ export default {
|
|||
});
|
||||
},
|
||||
openDig() {
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
this.form = {};
|
||||
this.ifadd = 1;
|
||||
this.dialogVisible = true;
|
||||
|
@ -473,9 +473,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -304,9 +304,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api
|
||||
|
@ -336,15 +336,15 @@ export default {
|
|||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
'/system/manage/ho-enterprise-mission/export',
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`${this.$t('MN_F_T_193')}${new Date().getTime()}.xlsx`
|
||||
`${'企业使命'}${new Date().getTime()}.xlsx`
|
||||
)
|
||||
})
|
||||
},
|
||||
|
|
|
@ -105,11 +105,11 @@ export default {
|
|||
this.tabActive = 2
|
||||
this.topList = [
|
||||
{
|
||||
name: this.$t('MN_F_T_103'),
|
||||
name: '转账配置',
|
||||
id: 2
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_104'),
|
||||
name: '提现配置',
|
||||
id: 1
|
||||
}
|
||||
]
|
||||
|
@ -129,14 +129,14 @@ export default {
|
|||
if (res.data.businessModule == 2) {
|
||||
this.topList = [
|
||||
{
|
||||
name: this.$t('MN_F_T_103'),
|
||||
name: '转账配置',
|
||||
id: 2
|
||||
}
|
||||
]
|
||||
} else {
|
||||
this.topList = [
|
||||
{
|
||||
name: this.$t('MN_F_T_104'),
|
||||
name: '提现配置',
|
||||
id: 1
|
||||
}
|
||||
]
|
||||
|
|
|
@ -252,10 +252,10 @@ export default {
|
|||
dialogTitle: "",
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
pkAccount: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
},
|
||||
addEdit: 0,
|
||||
|
@ -282,9 +282,9 @@ export default {
|
|||
},
|
||||
//批量删除
|
||||
deleteChoice() {
|
||||
this.$confirm(this.$t("MN_F_T_911"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认操作?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
let thepkIds = [];
|
||||
|
@ -345,9 +345,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api
|
||||
|
@ -367,10 +367,10 @@ export default {
|
|||
this.form = {};
|
||||
this.dialogVisible = true;
|
||||
this.addEdit = 1;
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
updateRow(row) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
api.transferWhiteDetail({ pkId: row.pkId }).then((res) => {
|
||||
res.data.pkAccount = res.data.pkAccountId;
|
||||
this.form = res.data;
|
||||
|
@ -390,9 +390,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -350,13 +350,13 @@ export default {
|
|||
],
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("w_0046"), trigger: "blur" },
|
||||
{ required: true, message: '请输入会员编号', trigger: "blur" },
|
||||
],
|
||||
withdrawalState: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
transferState: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
},
|
||||
addOrEdit: true,
|
||||
|
@ -460,9 +460,9 @@ export default {
|
|||
// 删除
|
||||
handleDelete(id) {
|
||||
let arr;
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
if (id) {
|
||||
|
@ -505,9 +505,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -58,7 +58,7 @@ export default {
|
|||
moren: "deliveryWay",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('w_0061'),
|
||||
name: '发货方式',
|
||||
path: "deliveryWay",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -183,7 +183,7 @@ export default {
|
|||
moren: "freePostageAreas",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("CK_KS_155"),
|
||||
name: '免邮专区配置',
|
||||
path: "freePostageAreas",
|
||||
},
|
||||
],
|
||||
|
@ -199,11 +199,11 @@ export default {
|
|||
updateTitle: "",
|
||||
agreeList: [
|
||||
{
|
||||
label: this.$t("ENU_POPUP_TYPE_1"),
|
||||
label: '允许',
|
||||
value: 0,
|
||||
},
|
||||
{
|
||||
label: this.$t("ENU_POPUP_TYPE_2"),
|
||||
label: '禁止',
|
||||
value: 1,
|
||||
},
|
||||
],
|
||||
|
@ -218,10 +218,10 @@ export default {
|
|||
{ required: true, message: "请输入", trigger: "blur" },
|
||||
],
|
||||
specialArea: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: 'change' },
|
||||
{ required: true, message: '请选择', trigger: 'change' },
|
||||
],
|
||||
enableState: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@ -243,31 +243,31 @@ export default {
|
|||
if (e == 3 || e == 26 || e == 12 || e == 22 || e == 14) {
|
||||
this.$set(this, 'topList', [
|
||||
{
|
||||
name: this.$t('MN_F_T_1122'),
|
||||
name: '基础设置',
|
||||
id: 0,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_1164'),
|
||||
name: '产品明细',
|
||||
id: 1,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_617'),
|
||||
name: '规格明细',
|
||||
id: 2,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_1163'),
|
||||
name: '团队配置',
|
||||
id: 3,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_623'),
|
||||
name: '级差配置',
|
||||
id: 4,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_1166'),
|
||||
name: '等级配置',
|
||||
id: 5,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_109'),
|
||||
name: '奖衔配置',
|
||||
id: 6,
|
||||
},
|
||||
{
|
||||
|
@ -278,28 +278,28 @@ export default {
|
|||
} else {
|
||||
this.$set(this, 'topList', [
|
||||
{
|
||||
name: this.$t('MN_F_T_1122'),
|
||||
name: '基础设置',
|
||||
id: 0,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_1164'),
|
||||
name: '产品明细',
|
||||
id: 1,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_617'),
|
||||
name: '规格明细',
|
||||
id: 2,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_1163'),
|
||||
name: '团队配置',
|
||||
id: 3,
|
||||
},
|
||||
|
||||
{
|
||||
name: this.$t('MN_F_T_1166'),
|
||||
name: '等级配置',
|
||||
id: 5,
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_109'),
|
||||
name: '奖衔配置',
|
||||
id: 6,
|
||||
},
|
||||
{
|
||||
|
@ -360,13 +360,13 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
},
|
||||
|
||||
//修改
|
||||
update(row) {
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.updateShow = true;
|
||||
con.getAresFreePostageRow(row.pkId).then((res) => {
|
||||
|
@ -375,7 +375,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
con.deleteAresFreePostage(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -241,7 +241,7 @@ export default {
|
|||
moren: "honorAdmin",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_137'),
|
||||
name: '荣誉馆配置',
|
||||
path: "honorAdmin",
|
||||
},
|
||||
],
|
||||
|
@ -258,13 +258,13 @@ export default {
|
|||
dialogVisible: false,
|
||||
rules: {
|
||||
name: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
title: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
value: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
type: [
|
||||
{ required: true, message: "请选择达标标准", trigger: "change" },
|
||||
|
@ -273,7 +273,7 @@ export default {
|
|||
img: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('MN_F_T_356'),
|
||||
message: '请上传图片',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
|
@ -300,9 +300,9 @@ export default {
|
|||
methods: {
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
delMember(row.pkId).then((res) => {
|
||||
|
@ -337,7 +337,7 @@ export default {
|
|||
//修改
|
||||
update(data) {
|
||||
this.selectIndex = data.type
|
||||
this.dialogTitle = this.$t('PER_DA_20');
|
||||
this.dialogTitle = '修改';
|
||||
this.ifadd = 2;
|
||||
this.form.name = data.name
|
||||
this.form.value = data.value
|
||||
|
@ -349,15 +349,15 @@ export default {
|
|||
},
|
||||
//导出
|
||||
handleExport() {
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/system/manage/store-level/export",
|
||||
{ ...this.queryParams },
|
||||
`${this.$t('MN_F_T_1203')}${new Date().getTime()}.xlsx`
|
||||
`${'店铺等级'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
},
|
||||
|
@ -419,7 +419,7 @@ export default {
|
|||
});
|
||||
},
|
||||
addData() {
|
||||
this.dialogTitle = this.$t('w_0328');
|
||||
this.dialogTitle = '添加';
|
||||
this.ifadd = 1;
|
||||
this.form = {
|
||||
value: "",
|
||||
|
|
|
@ -237,25 +237,25 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
title: this.$t("w_0328"),
|
||||
title: '添加',
|
||||
modifiedTime: [],
|
||||
modifiedTime1: [],
|
||||
forms: "",
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
expandRatio: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
coachGeneration: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
startDate: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
endDate: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
},
|
||||
table: {},
|
||||
|
@ -283,11 +283,11 @@ export default {
|
|||
addRules() {
|
||||
this.types = 1;
|
||||
this.ruleShow = true;
|
||||
this.title = this.$t("w_0328");
|
||||
this.title = '添加';
|
||||
},
|
||||
updateShow(item) {
|
||||
this.types = 2;
|
||||
this.title = this.$t("PER_DA_20");
|
||||
this.title = '修改';
|
||||
api
|
||||
.kValueDetail({
|
||||
pkMemberRiskControl: item.pkId,
|
||||
|
@ -300,9 +300,9 @@ export default {
|
|||
});
|
||||
},
|
||||
delRole(item) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api
|
||||
|
|
|
@ -198,7 +198,7 @@ export default {
|
|||
moren: "label",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_131'),
|
||||
name: '标签配置',
|
||||
path: "label",
|
||||
},
|
||||
],
|
||||
|
@ -216,8 +216,8 @@ export default {
|
|||
},
|
||||
total: 0,
|
||||
rules: {
|
||||
label: [{ required: true, message: this.$t('S_C_70'), trigger: "blur" }],
|
||||
labelType: [{ required: true, message: this.$t('CK_KS_38'), trigger: "change" }],
|
||||
label: [{ required: true, message: '请输入', trigger: "blur" }],
|
||||
labelType: [{ required: true, message: '请选择', trigger: "change" }],
|
||||
labelImage: [
|
||||
{ required: true, message: "请选择图片", trigger: "change" },
|
||||
],
|
||||
|
@ -241,7 +241,7 @@ export default {
|
|||
this.download(
|
||||
"/system/manage/label/export",
|
||||
{ ...this.queryParams },
|
||||
`${this.$t('MN_F_T_131')}${new Date().getTime()}.xlsx`
|
||||
`${'标签配置'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
//点击保存
|
||||
|
@ -272,7 +272,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deletLabel({ pkId: row.pkId }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
moren: "label",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_131'),
|
||||
name: '标签配置',
|
||||
path: "label",
|
||||
},
|
||||
],
|
||||
|
@ -110,7 +110,7 @@
|
|||
},
|
||||
//删除标签
|
||||
deletLabel(id) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deletLabel({ pkId: id }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -248,7 +248,7 @@ export default {
|
|||
picture: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t("MN_F_T_356"),
|
||||
message: '请上传图片',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
|
@ -284,9 +284,9 @@ export default {
|
|||
});
|
||||
},
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
con.delRangeStore(row.pkId).then((res) => {
|
||||
|
@ -316,7 +316,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(pkId) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.ifadd = 2;
|
||||
con.getStoreLevelOne({ pkId: pkId }).then((res) => {
|
||||
this.form = res.data;
|
||||
|
@ -327,9 +327,9 @@ export default {
|
|||
},
|
||||
//导出
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -352,7 +352,7 @@ export default {
|
|||
con.rangeStoreAdd(this.form).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
message: this.$t("MN_F_T_477"),
|
||||
message: '添加成功',
|
||||
type: "success",
|
||||
});
|
||||
this.dialogVisible = false;
|
||||
|
@ -384,7 +384,7 @@ export default {
|
|||
});
|
||||
},
|
||||
addData() {
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
this.ifadd = 1;
|
||||
this.form = {
|
||||
memberCode: "",
|
||||
|
|
|
@ -204,19 +204,19 @@ export default {
|
|||
moren: "fgjc",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_1166'),
|
||||
name: '等级配置',
|
||||
path: "level",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_109'),
|
||||
name: '奖衔配置',
|
||||
path: "jxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_110'),
|
||||
name: '复购极差',
|
||||
path: "fgjc",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_111'),
|
||||
name: '配送中心',
|
||||
path: "pszx",
|
||||
},
|
||||
],
|
||||
|
@ -266,7 +266,7 @@ export default {
|
|||
methods: {
|
||||
//添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t('w_0328');
|
||||
this.dialogTitle = '添加';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1;
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -279,7 +279,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.dialogTitle = this.$t('PER_DA_20');
|
||||
this.dialogTitle = '修改';
|
||||
this.addEdit = 2;
|
||||
this.updateShow = true;
|
||||
getOneManage(row.pkId).then((res) => {
|
||||
|
@ -367,7 +367,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row, item) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteRange(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -271,19 +271,19 @@ export default {
|
|||
moren: "level",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_1166'),
|
||||
name: '等级配置',
|
||||
path: "level",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_109'),
|
||||
name: '奖衔配置',
|
||||
path: "jxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_110'),
|
||||
name: '复购极差',
|
||||
path: "fgjc",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_111'),
|
||||
name: '配送中心',
|
||||
path: "pszx",
|
||||
},
|
||||
],
|
||||
|
@ -332,10 +332,10 @@ export default {
|
|||
{ required: true, message: "请选择注册权限", trigger: "change" },
|
||||
],
|
||||
image: [
|
||||
{ required: true, message: this.$t('MN_F_T_356'), trigger: "change" },
|
||||
{ required: true, message: '请上传图片', trigger: "change" },
|
||||
],
|
||||
icon: [
|
||||
{ required: true, message: this.$t('MN_F_T_766'), trigger: "change" },
|
||||
{ required: true, message: '请上传图标', trigger: "change" },
|
||||
],
|
||||
},
|
||||
addEdit: "",
|
||||
|
@ -360,9 +360,9 @@ export default {
|
|||
},
|
||||
//启用/禁用
|
||||
updateState(row) {
|
||||
this.$confirm(this.$t('MN_F_T_804'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认更改状态?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
var thestate = "";
|
||||
|
@ -405,7 +405,7 @@ export default {
|
|||
},
|
||||
//添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t('w_0328');
|
||||
this.dialogTitle = '添加';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1;
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -486,7 +486,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row, item) {
|
||||
this.dialogTitle = this.$t('PER_DA_20');
|
||||
this.dialogTitle = '修改';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 2;
|
||||
getOnelist(row.pkId).then((res) => {
|
||||
|
@ -498,7 +498,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row, item) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteGrade(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -327,19 +327,19 @@ export default {
|
|||
moren: "jxpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_1166'),
|
||||
name: '等级配置',
|
||||
path: "level",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_109'),
|
||||
name: '奖衔配置',
|
||||
path: "jxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_110'),
|
||||
name: '复购极差',
|
||||
path: "fgjc",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_111'),
|
||||
name: '配送中心',
|
||||
path: "pszx",
|
||||
},
|
||||
],
|
||||
|
@ -420,9 +420,9 @@ export default {
|
|||
|
||||
//启用/禁用
|
||||
updateState(row) {
|
||||
this.$confirm(this.$t('MN_F_T_804'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认更改状态?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
var thestate = "";
|
||||
|
@ -474,7 +474,7 @@ export default {
|
|||
},
|
||||
//点击添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t('w_0328');
|
||||
this.dialogTitle = '添加';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1;
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -489,7 +489,7 @@ export default {
|
|||
update(row, item) {
|
||||
this.addEdit = 2;
|
||||
this.updateShow = true;
|
||||
this.dialogTitle = this.$t('PER_DA_20');
|
||||
this.dialogTitle = '修改';
|
||||
getOneAwards(row.pkId).then((res) => {
|
||||
this.form = res.data;
|
||||
});
|
||||
|
@ -562,7 +562,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row, item) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteAwards(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -224,19 +224,19 @@ export default {
|
|||
moren: "pszx",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_1166'),
|
||||
name: '等级配置',
|
||||
path: "level",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_109'),
|
||||
name: '奖衔配置',
|
||||
path: "jxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_110'),
|
||||
name: '复购极差',
|
||||
path: "fgjc",
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_111'),
|
||||
name: '配送中心',
|
||||
path: "pszx",
|
||||
},
|
||||
],
|
||||
|
@ -281,7 +281,7 @@ export default {
|
|||
{
|
||||
type: "string",
|
||||
required: true,
|
||||
message: this.$t('MN_F_T_691'),
|
||||
message: '请选择时间',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
|
@ -298,9 +298,9 @@ export default {
|
|||
methods: {
|
||||
//启用/禁用
|
||||
updateState(row) {
|
||||
this.$confirm(this.$t('MN_F_T_804'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认更改状态?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
var thestate = "";
|
||||
|
@ -330,7 +330,7 @@ export default {
|
|||
},
|
||||
//添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t('w_0328')
|
||||
this.dialogTitle = '添加'
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -362,7 +362,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.dialogTitle = this.$t('PER_DA_20')
|
||||
this.dialogTitle = '修改'
|
||||
this.addEdit = 2
|
||||
this.updateShow = true;
|
||||
getshopOnelist(row.pkId).then((res) => {
|
||||
|
@ -424,7 +424,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_431')).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteShop(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -207,10 +207,10 @@ export default {
|
|||
dialogTitle: "",
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
controlType: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
},
|
||||
addEdit: 0,
|
||||
|
@ -232,9 +232,9 @@ export default {
|
|||
},
|
||||
//批量删除
|
||||
deleteChoice() {
|
||||
this.$confirm(this.$t("MN_F_T_911"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认操作?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
let thepkIds = [];
|
||||
|
@ -290,9 +290,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api
|
||||
|
@ -312,10 +312,10 @@ export default {
|
|||
this.form = {};
|
||||
this.dialogVisible = true;
|
||||
this.addEdit = 1;
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
updateRow(row) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
api.getMemeberControlListDetail(row.pkId).then((res) => {
|
||||
this.form = res.data;
|
||||
});
|
||||
|
@ -334,9 +334,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -323,7 +323,7 @@ export default {
|
|||
children: "children",
|
||||
expandTrigger: "hover",
|
||||
},
|
||||
title: this.$t("w_0328"),
|
||||
title: '添加',
|
||||
forms: "",
|
||||
pickerOptions: {
|
||||
disabledDate(time) {
|
||||
|
@ -334,7 +334,7 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("MN_F_T_355"), trigger: "blur" },
|
||||
{ required: true, message: '请选择发布位置', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
table: {
|
||||
|
@ -365,12 +365,12 @@ export default {
|
|||
gradeRangList: [],
|
||||
awardsList: [],
|
||||
statusList: [
|
||||
{ name: this.$t("MN_F_T_334"), id: "1" },
|
||||
{ name: this.$t("MN_F_T_335"), id: "2" },
|
||||
{ name: '立即发送', id: "1" },
|
||||
{ name: '定时发送', id: "2" },
|
||||
],
|
||||
statusList1: [
|
||||
{ name: this.$t("MN_F_T_359"), id: "0" },
|
||||
{ name: this.$t("MN_F_T_360"), id: "1" },
|
||||
{ name: '未发送', id: "0" },
|
||||
{ name: '已发送', id: "1" },
|
||||
],
|
||||
menuOptions: [],
|
||||
loading: false,
|
||||
|
@ -391,9 +391,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -438,7 +438,7 @@ export default {
|
|||
addRules() {
|
||||
this.types = 1;
|
||||
this.ruleShow = true;
|
||||
this.title = this.$t("w_0328");
|
||||
this.title = '添加';
|
||||
},
|
||||
submitBtn() {
|
||||
// 添加角色
|
||||
|
@ -446,7 +446,7 @@ export default {
|
|||
},
|
||||
updateShow(item) {
|
||||
this.types = 2;
|
||||
this.title = this.$t("PER_DA_20");
|
||||
this.title = '修改';
|
||||
this.table = item;
|
||||
let arr = [item.province + "", item.city + "", (item.county || "") + ""];
|
||||
arr = arr.filter((item) => item != "");
|
||||
|
@ -457,9 +457,9 @@ export default {
|
|||
this.ruleShow = true;
|
||||
},
|
||||
delRole(item) {
|
||||
this.$confirm(this.$t("确认要删除该配置吗?"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm(this.$t("确认要删除该配置吗?"), '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
con.delRetailRegion(item.pkId).then((res) => {
|
||||
|
|
|
@ -58,7 +58,7 @@ export default {
|
|||
},
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_112'),
|
||||
name: '支付配置',
|
||||
id: 0,
|
||||
},
|
||||
],
|
||||
|
|
|
@ -97,7 +97,7 @@ export default {
|
|||
moren: "protocol",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_130'),
|
||||
name: '协议配置',
|
||||
path: "protocol",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -133,7 +133,7 @@ export default {
|
|||
moren: "protocol",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_130'),
|
||||
name: '协议配置',
|
||||
path: "protocol",
|
||||
},
|
||||
],
|
||||
|
@ -173,9 +173,9 @@ export default {
|
|||
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
deleteAgreement(row.pkId).then((res) => {
|
||||
|
|
|
@ -57,7 +57,7 @@ export default {
|
|||
moren: "zcympz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_141'),
|
||||
name: '注册页面配置',
|
||||
path: "zcympz",
|
||||
},
|
||||
],
|
||||
|
|
|
@ -219,15 +219,15 @@ export default {
|
|||
moren: "retailFgjc",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_1166"),
|
||||
name: '等级配置',
|
||||
path: "retailLevel",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_109"),
|
||||
name: '奖衔配置',
|
||||
path: "retailJxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_110"),
|
||||
name: '复购极差',
|
||||
path: "retailFgjc",
|
||||
},
|
||||
],
|
||||
|
@ -276,9 +276,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
exported() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -290,7 +290,7 @@ export default {
|
|||
},
|
||||
//添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1;
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -303,7 +303,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.addEdit = 2;
|
||||
this.updateShow = true;
|
||||
getOneManage(row.pkId).then((res) => {
|
||||
|
@ -391,7 +391,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row, item) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteRange(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -441,19 +441,19 @@ export default {
|
|||
moren: "retailLevel",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_1166"),
|
||||
name: '等级配置',
|
||||
path: "retailLevel",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_109"),
|
||||
name: '奖衔配置',
|
||||
path: "retailJxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_110"),
|
||||
name: '复购极差',
|
||||
path: "retailFgjc",
|
||||
},
|
||||
// {
|
||||
// name: this.$t('MN_F_T_111'),
|
||||
// name: '配送中心',
|
||||
// path: "pszx",
|
||||
// },
|
||||
],
|
||||
|
@ -510,10 +510,10 @@ export default {
|
|||
{ required: true, message: "请选择注册权限", trigger: "change" },
|
||||
],
|
||||
image: [
|
||||
{ required: true, message: this.$t("MN_F_T_356"), trigger: "change" },
|
||||
{ required: true, message: '请上传图片', trigger: "change" },
|
||||
],
|
||||
icon: [
|
||||
{ required: true, message: this.$t("MN_F_T_766"), trigger: "change" },
|
||||
{ required: true, message: '请上传图标', trigger: "change" },
|
||||
],
|
||||
},
|
||||
addEdit: "",
|
||||
|
@ -531,9 +531,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
exported() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -551,9 +551,9 @@ export default {
|
|||
},
|
||||
//启用/禁用
|
||||
updateState(row) {
|
||||
this.$confirm(this.$t("MN_F_T_804"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认更改状态?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
var thestate = "";
|
||||
|
@ -596,7 +596,7 @@ export default {
|
|||
},
|
||||
//添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1;
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -677,7 +677,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row, item) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 2;
|
||||
getOnelist(row.pkId).then((res) => {
|
||||
|
@ -689,7 +689,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row, item) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteGrade(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -519,15 +519,15 @@ export default {
|
|||
moren: "retailJxpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_1166"),
|
||||
name: '等级配置',
|
||||
path: "retailLevel",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_109"),
|
||||
name: '奖衔配置',
|
||||
path: "retailJxpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_110"),
|
||||
name: '复购极差',
|
||||
path: "retailFgjc",
|
||||
},
|
||||
],
|
||||
|
@ -618,9 +618,9 @@ export default {
|
|||
|
||||
//启用/禁用
|
||||
updateState(row) {
|
||||
this.$confirm(this.$t("MN_F_T_804"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认更改状态?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
var thestate = "";
|
||||
|
@ -673,7 +673,7 @@ export default {
|
|||
},
|
||||
//点击添加
|
||||
adddate() {
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
this.updateShow = true;
|
||||
this.addEdit = 1;
|
||||
this.$refs["form"].clearValidate();
|
||||
|
@ -688,7 +688,7 @@ export default {
|
|||
update(row, item) {
|
||||
this.addEdit = 2;
|
||||
this.updateShow = true;
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
getOneAwards(row.pkId).then((res) => {
|
||||
this.form = res.data;
|
||||
});
|
||||
|
@ -761,7 +761,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row, item) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteAwards(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -232,16 +232,16 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
roleName: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
roleSort: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
ruleStr: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
status: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] },
|
||||
|
@ -249,15 +249,15 @@ export default {
|
|||
moren: 'smsRecordList',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_338'),
|
||||
name: '短信记录',
|
||||
path: 'smsRecordList'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_125'),
|
||||
name: '短信模板',
|
||||
path: 'smsTemplate'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_126'),
|
||||
name: '新增短信',
|
||||
path: 'addSms'
|
||||
}
|
||||
],
|
||||
|
@ -328,13 +328,13 @@ export default {
|
|||
this.upload.open = false;
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(response.msg, this.$t('MN_F_T_233'), { dangerouslyUseHTMLString: true });
|
||||
this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true });
|
||||
// this.getList();
|
||||
},
|
||||
// 上传文件数量超出后的动作
|
||||
handleExceed() {
|
||||
this.upload.isUploading = false;
|
||||
this.msgInfo(this.$t('MN_F_T_234'));
|
||||
this.msgInfo('仅可上传一个文件哦');
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
|
@ -396,15 +396,15 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除角色信息
|
||||
this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该角色吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delRole(item.roleId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('w_0089'),
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.research()
|
||||
|
@ -435,7 +435,7 @@ export default {
|
|||
api.addRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
@ -461,7 +461,7 @@ export default {
|
|||
api.putRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_478'),
|
||||
message: '修改成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
|
|
@ -230,16 +230,16 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
roleName: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
roleSort: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
ruleStr: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
status: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] },
|
||||
|
@ -247,15 +247,15 @@ export default {
|
|||
moren: 'smsRecordList',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_338'),
|
||||
name: '短信记录',
|
||||
path: 'smsRecordList'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_125'),
|
||||
name: '短信模板',
|
||||
path: 'smsTemplate'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_126'),
|
||||
name: '新增短信',
|
||||
path: 'addSms'
|
||||
}
|
||||
],
|
||||
|
@ -331,13 +331,13 @@ export default {
|
|||
this.upload.open = false;
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(response.msg, this.$t('MN_F_T_233'), { dangerouslyUseHTMLString: true });
|
||||
this.$alert(response.msg, '导入结果', { dangerouslyUseHTMLString: true });
|
||||
// this.getList();
|
||||
},
|
||||
// 上传文件数量超出后的动作
|
||||
handleExceed() {
|
||||
this.upload.isUploading = false;
|
||||
this.msgInfo(this.$t('MN_F_T_234'));
|
||||
this.msgInfo('仅可上传一个文件哦');
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
|
@ -348,7 +348,7 @@ export default {
|
|||
this.download(
|
||||
"/sale/manage/order/order-select-template",
|
||||
{},
|
||||
`${this.$t('MN_F_T_127')}-${new Date().getTime()}.xlsx`
|
||||
`${'选择订单'}-${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
handleChange1(res) {
|
||||
|
@ -424,15 +424,15 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除角色信息
|
||||
this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该角色吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delRole(item.roleId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('w_0089'),
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.research()
|
||||
|
@ -463,7 +463,7 @@ export default {
|
|||
api.addRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
@ -489,7 +489,7 @@ export default {
|
|||
api.putRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_478'),
|
||||
message: '修改成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
|
|
@ -202,7 +202,7 @@ export default {
|
|||
dialogTitle: "",
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
multipleSelection: [],
|
||||
|
@ -260,9 +260,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(code) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api
|
||||
|
@ -281,7 +281,7 @@ export default {
|
|||
openDig() {
|
||||
this.form = {};
|
||||
this.dialogVisible = true;
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
|
||||
getList() {
|
||||
|
@ -296,9 +296,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -271,7 +271,7 @@ export default {
|
|||
moren: "qcpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_132'),
|
||||
name: '签呈配置',
|
||||
path: "qcpz",
|
||||
},
|
||||
],
|
||||
|
@ -379,9 +379,9 @@ export default {
|
|||
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t('MN_F_T_303'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
deleteApproval(row.pkId).then((res) => {
|
||||
|
|
|
@ -175,16 +175,16 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
roleName: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
roleSort: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
ruleStr: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
status: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] },
|
||||
|
@ -192,15 +192,15 @@ export default {
|
|||
moren: 'smsRecordList',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_338'),
|
||||
name: '短信记录',
|
||||
path: 'smsRecordList'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_125'),
|
||||
name: '短信模板',
|
||||
path: 'smsTemplate'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_126'),
|
||||
name: '新增短信',
|
||||
path: 'addSms'
|
||||
}
|
||||
],
|
||||
|
@ -219,8 +219,8 @@ export default {
|
|||
},
|
||||
gradeRangList: [],
|
||||
awardsList: [],
|
||||
statusList: [{ 'name': this.$t('MN_F_T_334'), 'id': '1' }, { 'name': this.$t('MN_F_T_335'), 'id': '2' }],
|
||||
statusList1: [{ 'name': this.$t('MN_F_T_359'), 'id': '0' }, { 'name': this.$t('MN_F_T_360'), 'id': '1' }],
|
||||
statusList: [{ 'name': '立即发送', 'id': '1' }, { 'name': '定时发送', 'id': '2' }],
|
||||
statusList1: [{ 'name': '未发送', 'id': '0' }, { 'name': '已发送', 'id': '1' }],
|
||||
menuOptions: [],
|
||||
tableData: [],
|
||||
loading:false,
|
||||
|
@ -267,15 +267,15 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除角色信息
|
||||
this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该角色吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delRole(item.roleId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('w_0089'),
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.research()
|
||||
|
@ -306,7 +306,7 @@ export default {
|
|||
api.addRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
@ -332,7 +332,7 @@ export default {
|
|||
api.putRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_478'),
|
||||
message: '修改成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
|
|
@ -181,16 +181,16 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
roleName: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
roleSort: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
ruleStr: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
],
|
||||
status: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'roleName': '', 'roleSort': '', 'roleKey': '', 'status': ['正常'] },
|
||||
|
@ -198,15 +198,15 @@ export default {
|
|||
moren: 'smsTemplate',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_338'),
|
||||
name: '短信记录',
|
||||
path: 'smsRecordList'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_125'),
|
||||
name: '短信模板',
|
||||
path: 'smsTemplate'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_126'),
|
||||
name: '新增短信',
|
||||
path: 'addSms'
|
||||
}
|
||||
],
|
||||
|
@ -222,7 +222,7 @@ export default {
|
|||
},
|
||||
gradeRangList: [],
|
||||
awardsList: [],
|
||||
statusList: [{ 'name': this.$t('ENU_POPUP_TYPE_1'), 'id': '0' }, { 'name': this.$t('ENU_POPUP_TYPE_2'), 'id': '1' }],
|
||||
statusList: [{ 'name': '允许', 'id': '0' }, { 'name': '禁止', 'id': '1' }],
|
||||
menuOptions: [],
|
||||
tableData: [],
|
||||
loading:false,
|
||||
|
@ -236,9 +236,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
buttonSubmit(item) {
|
||||
this.$confirm(`是否${item.enable == 0 ? this.$t('ENU_POPUP_TYPE_2') : this.$t('ENU_POPUP_TYPE_1')}该模板数据?`, this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm(`是否${item.enable == 0 ? '禁止' : '允许'}该模板数据?`, '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then((_) => {
|
||||
const data = {
|
||||
|
@ -282,15 +282,15 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除角色信息
|
||||
this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该角色吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delRole(item.roleId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('w_0089'),
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.research()
|
||||
|
@ -321,7 +321,7 @@ export default {
|
|||
api.addRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
@ -347,7 +347,7 @@ export default {
|
|||
api.putRole(datas).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('MN_F_T_478'),
|
||||
message: '修改成功',
|
||||
type: 'success'
|
||||
})
|
||||
that.ruleShow = false
|
||||
|
@ -418,7 +418,7 @@ export default {
|
|||
api.smsTemplateList(this.queryParams).then((res) => {
|
||||
res.rows.forEach((element, i) => {
|
||||
element.indexs = i + 1
|
||||
element.enable1 = element.enable === 0 ? this.$t('ENU_POPUP_TYPE_1') : this.$t('ENU_POPUP_TYPE_2')
|
||||
element.enable1 = element.enable === 0 ? '允许' : '禁止'
|
||||
})
|
||||
// res.rows.forEach((element) => {
|
||||
// element.alist = []
|
||||
|
|
|
@ -138,13 +138,13 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
templateCode: [
|
||||
{ required: true, message: this.$t('MN_F_T_321'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入短信编号', trigger: 'blur' }
|
||||
],
|
||||
templateName: [
|
||||
{ required: true, message: this.$t('MN_F_T_324'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' }
|
||||
],
|
||||
templateContent: [
|
||||
{ required: true, message: this.$t('MN_F_T_326'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入短信内容', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'templateCode': '', 'templateName': '', 'templateContent': '' },
|
||||
|
@ -152,15 +152,15 @@ export default {
|
|||
moren: 'smsTemplate',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_338'),
|
||||
name: '短信记录',
|
||||
path: 'smsRecordList'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_125'),
|
||||
name: '短信模板',
|
||||
path: 'smsTemplate'
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_126'),
|
||||
name: '新增短信',
|
||||
path: 'addSms'
|
||||
}
|
||||
],
|
||||
|
@ -289,15 +289,15 @@ export default {
|
|||
},
|
||||
delRole(item) {
|
||||
// 删除角色信息
|
||||
this.$confirm(this.$t('MN_F_T_340'), this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('确认要删除该角色吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.delRole(item.roleId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
Message({
|
||||
message: this.$t('w_0089'),
|
||||
message: '删除成功',
|
||||
type: 'success'
|
||||
})
|
||||
this.research()
|
||||
|
|
|
@ -259,7 +259,7 @@ export default {
|
|||
moren: "storeConfiguration",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_135'),
|
||||
name: '店铺配置',
|
||||
path: "storeConfiguration",
|
||||
},
|
||||
],
|
||||
|
@ -282,20 +282,20 @@ export default {
|
|||
dialogVisible: false,
|
||||
rules: {
|
||||
storeName: [
|
||||
{ required: true, message: this.$t('MN_F_T_726'), trigger: "blur" },
|
||||
{ required: true, message: '请输入店铺名称', trigger: "blur" },
|
||||
],
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t('MN_F_T_727'), trigger: "blur" },
|
||||
{ required: true, message: '请输入店长编号', trigger: "blur" },
|
||||
],
|
||||
pkStoreLevel: [
|
||||
{ required: true, message: this.$t('MN_F_T_728'), trigger: "change" },
|
||||
{ required: true, message: '请选择店铺等级', trigger: "change" },
|
||||
],
|
||||
|
||||
shoppingAddress: [
|
||||
{ required: true, message: this.$t('w_0069'), trigger: "change" },
|
||||
{ required: true, message: '请选择收货地址', trigger: "change" },
|
||||
],
|
||||
picture:[{
|
||||
required: true, message: this.$t('MN_F_T_356'), trigger: "change"
|
||||
required: true, message: '请上传图片', trigger: "change"
|
||||
}]
|
||||
},
|
||||
form: {
|
||||
|
@ -321,9 +321,9 @@ export default {
|
|||
methods: {
|
||||
//导出
|
||||
handleExport() {
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -340,7 +340,7 @@ export default {
|
|||
con.saveManageStore(this.form).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: "success",
|
||||
});
|
||||
this.dialogVisible = false;
|
||||
|
|
|
@ -246,7 +246,7 @@ export default {
|
|||
moren: "storeGradeConfiguration",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_1203'),
|
||||
name: '店铺等级',
|
||||
path: "storeGradeConfiguration",
|
||||
},
|
||||
],
|
||||
|
@ -272,7 +272,7 @@ export default {
|
|||
picture: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('MN_F_T_356'),
|
||||
message: '请上传图片',
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
|
@ -310,7 +310,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(pkId) {
|
||||
this.dialogTitle = this.$t('PER_DA_20');
|
||||
this.dialogTitle = '修改';
|
||||
this.ifadd = 2;
|
||||
con.getStoreLevelOne({ pkId: pkId }).then((res) => {
|
||||
this.form = res.data;
|
||||
|
@ -321,15 +321,15 @@ export default {
|
|||
},
|
||||
//导出
|
||||
handleExport() {
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/system/manage/store-level/export",
|
||||
{ ...this.queryParams },
|
||||
`${this.$t('MN_F_T_1203')}${new Date().getTime()}.xlsx`
|
||||
`${'店铺等级'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
},
|
||||
|
@ -352,7 +352,7 @@ export default {
|
|||
url(this.form).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
message: this.$t('MN_F_T_477'),
|
||||
message: '添加成功',
|
||||
type: "success",
|
||||
});
|
||||
this.dialogVisible = false;
|
||||
|
@ -381,7 +381,7 @@ export default {
|
|||
});
|
||||
},
|
||||
addData() {
|
||||
this.dialogTitle = this.$t('w_0328');
|
||||
this.dialogTitle = '添加';
|
||||
this.ifadd = 1;
|
||||
this.form = {
|
||||
storeLevelName: "",
|
||||
|
|
|
@ -246,7 +246,7 @@ export default {
|
|||
moren: "txpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_123"),
|
||||
name: '体系配置',
|
||||
path: "txpz",
|
||||
},
|
||||
],
|
||||
|
@ -269,13 +269,13 @@ export default {
|
|||
|
||||
rules: {
|
||||
vertexName: [
|
||||
{ required: true, message: this.$t("MN_F_T_366"), trigger: "blur" },
|
||||
{ required: true, message: '请输入体系名称', trigger: "blur" },
|
||||
],
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("w_0046"), trigger: "blur" },
|
||||
{ required: true, message: '请输入会员编号', trigger: "blur" },
|
||||
],
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("w_0046"), trigger: "blur" },
|
||||
{ required: true, message: '请输入会员编号', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
vertexList: [],
|
||||
|
@ -293,8 +293,8 @@ export default {
|
|||
},
|
||||
upData() {
|
||||
this.$confirm("是否确认更新该体系?", "", {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
const loading = this.$loading({
|
||||
|
@ -317,8 +317,8 @@ export default {
|
|||
// 更新团队
|
||||
updateTeam(row) {
|
||||
this.$confirm("是否确认更新该体系?", "", {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
updateVertexs(row.pkId).then((res) => {
|
||||
|
@ -368,9 +368,9 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
deleteVertex(row.pkId).then((res) => {
|
||||
|
@ -396,7 +396,7 @@ export default {
|
|||
"font-size:13px; background:#a7ae35; color:#ebf279;",
|
||||
row
|
||||
);
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.updateShow = true;
|
||||
this.addOrEdit = false;
|
||||
getOnevertexList({ pkId: row.pkId }).then((res) => {
|
||||
|
@ -406,7 +406,7 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
this.formd = {
|
||||
vertexName: "", //体系名称
|
||||
|
|
|
@ -101,7 +101,7 @@ export default {
|
|||
dialogTitle: "",
|
||||
rules: {
|
||||
purpose: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
|
||||
},
|
||||
|
@ -157,9 +157,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.bdPurposeDel(id).then((res) => {
|
||||
|
@ -175,10 +175,10 @@ export default {
|
|||
this.form = {};
|
||||
this.dialogVisible1 = true;
|
||||
this.addEdit = 1
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
updateRow(row) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
api
|
||||
.bdPurposeDetails(row.pkId)
|
||||
.then((res) => {
|
||||
|
@ -199,9 +199,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -388,42 +388,42 @@ export default {
|
|||
countryList: [],
|
||||
agreeList: [
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_1"),
|
||||
text: '允许',
|
||||
val: 0,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_2"),
|
||||
text: '禁止',
|
||||
val: 1,
|
||||
},
|
||||
],
|
||||
moren: "bzpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -484,10 +484,10 @@ export default {
|
|||
{ required: true, message: "请上传封面", trigger: "change" },
|
||||
],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t("MN_F_T_402"), trigger: "change" },
|
||||
{ required: true, message: '请选择生效时间', trigger: "change" },
|
||||
],
|
||||
showStatus: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
},
|
||||
pubEnumsAccountList: [],
|
||||
|
@ -508,9 +508,9 @@ export default {
|
|||
methods: {
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -540,7 +540,7 @@ export default {
|
|||
},
|
||||
// 点击修改
|
||||
toFixed(id) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.dialogVisible = true;
|
||||
api.getAccount(id).then((res) => {
|
||||
|
@ -549,9 +549,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.delAccount(id).then((res) => {
|
||||
|
@ -596,7 +596,7 @@ export default {
|
|||
openDig() {
|
||||
this.dialogVisible = true;
|
||||
this.addOrEdit = true;
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
getCountry() {
|
||||
userCountryList().then((res) => {
|
||||
|
|
|
@ -272,9 +272,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -302,42 +302,42 @@ export default {
|
|||
loading: false,
|
||||
agreeList: [
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_1"),
|
||||
text: '允许',
|
||||
val: 0,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_2"),
|
||||
text: '禁止',
|
||||
val: 1,
|
||||
},
|
||||
],
|
||||
moren: "consumption",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -360,16 +360,16 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
memberCode: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
deductMaxRatio: [
|
||||
{ required: true, message: "请输入扣款最大比例", trigger: "blur" },
|
||||
],
|
||||
deductSort: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
deductRatio: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
pkAccount: [
|
||||
{ required: true, message: "请选择扣款账户", trigger: "change" },
|
||||
|
@ -408,7 +408,7 @@ export default {
|
|||
},
|
||||
// 点击修改
|
||||
toFixed(id) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.dialogVisible = true;
|
||||
api
|
||||
|
@ -439,9 +439,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.specialCurrencyDelete(id).then((res) => {
|
||||
|
@ -495,7 +495,7 @@ export default {
|
|||
openDig() {
|
||||
this.dialogVisible = true;
|
||||
this.addOrEdit = true;
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
getDataList() {
|
||||
this.loading = true;
|
||||
|
|
|
@ -244,9 +244,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -274,42 +274,42 @@ export default {
|
|||
loading: false,
|
||||
agreeList: [
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_1"),
|
||||
text: '允许',
|
||||
val: 0,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_2"),
|
||||
text: '禁止',
|
||||
val: 1,
|
||||
},
|
||||
],
|
||||
moren: "specialMoney",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -331,16 +331,16 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
tempName: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
deductMaxRatio: [
|
||||
{ required: true, message: "请输入扣款最大比例", trigger: "blur" },
|
||||
],
|
||||
deductSort: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
deductRatio: [
|
||||
{ required: true, message: this.$t("S_C_70"), trigger: "blur" },
|
||||
{ required: true, message: '请输入', trigger: "blur" },
|
||||
],
|
||||
pkAccount: [
|
||||
{ required: true, message: "请选择扣款账户", trigger: "change" },
|
||||
|
@ -365,7 +365,7 @@ export default {
|
|||
},
|
||||
// 点击修改
|
||||
toFixed(id) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.dialogVisible = true;
|
||||
api
|
||||
|
@ -400,9 +400,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.specialDelete({ pkId: id }).then((res) => {
|
||||
|
@ -456,7 +456,7 @@ export default {
|
|||
openDig() {
|
||||
this.dialogVisible = true;
|
||||
this.addOrEdit = true;
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
},
|
||||
getDataList() {
|
||||
this.loading = true;
|
||||
|
|
|
@ -275,31 +275,31 @@ export default {
|
|||
moren: "txgs",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -351,10 +351,10 @@ export default {
|
|||
},
|
||||
],
|
||||
serviceType: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t("MN_F_T_402"), trigger: "change" },
|
||||
{ required: true, message: '请选择生效时间', trigger: "change" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@ -436,7 +436,7 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
|
||||
if (this.$refs.form) {
|
||||
|
@ -460,7 +460,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.updateShow = true;
|
||||
getOneWithdrawalList(row.pkId).then((res) => {
|
||||
|
@ -469,7 +469,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteWithdrawal(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -402,42 +402,42 @@ export default {
|
|||
countryList: [],
|
||||
agreeList: [
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_1"),
|
||||
text: '允许',
|
||||
val: 0,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_2"),
|
||||
text: '禁止',
|
||||
val: 1,
|
||||
},
|
||||
],
|
||||
moren: "txpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -463,7 +463,7 @@ export default {
|
|||
{ required: true, message: "请输入最大自动提现", trigger: "blur" },
|
||||
],
|
||||
withdrawalNumber: [
|
||||
{ required: true, message: this.$t("MN_F_T_847"), trigger: "blur" },
|
||||
{ required: true, message: '请输入提现次数', trigger: "blur" },
|
||||
],
|
||||
isAuto: [
|
||||
{ required: true, message: "请选择自动提现", trigger: "change" },
|
||||
|
@ -475,7 +475,7 @@ export default {
|
|||
{ required: true, message: "请选择提现周期", trigger: "change" },
|
||||
],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t("MN_F_T_402"), trigger: "change" },
|
||||
{ required: true, message: '请选择生效时间', trigger: "change" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@ -610,9 +610,9 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(id) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
api.delWithdrawal(id).then((res) => {
|
||||
|
|
|
@ -187,9 +187,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -198,31 +198,31 @@ export default {
|
|||
moren: "txsxf",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -252,10 +252,10 @@ export default {
|
|||
{ required: true, message: "请输入手续费值", trigger: "blur" },
|
||||
],
|
||||
serviceType: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t("MN_F_T_402"), trigger: "change" },
|
||||
{ required: true, message: '请选择生效时间', trigger: "change" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@ -331,7 +331,7 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
|
||||
if (this.$refs.form) {
|
||||
|
@ -348,7 +348,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.updateShow = true;
|
||||
getOneWithdrawalProcessList(row.pkId).then((res) => {
|
||||
|
@ -357,7 +357,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteWithdrawalProcess(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -234,9 +234,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -262,18 +262,18 @@ export default {
|
|||
countryList: [],
|
||||
agreeList: [
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_1"),
|
||||
text: '允许',
|
||||
val: 0,
|
||||
},
|
||||
{
|
||||
text: this.$t("ENU_POPUP_TYPE_2"),
|
||||
text: '禁止',
|
||||
val: 1,
|
||||
},
|
||||
],
|
||||
moren: "xfpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
|
@ -285,7 +285,7 @@ export default {
|
|||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
|
@ -297,7 +297,7 @@ export default {
|
|||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -329,7 +329,7 @@ export default {
|
|||
{ required: true, message: "请选择扣款顺序", trigger: "change" },
|
||||
],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t("MN_F_T_402"), trigger: "change" },
|
||||
{ required: true, message: '请选择生效时间', trigger: "change" },
|
||||
],
|
||||
},
|
||||
areaList: [],
|
||||
|
@ -363,7 +363,7 @@ export default {
|
|||
},
|
||||
// 点击修改
|
||||
toFixed(id) {
|
||||
this.dialogTitle = this.$t("PER_DA_20");
|
||||
this.dialogTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.dialogVisible = true;
|
||||
api.getAreaCurrency(id).then((res) => {
|
||||
|
@ -435,7 +435,7 @@ export default {
|
|||
this.resetData();
|
||||
},
|
||||
openDig() {
|
||||
this.dialogTitle = this.$t("w_0328");
|
||||
this.dialogTitle = '添加';
|
||||
this.dialogVisible = true;
|
||||
this.addOrEdit = true;
|
||||
this.$nextTick(() => {
|
||||
|
|
|
@ -326,31 +326,31 @@ export default {
|
|||
moren: "zzpz",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_101"),
|
||||
name: '币种配置',
|
||||
path: "bzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_102"),
|
||||
name: '消费配置',
|
||||
path: "xfpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_103"),
|
||||
name: '转账配置',
|
||||
path: "zzpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_104"),
|
||||
name: '提现配置',
|
||||
path: "txpz",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_105"),
|
||||
name: '提现个税',
|
||||
path: "txgs",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_106"),
|
||||
name: '提现手续费',
|
||||
path: "txsxf",
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_107"),
|
||||
name: '特殊消费',
|
||||
path: "specialMoney",
|
||||
},
|
||||
{
|
||||
|
@ -372,11 +372,11 @@ export default {
|
|||
updateTitle: "",
|
||||
agreeList: [
|
||||
{
|
||||
label: this.$t("ENU_POPUP_TYPE_1"),
|
||||
label: '允许',
|
||||
value: 0,
|
||||
},
|
||||
{
|
||||
label: this.$t("ENU_POPUP_TYPE_2"),
|
||||
label: '禁止',
|
||||
value: 1,
|
||||
},
|
||||
],
|
||||
|
@ -404,14 +404,14 @@ export default {
|
|||
{ required: true, message: "请输入手续费数值", trigger: "blur" },
|
||||
],
|
||||
isReference: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
isRounding: [
|
||||
{ required: true, message: this.$t("CK_KS_38"), trigger: "change" },
|
||||
{ required: true, message: '请选择', trigger: "change" },
|
||||
],
|
||||
multiple: [{ required: true, message: "请输入倍数", trigger: "blur" }],
|
||||
effectiveDate: [
|
||||
{ required: true, message: this.$t("MN_F_T_402"), trigger: "change" },
|
||||
{ required: true, message: '请选择生效时间', trigger: "change" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
@ -492,7 +492,7 @@ export default {
|
|||
//添加
|
||||
adddate() {
|
||||
this.updateShow = true;
|
||||
this.updateTitle = this.$t("w_0328");
|
||||
this.updateTitle = '添加';
|
||||
this.addOrEdit = true;
|
||||
},
|
||||
//获取国家
|
||||
|
@ -503,7 +503,7 @@ export default {
|
|||
},
|
||||
//修改
|
||||
update(row) {
|
||||
this.updateTitle = this.$t("PER_DA_20");
|
||||
this.updateTitle = '修改';
|
||||
this.addOrEdit = false;
|
||||
this.updateShow = true;
|
||||
getOnetransferList(row.pkId).then((res) => {
|
||||
|
@ -512,7 +512,7 @@ export default {
|
|||
},
|
||||
//删除
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_431")).then((_) => {
|
||||
this.$confirm('确定删除?').then((_) => {
|
||||
deleteTransfer(row.pkId).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$message({
|
||||
|
|
|
@ -212,7 +212,7 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
reviewRemarks: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'auditStatus': 1, 'reviewRemarks': '' },
|
||||
|
@ -220,19 +220,19 @@ export default {
|
|||
moren: 'goodsCheck',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_1'),
|
||||
name: '待办',
|
||||
path: 'dashboard',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_2'),
|
||||
name: '已办',
|
||||
path: 'hasIndex',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_4'),
|
||||
name: '商品审核',
|
||||
path: 'goodsCheck',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_5'),
|
||||
name: '产品审核',
|
||||
path: 'productCheck'
|
||||
},
|
||||
],
|
||||
|
@ -257,9 +257,9 @@ export default {
|
|||
total: 0,
|
||||
types: '',
|
||||
userId: '',
|
||||
statusList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态
|
||||
smsList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态
|
||||
authorityList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态
|
||||
statusList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态
|
||||
smsList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态
|
||||
authorityList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态
|
||||
vertexList: [], // 体系列表
|
||||
stateList: [], // 国家列表
|
||||
deptList: [], // 部门列表
|
||||
|
@ -286,9 +286,9 @@ export default {
|
|||
},
|
||||
stopRole(item) {
|
||||
// 停用管理员
|
||||
this.$confirm(`确认要${item.status === 0 ? this.$t('MN_F_T_373') : '恢复'}该管理员吗?`, this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm(`确认要${item.status === 0 ? '禁用' : '恢复'}该管理员吗?`, '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.stopAdmin({ 'userId': item.userId, 'status': item.status === 1 ? 0 : 1 }).then((res) => {
|
||||
|
@ -400,9 +400,9 @@ export default {
|
|||
verifySelect() {
|
||||
const len = this.$refs.multipleTable.selection.length
|
||||
if (len === 0) {
|
||||
Message({ message: this.$t('MN_F_T_527'), type: 'warning' })
|
||||
Message({ message: '请选择一条数据', type: 'warning' })
|
||||
} else if (len > 1) {
|
||||
Message({ message: this.$t('MN_F_T_528'), type: 'warning' })
|
||||
Message({ message: '只能选择一条', type: 'warning' })
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
|
@ -419,7 +419,7 @@ export default {
|
|||
api.modifyRecord(this.queryParams).then((res) => {
|
||||
res.rows.forEach((element) => {
|
||||
element.auditStatus1 = element.auditStatus
|
||||
element.auditStatus = element.auditStatus === 0 ? this.$t('ENU_APPROVE_S_2') : (element.auditStatus === 1 ? this.$t('ENU_R_A_O_2') : this.$t('ENU_R_A_O_3'))
|
||||
element.auditStatus = element.auditStatus === 0 ? '待审核' : (element.auditStatus === 1 ? '审核通过' : '审核驳回')
|
||||
})
|
||||
// res.rows.forEach((element) => {
|
||||
// element.alist = []
|
||||
|
|
|
@ -315,11 +315,11 @@ export default {
|
|||
path: "receiveIndex",
|
||||
},
|
||||
// {
|
||||
// name: this.$t('MN_F_T_4'),
|
||||
// name: '商品审核',
|
||||
// path: 'goodsCheck',
|
||||
// },
|
||||
// {
|
||||
// name: this.$t('MN_F_T_5'),
|
||||
// name: '产品审核',
|
||||
// path: 'productCheck',
|
||||
// },
|
||||
],
|
||||
|
@ -407,9 +407,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -286,11 +286,11 @@ export default {
|
|||
path: "receiveIndex",
|
||||
},
|
||||
// {
|
||||
// name: this.$t('MN_F_T_4'),
|
||||
// name: '商品审核',
|
||||
// path: 'goodsCheck',
|
||||
// },
|
||||
// {
|
||||
// name: this.$t('MN_F_T_5'),
|
||||
// name: '产品审核',
|
||||
// path: 'productCheck',
|
||||
// },
|
||||
],
|
||||
|
|
|
@ -211,7 +211,7 @@ export default {
|
|||
forms: '',
|
||||
rules: {
|
||||
reviewRemarks: [
|
||||
{ required: true, message: this.$t('S_C_70'), trigger: 'blur' }
|
||||
{ required: true, message: '请输入', trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
table: { 'auditStatus': 1, 'reviewRemarks': '' },
|
||||
|
@ -219,19 +219,19 @@ export default {
|
|||
moren: 'productCheck',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_1'),
|
||||
name: '待办',
|
||||
path: 'dashboard',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_2'),
|
||||
name: '已办',
|
||||
path: 'hasIndex',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_4'),
|
||||
name: '商品审核',
|
||||
path: 'goodsCheck',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_5'),
|
||||
name: '产品审核',
|
||||
path: 'productCheck'
|
||||
},
|
||||
],
|
||||
|
@ -256,9 +256,9 @@ export default {
|
|||
total: 0,
|
||||
types: '',
|
||||
userId: '',
|
||||
statusList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态
|
||||
smsList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态
|
||||
authorityList: [{ 'name': this.$t('MN_F_T_372'), 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态
|
||||
statusList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 启用状态
|
||||
smsList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 短信启用状态
|
||||
authorityList: [{ 'name': '启用', 'id': '0' }, { 'name': '停用', 'id': '1' }], // 审核启用状态
|
||||
vertexList: [], // 体系列表
|
||||
stateList: [], // 国家列表
|
||||
deptList: [], // 部门列表
|
||||
|
@ -285,9 +285,9 @@ export default {
|
|||
},
|
||||
stopRole(item) {
|
||||
// 停用管理员
|
||||
this.$confirm(`确认要${item.status === 0 ? this.$t('MN_F_T_373') : '恢复'}该管理员吗?`, this.$t('w_0034'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm(`确认要${item.status === 0 ? '禁用' : '恢复'}该管理员吗?`, '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
api.stopAdmin({ 'userId': item.userId, 'status': item.status === 1 ? 0 : 1 }).then((res) => {
|
||||
|
@ -399,9 +399,9 @@ export default {
|
|||
verifySelect() {
|
||||
const len = this.$refs.multipleTable.selection.length
|
||||
if (len === 0) {
|
||||
Message({ message: this.$t('MN_F_T_527'), type: 'warning' })
|
||||
Message({ message: '请选择一条数据', type: 'warning' })
|
||||
} else if (len > 1) {
|
||||
Message({ message: this.$t('MN_F_T_528'), type: 'warning' })
|
||||
Message({ message: '只能选择一条', type: 'warning' })
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
|
@ -418,7 +418,7 @@ export default {
|
|||
api.modifyRecord(this.queryParams).then((res) => {
|
||||
res.rows.forEach((element) => {
|
||||
element.auditStatus1 = element.auditStatus
|
||||
element.auditStatus = element.auditStatus === 0 ? this.$t('ENU_APPROVE_S_2') : (element.auditStatus === 1 ? this.$t('ENU_R_A_O_2') : this.$t('ENU_R_A_O_3'))
|
||||
element.auditStatus = element.auditStatus === 0 ? '待审核' : (element.auditStatus === 1 ? '审核通过' : '审核驳回')
|
||||
})
|
||||
// res.rows.forEach((element) => {
|
||||
// element.alist = []
|
||||
|
|
|
@ -231,11 +231,11 @@ export default {
|
|||
path: "receiveIndex",
|
||||
},
|
||||
// {
|
||||
// name: this.$t('MN_F_T_4'),
|
||||
// name: '商品审核',
|
||||
// path: 'goodsCheck',
|
||||
// },
|
||||
// {
|
||||
// name: this.$t('MN_F_T_5'),
|
||||
// name: '产品审核',
|
||||
// path: 'productCheck',
|
||||
// },
|
||||
],
|
||||
|
@ -350,9 +350,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -241,10 +241,10 @@ export default {
|
|||
},
|
||||
naxIndex: 0,
|
||||
moren: 'userCentre',
|
||||
userNavList: [{ 'name': this.$t('MN_F_26') }, { 'name': this.$t('MN_F_34') }],
|
||||
userNavList: [{ 'name': '基础资料' }, { 'name': '修改密码' }],
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_16'),
|
||||
name: '个人中心',
|
||||
path: 'userCentre'
|
||||
}
|
||||
],
|
||||
|
@ -257,21 +257,21 @@ export default {
|
|||
grades: []
|
||||
},
|
||||
rules: {
|
||||
oldPassword: [{ required: true, message: this.$t('w_0498'), trigger: 'blur' },
|
||||
{ min: 6, max: 20, message: this.$t('w_0501'), trigger: 'blur' },
|
||||
oldPassword: [{ required: true, message: '请输入旧密码6-20位', trigger: 'blur' },
|
||||
{ min: 6, max: 20, message: '密码长度必须介于 6 和 20 之间', trigger: 'blur' },
|
||||
// { pattern: /^(?=.*\d)(?=.*[a-z]).{6,20}$/, message: '请输入6-20位,由大小写字母组合的密码' }
|
||||
],
|
||||
newPassword: [{ required: true, message: this.$t('w_0499'), trigger: 'blur' },
|
||||
{ min: 6, max: 20, message: this.$t('w_0501'), trigger: 'blur' },
|
||||
newPassword: [{ required: true, message: '请输入新密码6-20位', trigger: 'blur' },
|
||||
{ min: 6, max: 20, message: '密码长度必须介于 6 和 20 之间', trigger: 'blur' },
|
||||
// { pattern: /^(?=.*\d)(?=.*[a-z]).{6,20}$/, message: '请输入6-20位,由大小写字母组合的密码' }
|
||||
],
|
||||
newPassword1: [{ required: true, message: this.$t('w_0500'), trigger: 'blur' },
|
||||
{ min: 6, max: 20, message: this.$t('w_0501'), trigger: 'blur' },
|
||||
newPassword1: [{ required: true, message: '请输入确认新密码6-20位', trigger: 'blur' },
|
||||
{ min: 6, max: 20, message: '密码长度必须介于 6 和 20 之间', trigger: 'blur' },
|
||||
// { pattern: /^(?=.*\d)(?=.*[a-z]).{6,20}$/, message: '请输入6-20位,由大小写字母组合的密码' }
|
||||
],
|
||||
username: [{ required: true, message: this.$t('MN_F_T_778'), trigger: 'blur' }],
|
||||
phone: [{ required: true, message: this.$t('w_0053'), trigger: 'blur' },
|
||||
{ pattern: /^1[3|4|5|6|7|8|9]\d{9}$/, message: this.$t('CK_KS_73') }
|
||||
username: [{ required: true, message: '请输入管理姓名', trigger: 'blur' }],
|
||||
phone: [{ required: true, message: '请输入联系方式', trigger: 'blur' },
|
||||
{ pattern: /^1[3|4|5|6|7|8|9]\d{9}$/, message: '请输入正确的手机号' }
|
||||
]
|
||||
},
|
||||
localList: [],
|
||||
|
@ -334,7 +334,7 @@ export default {
|
|||
if (valid) {
|
||||
if (this.loginForm1.newPassword1 !== this.loginForm1.newPassword) {
|
||||
this.$message({
|
||||
message: this.$t('MN_F_35')
|
||||
message: '两次输入的密码不一致'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
|
|
@ -172,9 +172,9 @@ export default {
|
|||
this.queryParams.endDate = val[1];
|
||||
},
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -250,9 +250,9 @@ export default {
|
|||
})
|
||||
},
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -291,7 +291,7 @@ export default {
|
|||
this.upload.open = false;
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(response.msg, this.$t("MN_F_T_233"), {
|
||||
this.$alert(response.msg, '导入结果', {
|
||||
dangerouslyUseHTMLString: true,
|
||||
});
|
||||
// this.getList();
|
||||
|
@ -299,7 +299,7 @@ export default {
|
|||
// 上传文件数量超出后的动作
|
||||
handleExceed() {
|
||||
this.upload.isUploading = false;
|
||||
this.msgInfo(this.$t("MN_F_T_234"));
|
||||
this.msgInfo('仅可上传一个文件哦');
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
|
|
|
@ -129,9 +129,9 @@ export default {
|
|||
this.queryParams.endDate = val[1]
|
||||
},
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -156,9 +156,9 @@ export default {
|
|||
});
|
||||
},
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -181,7 +181,7 @@ export default {
|
|||
visibleShow: false,
|
||||
rules: {
|
||||
cover: [
|
||||
{ required: true, message: this.$t("MN_F_T_302"), trigger: "blur" },
|
||||
{ required: true, message: '请输入规格类型', trigger: "blur" },
|
||||
],
|
||||
},
|
||||
addEdit: "",
|
||||
|
@ -218,12 +218,12 @@ export default {
|
|||
},
|
||||
addBanner() {
|
||||
this.addEdit = 1;
|
||||
this.dialogTitle = this.$t('w_0328');
|
||||
this.dialogTitle = '添加';
|
||||
this.visibleShow = true;
|
||||
},
|
||||
updateBanner(row) {
|
||||
this.addEdit = 2;
|
||||
this.dialogTitle = this.$t('ENU_CONTROL_TYPE_2');
|
||||
this.dialogTitle = '修改';
|
||||
this.visibleShow = true;
|
||||
equ.getBannerRowDetail({ pkId: row.pkId }).then((res) => {
|
||||
this.form = res.data;
|
||||
|
|
|
@ -142,9 +142,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -85,7 +85,7 @@ export default {
|
|||
uploadImgUrl: process.env.VUE_APP_BASE_API + "/system/upload",
|
||||
rules: {
|
||||
cover: [
|
||||
{ required: true, message: this.$t("MN_F_T_302"), trigger: "blur" },
|
||||
{ required: true, message: '请输入规格类型', trigger: "blur" },
|
||||
],
|
||||
content: [{ required: true, message: "请输入", trigger: "blur" }],
|
||||
},
|
||||
|
|
|
@ -187,9 +187,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
deleteRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_303"), this.$t("w_0034"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('确认删除?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
equ.deletBannerRow(row.pkId).then((res) => {
|
||||
|
|
|
@ -742,7 +742,7 @@ export default {
|
|||
moren: "detailSummary",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('w_0483'),
|
||||
name: '余额汇总',
|
||||
path: "detailSummary",
|
||||
},
|
||||
],
|
||||
|
@ -773,9 +773,9 @@ export default {
|
|||
},
|
||||
//导出
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -350,7 +350,7 @@ export default {
|
|||
moren: "balanceSummary",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("w_0483"),
|
||||
name: '余额汇总',
|
||||
path: "balanceSummary",
|
||||
},
|
||||
],
|
||||
|
@ -393,9 +393,9 @@ export default {
|
|||
},
|
||||
//导出
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
@ -406,9 +406,9 @@ export default {
|
|||
});
|
||||
},
|
||||
exportRow(row) {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -426,7 +426,7 @@ export default {
|
|||
value: "1",
|
||||
},
|
||||
{ label: "体系", value: "2" },
|
||||
{ label: this.$t("MN_T_1"), value: "3" },
|
||||
{ label: '会员编号', value: "3" },
|
||||
],
|
||||
topMemberList:[],
|
||||
vertexList:[]
|
||||
|
|
|
@ -633,9 +633,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t("ENU_POPUP_TYPE_1");
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t("ENU_POPUP_TYPE_2");
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -646,13 +646,13 @@ export default {
|
|||
moren: "cashDetails",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MN_F_T_90"),
|
||||
name: '提现明细',
|
||||
path: "cashDetails",
|
||||
url: "CashDetails",
|
||||
changed: false,
|
||||
},
|
||||
{
|
||||
name: this.$t("MN_F_T_91"),
|
||||
name: '京东代付',
|
||||
path: "jdToPay",
|
||||
url: "jdToPay",
|
||||
changed: false,
|
||||
|
@ -902,7 +902,7 @@ export default {
|
|||
});
|
||||
if (dk) {
|
||||
this.$message({
|
||||
message: this.$t("MN_F_T_557"),
|
||||
message: '存在已打款或未审核单据',
|
||||
type: "warning",
|
||||
});
|
||||
return false;
|
||||
|
@ -989,7 +989,7 @@ export default {
|
|||
|
||||
return [
|
||||
"",
|
||||
this.$t("MN_F_T_688"),
|
||||
'合计',
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
|
@ -1052,9 +1052,9 @@ export default {
|
|||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
|
|
|
@ -171,7 +171,7 @@ export default {
|
|||
moren: 'txzxqc',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_14'),
|
||||
name: '在线签呈',
|
||||
path: 'txzxqc',
|
||||
},
|
||||
],
|
||||
|
|
|
@ -228,9 +228,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t('ENU_POPUP_TYPE_1');
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t('ENU_POPUP_TYPE_2');
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -239,7 +239,7 @@ export default {
|
|||
moren: "consumptionDetails",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_92'),
|
||||
name: '消费明细',
|
||||
path: "consumptionDetails",
|
||||
},
|
||||
],
|
||||
|
@ -380,15 +380,15 @@ export default {
|
|||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm( '是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
'/member/manager/trade/export',
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
` ${this.$t('MN_F_T_92')} ${new Date().getTime()}.xlsx`
|
||||
` ${'消费明细'} ${new Date().getTime()}.xlsx`
|
||||
)
|
||||
})
|
||||
},
|
||||
|
|
|
@ -170,7 +170,7 @@ export default {
|
|||
moren: "djmx",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_93'),
|
||||
name: '冻结明细',
|
||||
path: "djmx",
|
||||
},
|
||||
],
|
||||
|
@ -238,7 +238,7 @@ export default {
|
|||
this.download(
|
||||
"/member/manager/frozen/frozen-export",
|
||||
{ ...this.queryParams },
|
||||
`${this.$t('MN_F_T_93')}${new Date().getTime()}.xlsx`
|
||||
`${'冻结明细'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
handleSelectionChange(val) {
|
||||
|
|
|
@ -351,11 +351,11 @@ export default {
|
|||
moren: 'jdToPay',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_90'),
|
||||
name: '提现明细',
|
||||
path: 'cashDetails',
|
||||
},
|
||||
{
|
||||
name: this.$t('MN_F_T_91'),
|
||||
name: '京东代付',
|
||||
path: 'jdToPay',
|
||||
},
|
||||
],
|
||||
|
@ -365,20 +365,20 @@ export default {
|
|||
},
|
||||
rules: {
|
||||
bankCode: [
|
||||
{ required: true, message: this.$t('w_0270'), trigger: 'blur' },
|
||||
{ required: true, message: '请选择银行名称', trigger: 'blur' },
|
||||
],
|
||||
bankAccountNo: [
|
||||
{ required: true, message: this.$t('MN_F_T_576'), trigger: 'blur' },
|
||||
{ required: true, message: '请输入银行账户', trigger: 'blur' },
|
||||
],
|
||||
bankAccountName: [
|
||||
{ required: true, message: this.$t('MN_F_T_566'), trigger: 'blur' },
|
||||
{ required: true, message: '请输入收款人', trigger: 'blur' },
|
||||
],
|
||||
agentAmount: [
|
||||
{ required: true, message: this.$t('MN_F_T_577'), trigger: 'blur' },
|
||||
{ required: true, message: '请输入提现金额', trigger: 'blur' },
|
||||
],
|
||||
biz: [{ required: true, message: this.$t('MN_F_T_567'), trigger: 'change' }],
|
||||
biz: [{ required: true, message: '请选择账户类型', trigger: 'change' }],
|
||||
agentChannel: [
|
||||
{ required: true, message: this.$t('MN_F_T_574'), trigger: 'change' },
|
||||
{ required: true, message: '请选择渠道', trigger: 'change' },
|
||||
],
|
||||
},
|
||||
select: {},
|
||||
|
@ -394,41 +394,41 @@ export default {
|
|||
eAgentBiz: [
|
||||
{
|
||||
value: 'B2B',
|
||||
label: this.$t('MN_F_T_578'),
|
||||
label: '对公',
|
||||
},
|
||||
{
|
||||
value: 'B2C',
|
||||
label: this.$t('MN_F_T_579'),
|
||||
label: '对私',
|
||||
},
|
||||
],
|
||||
// 提现状态
|
||||
eAgentStatus: [
|
||||
{
|
||||
value: 0,
|
||||
label: this.$t('MN_F_T_580'),
|
||||
label: '未提现',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('MN_F_T_581'),
|
||||
label: '提现成功',
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
label: this.$t('MN_F_T_582'),
|
||||
label: '提现失败',
|
||||
},
|
||||
],
|
||||
// 审核状态
|
||||
eAgentApprovalStatus: [
|
||||
{
|
||||
value: 1,
|
||||
label: this.$t('ENU_APPROVE_S_3'),
|
||||
label: '审核中',
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
label: this.$t('ENU_R_A_O_2'),
|
||||
label: '审核通过',
|
||||
},
|
||||
{
|
||||
value: 3,
|
||||
label: this.$t('ENU_R_A_O_3'),
|
||||
label: '审核驳回',
|
||||
},
|
||||
],
|
||||
// 银行列表
|
||||
|
@ -497,7 +497,7 @@ export default {
|
|||
qudaoList: [
|
||||
{
|
||||
value: 4,
|
||||
label: this.$t('ENU_PAY_CHA_4'),
|
||||
label: '京东',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
@ -564,15 +564,15 @@ export default {
|
|||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm( '是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
'/pay/manage/jd-agent/export',
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`${this.$t('MN_F_T_92')}${new Date().getTime()}.xlsx`
|
||||
`${'消费明细'}${new Date().getTime()}.xlsx`
|
||||
)
|
||||
})
|
||||
},
|
||||
|
|
|
@ -175,7 +175,7 @@ export default {
|
|||
moren: 'jdZxqc',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_14'),
|
||||
name: '在线签呈',
|
||||
path: 'jdZxqc',
|
||||
},
|
||||
],
|
||||
|
@ -304,7 +304,7 @@ export default {
|
|||
} else {
|
||||
this.$message({
|
||||
type: 'error',
|
||||
message: this.$t('MY_ORD_79'),
|
||||
message: '上传失败',
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
@ -256,9 +256,9 @@ export default {
|
|||
filters: {
|
||||
isAgree(val) {
|
||||
if (!val) {
|
||||
return this.$t('ENU_POPUP_TYPE_1');
|
||||
return '允许';
|
||||
} else {
|
||||
return this.$t('ENU_POPUP_TYPE_2');
|
||||
return '禁止';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -280,22 +280,22 @@ export default {
|
|||
peyTypeList: [
|
||||
{
|
||||
value: '1',
|
||||
label: this.$t('ENU_PAY_TY_1'),
|
||||
label: '支付宝',
|
||||
},
|
||||
{
|
||||
value: '2',
|
||||
label: this.$t('ENU_PAY_TY_2'),
|
||||
label: '微信',
|
||||
},
|
||||
{
|
||||
value: '3',
|
||||
label: this.$t('ENU_PAY_TY_3'),
|
||||
label: '银行卡',
|
||||
},
|
||||
],
|
||||
tradeTypeList: [],
|
||||
moren: 'onlinePayDetails',
|
||||
topList: [
|
||||
{
|
||||
name: this.$t('MN_F_T_97'),
|
||||
name: '在线支付明细',
|
||||
path: 'onlinePayDetails',
|
||||
},
|
||||
],
|
||||
|
@ -359,15 +359,15 @@ export default {
|
|||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm( this.$t('MN_F_T_407'), this.$t('MN_F_T_304'), {
|
||||
confirmButtonText: this.$t('w_0035'),
|
||||
cancelButtonText: this.$t('ENU_P_TYPE0'),
|
||||
this.$confirm( '是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
'/pay/manage/online-payment/export',
|
||||
Object.assign({}, this.queryParams, this.select),
|
||||
`${this.$t('MN_F_T_97')}${new Date().getTime()}.xlsx`
|
||||
`${'在线支付明细'}${new Date().getTime()}.xlsx`
|
||||
)
|
||||
})
|
||||
},
|
||||
|
|
|
@ -266,7 +266,7 @@ export default {
|
|||
moren: "onlineRefundDetails",
|
||||
topList: [
|
||||
{
|
||||
name: this.$t("MY_ORD_84"),
|
||||
name: '在线退款明细',
|
||||
path: "onlineRefundDetails",
|
||||
},
|
||||
],
|
||||
|
@ -329,15 +329,15 @@ export default {
|
|||
handleSelectionChange(val) {},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.$confirm(this.$t("MN_F_T_407"), this.$t("MN_F_T_304"), {
|
||||
confirmButtonText: this.$t("w_0035"),
|
||||
cancelButtonText: this.$t("ENU_P_TYPE0"),
|
||||
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
}).then((_) => {
|
||||
this.download(
|
||||
"/pay/manage/online-refund/refund-export",
|
||||
{ ...this.queryParams },
|
||||
`${this.$t("MY_ORD_84")}${new Date().getTime()}.xlsx`
|
||||
`${'在线退款明细'}${new Date().getTime()}.xlsx`
|
||||
);
|
||||
});
|
||||
},
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue