|
@@ -4,10 +4,9 @@
|
|
|
<el-input v-model="listQuery.city_name" placeholder="城市名" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
|
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">
|
|
|
搜索
|
|
|
- </el-button>
|
|
|
-<!-- <el-button type="primary" icon="el-icon-edit" @click="handleCreate(scope)">-->
|
|
|
-<!-- 创建开发城市-->
|
|
|
-<!-- </el-button>-->
|
|
|
+ </el-button><!-- <el-button type="primary" icon="el-icon-edit" @click="handleCreate(scope)">
|
|
|
+ 创建开发城市
|
|
|
+ </el-button>-->
|
|
|
</div>
|
|
|
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%">
|
|
|
<el-table-column align="center" label="ID" width="80">
|
|
@@ -51,7 +50,7 @@
|
|
|
<el-form ref="dataForm" :model="temp" label-position="left" label-width="70px" style="width: 400px; margin-left:50px;">
|
|
|
<el-form-item label="城市" prop="sname">
|
|
|
<el-input v-model="temp.sname" />
|
|
|
-<!-- <el-cascader v-model="temp.sname" :props="props" style="width: 330px;"></el-cascader>-->
|
|
|
+ <!--<el-cascader v-model="temp.sname" :props="props" style="width: 330px;"></el-cascader>-->
|
|
|
</el-form-item>
|
|
|
<el-form-item label="排序" prop="sort">
|
|
|
<el-input v-model="temp.sort" placeholder="倒序" />
|
|
@@ -138,7 +137,7 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
- getCityList(){
|
|
|
+ getCityList() {
|
|
|
console.log(222)
|
|
|
},
|
|
|
getList() {
|