|
@@ -141,7 +141,8 @@
|
|
<div>
|
|
<div>
|
|
<div>
|
|
<div>
|
|
<el-button style="font-size: 16px;" v-if="$store.state.userInfo.type == 0 || $store.state.userInfo.type == 3" size="mini" :type="!isPromotion?'primary':''" @click="selectAll">全部</el-button>
|
|
<el-button style="font-size: 16px;" v-if="$store.state.userInfo.type == 0 || $store.state.userInfo.type == 3" size="mini" :type="!isPromotion?'primary':''" @click="selectAll">全部</el-button>
|
|
- <el-button style="font-size: 16px;" v-if="$store.state.userInfo.type == 0 || $store.state.userInfo.type == 3" size="mini" :type="isPromotion?'primary':''" @click="selectPromotion">2024年立项项目</el-button>
|
|
|
|
|
|
+ <el-button style="font-size: 16px;" v-if="$store.state.userInfo.type == 0 || $store.state.userInfo.type == 3" size="mini" :type="isPromotion == '2024'?'primary':''" @click="selectPromotion('2024')">2024年立项项目</el-button>
|
|
|
|
+ <el-button style="font-size: 16px;" v-if="$store.state.userInfo.type == 0 || $store.state.userInfo.type == 3" size="mini" :type="isPromotion == '2025'?'primary':''" @click="selectPromotion('2025')">2025年立项项目</el-button>
|
|
<span style="font-size: 12px; margin-left: 10px"
|
|
<span style="font-size: 12px; margin-left: 10px"
|
|
>共 {{ table.total }} 条</span
|
|
>共 {{ table.total }} 条</span
|
|
>
|
|
>
|
|
@@ -673,9 +674,10 @@ export default {
|
|
this.isPromotion = '';
|
|
this.isPromotion = '';
|
|
this.getData()
|
|
this.getData()
|
|
},
|
|
},
|
|
- selectPromotion() {
|
|
|
|
|
|
+ selectPromotion(newValue) {
|
|
console.log("晋级");
|
|
console.log("晋级");
|
|
- this.isPromotion = 1;
|
|
|
|
|
|
+ this.isPromotion = newValue;
|
|
|
|
+ // this.selectInp.year = newValue;
|
|
this.getData()
|
|
this.getData()
|
|
},
|
|
},
|
|
|
|
|