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

uat_us
caiyiling 2024-08-08 10:18:42 +08:00
commit 9f124da272
8 changed files with 69 additions and 71 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;
}

View File

@ -1,14 +1,14 @@
<template>
<div v-loading="pageLoading" style="height:100%;display:flex;flex-direction: column;">
<div style="height:50px">
<div style="text-align:right;">
<!-- <div style="text-align:right;">
<el-switch
v-model="isEnglish"
active-text="EN"
inactive-text="中文"
style="margin-right:20px;"
/>
</div>
</div> -->
<div style="text-align:center;">
<h3>{{ title }}</h3>
</div>

View File

@ -18,7 +18,7 @@
<el-input v-model="form.SiteName" />
</el-form-item>
<!-- 中心名称CN -->
<el-form-item :label="$t('trials:customSite:form:siteName') + 'CN'" v-if="!show" prop="SiteNameCN">
<el-form-item :label="$t('trials:customSite:form:siteName') + 'CN'" prop="SiteNameCN">
<el-input v-model="form.SiteNameCN" />
</el-form-item>

View File

@ -6,7 +6,7 @@
{{ $t('trials:researchForm:title:question') }}
</h2>
<div style="display: flex;justify-content: space-between;">
<div>调研表状态<el-tag>{{ $fd('ResearchRecord', state) }}</el-tag></div>
<div>{{ $t('trials:researchForm:title:state') }}<el-tag>{{ $fd('ResearchRecord', state) }}</el-tag></div>
</div>
</div>

View File

@ -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
}
}
}
}

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,11 +821,6 @@ 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 = () => {
return {
SortField: 'CreateTime',
@ -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 => {

View File

@ -221,6 +221,7 @@
:disabled="btnLoading"
webkitdirectory
multiple
title=""
@change="beginScanFiles($event)"
/>
</div>
@ -2054,6 +2055,7 @@ export default {
cursor: pointer;
}
#inputForm #listWrapper {
margin-top: 10px;
margin-bottom: 50px;