From dc1226c67b9b34b602254ed3ca3de0e5b272cffa Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 22 九月 2022 17:49:06 +0800
Subject: [PATCH] 1.不良明细报表、品质异常排行报表、维修明细报表开发完成
---
src/views/kb/bzcj.vue | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/src/views/kb/bzcj.vue b/src/views/kb/bzcj.vue
index ff32861..d1d1072 100644
--- a/src/views/kb/bzcj.vue
+++ b/src/views/kb/bzcj.vue
@@ -22,7 +22,7 @@
<div class="kb_left_top_title01 kb_title_text">
<!-- <div class="PG01" />-->
<!-- <svg-icon icon-class="sccx" />-->
- 浜х嚎鍔犲伐涓换鍔�
+ 浜х嚎鍔犲伐涓换鍔� <div style="margin-left: 30px">{{ number1 }} 鍗�</div>
</div>
<div class="kb_left_top kb_pd10">
@@ -101,7 +101,7 @@
<!-- 2-->
<div class="kb_left_bottom kb_pd10">
<div class="kb_left_bottom_content">
- <div class="content_head kb_title_text">浜х嚎鍔犲伐浠诲姟</div>
+ <div class="content_head kb_title_text">浜х嚎鍔犲伐浠诲姟 <div style="margin-left: 30px">{{ number2 }} 鍗�</div></div>
<div class="content_body">
<el-table
ref="tableData"
@@ -308,8 +308,7 @@
LineSearchBottomLeftData,
LineSearchBottomRightData,
LineSearchTopLeftData,
- LineSearchTopRightData, ShopSearch,
- ShopSearchLine, WkspReportNotice
+ LineSearchTopRightData, ShopSearch, WkspReportNotice
} from '@/api/dzkb'
import MarqueeTips from 'vue-marquee-tips'
@@ -331,6 +330,9 @@
lineCodeArr: [],
ShopArr: ['CJ003'], // 杞﹂棿缂栫爜鏁扮粍
+
+ number1: '',
+ number2: '',
MarqueeTipsContent: '', // 鍏憡
speed: 100// 鍏憡鎾斁鐨勯�熷害
@@ -406,6 +408,8 @@
length = this.lineContent.length
count = Math.ceil(length / 3) // 闇�瑕佽疆鎾殑缁勬暟 3涓负涓�缁�
this.lineContent3 = this.lineContent.slice(0, 3)
+
+ this.number1 = this.lineContent.length
})
let start = 0
@@ -417,6 +421,8 @@
length = this.lineContent.length
count = Math.ceil(length / 3) // 闇�瑕佽疆鎾殑缁勬暟 3涓负涓�缁�
this.lineContent3 = this.lineContent.slice(0, 3)
+
+ this.number1 = this.lineContent.length
})
} else if (count === 0) {
clearInterval(task)
@@ -431,6 +437,7 @@
getTableDataRoll() {
LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
this.tableData = res.data
+ this.number2 = this.tableData.length
const divData = this.$refs.tableData.bodyWrapper
// 鎷垮埌鍏冪礌鍚庯紝瀵瑰厓绱犺繘琛屽畾鏃跺鍔犺窛绂婚《閮ㄨ窛绂伙紝瀹炵幇婊氬姩鏁堟灉(姝ら厤缃负姣�100姣绉诲姩1鍍忕礌)
@@ -444,6 +451,7 @@
divData.scrollTop = 0
LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
this.tableData = res.data
+ this.number2 = this.tableData.length
if (this.tableData.length > 10) {
clearInterval(task)
this.getTableDataRoll()
@@ -689,6 +697,7 @@
flex-direction: column;
.content_head {
+ display: flex;
line-height: 20px;
margin-bottom: 10px;
margin-top: -10px;
--
Gitblit v1.9.3