Merge branch 'uat' into uat_us

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-07 15:33:24 +08:00
commit a58a6e4931
9 changed files with 70 additions and 72 deletions

View File

@ -167,6 +167,7 @@ export default {
this.timer = setInterval(() => {
this.second--;
if (this.second <= 0) {
this.flag = false;
clearInterval(this.timer);
this.timer = null;
}
@ -201,7 +202,7 @@ export default {
margin-right: 5px;
}
}
::v-deep .el-dialog__header{
::v-deep .el-dialog__header {
font-weight: bold;
}
</style>

View File

@ -231,7 +231,13 @@ export default {
window.open(href, '_blank')
},
handleDownloadAll() {
this.dialogVisible = true
//
if (process.env.NODE_ENV === 'usa') {
this.language = 2
this.handleDownloadResumes()
} else {
this.dialogVisible = true
}
},
getFileData(fileUrl) {
return new Promise((resolve, reject) => {
@ -285,11 +291,16 @@ export default {
language: this.language
}).then(async res => {
this.selectTable = {};
for (let i = 0; res.Result.length > i; i++) {
let item = res.Result[i]
await this.handleBatchDown(item)
}
this.dialogVisible = false
if (!res.Result || res.Result.length === 0) {
this.$alert(this.$t('trials:seletctedReviews:table:noResume'))
}else{
for (let i = 0; res.Result.length > i; i++) {
let item = res.Result[i]
await this.handleBatchDown(item)
}
}
}).catch(err=>{
this.dialogVisible = false;
this.selectTable= {};
@ -305,9 +316,14 @@ export default {
downloadResume(this.$route.query.trialId, this.language, arr).then(res => { window.open(res.Result) })
},
handleDownload(row) {
// this.downloadResume([row.Id])
this.dialogVisible = true;
this.selectTable = row;
this.selectTable = row
//
if (process.env.NODE_ENV === 'usa') {
this.language = 2
this.handleDownloadResumes()
} else {
this.dialogVisible = true
}
}
}
}

View File

@ -1054,7 +1054,7 @@ export default {
this.stack.studyId = dicomSeries.studyId
this.stack.seriesNumber = dicomSeries.seriesNumber
this.stack.imageIds = dicomSeries.imageIds
this.stack.currentImageIdIndex = dicomSeries.imageIdIndex && dicomSeries.imageIdIndex < dicomSeries.imageIds.length - 1 ? dicomSeries.imageIdIndex : 0
this.stack.currentImageIdIndex = dicomSeries.imageIdIndex && dicomSeries.imageIdIndex < dicomSeries.imageIds.length ? dicomSeries.imageIdIndex : 0
this.stack.imageIdIndex = dicomSeries.imageIdIndex
this.stack.firstImageLoading = true
this.stack.visitTaskId = dicomSeries.visitTaskId

View File

@ -1038,7 +1038,7 @@ export default {
this.stack.studyId = dicomSeries.studyId
this.stack.seriesNumber = dicomSeries.seriesNumber
this.stack.imageIds = dicomSeries.imageIds
this.stack.currentImageIdIndex = dicomSeries.imageIdIndex && dicomSeries.imageIdIndex < dicomSeries.imageIds.length - 1 ? dicomSeries.imageIdIndex : 0
this.stack.currentImageIdIndex = dicomSeries.imageIdIndex && dicomSeries.imageIdIndex < dicomSeries.imageIds.length ? dicomSeries.imageIdIndex : 0
this.stack.imageIdIndex = dicomSeries.imageIdIndex
this.stack.firstImageLoading = true
this.stack.visitTaskId = dicomSeries.visitTaskId

View File

@ -8,7 +8,7 @@
ref="emailRulesForm"
v-loading="loading"
:model="form"
style="width:800px;"
style="width:800px;margin-top: 10px;"
:rules="rules"
label-width="230px"
size="small"

View File

@ -144,9 +144,9 @@ export default {
{ min: 0, max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50`, trigger: 'blur' }
],
UserTypeId: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: ['blur'] }],
Phone: [
{ required: false, validator: checkPhone, trigger: ['blur'] }
],
// Phone: [
// { required: false, validator: checkPhone, trigger: ['blur'] }
// ],
Email: [
{ required: true, validator: validateEmail, trigger: ['blur'] }
]

View File

@ -439,7 +439,7 @@
</template>
</el-table-column>
</el-table>
<div v-if="otherData.length > 0" style="margin-top: 20px;margin-bottom: 10px;">
<div v-if="otherData.length > 0 && otherData[0].Value" style="margin-top: 20px;margin-bottom: 10px;">
<!-- 签名信息: -->
{{$t('trials:auditRecord:title:signInfo')}}
</div>
@ -777,7 +777,7 @@
</template>
</el-table-column>
</el-table>
<div v-if="otherData.length > 0" style="margin-top: 20px;margin-bottom: 10px;">
<div v-if="otherData.length > 0 && otherData[0].Value" style="margin-top: 20px;margin-bottom: 10px;">
<!-- 签名信息: -->
{{$t('trials:auditRecord:title:signInfo')}}
</div>
@ -821,39 +821,40 @@ import Pagination from '@/components/Pagination'
import BaseContainer from '@/components/BaseContainer'
import BaseModel from '@/components/BaseModel'
import { getToken } from '@/utils/auth'
const searchDataDefault = () => {
return {
SortField: 'CreateTime',
Asc: false,
PageIndex: 1,
PageSize: 20,
ModuleType: null,
BlindName: null,
TrialId: '',
TrialSiteId: null,
SubjectId: null,
SubjectInfo: null,
SubjectVisitId: null,
VisitPlanInfo: null,
OptType: null,
ChildrenType: null,
Reason: null,
IsSign: null,
StartTime: null,
EndTime: null,
Description: null,
OpByUserName: null,
BatchId: null,
TrialReadingCriterionId: null,
RoleName:null,
TaskName: '',
CreateUserRealName: ''
}
}
export default {
components: { BaseContainer, Pagination, BaseModel },
dicts: ['OptType', 'ModuleType', 'ChildrenType'],
data() {
const searchDataDefault = () => {
return {
SortField: 'CreateTime',
Asc: false,
PageIndex: 1,
PageSize: 20,
ModuleType: null,
BlindName: null,
TrialId: this.$route.query.trialId,
TrialSiteId: null,
SubjectId: null,
SubjectInfo: null,
SubjectVisitId: null,
VisitPlanInfo: null,
OptType: null,
ChildrenType: null,
Reason: null,
IsSign: null,
StartTime: null,
EndTime: null,
Description: null,
OpByUserName: null,
BatchId: null,
TrialReadingCriterionId: null,
RoleName:null,
TaskName: null
}
}
return {
isViewer: true,
otherData:[],
@ -1295,30 +1296,7 @@ export default {
})
},
handleReset() {
this.searchData = Object.assign(this.searchData, {
SortField: '',
Asc: false,
PageIndex: 1,
PageSize: 20,
ModuleType: null,
BlindName: null,
TrialId: this.$route.query.trialId,
TrialSiteId: null,
SubjectId: null,
SubjectInfo: null,
SubjectVisitId: null,
VisitPlanInfo: null,
OptType: null,
ChildrenType: null,
Reason: null,
IsSign: null,
StartTime: null,
EndTime: null,
Description: null,
OpByUserName: null,
BatchId: null,
RoleName: null
})
this.searchData = searchDataDefault()
this.timeList = []
this.getList()
},
@ -1328,6 +1306,7 @@ export default {
},
getList() {
this.loading = true
this.searchData.TrialId = this.$route.query.trialId
getInspectionList(this.searchData).then((res) => {
this.list = res.CurrentPageData
// this.list = this.list.map(v => {

View File

@ -213,6 +213,7 @@
name="file"
ref="pathClear"
:disabled="btnLoading"
title=""
webkitdirectory
multiple
@change="beginScanFiles($event)"
@ -2016,6 +2017,7 @@ export default {
cursor: pointer;
}
#inputForm #listWrapper {
margin-top: 10px;
margin-bottom: 50px;

View File

@ -85,11 +85,11 @@
<el-date-picker
v-model="timeList"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"
format="yyyy-MM-dd HH:mm:ss"
type="datetimerange"
:default-time="['00:00:00', '23:59:59']"
@change="changeTimeList"
style="width:250px"
style="width:240px"
/>
</el-form-item>
<el-form-item>