新增项目,班组,评价人
This commit is contained in:
parent
6c87f0ac08
commit
9eb8ac94be
|
|
@ -85,7 +85,7 @@ public class TeamEvaluateServiceImpl implements TeamEvaluateService {
|
||||||
phoneArray = new String[]{phones};
|
phoneArray = new String[]{phones};
|
||||||
}
|
}
|
||||||
KtySmsUtil ktySmsUtil = new KtySmsUtil();
|
KtySmsUtil ktySmsUtil = new KtySmsUtil();
|
||||||
String content = "【甘肃教育培训系统提醒您】您有一个已退场的班组未进行评价,请抓紧评价!";
|
String content = "【博诺思】您有一个已退场的班组未进行评价,请抓紧评价!";
|
||||||
|
|
||||||
boolean allSentSuccessfully = true;
|
boolean allSentSuccessfully = true;
|
||||||
for (String phone : phoneArray) {
|
for (String phone : phoneArray) {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ function getData() {
|
||||||
$("#form4").remove();
|
$("#form4").remove();
|
||||||
$("#form5").remove();
|
$("#form5").remove();
|
||||||
getProList();
|
getProList();
|
||||||
// getLeaderList();
|
getLeaderList();
|
||||||
} else if (Number(objParam.type) === 1) {
|
} else if (Number(objParam.type) === 1) {
|
||||||
$("#form").remove();
|
$("#form").remove();
|
||||||
$("#form2").removeAttr("style");
|
$("#form2").removeAttr("style");
|
||||||
|
|
@ -233,18 +233,18 @@ function submitApply(data) {
|
||||||
let url = `${ctxPath}` + "/organizational/addData";
|
let url = `${ctxPath}` + "/organizational/addData";
|
||||||
if (Number(objParam.type) === 0) {
|
if (Number(objParam.type) === 0) {
|
||||||
// 项目
|
// 项目
|
||||||
if (selectDtreeObj == null) {
|
/*if (selectDtreeObj == null) {
|
||||||
layer.msg("请选择项目");
|
layer.msg("请选择项目");
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
item = {
|
item = {
|
||||||
...selectDtreeObj,
|
/*...selectDtreeObj,*/
|
||||||
|
name:$("#proId").val(),
|
||||||
parentId: objParam.id,
|
parentId: objParam.id,
|
||||||
level: 3,
|
level: 3,
|
||||||
tableSource: "pm_dept",
|
tableSource: "pm_dept",
|
||||||
// userId : data.field.personInChargeId,
|
userId : data.field.personInChargeId,
|
||||||
userId: "",
|
userName : $('#personInChargeId').find('option:checked').text()
|
||||||
userName: $("#personInChargeId").val(),
|
|
||||||
};
|
};
|
||||||
} else if (Number(objParam.type) === 1) {
|
} else if (Number(objParam.type) === 1) {
|
||||||
// 外包商
|
// 外包商
|
||||||
|
|
|
||||||
|
|
@ -68,24 +68,28 @@
|
||||||
<div id="main-box">
|
<div id="main-box">
|
||||||
<div class="form">
|
<div class="form">
|
||||||
<form class="layui-form" onsubmit="return false;" id="form" style="display: none;" onclick="return false;">
|
<form class="layui-form" onsubmit="return false;" id="form" style="display: none;" onclick="return false;">
|
||||||
<div style="width: 100%;height: 100%;display: flex">
|
<div style="width: 100%;height: 100%">
|
||||||
<div class="layui-form-item" style="margin-top: 1%;display: flex;width: 50%">
|
<div class="layui-form-item" style="margin-top: 1%;display: flex;width: 100%">
|
||||||
<label class="layui-form-label"><span class="required_icon">*</span>所属上级</label>
|
<label class="layui-form-label"><span class="required_icon">*</span>所属上级</label>
|
||||||
<div class="layui-input-inline" style="overflow: auto;max-height: 360px;">
|
<!-- <div class="layui-input-inline" style="overflow: auto;max-height: 360px;">
|
||||||
<ul id="proId" class="dtree" data-id="0" data-value="001"></ul>
|
<ul id="proId" class="dtree" data-id="0" data-value="001"></ul>
|
||||||
|
</div>-->
|
||||||
|
<div class="layui-input-inline" style="width: 200px;">
|
||||||
|
<input type="text" required lay-verify="required" id="proId"
|
||||||
|
name="proId" autocomplete="off" class="layui-input">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item" style="margin-top: 1%;height: 100%;display: flex;width: 50%">
|
<div class="layui-form-item" style="margin-top: 1%;display: flex;width: 100%">
|
||||||
<label class="layui-form-label"><span class="required_icon">*</span>负责人</label>
|
<label class="layui-form-label"><span class="required_icon">*</span>负责人</label>
|
||||||
<!-- <div class="layui-input-inline" style="overflow: hidden;height: 360px;">
|
<div class="layui-input-inline" style="width: 256px;">
|
||||||
<select id="personInChargeId" name="personInChargeId" class="layui-select" lay-search
|
<select id="personInChargeId" name="personInChargeId" class="layui-select" lay-search
|
||||||
lay-verify="required" style="height: 360px;"></select>
|
lay-verify="required" style="height: 360px;"></select>
|
||||||
</div> -->
|
</div>
|
||||||
|
|
||||||
<div class="layui-input-block" style="width: 100%; margin-right: 10px;">
|
<!-- <div class="layui-input-block" style="width: 100%; margin-right: 10px;">
|
||||||
<input type="text" required lay-verify="required" id="personInChargeId"
|
<input type="text" required lay-verify="required" id="personInChargeId"
|
||||||
name="personInChargeId" placeholder="请输入负责人姓名" autocomplete="off" class="layui-input">
|
name="personInChargeId" placeholder="请输入负责人姓名" autocomplete="off" class="layui-input">
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue