Jianghan преди 3 години
родител
ревизия
b983c4d77e
променени са 2 файла, в които са добавени 3 реда и са изтрити 4 реда
  1. 1 0
      src/web/templates/project/project_clear.html
  2. 2 4
      src/web/templates/project/project_list.html

+ 1 - 0
src/web/templates/project/project_clear.html

@@ -332,6 +332,7 @@
             }
             arr.push(tmp)
         })
+        console.log(arr)
         $.ajax({
             url: "/front/project/task/save",
             type: 'POST',

+ 2 - 4
src/web/templates/project/project_list.html

@@ -45,7 +45,6 @@
                                 <th>售后人员</th>
                                 <th>数据量</th>
                                 <th>项目状态</th>
-                                <th>完成进度</th>
                                 <th>项目时间</th>
                                 <th>操作</th>
                             </tr>
@@ -278,7 +277,6 @@
                 {"data": "s_personname", width: "4%", "defaultContent": ""},
                 {"data": "i_importnum", width: "4%"},
                 {"data": "s_status", width: "4%"},
-                {"data": null, width: "4%"},
                 {
                     "data": "_id", width: "4%", render: function (val, a, row) {
                         let str = ""
@@ -480,10 +478,10 @@
             $.ajax({
                 url: "/front/project/qualityAssessment",
                 type: 'POST',
-                data: {"pid": tmp._id},
+                data: {"pid": tmp["_id"]},
                 success: function (r) {
                     if (r.success) {
-                        window.location.href="/front/project/task/list?pid=" + val
+                        window.location.href="/front/project/task/list?pid=" + tmp["_id"]
                     } else {
                         showTip(r.msg);
                     }