邮件列表字段优化
parent
71073d749b
commit
90512f7967
|
@ -90,6 +90,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
v-if="$i18n.locale === 'zh'"
|
||||||
prop="EmailTopicCN"
|
prop="EmailTopicCN"
|
||||||
:label="$t('trials:emailManageCfg:table:EmailTopicCN')"
|
:label="$t('trials:emailManageCfg:table:EmailTopicCN')"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
|
@ -97,6 +98,7 @@
|
||||||
width="160"
|
width="160"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
v-else
|
||||||
prop="EmailTopic"
|
prop="EmailTopic"
|
||||||
:label="$t('trials:emailManageCfg:table:EmailTopic')"
|
:label="$t('trials:emailManageCfg:table:EmailTopic')"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
|
@ -166,14 +168,29 @@
|
||||||
/>
|
/>
|
||||||
<!-- 附件 -->
|
<!-- 附件 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="FileName"
|
v-if="$i18n.locale === 'zh'"
|
||||||
|
prop="AttachNameCN"
|
||||||
:label="$t('trials:emailManageCfg:title:fileName')"
|
:label="$t('trials:emailManageCfg:title:fileName')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="100"
|
width="100"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button v-if="scope.row.FilePath" type="text" @click="handlePreview(scope.row.FilePath)">
|
<el-button v-if="scope.row.AttachCNPath" type="text" @click="handlePreview(scope.row.AttachCNPath)">
|
||||||
{{ scope.row.FileName }}
|
{{ scope.row.AttachNameCN }}
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<!-- 附件 -->
|
||||||
|
<el-table-column
|
||||||
|
v-else
|
||||||
|
prop="AttachName"
|
||||||
|
:label="$t('trials:emailManageCfg:title:fileName')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
width="100"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button v-if="scope.row.AttachPath" type="text" @click="handlePreview(scope.row.AttachPath)">
|
||||||
|
{{ scope.row.AttachName }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
<el-input style="width: 300px" disabled v-model="form.Code" />
|
<el-input style="width: 300px" disabled v-model="form.Code" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12" v-if="$i18n.locale === 'zh'">
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:table:EmailTopicCN')" prop="EmailTopicCN">
|
<el-form-item :label="$t('trials:emailManageCfg:table:EmailTopicCN')" prop="EmailTopicCN">
|
||||||
<el-input style="width: 300px" disabled v-model="form.EmailTopicCN" />
|
<el-input style="width: 300px" disabled v-model="form.EmailTopicCN" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12" v-else>
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:table:EmailTopic')" prop="EmailTopic">
|
<el-form-item :label="$t('trials:emailManageCfg:table:EmailTopic')" prop="EmailTopic">
|
||||||
<el-input style="width: 300px" disabled v-model="form.EmailTopic" />
|
<el-input style="width: 300px" disabled v-model="form.EmailTopic" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -95,21 +95,21 @@
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:title:isReturnRequired')" prop="IsReturnRequired">
|
<el-form-item :label="$t('trials:emailManageCfg:title:isReturnRequired')" prop="IsReturnRequired">
|
||||||
<el-radio-group v-model="form.IsReturnRequired">
|
<el-radio-group v-model="form.IsReturnRequired">
|
||||||
<el-radio v-for="item of $d.YesOrNo" :label="item.value">{{ item.label }}</el-radio>
|
<el-radio v-for="item of $d.YesOrNo" :label="item.value" :key="`IsReturnRequired${item.value}`">{{ item.label }}</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:table:IsAutoSend')" prop="IsAutoSend">
|
<el-form-item :label="$t('trials:emailManageCfg:table:IsAutoSend')" prop="IsAutoSend">
|
||||||
<el-radio-group v-model="form.IsAutoSend">
|
<el-radio-group v-model="form.IsAutoSend">
|
||||||
<el-radio v-for="item of $d.YesOrNo" :label="item.value">{{ item.label }}</el-radio>
|
<el-radio v-for="item of $d.YesOrNo" :label="item.value" :key="`IsAutoSend${item.value}`">{{ item.label }}</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:table:IsEnable')" prop="IsEnable">
|
<el-form-item :label="$t('trials:emailManageCfg:table:IsEnable')" prop="IsEnable">
|
||||||
<el-radio-group v-model="form.IsEnable">
|
<el-radio-group v-model="form.IsEnable">
|
||||||
<el-radio v-for="item of $d.YesOrNo" :label="item.value">{{ item.label }}</el-radio>
|
<el-radio v-for="item of $d.YesOrNo" :label="item.value" :key="`IsEnable${item.value}`">{{ item.label }}</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12" v-if="$i18n.locale === 'zh'">
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:table:fileListCN')" prop="IsEnable">
|
<el-form-item :label="$t('trials:emailManageCfg:table:fileListCN')" prop="IsEnable">
|
||||||
<el-upload
|
<el-upload
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12" v-else>
|
||||||
<el-form-item :label="$t('trials:emailManageCfg:table:fileListEN')" prop="IsEnable">
|
<el-form-item :label="$t('trials:emailManageCfg:table:fileListEN')" prop="IsEnable">
|
||||||
<el-upload
|
<el-upload
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
v-if="$i18n.locale === 'zh'"
|
||||||
prop="EmailTopicCN"
|
prop="EmailTopicCN"
|
||||||
:label="$t('trials:emailManageCfg:table:EmailTopicCN')"
|
:label="$t('trials:emailManageCfg:table:EmailTopicCN')"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
|
@ -81,6 +82,7 @@
|
||||||
min-width="150"
|
min-width="150"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
v-else
|
||||||
prop="EmailTopic"
|
prop="EmailTopic"
|
||||||
:label="$t('trials:emailManageCfg:table:EmailTopic')"
|
:label="$t('trials:emailManageCfg:table:EmailTopic')"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
|
@ -149,14 +151,28 @@
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- 附件 -->
|
<!-- 附件 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="FileName"
|
v-if="$i18n.locale === 'zh'"
|
||||||
|
prop="AttachNameCN"
|
||||||
:label="$t('trials:emailManageCfg:title:fileName')"
|
:label="$t('trials:emailManageCfg:title:fileName')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="100"
|
width="140"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button v-if="scope.row.FilePath" type="text" @click="handlePreview(scope.row.FilePath)">
|
<el-button v-if="scope.row.AttachCNPath" type="text" @click="handlePreview(scope.row.AttachCNPath)">
|
||||||
{{ scope.row.FileName }}
|
{{ scope.row.AttachNameCN }}
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
v-else
|
||||||
|
prop="AttachName"
|
||||||
|
:label="$t('trials:emailManageCfg:title:fileName')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
width="140"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button v-if="scope.row.AttachPath" type="text" @click="handlePreview(scope.row.AttachPath)">
|
||||||
|
{{ scope.row.AttachName }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
Loading…
Reference in New Issue