qq_41295110
2026-01-16 cbc2fe74fb54aad814695982c2987e064696f540
src/views/basic/gyEmployee/gyEmployeeEdit.vue
@@ -1015,7 +1015,7 @@
  methods: {
    getFile() {
      axios
        .get(`${this.baseURL}/Gy_Employee_Filelist?HBillNO=${this.form.HNumber}`)
        .get(`${this.$baseUrl}/Gy_Employee_Filelist?HBillNO=${this.form.HNumber}`)
        .then((res) => {
          let { Message, data, count } = res.data;
          if (count == 1) {
@@ -1024,7 +1024,7 @@
              this.fileListPreUpload.push({
                fileName: data[i].HFileName,
                size: `${(data[i].HFileSize / 1024).toFixed(2)}KB`,
                url: `${this.baseURL}${data[i].url}`,
                url: `${this.$baseUrl}${data[i].url}`,
                fileStatus: "已上传",
                raw: {},
              });
@@ -1106,7 +1106,7 @@
          this.zuzhiId = sessionStorage["OrganizationID"]; //根据登录用户获取默认的组织ID
          this.user = sessionStorage["HUserName"];
          axios
            .get(this.baseURL + "/Web/GetOrganizations", {})
            .get(this.$baseUrl + "/Web/GetOrganizations", {})
            .then((response) => {
              if (response.data.count == 1) {
                this.organizationList = response.data.data; //组织列表
@@ -1145,7 +1145,7 @@
    },
    getSubData() {
      axios
        .get(this.baseURL + "/Gy_Employee/listSub", {
        .get(this.$baseUrl + "/Gy_Employee/listSub", {
          params: {
            sWhere: ` and HEmpID = ${this.form.HItemID}`,
            user: this.user,
@@ -1173,7 +1173,7 @@
      if (this.OperationType != 1) {
        this.zzSelDis = true;
        axios
          .get(this.baseURL + "/GetGy_EmployeeDetail", {
          .get(this.$baseUrl + "/GetGy_EmployeeDetail", {
            params: {
              HID: this.linterid,
            },
@@ -1538,7 +1538,7 @@
              var sMainSub = sMainStr + ";" + this.user + ";" + sSubStr;
              axios({
                method: "post",
                url: this.baseURL + "/Gy_Employee/ModifyByID",
                url: this.$baseUrl + "/Gy_Employee/ModifyByID",
                data: {
                  oMain: sMainSub,
                },
@@ -1571,7 +1571,7 @@
        .then(() => {
          if (this.rowForm.状态 == "创建") {
            axios
              .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
              .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
                params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
              })
              .then((response) => {
@@ -1595,7 +1595,7 @@
      var InterID = form.HItemID || form.HInterID;
      //逻辑审核方法
      axios
        .get(this.baseURL + "/Gy_Source/AuditGy_Source", {
        .get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
          params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
        })
        .then((response) => {
@@ -1704,7 +1704,7 @@
        axios({
          method: "post",
          url: this.baseURL + "/Gy_Employee_UploadFile", // 注意修正了URL中的双斜杠
          url: this.$baseUrl + "/Gy_Employee_UploadFile", // 注意修正了URL中的双斜杠
          data: formData,
          headers: {
            "Content-Type": "multipart/form-data", // 不需要手动设置