Commit fccc1188 authored by 黄奎's avatar 黄奎

页面修改

parent 6f0c0395
...@@ -65,7 +65,8 @@ ...@@ -65,7 +65,8 @@
<el-option key="1" label="删除" value="1"></el-option> <el-option key="1" label="删除" value="1"></el-option>
</el-select> </el-select>
</li> </li>
<li><input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="resetPageIndex(),getList()" /> <li><input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')"
@click="resetPageIndex(),getList()" />
<input type="button" class="normalBtn" value="添加" @click="outerVisible=true,dialogTitle='新增机场'" /></li> <input type="button" class="normalBtn" value="添加" @click="outerVisible=true,dialogTitle='新增机场'" /></li>
</ul> </ul>
</div> </div>
...@@ -494,20 +495,18 @@ ...@@ -494,20 +495,18 @@
}); });
}, },
initAddMsg() { initAddMsg() {
let newMsg = { this.addMsg.ID = '';
ID: '', this.addMsg.Country_id = '';
Country_id: '', this.addMsg.Province_id = '';
Province_id: '', this.addMsg.City_id = '';
City_id: '', this.addMsg.District_id = '';
District_id: '', this.addMsg.Name = '';
Name: '', this.addMsg.En_name = '';
En_name: '', this.addMsg.IATA = '';
IATA: '', this.addMsg.RankNum = '';
ICAO: '', this.addMsg.Lng = '';
RankNum: '', this.addMsg.Lat = '';
TrafficType: 1, //机场 this.addMsg.TrafficType = 1;
}
this.addMsg = newMsg;
}, },
resetPageIndex() { //查询初始化页码 resetPageIndex() { //查询初始化页码
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
......
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