|
@@ -27,7 +27,7 @@
|
|
|
<el-input v-model="queryParams.name" placeholder="请输入模板名称" size="small"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="" size="small" @click="getTemplateList">查询</el-button>
|
|
|
+ <el-button type="" size="small" @click="getTemplateList1">查询</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<el-table ref="multipleTable" border :data="templateList" header-row-class-name="custom-table-header" v-loading="loading2">
|
|
@@ -247,6 +247,10 @@ export default {
|
|
|
this.showList = true
|
|
|
})
|
|
|
},
|
|
|
+ getTemplateList1(){
|
|
|
+ this.queryParams.current = 1
|
|
|
+ this.getTemplateList()
|
|
|
+ },
|
|
|
async getTemplateList() {
|
|
|
try {
|
|
|
const response = await this.$api.getNewTemplateList(this.queryParams)
|