src/views/business/reportPreparation/index.vue
@@ -938,6 +938,10 @@
        this.$message.error('请选择审批人')
        return
      }
      if (this.currentInfo && this.currentInfo.examineUserId != null && Number(this.approver) === Number(this.currentInfo.examineUserId)) {
        this.$message.error('审核人和批准人不能为同一人,请重新选择批准人')
        return
      }
      this.loadingIssued = true;
      examineReport({
        id: this.currentInfo.id,
@@ -951,7 +955,6 @@
        this.addApproverDia = false
        this.issuedVisible = false;
      }).catch(e => {
        this.$message.error('提交失败')
        this.loadingIssued = false;
      })
    },
@@ -961,11 +964,11 @@
    },
    // 点击通过,需要选择批准人员
    subIssued() {
      this.getAuthorizedPerson()
      this.getAuthorizedPerson(true)
      this.addApproverDia = true
    },
    // 获取人员列表
    getAuthorizedPerson() {
    getAuthorizedPerson(filterExamine) {
      selectUserCondition({type: 1}).then((res) => {
        let data = [];
        res.data.forEach((a) => {
@@ -974,6 +977,9 @@
            value: a.id,
          });
        });
        if (filterExamine && this.currentInfo && this.currentInfo.examineUserId != null) {
          data = data.filter((item) => Number(item.value) !== Number(this.currentInfo.examineUserId));
        }
        this.approverList = data;
      })
    },