diff --git a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js index fd0a5578a8279d03eedde735a24750a53219ef76..18ad9ef619d0e629006bbeede191b0ccf61c6062 100644 --- a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js +++ b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js @@ -1,4 +1,3 @@ -var rowId = ""; // 获取所有审批通过状态之后的人员需求申请列表 layui.config({ @@ -6,15 +5,12 @@ layui.config({ version: skyeyeVersion }).extend({ window: 'js/winui.window' -}).define(['window', 'table', 'jquery', 'winui', 'form', 'laydate'], function (exports) { +}).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) { winui.renderColor(); var $ = layui.$, form = layui.form, - laydate = layui.laydate, table = layui.table; - laydate.render({elem: '#createTime', range: '~'}); - table.render({ id: 'messageTable', elem: '#messageTable', @@ -70,9 +66,8 @@ layui.config({ // 设置责任人 function setPersonLiable(data) { - rowId = data.id; _openNewWindows({ - url: "../../tpl/bossPersonRequire/bossPersonRequirePersonLiable.html", + url: systemCommonUtil.getUrl('FP2023052800001&id=' + data.id, null), title: '设置责任人', pageId: "bossPersonRequirePersonLiable", area: ['90vw', '90vh'], @@ -85,7 +80,6 @@ layui.config({ // 详情 function details(data) { - rowId = data.id; _openNewWindows({ url: systemCommonUtil.getUrl('FP2023052100003&id=' + data.id, null), title: systemLanguage["com.skyeye.detailsPageTitle"][languageType], diff --git a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js index 992c439560fbc22e08cec2c970726275000cb6a0..90fbb1857558dcd81d18b1cb537c23b13759bd1e 100644 --- a/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js +++ b/boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequirePersonLiable.js @@ -13,7 +13,7 @@ layui.config({ showGrid({ id: "showForm", - url: flowableBasePath + "queryBossPersonRequireDetailsById", + url: sysMainMation.bossBasePath + "queryBossPersonRequireDetailsById", params: {id: parent.rowId}, pagination: false, method: "GET", diff --git a/boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAllList.html b/boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAllList.html index f28fb67bc82897f6d636c64812711c2e08132c96..5a5ca3ece95d0935d6fa4813d6366b547939d30c 100644 --- a/boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAllList.html +++ b/boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAllList.html @@ -16,7 +16,7 @@