| | |
| | | import file from '../../../util/file' |
| | | import excelFunction from '../../../util/excelFountion' |
| | | export default { |
| | | props: ['sonLaboratory', 'orderId', 'state'], |
| | | props: ['sonLaboratory', 'orderId', 'state','inspectorList'], |
| | | components: { |
| | | ValueTable, |
| | | }, |
| | |
| | | getAuthorizedPerson() { |
| | | this.$axios.get(this.$api.user.getUserMenu).then(res => { |
| | | let data = [] |
| | | let userName = JSON.parse(localStorage.getItem("user")).name; |
| | | // let userName = JSON.parse(localStorage.getItem("user")).name; |
| | | res.data.forEach(a => { |
| | | if(a.name !== userName) { |
| | | if(!this.inspectorList.includes(a.name)) { |
| | | data.push({ |
| | | label: a.name, |
| | | value: a.id |