| | |
| | | <el-form-item label="工号" prop="code"> |
| | | <el-input v-model="searchForm.code" style="width: 150px" placeholder="请输入工号" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="战区" prop="fieldIdList"> |
| | | <el-form-item label="战区" prop="zhanquIds"> |
| | | <el-select |
| | | v-model="searchForm.fieldIdList" |
| | | v-model="searchForm.zhanquIds" |
| | | style="width: 150px" |
| | | placeholder="战区" |
| | | clearable |
| | | multiple |
| | | @change="search" |
| | | > |
| | | <el-option |
| | |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="商业化类型" prop="busTypeIdList"> |
| | | <el-form-item label="商业化类型" prop="bustypeIds"> |
| | | <el-select |
| | | v-model="searchForm.busTypeIdList" |
| | | v-model="searchForm.bustypeIds" |
| | | style="width: 150px" |
| | | placeholder="商业化类型" |
| | | clearable |
| | | multiple |
| | | @change="search" |
| | | > |
| | | <el-option |
| | |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="擅长领域" prop="levelIdList"> |
| | | <el-form-item label="擅长领域" prop="fieldIdList"> |
| | | <el-select |
| | | v-model="searchForm.levelIdList" |
| | | v-model="searchForm.fieldIdList" |
| | | style="width: 150px" |
| | | placeholder="擅长领域" |
| | | clearable |
| | |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="老师等级" prop="levelIdList"> |
| | | <el-form-item label="老师等级" prop="levelId"> |
| | | <el-select |
| | | v-model="searchForm.levelIdList" |
| | | v-model="searchForm.levelId" |
| | | style="width: 150px" |
| | | placeholder="老师等级" |
| | | clearable |
| | | multiple |
| | | @change="search" |
| | | > |
| | | <el-option |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="caseNum" label="标杆案例" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.caseNum">{{row.caseNum}}个</span> |
| | | <span >{{row.caseNum || 0}}个</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="busTypeNames" label="商业化类型" min-width="200px"></el-table-column> |
| | | <el-table-column prop="areaNames" label="服务战区" min-width="200px"></el-table-column> |
| | | <el-table-column prop="fieldNames" label="擅长领域" min-width="200px"></el-table-column> |
| | | <el-table-column prop="busTypeNames" label="商业化类型" min-width="200px"> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.typeList && row.typeList.length"> |
| | | <div style="display:inline-block;" v-for="(item,index) in row.typeList">{{item.name||''}} <span v-if="index < row.typeList.length-1" style="display:inline-block;padding: 0px 3px;">/</span></div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="areaNames" label="服务战区" min-width="200px"> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.zqList && row.zqList.length"> |
| | | <div style="display:inline-block;" v-for="(item,index) in row.zqList">{{item.name||''}} <span v-if="index < row.zqList.length-1" style="display:inline-block;padding: 0px 3px;">/</span></div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="fieldNames" label="擅长领域" min-width="200px"> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.fieldList && row.fieldList.length"> |
| | | <div style="display:inline-block;" v-for="(item,index) in row.fieldList">{{item.name||''}} <span v-if="index < row.fieldList.length-1" style="display:inline-block;padding: 0px 3px;">/</span></div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="状态"> |
| | | <template slot-scope="{row}"> |
| | | <el-switch @change="changeStatus($event, row)" v-model="row.status" active-color="#13ce66" |
| | |
| | | // 搜索 |
| | | searchForm: { |
| | | name: '', |
| | | queryFlag:1, |
| | | code: '', |
| | | status: null, |
| | | levelIdList:[], |
| | | levelId:null, |
| | | fieldIdList: [], |
| | | busTypeIdList:[], |
| | | zhanquIds:null, |
| | | bustypeIds:null, |
| | | type: 0 |
| | | }, |
| | | cateList:[], |