浏览代码

1. 甲供材料,页面调整
2. 甲供材料、奖罚金、其他,删除数据相关

MaiXinRong 5 年之前
父节点
当前提交
540fca67bc
共有 4 个文件被更改,包括 8 次插入8 次删除
  1. 1 1
      app/public/js/se_bonus.js
  2. 2 2
      app/public/js/se_jgcl.js
  3. 1 1
      app/public/js/se_other.js
  4. 4 4
      app/view/stage_extra/jgcl.ejs

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

@@ -212,7 +212,7 @@ $(document).ready(() => {
                     }
                 }
                 if (datas.length > 0) {
-                    postData(window.location.pathname + '/update', {updateType: 'update', updateData: datas}, function (result) {
+                    postData(window.location.pathname + '/update', {update: datas}, function (result) {
                         bonusObj.loadUpdateData(result);
                         SpreadJsObj.reLoadSheetData(bonusSheet);
                     }, function () {

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

@@ -126,7 +126,7 @@ $(document).ready(() => {
         const sum = jgclObj.sum();
         const html = [];
         const getTrHtml = function (name, value) {
-            return '<tr><td>' + name + '</td><td class="text-right">' + value + '</td></tr>';
+            return '<tr><td>' + name + '</td><td class="text-right">' + value + ' </td></tr>';
         };
         html.push(getTrHtml('本期到场', sum.arrive_tp));
         html.push(getTrHtml('截止本期到场', sum.end_arrive_tp));
@@ -183,7 +183,7 @@ $(document).ready(() => {
                     }
                 }
                 if (datas.length > 0) {
-                    postData(window.location.pathname + '/update', {updateType: 'update', updateData: datas}, function (result) {
+                    postData(window.location.pathname + '/update', {update: datas}, function (result) {
                         jgclObj.loadUpdateData(result);
                         SpreadJsObj.reLoadSheetData(jgclSheet);
                         refreshSum();

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

@@ -202,7 +202,7 @@ $(document).ready(() => {
                     }
                 }
                 if (datas.length > 0) {
-                    postData(window.location.pathname + '/update', {updateType: 'update', updateData: datas}, function (result) {
+                    postData(window.location.pathname + '/update', {update: datas}, function (result) {
                         seOtherObj.loadUpdateData(result);
                         SpreadJsObj.reLoadSheetData(otherSheet);
                     }, function () {

+ 4 - 4
app/view/stage_extra/jgcl.ejs

@@ -14,13 +14,13 @@
     <div class="content-wrap">
         <div class="c-header p-0"></div>
         <div class="w-100 sub-content row">
-            <div class="c-body col-8">
+            <div class="c-body col-9">
                 <div class="sjs-height-0" id="jgcl-spread">
                 </div>
             </div>
-            <div class="c-body col-4">
-                <table class="table table-bordered">
-                    <tr><th class="text-center" width="50%">名称</th><th class="text-center">金额</th></tr>
+            <div class="c-body col-3">
+                <table class="table table-bordered" style="width: 99%">
+                    <tr><th class="text-center" width="66.6%">名称</th><th class="text-center">金额</th></tr>
                     <tbody id="sum">
                     </tbody>
                 </table>