|
|
|
@ -209,7 +209,7 @@ |
|
|
|
@click="openAuditForm(scope.row)">审核 |
|
|
|
</el-link> |
|
|
|
<el-link |
|
|
|
v-else-if="activeTab == 'pass' && !(scope.row.status == 6 || scope.row.status == 4) && scope.row.receivedMarket == scope.row.submitterMarket" |
|
|
|
v-else-if="activeTab == 'pass' && !(scope.row.status == 6 || scope.row.status == 4) && scope.row.receivedMarket == adminData.markets" |
|
|
|
style="color: #2741DE;" @click="openEditForm(scope.row)">编辑 |
|
|
|
</el-link> |
|
|
|
<el-link |
|
|
|
@ -1016,7 +1016,7 @@ const navigateTo = async (tab) => { |
|
|
|
// 2.4 审核功能 |
|
|
|
// 打开审核弹窗 |
|
|
|
const openAuditForm = (row) => { |
|
|
|
auditFormData.value = {...row, market: row.marketName}; |
|
|
|
auditFormData.value = { ...row, market: row.marketName }; |
|
|
|
ifGold(auditFormData.value) |
|
|
|
console.log('isGold', isGold.value); |
|
|
|
|
|
|
|
@ -1122,7 +1122,7 @@ watch(auditFormisible, (val) => { |
|
|
|
const openEditForm = (row) => { |
|
|
|
console.log('row.aaa', row.handlingCharge); |
|
|
|
|
|
|
|
editFormData.value = {...row}; |
|
|
|
editFormData.value = { ...row }; |
|
|
|
// 区分金币产品与普通产品 |
|
|
|
if (row.goodsName === '金币充值') isEditGold.value = true; |
|
|
|
else isEditGold.value = false; |
|
|
|
@ -1234,7 +1234,7 @@ const handleMouseMove = (e) => { |
|
|
|
// 获取管理员信息 |
|
|
|
const getAdminData = async () => { |
|
|
|
try { |
|
|
|
const result = await API({url: '/admin/userinfo', data: {}}); |
|
|
|
const result = await API({ url: '/admin/userinfo', data: {} }); |
|
|
|
adminData.value = result; |
|
|
|
|
|
|
|
// 超级管理员判断(仅用于角色切换权限) |
|
|
|
@ -1258,7 +1258,7 @@ const getAdminData = async () => { |
|
|
|
// 获取活动列表 |
|
|
|
const getActivitys = async () => { |
|
|
|
try { |
|
|
|
const result = await API({url: '/cashCollection/getActivityList', data: {}}); |
|
|
|
const result = await API({ url: '/cashCollection/getActivityList', data: {} }); |
|
|
|
if (result.code === 200) { |
|
|
|
activityList.value = result.data; |
|
|
|
} else { |
|
|
|
@ -1271,8 +1271,8 @@ const getActivitys = async () => { |
|
|
|
}; |
|
|
|
|
|
|
|
// 2.8 节流函数(防止重复提交) |
|
|
|
const throttledhandelAuditReject = _.throttle(handelAuditReject, 3000, {trailing: false}); |
|
|
|
const throttledsubmitEditForm = _.throttle(submitEditForm, 3000, {trailing: false}); |
|
|
|
const throttledhandelAuditReject = _.throttle(handelAuditReject, 3000, { trailing: false }); |
|
|
|
const throttledsubmitEditForm = _.throttle(submitEditForm, 3000, { trailing: false }); |
|
|
|
const throttledsubmitRefund = _.throttle(submitRefund, 5000, { |
|
|
|
trailing: false |
|
|
|
}) |
|
|
|
@ -1299,20 +1299,14 @@ onMounted(async () => { |
|
|
|
}); |
|
|
|
|
|
|
|
// 2.10 未使用函数占位(避免报错) |
|
|
|
const handleCurrencyChange = () => { |
|
|
|
}; |
|
|
|
const handleCurrencyChange = () => { }; |
|
|
|
const beforeUpload = () => true; |
|
|
|
const handelImgErr = () => { |
|
|
|
}; |
|
|
|
const handleImageChange = () => { |
|
|
|
}; |
|
|
|
const customUpload = () => { |
|
|
|
}; |
|
|
|
const handleDatePickerChange = () => { |
|
|
|
}; |
|
|
|
const handelImgErr = () => { }; |
|
|
|
const handleImageChange = () => { }; |
|
|
|
const customUpload = () => { }; |
|
|
|
const handleDatePickerChange = () => { }; |
|
|
|
const disabledDate = () => false; |
|
|
|
const handleSortChange = () => { |
|
|
|
}; |
|
|
|
const handleSortChange = () => { }; |
|
|
|
const getMarket = async function () { |
|
|
|
try { |
|
|
|
const result = await API({ |
|
|
|
|