cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!doctype html>
<html>
<head>
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
</head>
 
<body>
<header >
    <span></span>分派任务
 
</header>
<section class="wlresponse">
    <p class="next2">
        <span>下一环节</span>
        <label>
        [#if nodeList?? && nodeList?size>0]
        <select  name="node" id="node" class="select">
        [#list nodeList as node]
        <option value="${node.nodeId}" [#if node.nodeId == tempMsg.node] selected[/#if]>${node.nodeName}</option>
        [/#list]
        </select>
        [/#if]
        </label>
        
    </p>
    <input  type="hidden" id="alluserid" name="alluserid" value="${tempMsg.userId}"/>
    <input  type="hidden" id="type" name="type" value="${tempMsg.EXTEND1}"/>
    <input type="hidden" name="curnodeId" id="curnodeId" value="${curnodeId}"/>
    <a href="javascript:selectuser();"><p class="next2">
        <span>处理人</span>
        <label id="users" class="tr">${tempMsg.userName}</label>
    </p></a>
    <p>
        <span>流转备注</span>
        <i><textarea name="bz" id="bz" placeholder="请填写流转备注" cols="" rows="3" class="event-text"></textarea></i>
    </p>
    <button class="bluebtn bluebtnsmal2" onclick="saveuser()" >确定</button>
</section>
<script type="text/javascript">
var customer_id = '${RequestParameters.customer_id}';
var flowId = '${RequestParameters.flowId}';
var curnodeId = '${RequestParameters.curnodeId}';
function selectuser(){
   var node = $("#node").val();
   var bz = $("#bz").val();
   var alluser = $("#alluserid").val();
   var type = $("#type").val();
    $.post("${base}/ewyw/ewQuestion/savenode.html",{"node":node,"bz":bz,"alluser":alluser,"type":type},function(data,textStatus) {
           window.location.href = "${base}/ewyw/ewQuestion/ewselectUsers.html?customer_id="+customer_id+"&flowId=${flowId}&curnodeId="+curnodeId+"&lctype=1";
    });
 
}
function saveuser(){
   var node = $("#node").val();
   var bz = $("#bz").val();
   var alluser = $("#alluserid").val();
   var type = $("#type").val();
   if(alluser == ""){
           popupTips('请选择处理人!');
        return;
   }
    $.post("${base}/ewyw/ewQuestion/savenode.html",{"seltype":1,"node":node,"bz":bz,"alluser":alluser,"type":type},function(data,textStatus) {
           window.location.href = "${base}/ewyw/ewQuestion/ewAddQuestion.html?tjtype=1";
    });
 
}
</script>
</body>
</html>