|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
<span>/ 队伍建设 /</span>
|
|
|
|
|
<div class="select-top-style">
|
|
|
|
|
<span v-for="item,index in stageList" :key="'stage-item-'+index"
|
|
|
|
|
:class="'select-item-style border-right-style' + (selectType === item.STAGE_ID?' select-style':'')"
|
|
|
|
|
@click="typeChange(item.STAGE_ID)">{{item.stage_name}}</span>
|
|
|
|
|
:class="'select-item-style border-right-style' + (selectType === item.stage_id?' select-style':'')"
|
|
|
|
|
@click="typeChange(item.stage_id)">{{item.stage_name}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-style">
|
|
|
|
@ -40,6 +40,7 @@
|
|
|
|
|
* */
|
|
|
|
|
import LoginBox from '../../homePages/login/loginBox.vue';
|
|
|
|
|
import {Icon, Empty} from 'ant-design-vue';
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
@ -82,6 +83,7 @@
|
|
|
|
|
"query_id": "query_jiaoshi_duiwu2",
|
|
|
|
|
"query_param": [
|
|
|
|
|
this.BaseConfig.person_info_my.bureau_id + ""
|
|
|
|
|
// "900008135",
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"query_cache": 0,
|
|
|
|
@ -99,7 +101,7 @@
|
|
|
|
|
let dataList = JSON.parse(res);
|
|
|
|
|
if (dataList && dataList.length > 0) {
|
|
|
|
|
this.stageList.push(...dataList);
|
|
|
|
|
this.selectType = dataList[0].STAGE_ID;
|
|
|
|
|
this.selectType = dataList[0].stage_id;
|
|
|
|
|
this.getTeamBuilding();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -108,17 +110,25 @@
|
|
|
|
|
},
|
|
|
|
|
getTeamBuilding: function () {
|
|
|
|
|
let stageName = "";
|
|
|
|
|
for (let i = 0, len = this.stageList.length; i < len; i++) {
|
|
|
|
|
if (parseInt(this.selectType) === parseInt(this.stageList[i].STAGE_ID)) {
|
|
|
|
|
stageName = this.stageList[i]["stage_name"];
|
|
|
|
|
}
|
|
|
|
|
this.stageList.forEach(item => {
|
|
|
|
|
if (this.selectType == item.stage_id) {
|
|
|
|
|
stageName = item.stage_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
// for (let i = 0, len = this.stageList.length; i < len; i++) {
|
|
|
|
|
// if (parseInt(this.selectType) === parseInt(this.stageList[i].STAGE_ID)) {
|
|
|
|
|
// stageName = this.stageList[i].stage_name;
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
let param = {
|
|
|
|
|
"access_token": "system_01##20200102030405##a6ce11eab94df48a6ce11eab",
|
|
|
|
|
"query": {
|
|
|
|
|
"query_id": "query_jiaoshi_duiwu",
|
|
|
|
|
"query_param": [
|
|
|
|
|
this.BaseConfig.person_info_my.bureau_id + "",
|
|
|
|
|
// "900008135",
|
|
|
|
|
stageName + ""
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|