Merge branch 'uat' into uat_us
commit
a58a6e4931
|
@ -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>
|
|
@ -231,7 +231,13 @@ export default {
|
|||
window.open(href, '_blank')
|
||||
},
|
||||
handleDownloadAll() {
|
||||
// 英文环境直接下载
|
||||
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 = {};
|
||||
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)
|
||||
}
|
||||
this.dialogVisible = false
|
||||
}
|
||||
|
||||
}).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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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'] }
|
||||
]
|
||||
|
|
|
@ -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,12 +821,7 @@ import Pagination from '@/components/Pagination'
|
|||
import BaseContainer from '@/components/BaseContainer'
|
||||
import BaseModel from '@/components/BaseModel'
|
||||
import { getToken } from '@/utils/auth'
|
||||
|
||||
export default {
|
||||
components: { BaseContainer, Pagination, BaseModel },
|
||||
dicts: ['OptType', 'ModuleType', 'ChildrenType'],
|
||||
data() {
|
||||
const searchDataDefault = () => {
|
||||
const searchDataDefault = () => {
|
||||
return {
|
||||
SortField: 'CreateTime',
|
||||
Asc: false,
|
||||
|
@ -834,7 +829,7 @@ export default {
|
|||
PageSize: 20,
|
||||
ModuleType: null,
|
||||
BlindName: null,
|
||||
TrialId: this.$route.query.trialId,
|
||||
TrialId: '',
|
||||
TrialSiteId: null,
|
||||
SubjectId: null,
|
||||
SubjectInfo: null,
|
||||
|
@ -851,9 +846,15 @@ export default {
|
|||
BatchId: null,
|
||||
TrialReadingCriterionId: null,
|
||||
RoleName:null,
|
||||
TaskName: null
|
||||
}
|
||||
TaskName: '',
|
||||
CreateUserRealName: ''
|
||||
}
|
||||
}
|
||||
export default {
|
||||
components: { BaseContainer, Pagination, BaseModel },
|
||||
dicts: ['OptType', 'ModuleType', 'ChildrenType'],
|
||||
data() {
|
||||
|
||||
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 => {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue