From 160f7c959e632d790df8b00c4ec87e2c629e4edc Mon Sep 17 00:00:00 2001 From: qsh <> Date: Mon, 15 Jul 2024 10:29:46 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/index.ts | 2 +- src/views/Clue/Pool/Comp/DialogClue.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index d1d5f79..a8696e1 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -213,7 +213,7 @@ export const fenToYuan = (amount: string | number): number => { export const removeNullField = (obj: Object) => { for (const key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { - if (obj[key] === '') { + if (obj[key] === '' || obj[key] === null || obj[key] == undefined) { delete obj[key] } } diff --git a/src/views/Clue/Pool/Comp/DialogClue.vue b/src/views/Clue/Pool/Comp/DialogClue.vue index 4e3f142..21d5c86 100644 --- a/src/views/Clue/Pool/Comp/DialogClue.vue +++ b/src/views/Clue/Pool/Comp/DialogClue.vue @@ -162,6 +162,7 @@ const formSchema = computed(() => { newSchema.forEach((it) => { if (it.field == 'consultTime') { it.componentProps['disabled-date'] = dateAfterToday + it.componentProps['disabled'] = formType.value != 'create' } }) return [ From ec14af13510125b68efb5403dc95fba96b70aa1b Mon Sep 17 00:00:00 2001 From: qsh <> Date: Wed, 17 Jul 2024 10:27:48 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Clue/Pool/Comp/DialogSuccess.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Clue/Pool/Comp/DialogSuccess.vue b/src/views/Clue/Pool/Comp/DialogSuccess.vue index 60cbb21..0add2c3 100644 --- a/src/views/Clue/Pool/Comp/DialogSuccess.vue +++ b/src/views/Clue/Pool/Comp/DialogSuccess.vue @@ -386,7 +386,7 @@ function resetForm(id) { state: true, payAmount: 0, remark: undefined, - isCompanyReceipts: appStore.getAppInfo?.instanceType == 1, + isCompanyReceipts: appStore.getAppInfo?.instanceType == 2, extraPay: [], signProducts: [] } From 97b941055e788266343080d8d55b266a7ea0aa96 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Tue, 23 Jul 2024 14:39:55 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.base | 4 ++-- src/components/Dialog/src/Dialog.vue | 17 ++++++++++------- src/views/Clue/Pool/Comp/DialogClue.vue | 7 +++++-- src/views/Clue/Pool/Comp/DialogFollow.vue | 3 +++ src/views/Clue/Pool/Comp/DialogSuccess.vue | 3 +++ 5 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.env.base b/.env.base index d470c46..b37d409 100644 --- a/.env.base +++ b/.env.base @@ -4,8 +4,8 @@ VITE_NODE_ENV=development VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://118.31.23.45:48080' -# VITE_BASE_URL='http://114.55.169.15:48080' +# VITE_BASE_URL='http://118.31.23.45:48080' +VITE_BASE_URL='http://114.55.169.15:48080' # 上传路径 VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload' diff --git a/src/components/Dialog/src/Dialog.vue b/src/components/Dialog/src/Dialog.vue index 34b7a32..47d2073 100644 --- a/src/components/Dialog/src/Dialog.vue +++ b/src/components/Dialog/src/Dialog.vue @@ -75,13 +75,16 @@ const emit = defineEmits(['close']) {{ title }} - +
+ + +
diff --git a/src/views/Clue/Pool/Comp/DialogClue.vue b/src/views/Clue/Pool/Comp/DialogClue.vue index 21d5c86..9f87c2f 100644 --- a/src/views/Clue/Pool/Comp/DialogClue.vue +++ b/src/views/Clue/Pool/Comp/DialogClue.vue @@ -1,5 +1,8 @@ diff --git a/src/views/Clue/Pool/Comp/DialogFollow.vue b/src/views/Clue/Pool/Comp/DialogFollow.vue index abae556..c15d84e 100644 --- a/src/views/Clue/Pool/Comp/DialogFollow.vue +++ b/src/views/Clue/Pool/Comp/DialogFollow.vue @@ -1,5 +1,8 @@