项目列表字段显示
parent
8b1b12dce8
commit
df1d608c50
|
@ -155,6 +155,19 @@
|
|||
/>
|
||||
年
|
||||
</el-form-item>
|
||||
<!-- 授权时间 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:trials-list:table:dateAuthorized')"
|
||||
prop="visitNumberAuthorized"
|
||||
>
|
||||
<el-date-picker
|
||||
v-model="trialForm.AuthorizationDate"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
>
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<!-- 授权访视量 -->
|
||||
<!-- <el-form-item
|
||||
:label="$t('trials:trials-list:table:visitNumberAuthorized')"
|
||||
|
@ -230,6 +243,7 @@ export default {
|
|||
ContactUser: "",
|
||||
ContactPhone: "",
|
||||
AuthorizationYear: null,
|
||||
AuthorizationDate: null,
|
||||
},
|
||||
indicationGrouping: null,
|
||||
trialFormRules: {
|
||||
|
@ -466,9 +480,9 @@ export default {
|
|||
},
|
||||
async initPage() {
|
||||
this.loading = true;
|
||||
await this.getDicData();
|
||||
await store.dispatch("global/getSponsorList");
|
||||
await store.dispatch("global/getCROList");
|
||||
// await this.getDicData();
|
||||
// await store.dispatch("global/getSponsorList");
|
||||
// await store.dispatch("global/getCROList");
|
||||
if (this.trialId) {
|
||||
this.trialForm.Id = this.trialId;
|
||||
this.initForm();
|
||||
|
|
|
@ -99,11 +99,13 @@
|
|||
:label="$t('trials:trials-list:form:trialType')"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope" v-for="item in $d.trialType">
|
||||
<span :key="item.id" v-if="scope.row.trialType === item.value">{{
|
||||
item.labl
|
||||
<template slot-scope="scope">
|
||||
<template v-for="item of $d.TrialType">
|
||||
<span :key="item.id" v-if="scope.row.TrialType === item.value">{{
|
||||
item.label
|
||||
}}</span>
|
||||
</template>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ResearchProgramNo"
|
||||
|
@ -126,11 +128,11 @@
|
|||
sortable="custom"
|
||||
/>
|
||||
<!--是否授权-->
|
||||
<el-table-column
|
||||
<!-- <el-table-column
|
||||
prop="Sponsor"
|
||||
:label="$t('trials:trials-list:table:isAccredit')"
|
||||
show-overflow-tooltip
|
||||
/>
|
||||
/> -->
|
||||
<el-table-column
|
||||
prop="TrialStatusStr"
|
||||
:label="$t('trials:trials-list:table:status')"
|
||||
|
@ -168,7 +170,7 @@
|
|||
/>
|
||||
<!--授权日期-->
|
||||
<el-table-column
|
||||
prop="CreateTime"
|
||||
prop="AuthorizationDate"
|
||||
:label="$t('trials:trials-list:table:dateAuthorized')"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
|
@ -176,19 +178,19 @@
|
|||
/>
|
||||
<!--授权时长-->
|
||||
<el-table-column
|
||||
prop="CreateTime"
|
||||
prop="AuthorizationYear"
|
||||
:label="$t('trials:trials-list:table:durationAuthorized')"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
/>
|
||||
<!--失效日期-->
|
||||
<el-table-column
|
||||
<!-- <el-table-column
|
||||
prop="CreateTime"
|
||||
:label="$t('trials:trials-list:table:dateDisabled')"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
/>
|
||||
/> -->
|
||||
<el-table-column label="" min-width="150" align="left" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<!-- 详情 -->
|
||||
|
@ -336,7 +338,7 @@ const searchDataDefault = () => {
|
|||
PageIndex: 1,
|
||||
PageSize: 20,
|
||||
Asc: false,
|
||||
SortField: "",
|
||||
SortField: "CreateTime",
|
||||
SponsorName: "",
|
||||
trialType: null,
|
||||
};
|
||||
|
@ -402,12 +404,13 @@ export default {
|
|||
},
|
||||
created() {
|
||||
this.initPage();
|
||||
console.log(this.$d.TrialType);
|
||||
},
|
||||
methods: {
|
||||
initPage() {
|
||||
this.getList();
|
||||
store.dispatch("global/getSponsorList");
|
||||
store.dispatch("global/getCROList");
|
||||
// store.dispatch("global/getSponsorList");
|
||||
// store.dispatch("global/getCROList");
|
||||
},
|
||||
// 获取项目列表信息
|
||||
getList() {
|
||||
|
|
Loading…
Reference in New Issue