Commit 962b815c authored by jack_liu's avatar jack_liu

修改

parent 6d935433
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
ref="queryForm" ref="queryForm"
:model="queryParams" :model="queryParams"
:inline="true" :inline="true"
label-width="60px"> label-width="60px"
>
<el-form-item style="flex-basis: 50%" prop="ptype"> <el-form-item style="flex-basis: 50%" prop="ptype">
<el-input <el-input
v-model.trim="queryParams.ptype" v-model.trim="queryParams.ptype"
...@@ -14,8 +15,10 @@ ...@@ -14,8 +15,10 @@
:maxlength="100" :maxlength="100"
size="small" size="small"
style="width: 350px" style="width: 350px"
@keyup.enter.native="handleQuery"> @keyup.enter.native="handleQuery"
<template slot="prepend">ptype</template></el-input> >
<template slot="prepend">ptype</template></el-input
>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button <el-button
...@@ -23,7 +26,8 @@ ...@@ -23,7 +26,8 @@
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
@click="handleQuery" @click="handleQuery"
>查询</el-button> >查询</el-button
>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table <el-table
...@@ -33,7 +37,8 @@ ...@@ -33,7 +37,8 @@
v-loading="loading" v-loading="loading"
row-key="index" row-key="index"
:data="dictList" :data="dictList"
@selection-change="handleDictSelectionChange"> @selection-change="handleDictSelectionChange"
>
<el-table-column <el-table-column
:reserve-selection="true" :reserve-selection="true"
type="selection" type="selection"
...@@ -95,7 +100,7 @@ export default { ...@@ -95,7 +100,7 @@ export default {
}, },
created() { created() {
this.listData() this.listData()
}, },
methods: { methods: {
listData() { listData() {
this.loading = true this.loading = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment