工作台待办任务换行
parent
d5e41679c4
commit
2ed3dd1376
|
@ -64,7 +64,7 @@
|
|||
<span style="margin-right: 20px">
|
||||
{{$t('trials:enrolledReviews:message:EQC')}}
|
||||
</span>
|
||||
<el-button size="small" type="primary" :disabled="$route.query.ReviewStatus === '1'" @click="addCol(1, $t('trials:enrolledReviews:message:EQC'))">Upload</el-button>
|
||||
<el-button size="small" type="primary" :disabled="$route.query.ReviewStatus === '1'" @click="addCol(1, $t('trials:enrolledReviews:message:EQC'))">{{$t('common:button:upload')}}</el-button>
|
||||
</div>
|
||||
<el-table :data="ackSowList" size="small" v-if="!$route.query.ReviewStatus">
|
||||
<el-table-column type="index" width="40" />
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
ref="NoticeForm"
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
label-width="120px"
|
||||
label-width="180px"
|
||||
size="small"
|
||||
>
|
||||
<el-form-item :label="$t('system:notice:label:NoticeLevel')" prop="NoticeLevelEnum">
|
||||
|
|
|
@ -105,11 +105,29 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
updateQueryParam(param, newValue,wurl) {
|
||||
// 获取当前URL
|
||||
let url = wurl || window.location.href;
|
||||
|
||||
// 正则表达式匹配参数
|
||||
let regex = new RegExp('([?&])' + param + '=.*?(&|$)');
|
||||
let separator = url.indexOf('?') !== -1 ? '&' : '?';
|
||||
|
||||
// 如果参数存在,替换它,如果不存在,添加它
|
||||
if (regex.test(url)) {
|
||||
return url.replace(regex, '$1' + param + '=' + newValue + '$2');
|
||||
} else {
|
||||
return url + separator + param + '=' + newValue;
|
||||
}
|
||||
},
|
||||
handleSave() {
|
||||
this.$refs.userForm.validate(valid => {
|
||||
if (valid) {
|
||||
this.isDisabled = true
|
||||
const selectedUserType = this.userTypeOptions.filter(item => item.Id === this.user.UserTypeId)
|
||||
let newUrl = this.updateQueryParam('userName', this.user.UserName)
|
||||
newUrl = this.updateQueryParam('email', this.user.EMail, newUrl)
|
||||
window.history.pushState({ path: newUrl }, '', newUrl)
|
||||
if (selectedUserType.length > 0) {
|
||||
this.user.UserTypeEnum = selectedUserType[0].UserTypeEnum
|
||||
}
|
||||
|
|
|
@ -37,13 +37,13 @@
|
|||
{{ scope.row.RoleNameList.map(role => role.RoleName).join(',') }}
|
||||
</template>
|
||||
<template slot="isZhiZhunSlot" slot-scope="{scope}">
|
||||
{{scope.row.IsZhiZhun ? 'Internal' : 'External'}}
|
||||
{{scope.row.IsZhiZhun ? $t('system:userlist:table:InternalOrExternal:Internal') : $t('system:userlist:table:InternalOrExternal:External')}}
|
||||
</template>
|
||||
<template slot="isTestUserSlot" slot-scope="{scope}">
|
||||
{{scope.row.IsTestUser ? 'Yes' : 'No'}}
|
||||
{{scope.row.IsTestUser ? $t('system:userlist:table:IsTestUser:Yes') : $t('system:userlist:table:IsTestUser:No')}}
|
||||
</template>
|
||||
<template slot="statusSlot" slot-scope="{scope}">
|
||||
{{ scope.row.Status?'Enable':'Disable' }}
|
||||
{{ scope.row.Status? $t('system:userlist:table:Status:Enable') : $t('system:userlist:table:Status:Disable') }}
|
||||
</template>
|
||||
</base-table>
|
||||
</box-content>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div v-if="trialInfo" class="trial-wrapper">
|
||||
<div class="div-row">
|
||||
<div class="div-col">
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:indication') }}</label>
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:indication:') }}</label>
|
||||
<span>{{$fd('Indication', trialInfo.IndicationEnum)}}{{trialInfo.Indication ? '-' + trialInfo.Indication : '' }}</span>
|
||||
</div>
|
||||
<div class="div-col">
|
||||
|
@ -38,7 +38,7 @@
|
|||
<span>{{ trialInfo.TotalReviewers }}</span>
|
||||
</div>
|
||||
<div class="div-col">
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers') }}</label>
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers:') }}</label>
|
||||
<span>{{ trialInfo.AttendedReviewerTypeEnumList.map(v => $fd('AttendedReviewerType', v)).toString() }}</span>
|
||||
<!-- <span>{{ $fd('AttendedReviewerType', trialInfo.AttendedReviewerType) }}</span>-->
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div v-if="trialInfo" class="trial-wrapper">
|
||||
<div class="div-row">
|
||||
<div class="div-col">
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:indication') }}</label>
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:indication:') }}</label>
|
||||
<span>{{$fd('Indication', trialInfo.IndicationEnum)}}{{trialInfo.Indication ? '-' + trialInfo.Indication : '' }}</span>
|
||||
</div>
|
||||
<div class="div-col">
|
||||
|
@ -38,7 +38,7 @@
|
|||
<span>{{ trialInfo.TotalReviewers }}</span>
|
||||
</div>
|
||||
<div class="div-col">
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers') }}</label>
|
||||
<label class="el-label">{{ $t('trials:trials-list:form:typeofReviewers:') }}</label>
|
||||
<span>{{ trialInfo.AttendedReviewerTypeEnumList.map(v => $fd('AttendedReviewerType', v)).toString() }}</span>
|
||||
<!-- <span>{{ $fd('AttendedReviewerType', trialInfo.AttendedReviewerType) }}</span>-->
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue