Browse Source

增加按众包任务查询

master
陈裕财 5 years ago
parent
commit
2e38b92cde
  1. 5
      src/views/xm/core/xmTask/XmTaskMng.vue

5
src/views/xm/core/xmTask/XmTaskMng.vue

@ -25,6 +25,7 @@
<el-option class="showall" value="all" label="全部类型">全部类型</el-option> <el-option class="showall" value="all" label="全部类型">全部类型</el-option>
<el-option v-for="(i,index) in options.taskType" :value="i.optionValue" :label="i.optionName" :key="index">{{i.optionName}}</el-option> <el-option v-for="(i,index) in options.taskType" :value="i.optionValue" :label="i.optionName" :key="index">{{i.optionName}}</el-option>
</el-select> </el-select>
<el-checkbox v-model="filters.taskOut">众包</el-checkbox>
<el-button class="hidden-md-and-down" v-if=" !filters.skillTags || filters.skillTags.length==0" icon="el-icon-search" @click="showSkillSelect">选择标签</el-button> <el-button class="hidden-md-and-down" v-if=" !filters.skillTags || filters.skillTags.length==0" icon="el-icon-search" @click="showSkillSelect">选择标签</el-button>
<el-tag closable v-for=" (skill,index) in filters.skillTags" :key="index" @click="showSkillSelect" @close="skillTagClear(skill)">{{skill.skillName}}</el-tag> <el-tag closable v-for=" (skill,index) in filters.skillTags" :key="index" @click="showSkillSelect" @close="skillTagClear(skill)">{{skill.skillName}}</el-tag>
<div style=" float:right;margin-right:10px;"> <div style=" float:right;margin-right:10px;">
@ -564,6 +565,7 @@ import XmProjectGroupSelect from '../xmProjectGroup/XmProjectGroupSelect.vue';
isMyTask: '0',//01 isMyTask: '0',//01
selProject:null, selProject:null,
skillTags:[], skillTags:[],
taskOut:'1',//10//
menus:[], menus:[],
createUserid:'',// createUserid:'',//
executorUserid:''// executorUserid:''//
@ -750,6 +752,9 @@ import XmProjectGroupSelect from '../xmProjectGroup/XmProjectGroupSelect.vue';
if(this.filters.key){ if(this.filters.key){
params.key='%'+this.filters.key+'%' params.key='%'+this.filters.key+'%'
} }
if(this.filters.taskOut){
params.taskOut=this.filters.taskOut
}
if(this.filters.createUserid){ if(this.filters.createUserid){
params.createUserid=this.filters.createUserid params.createUserid=this.filters.createUserid
} }

Loading…
Cancel
Save