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