|
|
|
@ -31,7 +31,12 @@ |
|
|
|
<el-table v-loading="loading" :data="list"> |
|
|
|
<el-table-column :label="$t('page.system.template.sn')" align="center" prop="sn" /> |
|
|
|
<el-table-column :label="$t('page.system.template.sn')" align="center" prop="showSn" /> |
|
|
|
<el-table-column :label="$t('page.system.template.name')" align="center" prop="name" /> |
|
|
|
<el-table-column :label="$t('page.system.template.name')" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="$i18n.locale === 'zh_CN'">{{ cscopeope.row.name }}</span> |
|
|
|
<span v-else>{{ scope.row.nameEn }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column :label="$t('page.system.template.department')" align="center" prop="deptName" /> |
|
|
|
<el-table-column :label="$t('page.system.template.status')" prop="status" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -181,7 +186,8 @@ |
|
|
|
</el-dialog> |
|
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="$t('page.system.template.bdpz')" |
|
|
|
:visible.sync="tableDialog.visible" width="90%" append-to-body> |
|
|
|
<TemplateTable ref="templateTable" :sn="tableDialog.sn" :templateData="tableDialog.templateData" v-if="tableDialog.visible" fillType="preFill" /> |
|
|
|
<TemplateTable ref="templateTable" :sn="tableDialog.sn" :templateData="tableDialog.templateData" |
|
|
|
v-if="tableDialog.visible" fillType="preFill" /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
@ -282,7 +288,7 @@ export default { |
|
|
|
tableDialog: { |
|
|
|
title: '', |
|
|
|
visible: false, |
|
|
|
templateData:{}, |
|
|
|
templateData: {}, |
|
|
|
sn: '' |
|
|
|
}, |
|
|
|
}; |
|
|
|
@ -302,7 +308,7 @@ export default { |
|
|
|
|
|
|
|
this.tableDialog.title = '表单配置' |
|
|
|
this.tableDialog.sn = row.sn |
|
|
|
this.tableDialog.templateData.bdmc=row.name |
|
|
|
this.tableDialog.templateData.bdmc =this.$i18n.locale === 'zh_CN'? row.name:row.nameEn |
|
|
|
this.tableDialog.visible = true |
|
|
|
}, |
|
|
|
getList() { |
|
|
|
|