|
|
@@ -97,6 +97,10 @@
|
|
|
v-if="showAll || showComponents[11]" :data = "gethechaObjNum()"/>
|
|
|
<s11biaoZhunWu :width="static=='row' ? '33%': '100%'"
|
|
|
v-if="showAll || showComponents[15]" :data = "getbiaozhunObjNum()"/>
|
|
|
+ <s16bzJunZhu :width="static=='row' ? '33%': '100%'"
|
|
|
+ v-if="showAll || showComponents[20]" :data = "getbzJunZhujNum()"/>
|
|
|
+ <s17bzXiBao :width="static=='row' ? '33%': '100%'"
|
|
|
+ v-if="showAll || showComponents[21]" :data = "getbzXiBaoObjNum()"/>
|
|
|
<!-- <div class="clear"></div>
|
|
|
|
|
|
</div>
|
|
|
@@ -152,11 +156,14 @@
|
|
|
import s12fengXian from './item/s12fengXian.vue'
|
|
|
import s13shengWu from './item/s13shengWu.vue'
|
|
|
import s14bufuhexiang from './item/s14bufuhexiang.vue'
|
|
|
+ import s15tousu from './item/s15tousu.vue'
|
|
|
+ import s16bzJunZhu from './item/s16bzJunZhu.vue'
|
|
|
+ import s17bzXiBao from './item/s17bzXiBao.vue'
|
|
|
|
|
|
|
|
|
import none from './item/none.vue'
|
|
|
|
|
|
- import { DBData ,getConfig,getJiaoYanObj, gethechaObj, getnengliObj, getbiaozhunObj} from './js/selectDB.js'
|
|
|
+ import { DBData ,getConfig,getJiaoYanObj, gethechaObj, getnengliObj, getbiaozhunObj,getbiaozhunTObj,getbzJunZhuObj,getbzJunZhuTObj,getbzXiBaoObj,getbzXiBaoTObj} from './js/selectDB.js'
|
|
|
import sendDatas from './sendDatas.js'
|
|
|
import repostCurd from '@/business/platform/form/utils/custom/joinCURD.js'
|
|
|
export default {
|
|
|
@@ -180,7 +187,10 @@
|
|
|
s11biaoZhunWu,
|
|
|
s12fengXian,
|
|
|
s13shengWu,
|
|
|
- s14bufuhexiang
|
|
|
+ s14bufuhexiang,
|
|
|
+ s15tousu,
|
|
|
+ s16bzJunZhu,
|
|
|
+ s17bzXiBao
|
|
|
},
|
|
|
props:{
|
|
|
shows:{ //传入的内容显示序号
|
|
|
@@ -217,6 +227,11 @@
|
|
|
hechaObj:[],
|
|
|
nengliObj:[],
|
|
|
biaozhunObj:[],
|
|
|
+ biaozhunTObj:[],
|
|
|
+ bzJunZhuObj:[],
|
|
|
+ bzJunZhuTObj:[],
|
|
|
+ bzXiBaoObj:[],
|
|
|
+ bzXiBaoTObj:[],
|
|
|
relData: {},
|
|
|
relOf: false,
|
|
|
selectEnd: '',
|
|
|
@@ -273,7 +288,41 @@
|
|
|
this.biaozhunObj = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
// this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
// console.log(this.biaozhunObj,'8888')
|
|
|
- this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ repostCurd('sql', getbiaozhunTObj(end)).then(response => {
|
|
|
+ this.biaozhunTObj = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ // console.log(this.biaozhunTObj,'8888')
|
|
|
+ this.getbzJunZhuObjData(this.endDate)
|
|
|
+ })
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getbzJunZhuObjData(end) {
|
|
|
+ repostCurd('sql', getbzJunZhuObj(end)).then(response => {
|
|
|
+ this.bzJunZhuObj = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ // console.log(this.biaozhunObj,'8888')
|
|
|
+ repostCurd('sql', getbzJunZhuTObj(end)).then(response => {
|
|
|
+ this.bzJunZhuTObj = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ // console.log(this.biaozhunTObj,'8888')
|
|
|
+ this.getbzXiBaoObjData(this.endDate)
|
|
|
+ })
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getbzXiBaoObjData(end) {
|
|
|
+ repostCurd('sql', getbzXiBaoObj(end)).then(response => {
|
|
|
+ this.bzXiBaoObj = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ // console.log(this.biaozhunObj,'8888')
|
|
|
+ repostCurd('sql', getbzXiBaoTObj(end)).then(response => {
|
|
|
+ this.bzXiBaoTObj = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ // console.log(this.biaozhunTObj,'8888')
|
|
|
+ this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
+ })
|
|
|
+ // this.getData(this.BeginDate, this.endDate, true, this.dataScope)
|
|
|
})
|
|
|
},
|
|
|
/* 通过拼接的sql进行查询全部数据*/
|
|
|
@@ -343,7 +392,7 @@
|
|
|
// }
|
|
|
// }
|
|
|
if (Number(year) > Number(this.getDate(0))) {
|
|
|
- console.log(data,'3y87sdvfsdf')
|
|
|
+ // console.log(data,'3y87sdvfsdf')
|
|
|
data == 'end' ?
|
|
|
this.endDate = this.getDate(0) + '' :
|
|
|
this.BeginDate = this.getDate(0) + ''
|
|
|
@@ -367,9 +416,9 @@
|
|
|
let nowDate = new Date();
|
|
|
return nowDate.getFullYear() - year;
|
|
|
},
|
|
|
- allView(){
|
|
|
- screenfull.request() //默认显示全屏
|
|
|
- },
|
|
|
+ // allView(){
|
|
|
+ // screenfull.request() //默认显示全屏
|
|
|
+ // },
|
|
|
goBack(){
|
|
|
this.$router.back(-1)
|
|
|
}
|
|
|
@@ -442,7 +491,7 @@
|
|
|
margin: 1% 0;
|
|
|
}
|
|
|
.screen{
|
|
|
- height: 90%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
.clear{ clear: both; }
|
|
|
</style>
|