|
@@ -8,7 +8,7 @@
|
|
|
<el-input v-model="searchOption.name" size="small" placeholder="请输入字段名称"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="" size="small" @click="getList">查询</el-button>
|
|
|
+ <el-button type="" size="small" @click="init">查询</el-button>
|
|
|
<el-button type="primary" size="small" @click="handleAdd">新增</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -208,6 +208,10 @@ export default {
|
|
|
mounted() {
|
|
|
},
|
|
|
methods: {
|
|
|
+ init(){
|
|
|
+ this.queryParams.current = 1
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
getStatus(value){
|
|
|
var obj = this.statusObj.find(item=>item.value == value)
|
|
|
if(obj){
|