更新授权
parent
a24b56cd93
commit
afd2f011af
|
@ -197,7 +197,7 @@ export default {
|
|||
UserName: "",
|
||||
LastName: "",
|
||||
FirstName: "",
|
||||
Sex: "",
|
||||
Sex: "9",
|
||||
EMail: "",
|
||||
Phone: "",
|
||||
UserTypeId: "",
|
||||
|
|
|
@ -99,28 +99,54 @@
|
|||
<div v-if="otherInfo && otherInfo.TrialId">
|
||||
<p>项目授权信息</p>
|
||||
<el-descriptions :column="2" border style="width: 1000px">
|
||||
<!--项目编号-->
|
||||
<el-descriptions-item :label="$t('trials:trials-list:form:trialId')">
|
||||
{{ trialInfo.TrialCode }}
|
||||
<el-tag
|
||||
v-show="trialInfo.TrialStatusStr"
|
||||
size="small"
|
||||
style="margin-left: 10px"
|
||||
>
|
||||
( {{ $fd("TrialStatusEnum", trialInfo.TrialStatusStr) }} )
|
||||
</el-tag>
|
||||
<!--单位名称-->
|
||||
<el-descriptions-item
|
||||
:label="$t('trials:trials-list:activate:organizationName')"
|
||||
>
|
||||
{{ otherInfo.HospitalName }}
|
||||
</el-descriptions-item>
|
||||
<!--项目类型-->
|
||||
<el-descriptions-item :label="$t('trials:trials-list:form:trialType')">
|
||||
{{ $fd("TrialType", trialInfo.TrialType) }}
|
||||
<!--项目编号-->
|
||||
<el-descriptions-item :label="$t('trials:trials-list:table:trialId')">
|
||||
{{ otherInfo.TrialCode }}
|
||||
</el-descriptions-item>
|
||||
<!--评估标准-->
|
||||
<el-descriptions-item
|
||||
:label="$t('trials:trials-list:activate:evaluationCriteria')"
|
||||
>
|
||||
{{
|
||||
otherInfo.CriterionTypeList.map((item) =>
|
||||
$fd("CriterionType", Number(item))
|
||||
).join(",")
|
||||
}}
|
||||
</el-descriptions-item>
|
||||
<!--授权时长-->
|
||||
<el-descriptions-item
|
||||
:label="$t('trials:trials-list:activate:durationAuthorized')"
|
||||
>
|
||||
{{ otherInfo.PurchaseDuration }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
style="margin-top: 10px"
|
||||
@click.stop="putActivate"
|
||||
>{{ $t("trials:activate:renewalAuthorization") }}</el-button
|
||||
>
|
||||
</div>
|
||||
<activate-project
|
||||
v-if="activateVisible"
|
||||
:visible.sync="activateVisible"
|
||||
:data="otherInfo"
|
||||
@getList="initForm"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getTrialInfoHir } from "@/api/trials";
|
||||
import activateProject from "@/views/trials/trials-list/components/activate-project.vue";
|
||||
export default {
|
||||
components: { "activate-project": activateProject },
|
||||
data() {
|
||||
return {
|
||||
trialInfo: {},
|
||||
|
@ -128,6 +154,7 @@ export default {
|
|||
trialStatus: "",
|
||||
formLoading: false,
|
||||
otherInfo: {},
|
||||
activateVisible: false,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
@ -135,6 +162,10 @@ export default {
|
|||
this.initForm();
|
||||
},
|
||||
methods: {
|
||||
// 更新授权
|
||||
putActivate() {
|
||||
this.activateVisible = true;
|
||||
},
|
||||
initForm() {
|
||||
this.formLoading = true;
|
||||
getTrialInfoHir(this.trialId)
|
||||
|
|
Loading…
Reference in New Issue