新增项目,班组,评价人

This commit is contained in:
马三炮 2025-04-02 16:45:35 +08:00
parent 6c87f0ac08
commit 9eb8ac94be
3 changed files with 21 additions and 17 deletions

View File

@ -85,7 +85,7 @@ public class TeamEvaluateServiceImpl implements TeamEvaluateService {
phoneArray = new String[]{phones};
}
KtySmsUtil ktySmsUtil = new KtySmsUtil();
String content = "甘肃教育培训系统提醒您】您有一个已退场的班组未进行评价,请抓紧评价!";
String content = "博诺思】您有一个已退场的班组未进行评价,请抓紧评价!";
boolean allSentSuccessfully = true;
for (String phone : phoneArray) {

View File

@ -10,7 +10,7 @@ function getData() {
$("#form4").remove();
$("#form5").remove();
getProList();
// getLeaderList();
getLeaderList();
} else if (Number(objParam.type) === 1) {
$("#form").remove();
$("#form2").removeAttr("style");
@ -233,18 +233,18 @@ function submitApply(data) {
let url = `${ctxPath}` + "/organizational/addData";
if (Number(objParam.type) === 0) {
// 项目
if (selectDtreeObj == null) {
/*if (selectDtreeObj == null) {
layer.msg("请选择项目");
return;
}
}*/
item = {
...selectDtreeObj,
/*...selectDtreeObj,*/
name:$("#proId").val(),
parentId: objParam.id,
level: 3,
tableSource: "pm_dept",
// userId : data.field.personInChargeId,
userId: "",
userName: $("#personInChargeId").val(),
userId : data.field.personInChargeId,
userName : $('#personInChargeId').find('option:checked').text()
};
} else if (Number(objParam.type) === 1) {
// 外包商

View File

@ -68,24 +68,28 @@
<div id="main-box">
<div class="form">
<form class="layui-form" onsubmit="return false;" id="form" style="display: none;" onclick="return false;">
<div style="width: 100%;height: 100%;display: flex">
<div class="layui-form-item" style="margin-top: 1%;display: flex;width: 50%">
<div style="width: 100%;height: 100%">
<div class="layui-form-item" style="margin-top: 1%;display: flex;width: 100%">
<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>
</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 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>
<!-- <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
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"
name="personInChargeId" placeholder="请输入负责人姓名" autocomplete="off" class="layui-input">
</div>
</div>-->
</div>
</div>
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
@ -228,4 +232,4 @@
<script src="../../../layui/layui_ext/dtree/dtree.js"></script>
<script src="../../../js/evaluate/org/addForm.js?v=1"></script>
</html>
</html>