zouyu
2024-08-10 cd26d9664032ff33ac806dc507577b2acaa88a6d
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -853,7 +853,7 @@
  import file from '../../../util/file'
  import excelFunction from '../../../util/excelFountion'
  export default {
    props: ['sonLaboratory', 'orderId', 'state'],
    props: ['sonLaboratory', 'orderId', 'state','inspectorList'],
    components: {
      ValueTable,
    },
@@ -3169,9 +3169,9 @@
      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