Browse Source

立项和申请调整

laiguoran 3 years ago
parent
commit
3f95eb4903

+ 17 - 17
app/view/change/apply_information.ejs

@@ -43,59 +43,59 @@
                     <h4 class="text-center py-2">工程变更申请书</h4>
                     <table class="table table-bordered" id="apply-table">
                         <tr>
-                            <th width="120" class="text-center">变更申请编号<b class="text-danger">*&nbsp;</b></th>
+                            <th width="120" class="text-center" style="vertical-align: middle">变更申请编号<b class="text-danger">*&nbsp;</b></th>
                             <td><input class="form-control form-control-sm" value="<%- change.code %>" data-name="code" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">变更工程名称<b class="text-danger">*&nbsp;</b></th>
+                            <th width="120" class="text-center" style="vertical-align: middle">变更工程名称<b class="text-danger">*&nbsp;</b></th>
                             <td><input class="form-control form-control-sm" value="<%- change.name %>" data-name="name" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
-                            <th width="140" class="text-center">桩号</th>
+                            <th width="140" class="text-center" style="vertical-align: middle">桩号</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.peg %>" data-name="peg" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">原设计图名称</th>
+                            <th width="" class="text-center" style="vertical-align: middle">原设计图名称</th>
                             <td><input class="form-control form-control-sm" value="<%- change.org_name %>" data-name="org_name" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
-                            <th width="" class="text-center">图号</th>
+                            <th width="" class="text-center" style="vertical-align: middle">图号</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.new_code %>" data-name="new_code" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">变更设计名称</th>
+                            <th width="" class="text-center" style="vertical-align: middle">变更设计名称</th>
                             <td><input class="form-control form-control-sm" value="<%- change.design_name %>" data-name="design_name" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
-                            <th width="" class="text-center">变更图号</th>
+                            <th width="" class="text-center" style="vertical-align: middle">变更图号</th>
                             <td><input class="form-control form-control-sm" value="<%- change.c_new_code %>" data-name="c_new_code" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">变更意向编号</th>
+                            <th width="" class="text-center" style="vertical-align: middle">变更意向编号</th>
                             <td><input class="form-control form-control-sm" value="<%- change.project_code %>" data-name="project_code" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder="自动读取,没有就为空,可编辑"></td>
-                            <th width="" class="text-center">原工程造价(元)</th>
+                            <th width="" class="text-center" style="vertical-align: middle">原工程造价(元)</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.org_price %>" data-name="org_price" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">工程变更类别</th>
+                            <th width="" class="text-center" style="vertical-align: middle">工程变更类别</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.class %>" data-name="class" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
-                            <th width="" class="text-center">变更后工程造价(元)</th>
+                            <th width="" class="text-center" style="vertical-align: middle">变更后工程造价(元)</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.change_price %>" data-name="change_price" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">工程变更性质</th>
+                            <th width="" class="text-center" style="vertical-align: middle">工程变更性质</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.quality %>" data-name="quality" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
-                            <th width="" class="text-center">工程造价增减(元)</th>
+                            <th width="" class="text-center" style="vertical-align: middle">工程造价增减(元)</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.crease_price %>" data-name="crease_price" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">变更原因<b class="text-danger">*&nbsp;</b></th>
+                            <th width="" class="text-center" style="vertical-align: middle">变更原因<b class="text-danger">*&nbsp;</b></th>
                             <td colspan="3"><textarea class="form-control form-control-sm" data-name="reason" <% if (change.readOnly) { %>readonly<% } %> rows="3"><%- change.reason %></textarea></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">原设计情况描述</th>
+                            <th width="" class="text-center" style="vertical-align: middle">原设计情况描述</th>
                             <td colspan="3"><textarea class="form-control form-control-sm" data-name="org_content" <% if (change.readOnly) { %>readonly<% } %> rows="3"><%- change.org_content %></textarea></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">现场实际情况描述</th>
+                            <th width="" class="text-center" style="vertical-align: middle">现场实际情况描述</th>
                             <td colspan="3"><textarea class="form-control form-control-sm" data-name="site_content" <% if (change.readOnly) { %>readonly<% } %> rows="3"><%- change.site_content %></textarea></td>
                         </tr>
                         <tr>
-                            <th width="" class="text-center">内容摘要</th>
+                            <th width="" class="text-center" style="vertical-align: middle">内容摘要</th>
                             <td colspan="3"><textarea class="form-control form-control-sm" data-name="content" <% if (change.readOnly) { %>readonly<% } %> rows="3"><%- change.content %></textarea></td>
                         </tr>
                     </table>

+ 2 - 2
app/view/change/apply_information_modal.ejs

@@ -24,8 +24,8 @@
                 </div>
             </div>
             <div class="modal-footer">
-                <button id="file-cancel" type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
-                <button id="file-ok" type="button" class="btn btn-primary">添加</button>
+                <button id="file-cancel" type="button" class="btn btn-secondary btn-sm" data-dismiss="modal">取消</button>
+                <button id="file-ok" type="button" class="btn btn-primary btn-sm">添加</button>
             </div>
         </div>
     </div>

+ 13 - 13
app/view/change/project_information.ejs

@@ -44,48 +44,48 @@
         <div class="c-body">
             <div class="sjs-height-0">
                 <div class="col-xl-8 mx-auto">
-                    <h4 class="text-center py-2">变更建议/意向报告书</h4>
+                    <h4 class="text-center py-2"><%- changeConst.project_type[change.type] %>报告书</h4>
                     <table class="table table-bordered" id="project-table">
                         <tr>
-                            <th width="120" class="text-center">立项编号<b class="text-danger">*&nbsp;</b></th>
+                            <th width="120" class="text-center" style="vertical-align: middle">立项编号<b class="text-danger">*&nbsp;</b></th>
                             <td><input class="form-control form-control-sm" value="<%- change.code %>" data-name="code" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">变更工程名称<b class="text-danger">*&nbsp;</b></th>
+                            <th width="120" class="text-center" style="vertical-align: middle">变更工程名称<b class="text-danger">*&nbsp;</b></th>
                             <td colspan="3"><input class="form-control form-control-sm" value="<%- change.name %>" data-name="name" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">原设计图名称</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">原设计图名称</th>
                             <td  colspan="3"><input class="form-control form-control-sm" value="<%- change.org_name %>" data-name="org_name" <% if (change.readOnly) { %>readonly<% } %> type="text" placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">桩号</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">桩号</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.peg %>" data-name="peg" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
-                            <th width="120" class="text-center">图号</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">图号</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.new_code %>" data-name="new_code" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">工程变更类别</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">工程变更类别</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.class %>" data-name="class" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
-                            <th width="120" class="text-center">工程变更性质</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">工程变更性质</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.quality %>" data-name="quality" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">原工程造价(元)</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">原工程造价(元)</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.org_price %>" data-name="org_price" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">预计变更造价(元)</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">预计变更造价(元)</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.change_price %>" data-name="change_price" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
-                            <th width="120" class="text-center">预计造价增减(元)</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">预计造价增减(元)</th>
                             <td><input class="form-control form-control-sm" type="text" value="<%- change.crease_price %>" data-name="crease_price" <% if (change.readOnly) { %>readonly<% } %> placeholder=""></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">变更原因<b class="text-danger">*&nbsp;</b></th>
+                            <th width="120" class="text-center" style="vertical-align: middle">变更原因<b class="text-danger">*&nbsp;</b></th>
                             <td colspan="3"><textarea class="form-control form-control-sm" data-name="reason" <% if (change.readOnly) { %>readonly<% } %> rows="3"><%- change.reason %></textarea></td>
                         </tr>
                         <tr>
-                            <th width="120" class="text-center">内容摘要</th>
+                            <th width="120" class="text-center" style="vertical-align: middle">内容摘要</th>
                             <td colspan="3"><textarea class="form-control form-control-sm" data-name="content" <% if (change.readOnly) { %>readonly<% } %> rows="3"><%- change.content %></textarea></td>
                         </tr>
                     </table>

+ 2 - 2
app/view/change/project_information_modal.ejs

@@ -14,8 +14,8 @@
                 <input type="file" id="file-modal" multiple="multiple">
             </div>
             <div class="modal-footer">
-                <button id="file-cancel" type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
-                <button id="file-ok" type="button" class="btn btn-primary">添加</button>
+                <button id="file-cancel" type="button" class="btn btn-secondary btn-sm" data-dismiss="modal">取消</button>
+                <button id="file-ok" type="button" class="btn btn-primary btn-sm">添加</button>
             </div>
         </div>
     </div>

+ 1 - 1
config/config.uat.js

@@ -83,7 +83,7 @@ module.exports = appInfo => {
     config.fujianOssPath = 'https://jiliang-qa-oss.smartcost.com.cn/uat/';
     config.fujianOssFolder = 'uat/';
 
-    config.syncUrl = 'http://sync.jluat.smartcost.com.cn/';
+    config.syncUrl = 'https://jluat-sync.smartcost.com.cn/';
 
     // 项目管理跳转路径
     config.managementPath = 'https://pmuat.smartcost.com.cn';