| | |
| | | return typeof this.hasView === 'boolean' ? this.hasView : this.hasView(row) |
| | | }, |
| | | isCanEidt(row) { |
| | | return typeof this.hasEdit === 'boolean' ? this.hasEdit : this.hasEdit(row) |
| | | if(row.stepMarker && row.stepMarker.includes('wc')){ |
| | | return false |
| | | }else { |
| | | return typeof this.hasEdit === 'boolean' ? this.hasEdit : this.hasEdit(row) |
| | | } |
| | | }, |
| | | isCanDelete(row) { |
| | | return typeof this.hasDelete === 'boolean' ? this.hasDelete : this.hasDelete(row) |
| | |
| | | <zt-table-column-handle :table="table" :hasEdit='false' edit-perm="testCheckOrder:update" |
| | | delete-perm="testCheckOrder::delete"> |
| | | <template v-slot="{row}"> |
| | | <zt-table-button type="primary" @click="openEditWin(row)">修改</zt-table-button> |
| | | <zt-table-button type="primary" v-if="(row.stepMarker && row.stepMarker.includes('wc'))" @click="openEditWin(row)">修改</zt-table-button> |
| | | </template> |
| | | |
| | | </zt-table-column-handle> |