Browse Source

变更名称修改

laiguoran 3 years ago
parent
commit
692950c071

+ 1 - 1
app/public/js/change.js

@@ -230,7 +230,7 @@ $(document).ready(() => {
         if ($('#bj-name').val().length === 0) {
             $('#bj-name').addClass('is-invalid');
             $('#name_error_msg').show();
-            $('#name_error_msg').text('工程名称不能为空。');
+            $('#name_error_msg').text('变更工程名称不能为空。');
             $(this).attr('disabled', false);
             setTimeout(function () {
                 $('#bj-name').removeClass('is-invalid');

+ 1 - 1
app/public/js/change_apply_audit.js

@@ -190,7 +190,7 @@ function checkAuditorFrom () {
         flag = true;
     }
     if (change.name === '') {
-        toastr.error('工程名称不能为空');
+        toastr.error('变更工程名称不能为空');
         flag = true;
     }
     if (!change.reason) {

+ 2 - 2
app/public/js/change_information_set.js

@@ -967,7 +967,7 @@ $(document).ready(() => {
             return;
         }
         if ($('input[name="name"]').val() === '') {
-            toastr.error('工程名称不能为空!');
+            toastr.error('变更工程名称不能为空!');
             return;
         }
         // 换行更改并提交
@@ -1029,7 +1029,7 @@ function checkChangeFrom() {
         returnFlag = true;
     }
     if ($('input[name="name"]').val() === '') {
-        toastr.error('工程名称不能为空!');
+        toastr.error('变更工程名称不能为空!');
         returnFlag = true;
     }
     if ($('textarea[name="content"]').val() === '') {

+ 1 - 1
app/public/js/change_project.js

@@ -190,7 +190,7 @@ $(document).ready(() => {
         if ($('#bj-name').val().length === 0) {
             $('#bj-name').addClass('is-invalid');
             $('#name_error_msg').show();
-            $('#name_error_msg').text('工程名称不能为空。');
+            $('#name_error_msg').text('变更工程名称不能为空。');
             $(this).attr('disabled', false);
             setTimeout(function () {
                 $('#bj-name').removeClass('is-invalid');

+ 1 - 1
app/public/js/change_project_audit.js

@@ -290,7 +290,7 @@ function checkAuditorFrom () {
         flag = true;
     }
     if (change.name === '') {
-        toastr.error('工程名称不能为空');
+        toastr.error('变更工程名称不能为空');
         flag = true;
     }
     if (!change.reason) {

+ 1 - 1
app/public/js/change_project_information.js

@@ -112,7 +112,7 @@ $(document).ready(() => {
                 break;
             case 'name':
                 if(!val) {
-                    toastr.error('工程名称不能为空');
+                    toastr.error('变更工程名称不能为空');
                     $(this).val(change[val_name]);
                     return false;
                 } else if(val.length > 100) {

+ 4 - 4
app/view/change/apply.ejs

@@ -66,14 +66,14 @@
                 <table class="table table-bordered">
                     <thead>
                     <tr>
-                        <th width="20%" id="sort_change">变更申请编号</th><th width="10%">创建人</th>
-                        <th width="10%">创建时间</th><th width="10%">状态</th><th width="15%">立项编号</th>
-                        <th width="15%">变更通知书</th><th width="10%">通知书发出人</th><th width="10%">操作</th>
+                        <th width="15%" id="sort_change">变更申请编号</th><th width="20%">变更工程名称</th><th width="5%">创建人</th>
+                        <th width="10%">创建时间</th><th width="5%">状态</th><th width="15%">立项编号</th>
+                        <th width="10%">变更通知书</th><th width="10%">通知书发出人</th><th width="10%">操作</th>
                     </tr>
                     </thead>
                     <tbody id="changeList">
                     <% for (const c of changes) { %>
-                        <tr><td><a href="/tender/<%- tender.id %>/change/apply/<%- c.id %>/information"><%- c.code %></a></td>
+                        <tr><td><a href="/tender/<%- tender.id %>/change/apply/<%- c.id %>/information"><%- c.code %></a></td><td><%- c.name %></td>
                             <td><%- apply_username %></td><td><%- ctx.helper.formatFullDate(c.in_time) %></td>
                             <td><span class="<%- auditConst.statusClass[c.status] %>"><%- auditConst.statusString[c.status] %></span></td>
                             <td><%- c.project_code %></td>

+ 1 - 1
app/view/change/index.ejs

@@ -72,7 +72,7 @@
                 <table class="table table-bordered">
                     <thead>
                     <tr>
-                        <th width="20%" id="sort_change">申请编号/变更令号</th><th width="30%">工程名称</th>
+                        <th width="20%" id="sort_change">申请编号/变更令号</th><th width="30%">变更工程名称</th>
                         <th width="10%">变更性质</th><th width="10%">变更金额</th>
                         <th width="10%">审批状态</th><th width="15%">审批进度</th><th></th>
                     </tr>

+ 1 - 1
app/view/change/info_modal.ejs

@@ -1012,7 +1012,7 @@
             <div style="height: 300px; overflow: scroll; overflow-x: hidden;">
                 <table class="table table-bordered" >
                     <thead>
-                        <tr align="center"><th>申请编号/变更令号</th><th>工程名称</th><th>变更类别</th><th>变更金额</th><th>审批状态</th><th>选择</th></tr>
+                        <tr align="center"><th>申请编号/变更令号</th><th>变更工程名称</th><th>变更类别</th><th>变更金额</th><th>审批状态</th><th>选择</th></tr>
                     </thead>
                     <tbody >
                         <% othersChange.forEach(change => { %>

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

@@ -115,7 +115,7 @@
                                     <input class="form-control form-control-sm" name="code" value="<%- change.code %>" type="text">
                                 </div>
                                 <div class="form-group">
-                                    <label><b class="text-danger">*&nbsp;</b>工程名称</label>
+                                    <label><b class="text-danger">*&nbsp;</b>变更工程名称</label>
                                     <input class="form-control form-control-sm" name="name" value="<%- change.name %>" type="text">
                                 </div>
                                 <div class="form-group">
@@ -223,7 +223,7 @@
                                     </div>
                                 <% } %>
                                 <div class="form-group">
-                                    <label>工程名称</label>
+                                    <label>变更工程名称</label>
                                     <input class="form-control form-control-sm" value="<%- change.name %>" type="text" readonly>
                                 </div>
                                 <div class="form-group">

+ 1 - 1
app/view/change/information_modal.ejs

@@ -1085,7 +1085,7 @@
                 <div style="height: 300px; overflow: scroll; overflow-x: hidden;">
                     <table class="table table-bordered" >
                         <thead>
-                        <tr align="center"><th>申请编号/变更令号</th><th>工程名称</th><th>变更类别</th><th>变更金额</th><th>审批状态</th><th>选择</th></tr>
+                        <tr align="center"><th>申请编号/变更令号</th><th>变更工程名称</th><th>变更类别</th><th>变更金额</th><th>审批状态</th><th>选择</th></tr>
                         </thead>
                         <tbody >
                         <% othersChange.forEach(change => { %>

+ 1 - 1
app/view/change/modal.ejs

@@ -38,7 +38,7 @@
                     </div>
                 </div>
                 <div class="form-group">
-                    <label>工程名称<b class="text-danger">*</b></label>
+                    <label>变更工程名称<b class="text-danger">*</b></label>
                     <input class="form-control form-control-sm" value="" type="text" id="bj-name">
                     <div class="invalid-feedback" style="display: none" id="name_error_msg">名称超过100个字,请缩减名称。</div>
                 </div>

+ 1 - 1
app/view/change/project.ejs

@@ -66,7 +66,7 @@
                 <table class="table table-bordered">
                     <thead>
                     <tr>
-                        <th width="20%" id="sort_change">变更立项书编号</th><th width="30%">变更立项书名称</th>
+                        <th width="20%" id="sort_change">变更立项书编号</th><th width="30%">变更工程名称</th>
                         <th width="10%">发起人</th><th width="10%">发起类型</th><th width="10%">发起时间</th>
                         <th width="10%">状态</th><th width="10%">操作</th>
                     </tr>

+ 1 - 1
app/view/wap/shenpi_change.ejs

@@ -61,7 +61,7 @@
                         <input class="form-control form-control-sm" type="text" value="<%- change.p_code %>" readonly="">
                     </div>
                     <div class="form-group">
-                        <label>工程名称</label>
+                        <label>变更工程名称</label>
                         <input class="form-control form-control-sm" value="<%- change.name %>" type="text" readonly="">
                     </div>
                     <div class="form-group">