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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
[#include "/business/pages/include/static.html" /]
[#include "/business/pages/include/header.html" /]
[#include "/component/newupload.html" /]
[#include "/component/sel.html" /]
[#include "/component/ciAddFlowInfo.html" /]
 
<title>配置采集</title>
[#if isAnswer??&&isAnswer?string=="true"]
<script type="text/javascript">
    window.top.openDialog("3","工单响应",
         {},
         {"width":55,"height":53,"noclose":true},
         [{btnId:"btnSure3", btnName:"确定", btnStyle:"bluebtn"}],"${base}/business/pages/ciadd/answer.html?orderId=${orderId}&nodeId=${nodeId}");
</script>
[#else]
 
 
<script type="text/javascript">
<!--
    //显示回退信息
    function showSendBackReason(nodeId){
            window.top.openDialog("0","回退信息",
                             {},
                             {"width":"800px","height":"300px","mode":"pixel"},
                             [{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
                             "${base}/business/pages/ciadd/showSendBackReason.html?nodeId="+nodeId);    
    }
    
    $(function(){
        //表单
        $("#fb_submit").click(function(){
            if('${isCanFinish}'=='true'){
                $.post('${base}/business/pages/ciadd/checkHasConfig.html',{'flowId':'${flowId}'},function(flag){
                    if(flag=='true'){
                        if('${isAdmin}'=='1'){
                            window.top.openDialog("insideAllot","工单提交",
                                    {},
                                    {"width":60,"height":80},
                                    [{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
                                    "${base}/business/pages/ciadd/selNextNode.html?orderId=${orderId}&nodeId=${nodeId}&flowId=${flowId}");
                        }else{
                            window.top.openDialog("insideAllot","工单提交",
                                    {},
                                    {"width":70,"height":40},
                                    [{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
                                    "${base}/business/pages/ciadd/ciAddCommit.html?orderId=${orderId}&nodeId=${nodeId}&flowId=${flowId}");
                        }
                    }else{
                        popupTips('采集配置数量不能为空', 2);
                    }
                });
            }else{
                var flowId = "${flowId}";
                var users = '';
                $.post("${base}/business/pages/ciadd/getNotDealList.html",{flowId:flowId},function(data){
                    $.each(data,function(i,item){
                        if(users!=''){
                            users = users + ',' +item.name;
                        }else{
                            users = users +item.name;
                        }
                        
                    }); 
                    popupTips('执行人:' + users + '未处理,暂不可提交', 4);
                },'json');
            }
        });
        
    });
-->
</script>
</head>
 
<body class="fullscreen">
[#assign focusLabel = Constants.WORKFLOW_BASE_BUSINESS_TYPE_CI_ADD]
[#include "/business/pages/include/myCiCollectionHeader.html" /]
<div class="fs_navtitle" id="fsNavtitle">
    <div class="fs_navtitle_con">
        <h2>配置采集</h2>
        <div class="fsnt_btn_left">
            <a class="mainbtn back" href="javascript:history.go(-1);"><span>返回</span></a>
            <a id="fb_submit" class="mainbtn dotask" ><span>工单提交</span></a>
        </div>
        
    </div>
</div>
 
<div class="fs_main clearfix">
    <div class="fsm_left nopadding" id="fsmLeft">
        <div class="deal_switch">
            <div class="dls_btn" id="dlsBtn">
                <a class="basicinfo focus"><span><em>申请资料</em></span></a>
                <a class="dealrem"><span><em>配置资料</em></span></a>
                <a class="dealrem"><span><em>DSL资料</em></span></a>
<!--                 <a class="relaequip"><span><em>供应商</em></span></a> -->
                <a class="filedoc"><span><em>文档资料</em></span></a>
<!--                 <a class="flowchart"><span><em>流程图</em></span></a> -->
                <a class="flowrecord"><span><em>流转记录</em></span></a>
            </div>
        </div>
    
        <div class="deal_switch_wrap">
            <!-- 基本信息 -->
            <div class="deal_switch_con iframecon" style="display:block;">
                <iframe src="${base}/business/pages/ciadd/ciAddApplyInfo.html?orderId=${orderId}" frameborder="0" scrolling="no" width="100%" height="600px"></iframe>
            </div>
            <!-- 配置资料 -->
            <div class="deal_switch_con iframecon" style="display:none;">
                   <iframe src="${base}/business/pages/ciadd/configCollection.html?flowId=${flowId}&orderId=${orderId}&customerId=${info.customer_id}&readOnly=${readOnly}&projectId=${info.project_id}"  width="100%" height="600px" id="configIframe"></iframe>
            </div>
            <!-- dsl资料 -->
            <div class="deal_switch_con iframecon" style="display:none;">
                   <iframe src="${base}/business/pages/ciadd/orderDSLInfo.html?flowId=${flowId}&proId=${info.project_id}"  width="100%" height="600px" id="dslIframe"></iframe>
            </div>
            <!-- 厂商资料 -->
<!--             <div class="deal_switch_con iframecon" style="display:none;"> -->
<!--                    <iframe name="manufacturerList1" id="manufacturerList1" src="${base}/business/pages/ciadd/manufacturerList.html?flowId=${flowId}&projectId=${info.project_id}&customerId=${info.customer_id}&readOnly=${readOnly}" frameborder="0" scrolling="no" width="100%" height="600px"></iframe> -->
<!--             </div> -->
            
            <!-- 文档资料 -->
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/incident/files.html?flowId=${flowId}" width="100%" height="600px" id="fileIframe"></iframe>
            </div>
            
            <!-- 流程图 -->
<!--             <div class="deal_switch_con" style="display:none;"><img width="100%" alt="流程图" src="${common_static}/static/images/ci_add_flow_chart.png"></div> -->
            
            
            <!-- 流转记录 -->
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/incident/lcRecord.html?flowId=${flowId}" width="100%" height="600px" id="flowRecourdIframe"></iframe>
            </div>
        </div>
    </div>
    [@ciAddFlowInfo info = info/]
</div>
<script type="text/javascript">
$("#dlsBtn>a").click(function() {
        var index = $("#dlsBtn>a").index(this);
        $("#dlsBtn>a").removeClass("focus");
        $(this).addClass("focus");
        
        var $dom = $("div.deal_switch_con:eq("+index+")");
        $("div.deal_switch_con").hide();
        $dom.show();
    })
</script>
[#include "/business/pages/include/footer.html" /]
[/#if]
</body>
</html>