新增商品列表拖拽排序
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary">查询</el-button>
|
||||
<el-button>重置</el-button>
|
||||
<el-button type="primary" @click="getTableData">查询</el-button>
|
||||
<el-button @click="resetHandle">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -122,8 +122,10 @@ export default {
|
||||
methods: {
|
||||
// 重置查询
|
||||
resetHandle() {
|
||||
this.tableData.page = 0;
|
||||
this.tableData.page = 0
|
||||
this.query.name = ''
|
||||
this.query.telphone = ''
|
||||
this.query.status = 1
|
||||
this.getTableData()
|
||||
},
|
||||
// 分页回调
|
||||
@@ -133,8 +135,8 @@ export default {
|
||||
},
|
||||
// 获取商品列表
|
||||
async getTableData() {
|
||||
this.tableData.loading = true
|
||||
try {
|
||||
this.tableData.loading = true
|
||||
const res = await storageList({
|
||||
...this.query,
|
||||
page: this.tableData.page,
|
||||
|
||||
Reference in New Issue
Block a user