|
|
|
@ -34,6 +34,12 @@ |
|
|
|
|
@row-del="attachment_rowDel" |
|
|
|
|
@row-update="attachment_rowUpdate" |
|
|
|
|
@row-save="attachment_rowSave"> |
|
|
|
|
<template slot="menuRight"> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
size="small" |
|
|
|
|
plain |
|
|
|
|
@click="addrow()">新增</el-button> |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
</div> |
|
|
|
|
</span> |
|
|
|
@ -505,7 +511,7 @@ |
|
|
|
|
...mapGetters(["permission"]), |
|
|
|
|
permissionList() { |
|
|
|
|
return { |
|
|
|
|
addBtn: true, |
|
|
|
|
addBtn: false, |
|
|
|
|
viewBtn: false, |
|
|
|
|
delBtn: true, |
|
|
|
|
editBtn: true |
|
|
|
@ -634,6 +640,10 @@ |
|
|
|
|
this.readonlyForm=false; |
|
|
|
|
this.frame_class = null; |
|
|
|
|
}, |
|
|
|
|
addrow(){ |
|
|
|
|
this.attachment_form.ticketCode = this.tab1_form.workTicketNo; |
|
|
|
|
this.$refs.crud.rowAdd() |
|
|
|
|
}, |
|
|
|
|
updateToSearch () { |
|
|
|
|
this.readonlyForm=true; |
|
|
|
|
this.shouldShowButton=true; |
|
|
|
|