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">
+ show-overflow-tooltip sortable="custom" min-width="150px" />
+ show-overflow-tooltip sortable="custom" min-width="120px" />
+ show-overflow-tooltip sortable="custom" min-width="120px">
{{ $fd('ImageBackApplyEnum',
scope.row.ApplyUserRole) }}
+
+
+ show-overflow-tooltip sortable="custom" min-width="150px" />
+ show-overflow-tooltip sortable="custom" min-width="120px">
{{ $fd('ImageBackstateEnum',
scope.row.ImageBackState) }}
+
+
+ show-overflow-tooltip sortable="custom" min-width="150px" />
+ v-if="hasPermi(['trials:trials-panel:visit:reupload-audit:agree', 'trials:trials-panel:visit:reupload-audit:refuse'])"
+ min-width="120px">
{
+ let params = {
+ IamgeBackRecordId: row.Id,
+ IsAgree: state === 1 ? true : false,
+ ResultRemark: value
+ }
+ // return console.log(params)
+ this.loading = true
+ let res = await auditImageBack(params)
+ this.loading = false
+ if (res.IsSuccess) {
+ this.getList()
+ }
+ }).catch(() => {
+
+ });
+
+ // let confirm = await this.$confirm(message)
+ // if (!confirm) return false
+ // let params = {
+ // IamgeBackRecordId: row.Id,
+ // IsAgree: state === 1 ? true : false,
+ // ResultRemark
+ // }
+ // this.loading = true
+ // let res = await auditImageBack(params)
+ // this.loading = false
+ // if (res.IsSuccess) {
+ // this.getList()
+ // }
} catch (err) {
console.log(err)
this.loading = false