kun 19/10/9/21:58

This commit is contained in:
沈学坤
2019-10-09 21:57:13 +08:00
parent 8b2b683ca4
commit 47b35b28a2
19 changed files with 703 additions and 517 deletions

View File

@@ -52,6 +52,11 @@
<option :key="index" :value="index">{{type}}</option>
</template>
</select>
<select class="two" name="type">
<template v-for="(type,index) in bgValue.type">
<option :key="index" :value="index">{{type}}</option>
</template>
</select>
<select class="three" name="area">
<template v-for="(area,index) in bgValue.area">
<option :key="index" :value="index">{{area}}</option>
@@ -73,7 +78,7 @@
<!-- 主题内容 -->
<div class="cc">
<template v-for="(item,index) in bgData.info">
<div class="list" :key="index" @click="$jump('schedule')">
<div class="list" :key="index" @click="$jParams('schedule',{id:item.id})">
<div class="div">
<div class="bb">
<h3>{{item.name}}</h3>
@@ -148,7 +153,8 @@ export default {
shz: require("../../../static/img/shz.png"),
zxz: require("../../../static/img/zxz.png")
},
text: ["全部", "项目初筛", "项目立项"],
// text: ["全部", "项目初筛", "项目立项"],
text: ["全部"],
sub: 0,
bgData: [],
bgValue: []
@@ -199,6 +205,7 @@ export default {
console.log(err)
})
},
/*
getDataThree() {
let _this = this
this.$http({
@@ -245,10 +252,13 @@ export default {
console.log(err)
})
},
*/
btn(index) {
let s = this.sub;
s = index;
this.sub = s;
/*
switch (this.sub) {
case 0:
this.getDataTwo();
@@ -259,10 +269,8 @@ export default {
case 2:
this.getDataFour();
break;
default:
break;
}
*/
},
handleSizeChange(val) {
this.pageNum = val;
@@ -270,6 +278,7 @@ export default {
},
handleCurrentChange(val) {
this.currentPage = val;
/*
switch (this.sub) {
case 0:
this.getDataTwo();
@@ -280,11 +289,9 @@ export default {
case 2:
this.getDataFour();
break;
default:
break;
}
*/
this.getDataTwo();
this.getPackData();
},
getPackData() { }