| | |
| | | font: '数据查看', |
| | | type: 'text', |
| | | method: 'handleDataLook', |
| | | /* disabFun: (row, index) => { |
| | | const user = JSON.parse(localStorage.getItem('user')) |
| | | let currentUserName = '' |
| | | if(user){ |
| | | currentUserName = user.name |
| | | } |
| | | return row.userName!=currentUserName && row.checkName!=currentUserName |
| | | } */ |
| | | //disabFun: (row, index) => { |
| | | //const user = JSON.parse(localStorage.getItem('user')) |
| | | // let currentUserName = '' |
| | | // if(user){ |
| | | // currentUserName = user.name |
| | | //} |
| | | //return row.userName.indexOf(currentUserName)<0 && row.checkName.indexOf(currentUserName)<0 |
| | | //} |
| | | },{ |
| | | id: '', |
| | | font: '检验', |
| | |
| | | } |
| | | }, |
| | | changeCheckBox(val) { |
| | | console.log(111,val) |
| | | this.componentData.entity.userId = val?0:null |
| | | this.refreshTable() |
| | | }, |
| | |
| | | this.sampleUserForm = { |
| | | entrustCode: row.entrustCode, |
| | | insSampleId: row.id, |
| | | sonLaboratory: this.componentData.entity.sonLaboratory, |
| | | sonLaboratory: row.sonLaboratory, |
| | | } |
| | | this.claimVisible = true |
| | | } |