Commit 6b43d22e authored by youjie's avatar youjie

no message

parent 145b78d4
......@@ -130,6 +130,7 @@
newObj:{
handler(val, oldVal) {
if(val.EmpList.length>15){
this.numList = []
val.EmpList.forEach((item,x)=>{
if(x<15){
this.numList.push(item)
......
......@@ -148,6 +148,7 @@
newObj:{
handler(val, oldVal) {
if(val.EmpList.length>15){
this.numList = []
val.EmpList.forEach((item,x)=>{
if(x<15){
this.numList.push(item)
......
......@@ -86,7 +86,7 @@
</el-tag>
</template>
</div>
<div class="dataText-right" v-if="msg.FlowList.length>15">
<div class="dataText-right" v-if="msg.FlowList.length>23">
<i class="icon moreText"
:class="!moreSalesShow?'el-icon-arrow-down':'el-icon-arrow-up'"
@click="moreSalesShow=!moreSalesShow">
......@@ -115,7 +115,7 @@
</el-tag>
</template>
</div>
<div class="dataText-right" v-if="msg.SaleList.length>15">
<div class="dataText-right" v-if="msg.SaleList.length>23">
<i class="icon moreText"
:class="!moreDrainageShow?'el-icon-arrow-down':'el-icon-arrow-up'"
@click="moreDrainageShow=!moreDrainageShow">{{!moreDrainageShow?'更多':'收起'}}</i>
......@@ -161,10 +161,11 @@
watch:{
chooseObj:{
handler(val, oldVal) {
if(val.chooseType==1){
if(val.EmpList.length>15){
if(this.chooseObj.chooseType==1){
if(val.EmpList.length>23){
this.FlowList = []
val.EmpList.forEach((item,x)=>{
if(x<15){
if(x<23){
this.FlowList.push(item)
}
})
......@@ -172,9 +173,10 @@
this.moreSalesShow = true
}
}else{
if(val.EmpList.length>15){
if(val.EmpList.length>23){
this.SaleList = []
val.EmpList.forEach((item,x)=>{
if(x<15){
if(x<23){
this.SaleList.push(item)
}
})
......@@ -240,9 +242,9 @@
this.msg.Content = tempData.Content;
this.msg.Mask = tempData.Mask;
this.msg.FlowList = tempData.FlowList;
if(tempData.FlowList.length>15){
if(tempData.FlowList.length>23){
tempData.FlowList.forEach((item,x)=>{
if(x<15){
if(x<23){
this.FlowList.push(item)
}
})
......@@ -250,9 +252,9 @@
this.moreSalesShow = true
}
this.msg.SaleList = tempData.SaleList;
if(tempData.SaleList.length>15){
if(tempData.SaleList.length>23){
tempData.SaleList.forEach((item,x)=>{
if(x<15){
if(x<23){
this.SaleList.push(item)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment