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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
[#include "/business/pages/include/static.html" /]
<title>基本信息</title>
</head>
 
<body>
<div class="fs_main fs_edit">
<form id="myform" method="post">
    <input type="hidden" id="projectId" name="projectId" value="${release.project_id}"/>
    <div class="edit_title"><h3>基本信息</h3></div>
    <table class="edit_layout basicinfo" width="100%">
        <tr>
            <th><label>发布标题:</label></th>
               <td colspan="3"><span class="infotxt">${release.name}</span></td>
        </tr>
        
        <tr>
            <th><label>${Constants.CUSTOMER_CONSTANTS}名称:</label></th>
            <td><span class="infotxt">${release.customer_name}</span></td>
            <th><label>${Constants.UNIT_CONSTANTS}:</label></th>
            <td><span class="infotxt">${release.sub_customer_name}</span></td>
        </tr>
        
        <tr>
            
            <th><label>发布来源:</label></th>
            <td><span class="infotxt">${release.source_name}</span></td>
            <th><label>发布类型:</label></th>
            <td><span class="infotxt">${release.release_type_name}</span></td>
        </tr>
        <tr>
            <th><label>乙方负责人:</label></th>
            <td><span class="infotxt">${release.second_part_name}</span></td>
            <th><label>联系电话:</label></th>
            <td><span class="infotxt">${release.second_part_tel}</span></td>
        </tr>
        <tr>
            <th nowrap><label>预计开始时间:</label></th>
            <td><span class="infotxt">
                 ${DateUtil.format("yyyy-MM-dd HH:mm:ss",release.plan_start_time)}
            </span></td>
            <th nowrap><label>预计结束时间:</label></th>
            <td><span class="infotxt">
                ${DateUtil.format("yyyy-MM-dd HH:mm:ss",release.plan_end_time)}
            </span></td>
        </tr>
        <tr>
            <th><label>操作步骤:</label></th>
            <td><span class="infotxt">
                ${StringUtil.str2Html(release.exec_step)}
            </span>
            </td>
            <th><label>发布结果:</label></th>
            <td><span class="infotxt">[#if release.release_result==1]成功[#elseif release.release_result==2]失败[/#if]</span></td>
        </tr>
    </table>
    
    <div class="edit_title"><h3>发布申请描述</h3></div>
    <table class="edit_layout basicinfo" width="100%">
        <tr>
            <th nowrap><label>发布原因:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.release_reason)}
            </span></td>
           </tr>
        <tr>
            <th nowrap><label>发布范围:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.release_range)}
            </span></td>
           </tr>
        <tr>
            <th nowrap><label>工作量:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.workload)}
            </span></td>
           </tr>
        
        <tr>
            <th style="border:none;"></th>
            <td style="border:none;"></td>
            <th style="border:none;"></th>
            <td style="border:none;"></td>
        </tr>
        
    </table>
    
    <div class="edit_title"><h3>发布方案</h3></div> 
    <table class="edit_layout basicinfo" width="100%">
        <tr>
            <th nowrap><label>测试方案及测试步骤:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.test_step)}
            </span></td>
           </tr>
        <tr>
            <th nowrap><label>回退条件及回退步骤:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.callback_step)}
            </span></td>
           </tr>
        <tr>
            <th nowrap><label>培训计划:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.train_plan)}
            </span></td>
           </tr>
        <tr>
            <th nowrap><label>通知相关部门:</label></th>
            <td colspan="3"><span class="infotxt">
                ${StringUtil.str2Html(release.relation_depart)}
            </span></td>
           </tr>
           <tr>
            <th style="border:none;"></th>
            <td style="border:none;"></td>
            <th style="border:none;"></th>
            <td style="border:none;"></td>
        </tr>
    </table>
    
    <div class="edit_title"><h3>关联配置</h3></div>
    <table class="display_form" id="linkDeviceTable" >
           <tr class="title">
               <td width="25%">搜索码</td>
               <td width="25%">配置名称</td>
               <td>存放位置</td>
           </tr>
           [#if linkDeviceList??&&linkDeviceList?size>0]
           [#list linkDeviceList as device]
           <tr>
                  <td><input type="hidden" name="linkDeviceId" value="${device.id}">${device.seachcode}</td>
               <td>${device.ciname}</td>
               <td>${device.position}</td>
           </tr>
           [/#list]
           [#else]
           <tr>
               <td colspan="4" align="center">暂无关联信息</td>
           </tr>
           [/#if]
    </table>
</form>
</div>
 
</body>
</html>