// 以下两个参数开启团队权限时有值 var objectId = '', objectKey = ''; var objectParams = {}; // 根据以下两个参数判断:工作流的判断是否要根据serviceClassName的判断 var serviceClassName; layui.config({ base: basePath, version: skyeyeVersion }).extend({ window: 'js/winui.window' }).define(['window', 'table', 'jquery'], function (exports) { winui.renderColor(); var index = parent.layer.getFrameIndex(window.name); var $ = layui.$; var id = GetUrlParam("id"); var objectId = GetUrlParam("objectId"); var objectKey = GetUrlParam("objectKey"); objectParams.subjectClassesId = GetUrlParam("subjectClassesId"); if (isNull(id)) { dsFormUtil.initAddPageForStatic('content', 'FP2024072000001', { savePreParams: function (params) { params.objectId = objectId; params.objectKey = objectKey; params.subjectClassesId = objectParams.subjectClassesId; } }); }else{ AjaxPostUtil.request({ url: sysMainMation.schoolBasePath + "queryDatumById", params: {id: id}, type: 'json', method: 'POST', callback: function (json) { let data = json.bean; dsFormUtil.initEditPageForStatic('content', 'FP2024072000002', data, { savePreParams: function (params) { params.objectId = objectId; params.objectKey = objectKey; params.subjectClassesId = objectParams.subjectClassesId; } }); } }); } });