| | |
| | | <template> |
| | | <a-card |
| | | title="日常点检" |
| | | title="日保周保标准" |
| | | :bordered='false' |
| | | > |
| | | <div class='table-page-search-wrapper'> |
| | |
| | | @click='handleAdd' |
| | | type='primary' |
| | | icon='plus' |
| | | v-has="'dailyInspectionStandard:add'" |
| | | >新增</a-button> |
| | | <a-button |
| | | type="primary" |
| | |
| | | size='middle' |
| | | bordered |
| | | rowKey='id' |
| | | :scroll="{ x: 'calc(1400px + 50%)', y: 900 }" |
| | | :scroll="{ x: 'calc(1600px + 50%)', y: 900 }" |
| | | :columns='columns' |
| | | :dataSource='dataSource' |
| | | :pagination='ipagination' |
| | |
| | | <a |
| | | v-if="record.versionStatus == '2'" |
| | | @click="handleRevise(record)" |
| | | v-has="'dailyInspectionStandard:revise'" |
| | | >升版</a> |
| | | <a-divider type="vertical" /> |
| | | <a |
| | | v-if="record.versionStatus == '1'" |
| | | @click="handleTakeEffect(record)" |
| | | v-has="'dailyInspectionStandard:takeEffect'" |
| | | >生效</a> |
| | | <a-divider type="vertical" /> |
| | | <a |
| | | v-if="record.versionStatus == '1'" |
| | | @click="handleEdit(record)" |
| | | v-has="'dailyInspectionStandard:edit'" |
| | | >编辑</a> |
| | | <a-divider type="vertical" /> |
| | | <a-popconfirm |
| | | v-if="record.versionStatus == '1'" |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | v-has="'dailyInspectionStandard:delete'" |
| | | > |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | |
| | | dataIndex: 'assignModeName', |
| | | }, |
| | | { |
| | | title: '生效时间', |
| | | align: 'center', |
| | | dataIndex: 'takeEffectTime', |
| | | }, |
| | | { |
| | | title: '失效时间', |
| | | align: 'center', |
| | | dataIndex: 'loseEfficacyTime', |
| | | }, |
| | | { |
| | | title: '创建人', |
| | | align: 'center', |
| | | dataIndex: 'createBy', |