| | |
| | | >升版</a> |
| | | <a-divider type="vertical" /> |
| | | <a |
| | | v-if="record.versionStatus == '2'" |
| | | @click="handleCopy(record)" |
| | | >复制</a> |
| | | <a |
| | | v-if="record.versionStatus == '1'" |
| | | @click="handleTakeEffect(record)" |
| | | >生效</a> |
| | |
| | | dataIndex: 'num', |
| | | }, |
| | | { |
| | | title: '对象部门', |
| | | title: '使用部门', |
| | | align: 'center', |
| | | dataIndex: 'useDepartName', |
| | | }, |
| | | { |
| | | title: '设备编码', |
| | | title: '统一编码', |
| | | align: 'center', |
| | | dataIndex: 'equipmentNum', |
| | | }, |
| | |
| | | this.$refs.modalForm.isRevise = true; |
| | | }, |
| | | |
| | | //复制 |
| | | handleCopy: function (record) { |
| | | this.$refs.modalForm.edit(record); |
| | | this.$refs.modalForm.title = "专业点检标准复制"; |
| | | this.$refs.modalForm.disableSubmit = false; |
| | | this.$refs.modalForm.isCopy = true; |
| | | }, |
| | | |
| | | //生效 |
| | | handleTakeEffect(record) { |
| | | const that = this; |