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

页面修改

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