Merge branch 'uat'
continuous-integration/drone/push Build is passing Details

# Conflicts:
#	src/views/trials/trials-panel/reading/read-task/index.vue
main
wangxiaoshuang 2026-06-17 09:23:22 +08:00
commit cb16658190
7 changed files with 10 additions and 11 deletions

View File

@ -357,10 +357,11 @@ export function getSubjectList(param) {
}) })
} }
export function getTrialSiteSelect(trialId) { export function getTrialSiteSelect(trialId, params) {
return request({ return request({
url: `/trialMaintenance/getTrialSiteSelect/${trialId}`, url: `/trialMaintenance/getTrialSiteSelect/${trialId}`,
method: 'get' method: 'get',
params
}) })
} }

View File

@ -366,7 +366,7 @@ export default {
// //
async initForm(trialInfo, trialSiteSurvey, notShowFieldList) { async initForm(trialInfo, trialSiteSurvey, notShowFieldList) {
// site // site
const { Result } = await getTrialSiteSelect(this.$route.query.trialId) const { Result } = await getTrialSiteSelect(this.$route.query.trialId, { IgnoreDisable: true })
this.siteOptions = Result this.siteOptions = Result
this.form.Id = trialSiteSurvey.Id this.form.Id = trialSiteSurvey.Id
this.form.Sponsor = trialInfo.Sponsor // this.form.Sponsor = trialInfo.Sponsor //

View File

@ -482,7 +482,7 @@ export default {
} }
}, },
handleSelectTable(row) { handleSelectTable(row) {
return row.DoctorTrialState !== 1 && row.ResumeStatus === 1 && row.AcceptingNewTrial && !row.IsVirtual && !row.IsVacation && row.CooperateStatus === 1 return row.DoctorTrialState !== 1 && row.ResumeStatus === 1 && row.AcceptingNewTrial && ((!row.IsVirtual && this.$store.state.trials.config.TrialType !== 0) || (row.IsVirtual && this.$store.state.trials.config.TrialType === 0)) && !row.IsVacation && row.CooperateStatus === 1
}, },
handleDetail(row) { handleDetail(row) {
const { href } = this.$router.resolve({ const { href } = this.$router.resolve({

View File

@ -665,7 +665,7 @@ export default {
async audit(row) { async audit(row) {
try { try {
this.rowData = Object.assign({}, row) this.rowData = Object.assign({}, row)
this.rowData.title = `${row.ApplicantName} (${this.$fd('RequestReReadingType', row.RequestReReadingType)}) ${this.$t('trials:spmAudit:title:imageBack').replace('xxx', row.OriginalReReadingTask.SubjectCode).replace('yyy', row.OriginalReReadingTask.TaskName)}` this.rowData.title = `${row.ApplicantName} (${this.$fd('RequestReReadingType', row.RequestReReadingType)}) ${this.$t('trials:spmAudit:title:imageBack').replace('xxx', row.OriginalReReadingTask.SubjectCode).replace('yyy', row.OriginalReReadingTask.TaskBlindName)}`
Object.keys(this.form).forEach(key => { Object.keys(this.form).forEach(key => {
this.form[key] = null this.form[key] = null
}) })

View File

@ -888,7 +888,7 @@ export default {
async audit(row) { async audit(row) {
try { try {
this.rowData = Object.assign({}, row) this.rowData = Object.assign({}, row)
this.rowData.title = `${row.ApplicantName} (${this.$fd('RequestReReadingType', row.RequestReReadingType)}) ${this.$t('trials:rereadTrack:title:imageBack').replace('xxx', row.OriginalReReadingTask.SubjectCode).replace('yyy', row.OriginalReReadingTask.TaskName)}` this.rowData.title = `${row.ApplicantName} (${this.$fd('RequestReReadingType', row.RequestReReadingType)}) ${this.$t('trials:rereadTrack:title:imageBack').replace('xxx', row.OriginalReReadingTask.SubjectCode).replace('yyy', row.OriginalReReadingTask.TaskBlindName)}`
Object.keys(this.form).forEach(key => { Object.keys(this.form).forEach(key => {
this.form[key] = null this.form[key] = null
}) })

View File

@ -177,9 +177,7 @@
custom-class="base-dialog-wrapper"> custom-class="base-dialog-wrapper">
<el-form ref="reasonForm" :rules="rules" :model="ApplyforReasonForm" class="demo-ruleForm" size="small" <el-form ref="reasonForm" :rules="rules" :model="ApplyforReasonForm" class="demo-ruleForm" size="small"
label-width="380px"> label-width="380px">
<p>{{ $t('trials:readTask:applyReread:title').replace('xxx', rowData.SubjectCode).replace('yyy', <p>{{ $t('trials:readTask:applyReread:title').replace('xxx', rowData.SubjectCode).replace('yyy', rowData.TaskBlindName) }}</p>
rowData.TaskName)
}}</p>
<!-- 申请原因 --> <!-- 申请原因 -->
<el-divider content-position="left">{{ $t('trials:readTask:title:applyReason') }}</el-divider> <el-divider content-position="left">{{ $t('trials:readTask:title:applyReason') }}</el-divider>
<!-- 申请原因 --> <!-- 申请原因 -->

View File

@ -460,7 +460,7 @@
custom-class="base-dialog-wrapper"> custom-class="base-dialog-wrapper">
<el-form ref="reasonForm" :rules="rules" :model="ApplyforReasonForm" class="demo-ruleForm" size="small" <el-form ref="reasonForm" :rules="rules" :model="ApplyforReasonForm" class="demo-ruleForm" size="small"
label-width="180px"> label-width="180px">
<p>{{ $t('trials:reviewTrack:applyReread:title2').replace('xxx', rowData.SubjectCode).replace('yyy', rowData.TaskName) }}</p> <p>{{ $t('trials:reviewTrack:applyReread:title2').replace('xxx', rowData.SubjectCode).replace('yyy', rowData.TaskBlindName) }}</p>
<!-- 申请原因 --> <!-- 申请原因 -->
<el-divider content-position="left"> <el-divider content-position="left">
{{ $t('trials:reviewTrack:applyReread:title:applyReason') }} {{ $t('trials:reviewTrack:applyReread:title:applyReason') }}
@ -625,7 +625,7 @@
custom-class="base-dialog-wrapper"> custom-class="base-dialog-wrapper">
<el-form ref="backReasonForm" :rules="rules" :model="backforReasonForm" class="demo-ruleForm" size="small" <el-form ref="backReasonForm" :rules="rules" :model="backforReasonForm" class="demo-ruleForm" size="small"
label-width="180px"> label-width="180px">
<p>{{ $t('trials:reviewTrack:applyReread:title1').replace('xxx', rowData.SubjectCode).replace('yyy', rowData.TaskName) }}</p> <p>{{ $t('trials:reviewTrack:applyReread:title1').replace('xxx', rowData.SubjectCode).replace('yyy', rowData.TaskBlindName) }}</p>
<!-- 申请原因 --> <!-- 申请原因 -->
<el-divider content-position="left"> <el-divider content-position="left">
{{ $t('trials:reviewTrack:applyReread:title:backReason') }} {{ $t('trials:reviewTrack:applyReread:title:backReason') }}