| | |
| | | @click="handleAdd" |
| | | type="primary" |
| | | icon="plus" |
| | | :disabled="buttonDistable" |
| | | >新增</a-button> |
| | | <a-table |
| | | ref="table" |
| | |
| | | slot="action" |
| | | slot-scope="text, record" |
| | | > |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | <a |
| | | :disabled="buttonDistable" |
| | | @click="handleEdit(record)" |
| | | >编辑</a> |
| | | <a-divider type="vertical" /> |
| | | |
| | | <Tooltip |
| | |
| | | v-if="record.upload.path && record.upload.format.toLowerCase()=='pdf'" |
| | | href="javascript:;" |
| | | @click="view(record)" |
| | | :disabled="buttonDistable" |
| | | > |
| | | 预览 |
| | | </a> |
| | |
| | | <a |
| | | href="javascript:;" |
| | | @click="handleDownload(record)" |
| | | :disabled="buttonDistable" |
| | | >下载</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | | > |
| | | <a>删除</a> |
| | | <a :disabled="buttonDistable">删除</a> |
| | | </a-popconfirm> |
| | | |
| | | </span> |
| | |
| | | calibrationOrderId: { |
| | | type: String, |
| | | default: '-1', |
| | | required: false |
| | | }, |
| | | buttonDistable: { |
| | | type: Boolean, |
| | | default: 'false', |
| | | required: false |
| | | } |
| | | }, |
| | |
| | | { |
| | | title: '判定结果', |
| | | align: 'center', |
| | | dataIndex: 'judgmentResultName' |
| | | dataIndex: 'judgmentResult_dicText' |
| | | }, |
| | | { |
| | | title: '操作', |
| | |
| | | |
| | | handleAdd: function () { |
| | | this.$refs.modalForm.add(this.calibrationOrderId); |
| | | this.$refs.modalForm.title = "上传检定报告"; |
| | | this.$refs.modalForm.title = "上传鉴定报告"; |
| | | this.$refs.modalForm.disableSubmit = false; |
| | | }, |
| | | |