|
|
@@ -29,37 +29,37 @@
|
|
|
<span v-else>{{tool.formatAmount(list.amount/10000,2)}}</span>
|
|
|
|
|
|
<p class="box-title" style="color: #929292" v-if="list.tbxsje > 0">
|
|
|
- <span v-if="param.content.dateType == '本年'">年同比</span>
|
|
|
+ <span v-if="param.content.dateType == '本年' || param.content.dateType == '去年'">年同比</span>
|
|
|
<span v-else-if="param.content.dateType == '本季'">季同比</span>
|
|
|
<span v-else-if="param.content.dateType == '本月'">月同比</span>
|
|
|
<i class="el-icon-caret-top" style="color: #2ad72a"></i><span class="box-size-color">{{Math.round((list.tbxsje * 100)*100)/100}}%</span>
|
|
|
</p>
|
|
|
<p class="box-title" style="color: #929292" v-if="list.tbxsje == 0">
|
|
|
- <span v-if="param.content.dateType == '本年'">年同比</span>
|
|
|
+ <span v-if="param.content.dateType == '本年' || param.content.dateType == '去年'">年同比</span>
|
|
|
<span v-else-if="param.content.dateType == '本季'">季同比</span>
|
|
|
<span v-else-if="param.content.dateType == '本月'">月同比</span>
|
|
|
<span class="box-size-color" style="margin-left: 10px">{{Math.round((list.tbxsje * 100)*100)/100}}%</span>
|
|
|
</p>
|
|
|
<p class="box-title" style="color: #929292" v-if="list.tbxsje < 0">
|
|
|
- <span v-if="param.content.dateType == '本年'">年同比</span>
|
|
|
+ <span v-if="param.content.dateType == '本年' || param.content.dateType == '去年'">年同比</span>
|
|
|
<span v-else-if="param.content.dateType == '本季'">季同比</span>
|
|
|
<span v-else-if="param.content.dateType == '本月'">月同比</span>
|
|
|
<i class="el-icon-caret-bottom" style="color: red"></i><span class="box-size-color">{{Math.round((list.tbxsje * 100)*100)/100}}%</span>
|
|
|
</p>
|
|
|
<p class="box-title" style="color: #929292" v-if="list.hbxsje > 0">
|
|
|
- <span v-if="param.content.dateType == '本年'">年环比</span>
|
|
|
+ <span v-if="param.content.dateType == '本年' || param.content.dateType == '去年'">年环比</span>
|
|
|
<span v-else-if="param.content.dateType == '本季'">季环比</span>
|
|
|
<span v-else-if="param.content.dateType == '本月'">月环比</span>
|
|
|
- <i class="el-icon-caret-bottom" style="color: #2ad72a"></i><span class="box-size-color">{{Math.round((list.hbxsje * 100)*100)/100}}%</span>
|
|
|
+ <i class="el-icon-caret-top" style="color: #2ad72a"></i><span class="box-size-color">{{Math.round((list.hbxsje * 100)*100)/100}}%</span>
|
|
|
</p>
|
|
|
<p class="box-title" style="color: #929292" v-if="list.hbxsje == 0">
|
|
|
- <span v-if="param.content.dateType == '本年'">年环比</span>
|
|
|
+ <span v-if="param.content.dateType == '本年' || param.content.dateType == '去年'">年环比</span>
|
|
|
<span v-else-if="param.content.dateType == '本季'">季环比</span>
|
|
|
<span v-else-if="param.content.dateType == '本月'">月环比</span>
|
|
|
<span class="box-size-color" style="margin-left: 10px">{{Math.round((list.hbxsje * 100)*100)/100}}%</span>
|
|
|
</p>
|
|
|
<p class="box-title" style="color: #929292" v-if="list.hbxsje < 0">
|
|
|
- <span v-if="param.content.dateType == '本年'">年环比</span>
|
|
|
+ <span v-if="param.content.dateType == '本年' || param.content.dateType == '去年'">年环比</span>
|
|
|
<span v-else-if="param.content.dateType == '本季'">季环比</span>
|
|
|
<span v-else-if="param.content.dateType == '本月'">月环比</span>
|
|
|
<i class="el-icon-caret-bottom" style="color: red"></i><span class="box-size-color">{{Math.round((list.hbxsje * 100)*100)/100}}%</span>
|
|
|
@@ -120,7 +120,7 @@ export default {
|
|
|
"content": {
|
|
|
"type": 1, // 0人员 1部门
|
|
|
"dataid": 103,
|
|
|
- "dateType":"本年",// 本年 本季 本月
|
|
|
+ "dateType":"去年",// 本年 本季 本月
|
|
|
"datatype":2,// 1-订单 2-出货 3-开票 4-回款
|
|
|
}
|
|
|
},
|