|
|
|
@ -33,13 +33,25 @@ |
|
|
|
<el-table-column :label="$t('page.system.template.sn')" align="center" prop="sn" /> |
|
|
|
<el-table-column :label="$t('page.system.template.name')" align="center" prop="name" /> |
|
|
|
<el-table-column :label="$t('page.system.template.department')" align="center" prop="deptName" /> |
|
|
|
<el-table-column :label="$t('page.system.template.status')" prop="status" width="150"> |
|
|
|
<el-table-column :label="$t('page.system.template.status')" prop="status" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.status === 10">{{ $t('page.system.template.statusEnable') }}</span> |
|
|
|
<span v-if="scope.row.status === 1">{{ $t('page.system.template.statusDisable') }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column :label="$t('form.operate')" fixed="right" align="center" width="150"> |
|
|
|
<el-table-column label="是否需要预填" prop="needPre" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.needPre === 10">是</span> |
|
|
|
<span v-if="scope.row.needPre === 1">否</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="模板类型" prop="type" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.type === 10">敏感模板</span> |
|
|
|
<span v-if="scope.row.type === 1">普通模板</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column :label="$t('form.operate')" fixed="right" align="center" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" @click="edit(scope.row)">{{ $t('page.system.template.bj') }}</el-button> |
|
|
|
<el-button type="text" @click="bdpz(scope.row)">{{ $t('page.system.template.detail') }}</el-button> |
|
|
|
|