From 352af60c30301365554609d0bf7d2666e3f8a40a Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Wed, 5 Dec 2018 19:59:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BA=8F=E9=97=B4=E5=A4=96=E5=8D=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Outsourcing/PreorderAssociation/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/Outsourcing/PreorderAssociation/index.vue b/src/views/Outsourcing/PreorderAssociation/index.vue index 4538a52f..b92cd5a1 100644 --- a/src/views/Outsourcing/PreorderAssociation/index.vue +++ b/src/views/Outsourcing/PreorderAssociation/index.vue @@ -242,7 +242,6 @@ export default { this.checkBox = [] this.tableData2 = [] searchTable2(row.工艺计划流水号).then(response => { - console.log(response.data) this.num1 = row.工艺计划流水号 if (response.data.length === 0) { this.loading0 = false From 628ec49496235e48df8f48cd217a964af4675e5f Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Wed, 5 Dec 2018 20:03:10 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/BasicData/PersonnelManagement.js | 22 +++ src/utils/request.js | 15 -- .../BasicData/PersonnelManagement/index.vue | 163 ++++++++++++++++-- .../WorkshopPersonnelRoleMana/index.vue | 1 + 4 files changed, 169 insertions(+), 32 deletions(-) diff --git a/src/api/BasicData/PersonnelManagement.js b/src/api/BasicData/PersonnelManagement.js index fff648d1..83959a0d 100644 --- a/src/api/BasicData/PersonnelManagement.js +++ b/src/api/BasicData/PersonnelManagement.js @@ -330,3 +330,25 @@ export function delPost(num1) { } }) } +export function quit(num1) { + return request({ + url: '', + method: 'post', + data: { + type: 2, + name: '人事档案管理_人员_离职操作', + param: '人员编号=' + num1 + '=int' + } + }) +} +export function searchLeavingList(pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: 1, + name: '人事档案管理_人员_离职人员查询', + pagination: pageCurrent + '&' + pageSize + } + }) +} diff --git a/src/utils/request.js b/src/utils/request.js index 2c735cb7..c4850253 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -10,22 +10,7 @@ export const name = `OP8888` export const upload = `http://localhost:8411/submit/uploadFile.ashx` export const download = `http://localhost:8411/submit/downloadFile.ashx` const service = axios.create({ -<<<<<<< HEAD baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, -======= - - // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, - // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, ->>>>>>> 7cdb10d153358b72f95165dd7f3a12ad7675f14d - // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, - - baseURL: `http://192.168.0.105:8411/submit/MESCommonBase.ashx`, - // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, - - // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, - // baseURL: `http://192.168.137.85:8411/submit/MESCommonBase.ashx`, // 李鑫 - - // baseURL: `http://192.168.1.112:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 }) diff --git a/src/views/BasicData/PersonnelManagement/index.vue b/src/views/BasicData/PersonnelManagement/index.vue index 56a3237e..ac53c58a 100644 --- a/src/views/BasicData/PersonnelManagement/index.vue +++ b/src/views/BasicData/PersonnelManagement/index.vue @@ -15,6 +15,8 @@ 新增 + 离职 + 离职名单 @@ -51,7 +53,7 @@ - +
部门维护 展开 @@ -77,9 +79,10 @@ stripe tooltip-effect="dark" style="width: 100%" - height="679" + height="659" highlight-current-row border + size="mini" @selection-change="handleSelectionChange"> 确定
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+