|
|
|
@ -80,7 +80,7 @@ |
|
|
|
<el-button v-if="scope.row.status === 20" type="primary" text @click="showAudit(scope.row)"> |
|
|
|
审核 |
|
|
|
</el-button> |
|
|
|
<el-button v-else type="primary" text @click="showSteps = true"> |
|
|
|
<el-button v-else type="primary" text @click="showStep(scope.row)"> |
|
|
|
查看进度 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
@ -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 = '' |
|
|
|
|