This commit is contained in:
2025-06-18 21:20:41 +08:00
parent 9a51068c76
commit 64e995eb70
3 changed files with 11 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ const next = async () => {
<a-alert>平台提示所有沟通内容均由人工审核请勿脱离平台交易请勿发送违规内容违者...</a-alert>
<div class="px-[30px] py-[16px]">
<a-config-provider size="mini">
<refuse-modal-form1 ref="formRef" v-if="step === 1"></refuse-modal-form1>
<refuse-modal-form1 :taskId="taskId" ref="formRef" v-if="step === 1"></refuse-modal-form1>
<refuse-modal-form2 ref="formRef" v-if="step === 2"></refuse-modal-form2>
</a-config-provider>
</div>

View File

@@ -5,6 +5,12 @@ import XImage from "../../../../../components/XImage/Index.vue";
import UploadButton from "../../../../../components/upload/UploadButton.vue";
import {Message} from "@arco-design/web-vue";
const {taskId} = defineProps({
taskId: {
type: Number,
default: null,
}
});
const form = reactive({
common_refund_ids: [],
diy_refund_ids: [],
@@ -43,7 +49,9 @@ onMounted(() => {
CommonRefund.length = 0;
CommonRefund.push(...data);
});
Api.merchant.getDiyRefund().then(({data}) => {
Api.merchant.getDiyRefund({
id: taskId
}).then(({data}) => {
DiyRefund.length = 0;
DiyRefund.push(...data);
});

View File

@@ -20,7 +20,7 @@ request.interceptors.request.use((config) => {
config.headers['Access-Token'] = token;
}
console.log('请求拦截器', config.data);
console.log(`请求拦截器`, config, config.data);
if (!config.UN_AES) {
const {context, iv} = AESCrypto.encrypt(JSON.stringify(config.data));