| | |
| | | title: '序号', |
| | | align: 'center', |
| | | dataIndex: 'itemCode', |
| | | width: 60, |
| | | width: 60 |
| | | }, |
| | | { |
| | | title: '部位', |
| | | align: 'center', |
| | | dataIndex: 'itemPart', |
| | | width: 200, |
| | | ellipsis: true, |
| | | ellipsis: true |
| | | }, |
| | | { |
| | | title: '保养项', |
| | | title: '保养项分类', |
| | | align: 'center', |
| | | dataIndex: 'itemCategory_dictText', |
| | | ellipsis: true |
| | | }, |
| | | { |
| | | title: '保养项目', |
| | | align: 'center', |
| | | dataIndex: 'itemName', |
| | | ellipsis: true, |
| | | ellipsis: true |
| | | }, |
| | | { |
| | | title: '保养要求', |
| | | align: 'center', |
| | | dataIndex: 'itemDemandAlias', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '检查标准或要求', |
| | | title: '保养规范或要求', |
| | | align: 'center', |
| | | dataIndex: 'itemDemand', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '检查方法', |
| | | align: 'center', |
| | | dataIndex: 'checkMethod', |
| | | ellipsis: true, |
| | | ellipsis: true |
| | | } |
| | | ], |
| | | url: { |
| | |
| | | if(val) { |
| | | this.loadData(1) |
| | | }else { |
| | | this.clearList(); |
| | | this.clearList() |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | }, |
| | | computed: { |
| | | }, |
| | | computed: {}, |
| | | methods: { |
| | | loadData(arg) { |
| | | if (!this.url.list) { |
| | |
| | | return |
| | | } |
| | | if(this.standardId && this.standardId === '-1'){ |
| | | this.clearList(); |
| | | return; |
| | | this.clearList() |
| | | return |
| | | } |
| | | //加载数据 若传入参数1则加载第一页的内容 |
| | | if (arg === 1) { |
| | |
| | | this.dataSource = [] |
| | | this.selectedRowKeys = [] |
| | | this.ipagination.current = 1 |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |