diff --git a/README.md b/README.md index b006a907fe0cd0203883566b9f79222b8333df6a..a7d3a876a6e86a7f4bee503359597002eb0ea2d1 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,9 @@ # 开源版请下载`master`分支 - erp+生产演示视频:https://mp.weixin.qq.com/s/CrFM_VZShi-FIJ8zD0_Nqg -- 需要进微信群(加我拉你进群,wzq_598748873),请提供自己的邮箱,默认订阅每周更新内容推送。 -- 不需要进群的,请直接加微信:ZhiJinShuLi +- 企业版请加微信:wzq_598748873 + - 加微信后需提供所在企业、姓名、邮箱、联系方式,默认订阅每周更新内容推送。 +- 非企业版请进QQ群:1016439713,进群后请自行修改备注:职业-地域-昵称,群内只回答开源版问题 - `本项目分为开源版和企业版,不喜勿喷,谢谢。` - 企业版信息:https://docs.qq.com/doc/DQlRxcVRMWWVjbU1i?_from=1&disableReturnList=1 - 参加企业版改进计划,享受最优惠价格,[点我查看](https://mp.weixin.qq.com/s/YIms04X-bbGJwMs1gree1g) diff --git a/boss/src/main/resources/template/js/bossIntervieweeFrom/bossIntervieweeFromListChoose.js b/boss/src/main/resources/template/js/bossIntervieweeFrom/bossIntervieweeFromListChoose.js new file mode 100644 index 0000000000000000000000000000000000000000..cdc2a5eb496d95c9491f839015f28e1985b1bdfb --- /dev/null +++ b/boss/src/main/resources/template/js/bossIntervieweeFrom/bossIntervieweeFromListChoose.js @@ -0,0 +1,78 @@ + +layui.config({ + base: basePath, + version: skyeyeVersion +}).extend({ + window: 'js/winui.window' +}).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) { + winui.renderColor(); + var index = parent.layer.getFrameIndex(window.name); + var $ = layui.$, + form = layui.form, + table = layui.table; + + $("#showInfo").html("面试者来源选择规则:双击指定行即可选中。"); + + table.render({ + id: 'messageTable', + elem: '#messageTable', + method: 'post', + url: reqBasePath + 'bossIntervieweeFrom001', + where: getTableParams(), + even: true, + page: true, + limits: getLimits(), + limit: getLimit(), + cols: [[ + { type: 'radio'}, + { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers'}, + { field: 'title', title: '来源', align: 'left', width: 150 }, + { field: 'fromUrl', title: '来源地址', align: 'left', width: 300 } + ]], + done: function(res){ + matchingLanguage(); + $('#messageTable').next().find('.layui-table-body').find("table" ).find("tbody").children("tr").on('dblclick',function(){ + var dubClick = $('#messageTable').next().find('.layui-table-body').find("table").find("tbody").find(".layui-table-hover"); + dubClick.find("input[type='radio']").prop("checked", true); + form.render(); + var chooseIndex = JSON.stringify(dubClick.data('index')); + var obj = res.rows[chooseIndex]; + parent.bossUtil.bossIntervieweeFromChooseMation = obj; + + parent.refreshCode = '0'; + parent.layer.close(index); + }); + + $('#messageTable').next().find('.layui-table-body').find("table" ).find("tbody").children("tr").on('click',function(){ + var click = $('#messageTable').next().find('.layui-table-body').find("table").find("tbody").find(".layui-table-hover"); + click.find("input[type='radio']").prop("checked", true); + form.render(); + }) + } + }); + + form.render(); + form.on('submit(formSearch)', function (data) { + if (winui.verifyForm(data.elem)) { + table.reload("messageTable", {page: {curr: 1}, where: getTableParams()}); + } + return false; + }); + + $("body").on("click", "#reloadTable", function() { + loadTable(); + }); + + // 刷新 + function loadTable(){ + table.reload("messageTable", {where: getTableParams()}); + } + + function getTableParams(){ + return { + title: $("#title").val() + }; + } + + exports('bossIntervieweeFromListChoose', {}); +}); diff --git a/boss/src/main/resources/template/tpl/bossIntervieweeFrom/bossIntervieweeFromListChoose.html b/boss/src/main/resources/template/tpl/bossIntervieweeFrom/bossIntervieweeFromListChoose.html new file mode 100644 index 0000000000000000000000000000000000000000..a3c806be32949b611721e854092f5219288a3b4b --- /dev/null +++ b/boss/src/main/resources/template/tpl/bossIntervieweeFrom/bossIntervieweeFromListChoose.html @@ -0,0 +1,41 @@ + + +
+ +