diff --git a/src/views/moneyManage/refundDetail/refundCharge.vue b/src/views/moneyManage/refundDetail/refundCharge.vue
index 1bab621..c952dad 100644
--- a/src/views/moneyManage/refundDetail/refundCharge.vue
+++ b/src/views/moneyManage/refundDetail/refundCharge.vue
@@ -80,7 +80,7 @@
审核
-
+
查看进度
@@ -369,6 +369,10 @@ const statusList = ref([
])
// 查全部
const getRefund = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
searchForm.value.statuses = [20,22,30,32,40,41] // 看不到进度没到这里的
if(searchForm.value.statuses === '审核通过'){
@@ -409,11 +413,16 @@ const getRefund = async function () {
}
// 审核通过
const handlePass = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeAudit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
const params = {
id: auditRow.value.id,
status: 30,
- rejectReason: addForm.value.remark
+ rejectReason: addForm.value.remark,
+ adminId: adminData.value.id
}
const result = await API({
url: '/Money/review',
@@ -430,11 +439,16 @@ const handlePass = async function () {
}
// 审核驳回
const handleReject = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeAudit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
const params = {
id: auditRow.value.id,
status: 22,
- rejectReason: addForm.value.remark
+ rejectReason: addForm.value.remark,
+ adminId: adminData.value.id
}
const result = await API({
url: '/Money/review',
@@ -449,6 +463,13 @@ const handleReject = async function () {
ElMessage.error(error.message || '审核失败')
}
}
+const showStep = function (row) {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeProgShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
+ showSteps.value = true
+}
const hideReject = function () {
showReject.value = false
addForm.value.remark = ''
diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue
index 47bc513..cf474cf 100644
--- a/src/views/moneyManage/refundDetail/refundFinance.vue
+++ b/src/views/moneyManage/refundDetail/refundFinance.vue
@@ -81,7 +81,7 @@
审核
-
+
查看进度
@@ -376,6 +376,10 @@ const statusList = ref([
])
// 查全部
const getRefund = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundFinanceShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
if(searchForm.value.statuses === '审核通过'){
searchForm.value.statuses = [20,30,40]
@@ -415,13 +419,18 @@ const getRefund = async function () {
}
// 审核通过
const handlePass = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundFinanceAudit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
const params = {
id: auditRow.value.id,
- status: 20
+ status: 20,
+ adminId: adminData.value.id
}
const result = await API({
- url: '/Money/review',
+ url: '/Money/finalReview',
data: params
})
if (result.code === 200) {
@@ -435,14 +444,19 @@ const handlePass = async function () {
}
// 审核驳回
const handleReject = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundFinanceAudit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
const params = {
id: auditRow.value.id,
status: 12,
- rejectReason: addForm.value.remark
+ rejectReason: addForm.value.remark,
+ adminId: adminData.value.id
}
const result = await API({
- url: '/Money/review',
+ url: '/Money/finalReview',
data: params
})
if (result.code === 200) {
@@ -541,6 +555,13 @@ const channelOptions = ref([{
label: 'Ipay88-Link平台'
}
])
+const showStep = function (row) {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundFinanceProgShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
+ showSteps.value = true
+}
const showAudit2 = function (row) {
auditRow.value = row
showAudit.value = true
diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue
index a985d02..5fd897b 100644
--- a/src/views/moneyManage/refundDetail/refundHeader.vue
+++ b/src/views/moneyManage/refundDetail/refundHeader.vue
@@ -80,7 +80,7 @@
审核
-
+
查看进度
@@ -403,6 +403,10 @@ const executorList = ref([
])
// 查全部
const getRefund = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundHeaderShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
searchForm.value.statuses = [30, 32, 40, 41] // 默认:看不到进度没到这里的
@@ -439,6 +443,10 @@ const getRefund = async function () {
}
// 审核通过
const handlePass = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundHeaderAudit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
const params = {
id: auditRow.value.id,
@@ -461,6 +469,10 @@ const handlePass = async function () {
}
// 审核驳回
const handleReject = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundHeaderAudit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
const params = {
id: auditRow.value.id,
@@ -492,6 +504,13 @@ const reset = function () {
dateRange.value = []
getRefund()
}
+const showStep = function (row) {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundHeaderProgShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
+ showSteps.value = true
+}
const showAudit = function (row) {
auditRow.value = row
showAudit2.value = true
diff --git a/src/views/moneyManage/refundDetail/refundService.vue b/src/views/moneyManage/refundDetail/refundService.vue
index af5db5a..0c51a52 100644
--- a/src/views/moneyManage/refundDetail/refundService.vue
+++ b/src/views/moneyManage/refundDetail/refundService.vue
@@ -309,6 +309,10 @@ const statusList = ref([
])
// 查全部
const getRefund = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundServiceShow)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
if (searchForm.value.statuses === 'completed') {
searchForm.value.statuses = [41]
@@ -350,6 +354,10 @@ const getRefund = async function () {
}
// 撤回
const recall = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundServiceBack)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
console.log(backRow.value)
const params = {
@@ -374,6 +382,10 @@ const recall = async function () {
}
// 编辑
const submitEdit = async function () {
+ if (!hasMenuPermission(menuTree.value, permissionMapping.refundServiceEdit)) {
+ ElMessage.error('无此权限')
+ return
+ }
try {
console.log(editRow.value)
const params = {