From 75a0f3a91a8f00f14c6a4fd54c016f31578630c2 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 19 May 2025 17:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E9=80=80=E5=9B=9E=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=94=B3=E8=AF=B7=E5=8E=9F=E5=9B=A0=E3=80=81=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/visit/crc-upload/index.vue | 32 +++++--- .../trials-panel/visit/qc-check/index.vue | 32 +++++--- .../visit/reupload-audit/index.vue | 74 +++++++++++++------ 3 files changed, 97 insertions(+), 41 deletions(-) diff --git a/src/views/trials/trials-panel/visit/crc-upload/index.vue b/src/views/trials/trials-panel/visit/crc-upload/index.vue index 14ee89aa..d24e2cd1 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/index.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/index.vue @@ -1007,15 +1007,29 @@ export default { // 申请影像退回 async imageBack(row) { try { - let confirm = await this.$confirm(this.$t("trials:crcUpload:confirmMessage:imageBack")) - if (!confirm) return false - let params = { - SubjectVisitId: row.Id - } - let res = await requestImageBack(params) - if (res.IsSuccess) { - this.getList() - } + this.$prompt(this.$t("trials:crcUpload:confirmMessage:ApplyReason"), this.$t("trials:crcUpload:confirmMessage:imageBack"), { + confirmButtonText: this.$t("common:button:save"), + cancelButtonText: this.$t("common:button:cancel"), + inputValidator: (val) => { + if (!val) return this.$t("common:ruleMessage:specify") + }, + inputErrorMessage: this.$t("common:ruleMessage:specify") + }).then(async ({ value }) => { + let params = { + SubjectVisitId: row.Id, + ApplyReason: value + } + // return console.log(params) + let res = await requestImageBack(params) + + if (res.IsSuccess) { + this.getList() + } + }).catch(() => { + + }); + // let confirm = await this.$confirm(this.$t("trials:crcUpload:confirmMessage:imageBack")) + // if (!confirm) return false } catch (err) { console.log(err) } diff --git a/src/views/trials/trials-panel/visit/qc-check/index.vue b/src/views/trials/trials-panel/visit/qc-check/index.vue index 66a7a211..4f649655 100644 --- a/src/views/trials/trials-panel/visit/qc-check/index.vue +++ b/src/views/trials/trials-panel/visit/qc-check/index.vue @@ -697,15 +697,29 @@ export default { // 申请影像退回 async imageBack(row) { try { - let confirm = await this.$confirm(this.$t("trials:qcCheck:confirmMessage:imageBack")) - if (!confirm) return false - let params = { - SubjectVisitId: row.Id - } - let res = await requestImageBack(params) - if (res.IsSuccess) { - this.getList() - } + this.$prompt(this.$t("trials:crcUpload:confirmMessage:ApplyReason"), this.$t("trials:crcUpload:confirmMessage:imageBack"), { + confirmButtonText: this.$t("common:button:save"), + cancelButtonText: this.$t("common:button:cancel"), + inputValidator: (val) => { + if (!val) return this.$t("common:ruleMessage:specify") + }, + inputErrorMessage: this.$t("common:ruleMessage:specify") + }).then(async ({ value }) => { + let params = { + SubjectVisitId: row.Id, + ApplyReason: value + } + // return console.log(params) + let res = await requestImageBack(params) + + if (res.IsSuccess) { + this.getList() + } + }).catch(() => { + + }); + // let confirm = await this.$confirm(this.$t("trials:crcUpload:confirmMessage:imageBack")) + // if (!confirm) return false } catch (err) { console.log(err) } diff --git a/src/views/trials/trials-panel/visit/reupload-audit/index.vue b/src/views/trials/trials-panel/visit/reupload-audit/index.vue index 4302e7c8..ac53b134 100644 --- a/src/views/trials/trials-panel/visit/reupload-audit/index.vue +++ b/src/views/trials/trials-panel/visit/reupload-audit/index.vue @@ -108,17 +108,17 @@ + show-overflow-tooltip sortable="custom" min-width="120px" /> + show-overflow-tooltip sortable="custom" min-width="120px" /> + show-overflow-tooltip sortable="custom" min-width="120px"> + show-overflow-tooltip min-width="170" sortable="custom">