[add] ASMS国内法规
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
<template>
|
||||
<a-card :bordered="false">
|
||||
<div>
|
||||
<j-table
|
||||
:can-drag="true"
|
||||
:scroll="{x: '100%'}"
|
||||
ref="table"
|
||||
rowKey="id"
|
||||
:columns="columns"
|
||||
:dataSource="dataSource"
|
||||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
||||
@change="handleTableChange">
|
||||
<!-- 操作栏 -->
|
||||
<div slot="action" class="table-action" slot-scope="{text, record}">
|
||||
<a class="action-edit" @click="handleEdit(record)" >{{ $t('edit') }}</a>
|
||||
<a class="action-delete" @click="handleDelete(record.id)">{{ $t('delete') }}</a>
|
||||
<a class="action-delete" @click="handleShow(record.id)">查看</a>
|
||||
</div>
|
||||
|
||||
</j-table>
|
||||
</div>
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||
import JTable from '@comp/jero/JTable'
|
||||
|
||||
export default {
|
||||
name: 'AsmsDomesticLawsList',
|
||||
components: { JTable },
|
||||
mixins: [JeroListMixin],
|
||||
data () {
|
||||
return {
|
||||
isorter: null,
|
||||
labelCol: {
|
||||
span: 4
|
||||
},
|
||||
wrapperCol: {
|
||||
span: 14
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
title: '标准法规编号/标准号',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'code',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '标准法规名称/标准名称',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'name',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '法规英文名称',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'englishName',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '标准领域名称',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'focalPointName',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '实施日期',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'implementationDate',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '发布日期',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'publishDate',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '关联代替标准号',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'replaceCode',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '标准状态名称',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'standardStatus',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
{
|
||||
title: '同步标识',
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'syncFlag_dictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
],
|
||||
url: {
|
||||
list: '/docking/asms/lawsAsmsDomestic/page'
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user