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