|
@@ -2,9 +2,25 @@
|
|
<div class="page">
|
|
<div class="page">
|
|
<el-form size="small" :inline="true" class="query-form" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
|
|
<el-form size="small" :inline="true" class="query-form" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
|
|
<!-- 搜索框-->
|
|
<!-- 搜索框-->
|
|
- <el-form-item prop="name">
|
|
|
|
- <el-input size="small" v-model="searchForm.name" placeholder="职层名称" clearable></el-input>
|
|
|
|
|
|
+ <el-form-item prop="rankName">
|
|
|
|
+ <el-input size="small" v-model="searchForm.rankName" placeholder="职级名称" clearable></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <!--<el-form-item prop="name">
|
|
|
|
+ <el-input size="small" v-model="searchForm.sequenceChildName" placeholder="子序列名称" clearable></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item prop="rankRstLevelDTO.id" :rules="[]">
|
|
|
|
+ <el-select v-model="searchForm.rankRstLevelDTO.id" style="width:100%" placeholder="请选择职层名称">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="rankLevel in rankLevelList"
|
|
|
|
+ :key="rankLevel.id"
|
|
|
|
+ :label="rankLevel.name"
|
|
|
|
+ :value="rankLevel.id">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item prop="name">
|
|
|
|
+ <el-input size="small" v-model="searchForm.rankName" placeholder="职级名称" clearable></el-input>
|
|
|
|
+ </el-form-item>-->
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" @click="refreshList()" size="small" icon="el-icon-search">查询</el-button>
|
|
<el-button type="primary" @click="refreshList()" size="small" icon="el-icon-search">查询</el-button>
|
|
<el-button @click="resetSearch()" size="small" icon="el-icon-refresh-right">重置</el-button>
|
|
<el-button @click="resetSearch()" size="small" icon="el-icon-refresh-right">重置</el-button>
|
|
@@ -97,6 +113,7 @@
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
searchForm: {
|
|
searchForm: {
|
|
|
|
+ rankName: ''
|
|
},
|
|
},
|
|
dataList: [],
|
|
dataList: [],
|
|
tablePage: {
|
|
tablePage: {
|
|
@@ -106,7 +123,8 @@
|
|
orders: []
|
|
orders: []
|
|
},
|
|
},
|
|
loading: false,
|
|
loading: false,
|
|
- isShowC: false
|
|
|
|
|
|
+ isShowC: false,
|
|
|
|
+ rankLevelList: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
rankSystemTableService: null,
|
|
rankSystemTableService: null,
|
|
@@ -183,6 +201,11 @@
|
|
resetSearch () {
|
|
resetSearch () {
|
|
this.$refs.searchForm.resetFields()
|
|
this.$refs.searchForm.resetFields()
|
|
this.refreshList()
|
|
this.refreshList()
|
|
|
|
+ },
|
|
|
|
+ queryAllRankLevel () {
|
|
|
|
+ this.rankSystemTableService.queryAllRankLevel().then(({data}) => {
|
|
|
|
+ this.rankLevelList = JSON.parse(JSON.stringify(data))
|
|
|
|
+ })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|