|
|
@ -127,15 +127,15 @@ export default { |
|
|
|
{ prop: 'shiyongdanwei', label: '使用单位', align: 'center' }, |
|
|
|
{ prop: 'shigongdanwei', label: '施工单位', align: 'center' }, |
|
|
|
{ prop: 'zhizaodanwei', label: '制造单位', align: 'center' }, |
|
|
|
{ prop: 'jianyanrenyuan', label: '检验人员', align: 'center' }, |
|
|
|
{ prop: 'jianyanrenyuan', label: '检验人员', align: 'center', formatter: this.formatter.getChineseName }, |
|
|
|
{ prop: 'zhucedaima', label: '注册代码', align: 'center' }, |
|
|
|
{ prop: 'shiyongdengjibianhao', label: '使用登记证编号', align: 'center' }, |
|
|
|
{ slot: 'operation' } |
|
|
|
], |
|
|
|
permission: { |
|
|
|
add: ['instrument:add'], |
|
|
|
add: ['borrow:jybg-list:add'], |
|
|
|
edit: ['borrow:jybg-list:update'], |
|
|
|
del: ['instrument:delete'] |
|
|
|
del: ['borrow:jybg-list:delete'] |
|
|
|
}, |
|
|
|
options: [], |
|
|
|
form: { |
|
|
@ -251,7 +251,7 @@ export default { |
|
|
|
addBorrowFn(this.form).then(res => { |
|
|
|
this.$message({ message: '借阅成功', type: 'success' }) |
|
|
|
this.visible = false |
|
|
|
// crud.refresh() |
|
|
|
this.crud.refresh() |
|
|
|
}) |
|
|
|
}, |
|
|
|
// EXCEL上传方法 |
|
|
|