uat_us
caiyiling 2024-03-12 15:41:34 +08:00
commit 437e224f1a
6 changed files with 53 additions and 15 deletions

View File

@ -28,7 +28,7 @@ export default {
let msg = this.$t('system:userlist:message:ResetPassword2') let msg = this.$t('system:userlist:message:ResetPassword2')
msg = msg.replace('xxx', params('userName')) msg = msg.replace('xxx', params('userName'))
msg = msg.replace('yyy', params('email')) msg = msg.replace('yyy', params('email'))
this.$alert(msg) this.$alert(decodeURIComponent(msg))
} }
}) })
}) })

View File

@ -164,6 +164,11 @@ export default {
this.loading = true this.loading = true
this.searchData.TrialReadingCriterionId = this.TrialReadingCriterionId this.searchData.TrialReadingCriterionId = this.TrialReadingCriterionId
getGroupConsistentRuleSubjectList(this.searchData).then(res => { getGroupConsistentRuleSubjectList(this.searchData).then(res => {
if (res.OtherInfo) {
this.$emit('setReaderRulesFormVisible', false)
} else {
this.$emit('setReaderRulesFormVisible', true)
}
this.loading = false this.loading = false
this.list = res.Result.CurrentPageData this.list = res.Result.CurrentPageData
this.total = res.Result.TotalCount this.total = res.Result.TotalCount

View File

@ -17,7 +17,7 @@
</el-form-item> </el-form-item>
<!-- 虚拟中心编号 --> <!-- 虚拟中心编号 -->
<el-form-item :label="$t('trials:consistencyAnalysisRule:table:siteCode')" prop="VirtualSiteCode"> <el-form-item :label="$t('trials:consistencyAnalysisRule:table:siteCode')" prop="VirtualSiteCode">
<el-input v-model="form.VirtualSiteCode" style="width: 140px;" /> <el-input v-model="form.VirtualSiteCode" style="width: 140px;" @input="(v)=>(form.VirtualSiteCode = v.replace(/[^\a-\z\A-\Z0-9]/g, ''))"/>
</el-form-item> </el-form-item>
</div> </div>
<div class="base-dialog-footer" style="text-align:right;margin-top:10px;"> <div class="base-dialog-footer" style="text-align:right;margin-top:10px;">

View File

@ -525,7 +525,7 @@
<!-- 配置组间一致性分析规则 --> <!-- 配置组间一致性分析规则 -->
{{$t('trials:grouptConsistencyAnalysis:button:config')}} {{$t('trials:grouptConsistencyAnalysis:button:config')}}
</el-button> </el-button>
<GroupConsistentRuleSubjectTable v-if="TrialReadingCriterionId === item.TrialReadingCriterionId" :TrialReadingCriterionId="item.TrialReadingCriterionId" <GroupConsistentRuleSubjectTable @setReaderRulesFormVisible="(v) => {ReaderRulesFormVisible = v}" v-if="TrialReadingCriterionId === item.TrialReadingCriterionId" :TrialReadingCriterionId="item.TrialReadingCriterionId"
:ref="`GroupConsistentRuleSubjectTable${item.TrialReadingCriterionId}`" style="margin-top: 40px" :IsSelfAnalysis="IsSelfAnalysis" :changeNum="changeNum" @close="() => {ReaderRulesVisible2 = false; ; rowData = {}}" @getList="getList()" /> :ref="`GroupConsistentRuleSubjectTable${item.TrialReadingCriterionId}`" style="margin-top: 40px" :IsSelfAnalysis="IsSelfAnalysis" :changeNum="changeNum" @close="() => {ReaderRulesVisible2 = false; ; rowData = {}}" @getList="getList()" />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -536,6 +536,7 @@
:visible.sync="ReaderRulesFormVisible" :visible.sync="ReaderRulesFormVisible"
width="480px" width="480px"
:close-on-click-modal="false" :close-on-click-modal="false"
append-to-body
> >
<ReaderRulesForm :other-info="OtherInfo" :isDisable="isDisable" :trial-criterion-list="trialCriterionList" :TrialReadingCriterionId="TrialReadingCriterionId" :data="rowData" :select-list="SelectList" :doctor-user-list="DoctorUserList" :is-self-analysis="IsSelfAnalysis" @close="() => {ReaderRulesFormVisible = false; rowData = {}}" @getList="openTaskConsistentRule(IsSelfAnalysis)" /> <ReaderRulesForm :other-info="OtherInfo" :isDisable="isDisable" :trial-criterion-list="trialCriterionList" :TrialReadingCriterionId="TrialReadingCriterionId" :data="rowData" :select-list="SelectList" :doctor-user-list="DoctorUserList" :is-self-analysis="IsSelfAnalysis" @close="() => {ReaderRulesFormVisible = false; rowData = {}}" @getList="openTaskConsistentRule(IsSelfAnalysis)" />
</el-dialog> </el-dialog>

View File

@ -23,6 +23,27 @@
@sort-change="handleSortByColumn" @sort-change="handleSortByColumn"
> >
<el-table-column type="index" width="40" /> <el-table-column type="index" width="40" />
<!-- 项目编号 -->
<el-table-column
:label="$t('trials:workbench:table:trialId')"
prop="TrialCode"
show-overflow-tooltip
sortable="custom"
/>
<!-- 试验名称 -->
<el-table-column
:label="$t('trials:workbench:table:experimentName')"
prop="ExperimentName"
show-overflow-tooltip
sortable="custom"
/>
<!-- 研究方案号 -->
<el-table-column
:label="$t('trials:workbench:table:researchNo')"
prop="ResearchProgramNo"
show-overflow-tooltip
sortable="custom"
/>
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:fileType')" :label="$t('trials:sysDocBeSigned:table:fileType')"
prop="FileType" prop="FileType"
@ -34,8 +55,8 @@
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
:label="$t('trials:sysDocBeSigned:table:uploadTime')" :label="$t('trials:sysDocBeSigned:table:ConfirmTime')"
prop="UpdateTime" prop="ConfirmTime"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column <el-table-column
@ -44,10 +65,10 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
icon="el-icon-edit-outline" icon="el-icon-view"
circle circle
:title="$t('trials:workbench:action:sign')" :title="$t('trials:self-attachment:action:preview')"
@click="handleSign(scope.row)" @click="handlePreview(scope.row)"
/> />
</template> </template>
</el-table-column> </el-table-column>
@ -147,6 +168,17 @@ export default {
} }
}, },
methods: { methods: {
//
handlePreview(row) {
this.currentRow = { ...row }
const { Name, FullFilePath, SignViewMinimumMinutes } = row
this.currentPath = FullFilePath
this.currentType = row.Name ? Name.substring(Name.lastIndexOf('.') + 1).toLocaleLowerCase() : ''
this.currentMinMinutes = SignViewMinimumMinutes
this.currentIsConfirm = true
this.title = Name
this.previewVisible = true
},
getList() { getList() {
getTrialSignDocumentList(this.listQuery).then(res => { getTrialSignDocumentList(this.listQuery).then(res => {
this.listLoading = false this.listLoading = false

View File

@ -80,13 +80,13 @@
</div> </div>
</div> </div>
</div> </div>
<div class="thy-divider" style="border-top: 1px solid #eee;margin: 0;"></div> <!-- <div class="thy-divider" style="border-top: 1px solid #eee;margin: 0;"></div>-->
<div class="my_select_box" @click="$router.push('/trials/trials-list')"> <!-- <div class="my_select_box" @click="$router.push('/trials/trials-list')">-->
<div class="my_select_box_content"> <!-- <div class="my_select_box_content">-->
<span class="el-icon-box" style="padding: 4px;margin: 4px;color: #6698ff"></span> <!-- <span class="el-icon-box" style="padding: 4px;margin: 4px;color: #6698ff"></span>-->
<span>{{ $t('trials:tab:trials') }}</span> <!-- <span>{{ $t('trials:tab:trials') }}</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="thy-divider" style="border-top: 1px solid #eee;margin: 0;"></div> <div class="thy-divider" style="border-top: 1px solid #eee;margin: 0;"></div>
<div class="my_select_title">{{ $t('trials:workbench:title:padding') }}</div> <div class="my_select_title">{{ $t('trials:workbench:title:padding') }}</div>
<div class="my_select"> <div class="my_select">