From 3536050491417982763e2f2f9d7c0d9982e16360 Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期二, 13 九月 2022 16:30:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/zypms' into zypms
---
src/main/webapp/static/js/tableData3.js | 48 ++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 44 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/static/js/tableData3.js b/src/main/webapp/static/js/tableData3.js
index cb694e3..48187ad 100644
--- a/src/main/webapp/static/js/tableData3.js
+++ b/src/main/webapp/static/js/tableData3.js
@@ -16,9 +16,9 @@
success: function (res) {
if (res.code === 200) {
var str = '<tr>'
- + '<th>' + '椤圭洰鎬绘暟' + '</th>' + '<th>' + res.data.totalQuantity + '</th>'
- + '<th>' + '闆嗘垚椤圭洰' + '</th>' + '<th>' + res.data.intoSum + '</th>'
- + '<th>' + '闈為泦鎴愰」鐩暟' + '</th>' + '<th>' + res.data.wrongInto + '</th>'
+ //+ '<th>' + '椤圭洰鎬绘暟' + '</th>' + '<th>' + res.data.totalQuantity + '</th>'
+ + '<th>' + '闆嗘垚椤圭洰鏁�' + '</th>' + '<th>' + res.data.intoSum + '</th>'
+ //+ '<th>' + '闈為泦鎴愰」鐩暟' + '</th>' + '<th>' + res.data.wrongInto + '</th>'
+ '<th>' + '宸查獙鏀堕」鐩暟' + '</th>' + '<th>' + res.data.inspected + '</th>'
+ '<th>' + '鏈獙鏀堕」鐩暟' + '</th>' + '<th>' + res.data.wrongInspected + '</th>'
+ '<th>' + '宸插畬宸ユ湭楠屾敹鏁�' + '</th>' + '<th>' + res.data.finished + '</th>'
@@ -82,10 +82,50 @@
data: {},
success: function (res) {
if (res.code == 200) {
- console.log(res)
data = res.data
+ switch (data.length) {
+ case 0:
+ $("#emptyDiv").attr("style", "height:608px")
+ break;
+ case 1:
+ $("#emptyDiv").attr("style", "height:557px")
+ break;
+ case 2:
+ $("#emptyDiv").attr("style", "height:506px")
+ break;
+ case 3:
+ $("#emptyDiv").attr("style", "height:455px")
+ break;
+ case 4:
+ $("#emptyDiv").attr("style", "height:404px")
+ break;
+ case 5:
+ $("#emptyDiv").attr("style", "height:353px")
+ break;
+ case 6:
+ $("#emptyDiv").attr("style", "height:302px")
+ break;
+ case 7:
+ $("#emptyDiv").attr("style", "height:251px")
+ break;
+ case 8:
+ $("#emptyDiv").attr("style", "height:200px")
+ break;
+ case 9:
+ $("#emptyDiv").attr("style", "height:150px")
+ break;
+ case 10:
+ $("#emptyDiv").attr("style", "height:100px")
+ break;
+ case 11:
+ $("#emptyDiv").attr("style", "height:49px")
+ break;
+ default:
+ $("#emptyDiv").attr("style", "height:80px")
+ }
// 鍒ゆ柇鏃堕棿鏄惁鏈塶ull 鏈塶ull鐨勬敼涓� ""
for (var i = 0; i < data.length; i++) {
+ console.log(data.length)
var dataNode = data[i].projectPlans
for (var j = 0; j < dataNode.length; j++) {
var dataNull = dataNode[j]
--
Gitblit v1.9.1