From 56035da009f70bfc106f2acb724cbece5a319760 Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Tue, 13 Jun 2023 16:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E5=85=A5=E8=81=8C=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=87=8D=E6=9E=84=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inductionResult.js | 9 ++++----- .../inductionResult.html | 18 +++++++++--------- .../js/sysEveUserStaff/sysEveUserStaffAdd.js | 2 +- .../sysEveUserStaff/sysEveUserStaffDetails.js | 3 ++- .../layui/customer/common/systemCommonUtil.js | 16 ---------------- .../template/json/skyeyeClassEnum.json | 1 + 6 files changed, 17 insertions(+), 32 deletions(-) diff --git a/boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js b/boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js index c7fb8e01e..cd53d9a96 100644 --- a/boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js +++ b/boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js @@ -10,11 +10,10 @@ layui.config({ var $ = layui.$, laydate = layui.laydate, form = layui.form; - var selTemplate = getFileContent('tpl/template/select-option.tpl'); showGrid({ id: "showForm", - url: flowableBasePath + "queryBossInterviewArrangementById", + url: sysMainMation.bossBasePath + "queryArrangementById", params: {id: parent.rowId}, pagination: false, method: "GET", @@ -24,10 +23,10 @@ layui.config({ json.bean.stateName = bossUtil.showStateName(json.bean.state); }, ajaxSendAfter: function (json) { - skyeyeEnclosure.showDetails({'enclosureUpload': json.bean.enclosureInfo}); + skyeyeEnclosure.showDetails({'enclosureUpload': json.bean.interviewMation.enclosureResume}); // 员工在职状态加载 - $("#inductionState").html(getDataUseHandlebars(selTemplate, {rows: systemCommonUtil.getSysUserStaffStateList()})); + skyeyeClassEnumUtil.showEnumDataListByClassName("userStaffState", 'select', "inductionState", '', form); form.on('select(inductionState)', function (data) { if (data.value == '4') { // 试用期 @@ -98,7 +97,7 @@ layui.config({ inductionState: inductionState, trialTime: $("#trialTime").val() }; - AjaxPostUtil.request({url: flowableBasePath + "setInductionResult", params: params, type: 'json', method: "PUT", callback: function(json) { + AjaxPostUtil.request({url: sysMainMation.bossBasePath + "setInductionResult", params: params, type: 'json', method: "PUT", callback: function(json) { parent.layer.close(index); parent.refreshCode = '0'; }}); diff --git a/boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html b/boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html index 02c5f193a..4af3075b7 100644 --- a/boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html +++ b/boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html @@ -21,7 +21,7 @@