WXL
5 小时以前 d27451a2c24fcc785d02619d5840378df7cfc939
src/views/project/externalperson/index.vue
@@ -271,7 +271,7 @@
                  v-for="dict in dict.type.sys_professionaltitle"
                  :key="dict.value"
                  :label="dict.label"
                  :value="dict.value"
                  :value="dict.label"
                ></el-option>
              </el-select>
            </el-form-item>
@@ -444,7 +444,7 @@
    this.getUserProfile();
    this.getUnitList();
    // 默认不打开
    // this.getList();
    this.getList();
  },
  methods: {
    //获取当前用户信息
@@ -452,7 +452,7 @@
      getUserProfile().then(res => {
        if (
          res.data.userName == "admin" ||
          res.data.userName == "001" ||
          res.data.userName == "053" ||
          res.data.userName == "047"
        ) {
          this.ismanager = true;
@@ -464,15 +464,15 @@
    /** 查询单位、人员账号列表 */
    getList() {
      if (
        this.queryParams.username === null ||
        this.queryParams.username.replace(/\s/g, "") == ""
      ) {
        this.$modal.msgWarning(
          "查找账户时,账户名称不能为空,请输入账户名称!"
        );
        return;
      }
      // if (
      //   this.queryParams.username === null ||
      //   this.queryParams.username.replace(/\s/g, "") == ""
      // ) {
      //   this.$modal.msgWarning(
      //     "查找账户时,账户名称不能为空,请输入账户名称!"
      //   );
      //   return;
      // }
      // this.loading = true;
      listExternalperson(this.queryParams).then(response => {