Commit 0e541674 authored by 黄奎's avatar 黄奎

页面修改

parent 2fac6c80
This diff is collapsed.
......@@ -206,12 +206,21 @@
<div class="btmTitle">{{titleInfo}}</div>
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="100px">
<ul class="changeMsg clearfix">
<li>
<el-form-item label="中文名称" prop="Name">
<el-input v-model="addMsg.Name" class="w150" maxlength="20"></el-input>
</el-form-item>
</li>
<li>
<template v-if="currentUserInfo&&currentUserInfo.RB_Group_id==100">
<li>
<el-form-item label="名称" prop="Name">
<el-input v-model="addMsg.Name" class="w150" maxlength="20"></el-input>
</el-form-item>
</li>
</template>
<template v-else>
<li>
<el-form-item label="中文名称" prop="Name">
<el-input v-model="addMsg.Name" class="w150" maxlength="20"></el-input>
</el-form-item>
</li>
</template>
<li v-if="currentUserInfo&&currentUserInfo.RB_Group_id!=100">
<el-form-item label="英文名称">
<el-input v-model="addMsg.EnName" class="w150" maxlength="20"></el-input>
</el-form-item>
......@@ -401,7 +410,8 @@
message: "请输入三码",
trigger: "change"
}]
}
},
currentUserInfo: {},
};
},
methods: {
......@@ -558,7 +568,7 @@
this.disCountry = true;
this.addMsg.ParentID = res.data.data.CountryID;
} else if (res.data.data.CodeLevel == 3) {
this.getProvinceList(res.data.data.CountryID,1)
this.getProvinceList(res.data.data.CountryID, 1)
this.addMsg.ParentID = res.data.data.ProvinceID;
this.disCountry = true;
this.disProvince = true;
......@@ -573,8 +583,8 @@
this.addMsg.ProvinceID = res.data.data.ProvinceID;
this.addMsg.CityID = res.data.data.CityID;
this.addMsg.Images = res.data.data.Images;
this.addMsg.Lng=res.data.data.Lng;
this.addMsg.Lat=res.data.data.Lat;
this.addMsg.Lng = res.data.data.Lng;
this.addMsg.Lat = res.data.data.Lat;
if (this.addMsg.Area == 0) {
this.addMsg.Area = this.addMsg.Area.toString();
} else {
......@@ -720,6 +730,9 @@
}
}
},
created() {
this.currentUserInfo = this.getLocalStorage();
},
mounted() {
this.initData();
this.getContinentList();
......
......@@ -6,7 +6,8 @@
<ul>
<li>
<span><em>名称</em>
<el-input v-model='msg.MenuName' class="permiss-input" placeholder="请输入内容" @keyup.native="resetPageIndex(),getList()"></el-input>
<el-input v-model='msg.MenuName' class="permiss-input" placeholder="请输入内容"
@keyup.native="resetPageIndex(),getList()"></el-input>
</span>
</li>
<li>
......
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