|
@@ -16,6 +16,13 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
+ <div class="inline-16">
|
|
|
+ <p class="search__label">领域:</p>
|
|
|
+ <el-select v-model="tradefield" clearable style="margin-right:10px" size="small" placeholder="请选择领域" @change="dataParam.content.where.tradefield = tradefield;projectParam.content.where.tradefield = tradefield;getProportionOfFileModel()">
|
|
|
+ <el-option v-for="item in tradefields" :label="item.value" :key="item.rowindex" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
<div class="inline-16" style="margin-top:0px;margin-bottom: 20px">
|
|
|
<el-button-group>
|
|
|
<el-button size="small" :type="dataParam.content.dateType==1?'primary':''" @click="dataChange(1)" >近一年</el-button>
|
|
@@ -219,7 +226,8 @@ export default {
|
|
|
"begindate": "",
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
- "departmentid":""
|
|
|
+ "departmentid":"",
|
|
|
+ "tradefield":""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -235,10 +243,13 @@ export default {
|
|
|
"where": {
|
|
|
"begdate":"",
|
|
|
"enddate":"",
|
|
|
+ "tradefield":""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- dateSelect:[]
|
|
|
+ dateSelect:[],
|
|
|
+ tradefield:'',
|
|
|
+ tradefields:[],
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -779,11 +790,17 @@ export default {
|
|
|
this.projectParam.content.pageNumber = val
|
|
|
this.getProjectList()
|
|
|
},
|
|
|
+ /*获取领域*/
|
|
|
+ async queryTradeField(){
|
|
|
+ const res = await this.$store.dispatch('optiontypeselect','tradefield')
|
|
|
+ this.tradefields = res.data
|
|
|
+ }
|
|
|
},
|
|
|
mounted () {
|
|
|
/* this.renderPie()*/
|
|
|
this.departmentrtment()
|
|
|
this.dateSet(1)
|
|
|
+ this.queryTradeField()
|
|
|
},
|
|
|
created() {
|
|
|
this.tablecols = this.tool.tabelCol(this.$route.name).projectTable.tablecols
|