gaoluyang
2025-03-13 d8d591ead3e434d46e9c142853668e3e8c16e864
人员样式遮挡修改
已修改2个文件
80 ■■■■■ 文件已修改
src/views/CNAS/personnel/personnelInfo/tabs/personnel-list.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/inspectionTask/index.vue 78 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/personnel/personnelInfo/tabs/personnel-list.vue
@@ -55,7 +55,7 @@
      </div>
      <div v-if="selectUserDia" class="body" style="height: 60vh;">
        <lims-table :tableData="tableData1" :column="column1" :isSelection="true" :handleSelectionChange="selectMethod"
          :height="'calc(100vh - 290px)'" :tableLoading="tableLoading1"></lims-table>
          height="560" :tableLoading="tableLoading1"></lims-table>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="selectUserDia = false">取 消</el-button>
src/views/business/inspectionTask/index.vue
@@ -394,11 +394,23 @@
          prop: "type",
          dataType: "tag",
          formatData: (params) => {
            return this.urgencyLevel.find((m) => m.value == params).label;
            if (params == 0) {
              return '普通'
            } else if (params == 1) {
              return '优先'
            } else {
              return '紧急'
            }
          },
          formatType: (params) => {
            return this.urgencyLevel.find((m) => m.value == params).type;
          },
            if (params == 0) {
              return 'success'
            } else if (params == 1) {
              return 'warning'
            } else {
              return 'danger'
            }
          }
        },
        {
          label: "检验类型",
@@ -612,6 +624,7 @@
  },
  mounted() {
    this.getAuthorizedPerson();
    this.queryParams.userId = this.userId;
    this.currentTime = getYearAndMonthAndDays();
    this.getDicts("urgency_level").then((response) => {
      this.urgencyLevel = this.dictToValue(response.data);
@@ -620,9 +633,17 @@
      this.inspectionTaskState = this.dictToValue(response.data);
    });
    this.refreshTable();
    this.queryParams.userId = this.userId;
  },
  activated() {
    this.getAuthorizedPerson();
    this.queryParams.userId = this.userId;
    this.currentTime = getYearAndMonthAndDays();
    this.getDicts("urgency_level").then((response) => {
      this.urgencyLevel = this.dictToValue(response.data);
    });
    this.getDicts("inspection_task_state").then((response) => {
      this.inspectionTaskState = this.dictToValue(response.data);
    });
    this.refreshTable();
  },
  methods: {
@@ -697,16 +718,6 @@
      this.queryParams.typeSource = this.tabIndex;
      this.getList();
    },
    // claimFun(row) {
    //     if (row) {
    //         this.sampleUserForm = {
    //             entrustCode: row.entrustCode,
    //             insSampleId: row.id,
    //       sonLaboratory: row.sonLaboratory,
    //         }
    //         this.claimVisible = true
    //     }
    // },
    // 查看产业链信息
    openInfoDialog(row) {
      this.showInfoDialog = true;
@@ -738,43 +749,11 @@
      }
      return "";
    },
    onReset() {
      this.searchForm = {
        sampleName: null,
        state: null,
      };
      this.queryParams.insState = null;
      this.queryParams.sampleName = null;
      this.refreshTable();
    },
    onSubmit() {
      this.queryParams.insState = this.searchForm.state;
      this.queryParams.sampleName = this.searchForm.sampleName;
      this.$nextTick(() => {
        this.refreshTable();
      });
    },
    handleTab(m, i) {
      this.tabIndex = i;
      this.queryParams.sonLaboratory = "";
      this.refreshTable();
    },
    // getLaboratoryDicts() {
    //     this.$axios.post(this.$api.enums.selectEnumByCategory, {
    //         category: "子实验室"
    //     }).then(res => {
    //         this.tabList = res.data.map(ele => {
    //             return {
    //                 label: ele.label,
    //                 value: ele.value
    //             }
    //         })
    //         if(this.tabList.length>0){
    //             this.componentData.entity.sonLaboratory = this.tabList[0].value
    //         }
    //         this.refreshTable()
    //     })
    // },
    selectAllByOne(row) {
      this.isCopper = row.isCopper;
      this.customsInspection = row;
@@ -815,9 +794,6 @@
          break;
      }
    },
    playOrder(num) {
      this.activeFace = num;
    },
    goback() {
      this.state = 0;
@@ -927,10 +903,6 @@
          console.error(error);
          this.loading = false;
        });
    },
    handleReview(row) {
      this.state = 2;
      this.orderId = row.id;
    },
    getAuthorizedPerson() {
      selectUserCondition({ type: 1 }).then((res) => {