提交
This commit is contained in:
parent
6683722e3a
commit
cb6b3e7578
|
@ -160,13 +160,13 @@ export const $recharge = {
|
|||
},
|
||||
canRefund() {
|
||||
return (row) => {
|
||||
return row.status === '2' && row.isFinished;
|
||||
return row.status === '2';
|
||||
}
|
||||
},
|
||||
canClose() {
|
||||
return (row) => {
|
||||
// (支付成功或者押金支付成功) 且 订单未完成
|
||||
return [RechargeStatus.PAY_SUCCESS, RechargeStatus.DEPOSIT_SUCCESS].includes(row.status) && !row.isFinished;
|
||||
return [RechargeStatus.PAY_SUCCESS, RechargeStatus.DEPOSIT_SUCCESS, RechargeStatus.REFUNDED, RechargeStatus.REFUNDING].includes(row.status) && !row.isFinished;
|
||||
}
|
||||
},
|
||||
// 允许修复的数据
|
||||
|
|
|
@ -291,6 +291,9 @@ export default {
|
|||
],
|
||||
submitType: [
|
||||
{type: 'array', required: true, message: "提交材料不能为空", trigger: "change"}
|
||||
],
|
||||
reason: [
|
||||
{ required: true, message: "风控原因不能为空", trigger: "blur" }
|
||||
]
|
||||
}
|
||||
};
|
||||
|
@ -342,7 +345,7 @@ export default {
|
|||
realNameId: null,
|
||||
unsealSelf: false,
|
||||
submitType: [],
|
||||
videoWords: `请录制视频,并按要求念出以下内容:\n【本人:XXX,身份证:XXX,正常使用共享开关用于XXX共享使用,本人保证合法合规使用,如果不正常使用本人愿意承担所有法律责任。】`
|
||||
videoWords: `本人:XXX,身份证:XXX,正常使用共享开关用于XXX共享使用,本人保证合法合规使用,如果不正常使用本人愿意承担所有法律责任。`
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
|
|
|
@ -232,14 +232,15 @@ const defaultSort = {
|
|||
|
||||
export default {
|
||||
name: "RiskInfo",
|
||||
computed: {
|
||||
RiskInfoStatus() {
|
||||
return RiskInfoStatus
|
||||
}
|
||||
},
|
||||
components: { UserLink, RiskInfoVerifyDialog, VideoPreview },
|
||||
mixins: [$showColumns],
|
||||
dicts: ['risk_info_status'],
|
||||
components: { UserLink, RiskInfoVerifyDialog, VideoPreview },
|
||||
props: {
|
||||
query: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
// 字段列表
|
||||
|
@ -310,9 +311,16 @@ export default {
|
|||
},
|
||||
openVerify:false,
|
||||
row: {},
|
||||
RiskInfoStatus
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
||||
this.queryParams = {
|
||||
...this.queryParams,
|
||||
...this.query
|
||||
}
|
||||
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -50,11 +50,9 @@
|
|||
|
||||
<script>
|
||||
import {
|
||||
delBill,
|
||||
refreshPayResult,
|
||||
rechargeDevice,
|
||||
closeBill,
|
||||
fixBill
|
||||
closeBill
|
||||
} from '@/api/system/recharge'
|
||||
import { $recharge, $showColumns, $view } from '@/utils/mixins'
|
||||
import RefundDialog from '@/views/system/recharge/components/RefundDialog.vue'
|
||||
|
|
Loading…
Reference in New Issue
Block a user