Commit 8b798bb2 authored by 吴春's avatar 吴春

11

parent 6b96754e
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
</li> </li>
<li> <li>
<span>{{$t('hotel.hotel_nameOf')}}</span> <span>{{$t('hotel.hotel_nameOf')}}</span>
<el-input v-model="msg.Name" maxlength="50" class="w150"></el-input> <el-input v-model="msg.Name" maxlength="50" class="w150" @keyup.native.enter="resetPageIndex(),initData()"></el-input>
</li> </li>
<li> <li>
<button class="normalBtn" type="button" @click="addCityInfo">{{$t('pub.addBtn')}}</button> <button class="normalBtn" type="button" @click="addCityInfo">{{$t('pub.addBtn')}}</button>
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
circle></el-button> circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start">
<el-button type="danger" icon="el-icon-delete" @click="delArea(item.ID,item.CodeLevel)" circle> <el-button type="danger" icon="el-icon-delete" @click="delArea(item)" circle>
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</td> </td>
...@@ -275,7 +275,6 @@ ...@@ -275,7 +275,6 @@
</li> </li>
<li> <li>
<el-form-item :label="$t('objFill.sanma')"> <el-form-item :label="$t('objFill.sanma')">
<!--prop="ThreeCode"-->
<el-input v-model="addMsg.ThreeCode" class="w150" maxlength="3"></el-input> <el-input v-model="addMsg.ThreeCode" class="w150" maxlength="3"></el-input>
</el-form-item> </el-form-item>
</li> </li>
...@@ -474,16 +473,17 @@ ...@@ -474,16 +473,17 @@
null null
); );
}, },
delArea(ID, CodeLevel) { delArea(item) {
var that = this; var that = this;
this.Confirm(that.$t('tips.shifoushanchu'), function () { var tipMsg="是否要删除【"+item.Name+"】?"
let msg = { this.Confirm(tipMsg, function () {
ID: ID, let delMsg = {
CodeLevel: CodeLevel ID: item.ID,
CodeLevel: item.CodeLevel
}; };
that.apipost( that.apipost(
"dict_post_Destination_Remove", "dict_post_Destination_Remove",
msg, delMsg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.Success(this.$t('tips.shanchuchenggong')); that.Success(this.$t('tips.shanchuchenggong'));
......
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