| | |
| | | }}</span> |
| | | <el-button |
| | | type="text" |
| | | @click="handleEdit(row, (OperationType = 3))" |
| | | @click.stop="handleEdit(row, (OperationType = 3))" |
| | | v-else-if="column.property == '职员代码'" |
| | | >{{ row.职员代码 }}</el-button |
| | | > |
| | |
| | | defaintOperationByCompanyName() { |
| | | var result = false; |
| | | axios |
| | | .get(this.baseURL + "/Xt_getInfo/getCompanyName") |
| | | .get(this.$baseUrl + "/Xt_getInfo/getCompanyName") |
| | | .then((response) => { |
| | | var data1 = response.data; |
| | | if (data1.count == 1) { |
| | |
| | | this.organizationList.find((e) => e.ID == this.queryParams.HOrgID)?.Name || ""; |
| | | //生产资料列表 |
| | | axios |
| | | .get(this.baseURL + "/Gy_Employee/listPage", { |
| | | .get(this.$baseUrl + "/Gy_Employee/listPage", { |
| | | params: { |
| | | sWhere: this.sWhere, |
| | | user: sessionStorage["HUserName"], |
| | |
| | | DisPlay_HideColumn(HModName, user, option, dataOption) { |
| | | this.totalNameList = []; |
| | | axios |
| | | .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", { |
| | | .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", { |
| | | params: { |
| | | HModName: HModName, |
| | | user: user, |
| | |
| | | if (this.openPage) { |
| | | this.$emit("deptEmitDb", row, 4); |
| | | } else { |
| | | this.handleEdit(); |
| | | this.handleEdit(row); |
| | | } |
| | | }, |
| | | // 多选框选中数据 |
| | |
| | | getOrgIDByUser() { |
| | | var res = ""; |
| | | axios |
| | | .get(this.baseURL + "/Xt_User/getOrgIDListByUser", { |
| | | .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", { |
| | | params: { |
| | | HModName: this.HModName, |
| | | user: sessionStorage["HUserName"], |
| | |
| | | }); |
| | | }, |
| | | //打开修改组件弹窗 |
| | | handleEdit() { |
| | | handleEdit(row) { |
| | | this.rowForm = row |
| | | this.$nextTick(() => { |
| | | this.openEdit = true; |
| | | this.editShow = true; |
| | |
| | | .then(() => { |
| | | if (!this.rowForm.审核人) { |
| | | axios |
| | | .get(this.baseURL + "DeltetGy_Employee", { |
| | | .get(this.$baseUrl + "DeltetGy_Employee", { |
| | | params: { |
| | | HItemID: this.rowForm.HItemID.toString(), |
| | | user: sessionStorage["HUserName"], |
| | |
| | | var InterID = form.HItemID || form.HInterID; |
| | | //逻辑审核方法 |
| | | axios |
| | | .get(this.baseURL + "/Gy_Employee/AuditGy_Employee", { |
| | | .get(this.$baseUrl + "/Gy_Employee/AuditGy_Employee", { |
| | | params: { |
| | | HInterID: InterID, |
| | | IsAudit: num, |
| | |
| | | var InterID = form.HItemID || form.HInterID; |
| | | //逻辑审核方法 |
| | | axios |
| | | .get(this.baseURL + "/Gy_Employee/StopGy_Employee", { |
| | | .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", { |
| | | params: { |
| | | HInterID: InterID, |
| | | IsStop: num, |
| | |
| | | var sMainSub = sSubStr + "&和" + sessionStorage["HUserName"]; |
| | | axios({ |
| | | method: "post", |
| | | url: this.baseURL + "/Gy_Source/Gy_Source_btnSave", |
| | | url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave", |
| | | data: { |
| | | sMainSub: sMainSub, |
| | | }, |