Commit fccc1188 authored by 黄奎's avatar 黄奎

页面修改

parent 6f0c0395
......@@ -65,7 +65,8 @@
<el-option key="1" label="删除" value="1"></el-option>
</el-select>
</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>
</ul>
</div>
......@@ -494,20 +495,18 @@
});
},
initAddMsg() {
let newMsg = {
ID: '',
Country_id: '',
Province_id: '',
City_id: '',
District_id: '',
Name: '',
En_name: '',
IATA: '',
ICAO: '',
RankNum: '',
TrafficType: 1, //机场
}
this.addMsg = newMsg;
this.addMsg.ID = '';
this.addMsg.Country_id = '';
this.addMsg.Province_id = '';
this.addMsg.City_id = '';
this.addMsg.District_id = '';
this.addMsg.Name = '';
this.addMsg.En_name = '';
this.addMsg.IATA = '';
this.addMsg.RankNum = '';
this.addMsg.Lng = '';
this.addMsg.Lat = '';
this.addMsg.TrafficType = 1;
},
resetPageIndex() { //查询初始化页码
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