提交 392e862d authored 作者: 王腾飞's avatar 王腾飞
......@@ -203,12 +203,13 @@
.user_list_dialog{
display: flex;
.header_pic{
width: 75px;
height: 75px;
img{
width: 100%;
height: 100%;
}
width: 74px;
height: 74px;
img{
width: 60px;
height: 60px;
margin-top:7px;
}
}
.content_right{
flex: 1;
......
......@@ -195,11 +195,12 @@
.user_list_dialog{
display: flex;
.header_pic{
width: 75px;
height: 75px;
width: 74px;
height: 74px;
img{
width: 100%;
height: 100%;
width: 60px;
height: 60px;
margin-top:7px;
}
}
.content_right{
......
......@@ -123,7 +123,10 @@
:label="item.name"
:value="item.userId">
<div class="user_list_dialog">
<dt class="header_pic"><img :src="item.img" alt="头像" ></dt>
<dt class="header_pic">
<img :src="`${uploadUrl}?fileName=${item.img}`" alt="头像" v-if="item.img">
<img src="~@/assets/img/default.png" alt="默认头像" v-else>
</dt>
<dd class="content_right">
<div style="font-size: 16px;font-weight:600">{{ item.name }}</div>
<div>{{ item.email }}</div>
......@@ -248,7 +251,7 @@ export default {
dateTime:'',
formation:'',//形成时间的筛选的
size:'',
createTime:'',
createTime:'desc',
list:[],
totalCount:0,
}
......@@ -302,7 +305,7 @@ export default {
pageSize:this.searchForm.pageSize
};
this.formation='';
this.createTime='';
this.createTime='desc';
this.size ='';
this.getList()
},
......
......@@ -83,7 +83,10 @@
:label="item.name"
:value="item.userId">
<div class="user_list_dialog">
<dt class="header_pic"><img :src="item.img" alt="头像" ></dt>
<dt class="header_pic">
<img :src="`${uploadUrl}?fileName=${item.img}`" alt="头像" v-if="item.img">
<img src="~@/assets/img/default.png" alt="默认头像" v-else>
</dt>
<dd class="content_right">
<div style="font-size: 16px;font-weight:600">{{ item.name }}</div>
<div>{{ item.email }}</div>
......@@ -163,7 +166,8 @@ export default {
data () {
return {
domain: process.env.BASE_API,
requestPath: requestPath,
requestPath: requestPath,
uploadUrl:uploadUrl,
loading:false,
checkAll: false,
searchUserVisible:false,
......
......@@ -74,7 +74,10 @@
:label="item.name"
:value="item.userId">
<div class="user_list_dialog">
<dt class="header_pic"><img :src="item.img" alt="头像" ></dt>
<dt class="header_pic">
<img :src="`${uploadUrl}?fileName=${item.img}`" alt="头像" v-if="item.img">
<img src="~@/assets/img/default.png" alt="默认头像" v-else>
</dt>
<dd class="content_right">
<div style="font-size: 16px;font-weight:600">{{ item.name }}</div>
<div>{{ item.email }}</div>
......
......@@ -352,7 +352,7 @@
<el-input v-model="positionForm.latitude" disabled></el-input>
<div class="tip">请在下面地图上单击,拾取经纬度</div>
</el-form-item>
<baidu-map class="bm-position" :center="backForm.keyword" @ready="handleMap">
<baidu-map class="bm-position" :center="city" @ready="handleMap">
<bm-navigation anchor="BMAP_ANCHOR_TOP_RIGHT"></bm-navigation>
<bm-marker :position="{'lng': positionForm.longitude, 'lat': positionForm.latitude}" :dragging="true" @dragging="remove">
</bm-marker>
......@@ -505,7 +505,7 @@ export default {
loading:false,
domain: process.env.BASE_API,
requestPath: requestPath,
//packet:{lng: 116.404, lat: 39.915},
packet:{lng: 116.404, lat: 39.915},
entityVisible:false,
personLinkVisible:false,
positionLinkVisible:false,
......@@ -723,7 +723,8 @@ export default {
} else if(this.backForm.state==4){
this.timerLinkVisible=true;
}
this.backForm.keyword=keyword;
this.backForm.keyword=keyword;
this.city=keyword;//地图的显示中心
this.backDetial()
},
resetEntity(){
......@@ -791,6 +792,11 @@ export default {
}else if(this.backForm.state==3){
if(res.data.data){
this.positionForm=res.data.data;
if(!this.positionForm.longitude){
this.city="北京";//地图的显示中心
}
}else{
this.city="北京";//地图的显示中心
}
}else if(this.backForm.state==2){
this.organizationForm=res.data.data||{};
......
......@@ -72,7 +72,10 @@
:label="item.name"
:value="item.userId">
<div class="user_list_dialog">
<dt class="header_pic"><img :src="item.img" alt="头像" ></dt>
<dt class="header_pic">
<img :src="`${uploadUrl}?fileName=${item.img}`" alt="头像" v-if="item.img">
<img src="~@/assets/img/default.png" alt="默认头像" v-else>
</dt>
<dd class="content_right">
<div style="font-size: 16px;font-weight:600">{{ item.name }}</div>
<div>{{ item.email }}</div>
......@@ -121,7 +124,8 @@ export default {
data () {
return {
domain: process.env.BASE_API,
requestPath: requestPath,
requestPath: requestPath,
uploadUrl:uploadUrl,
searchUserVisible:false,
searchTimerVisible:false,
loading:false,
......
......@@ -85,7 +85,10 @@
:label="item.name"
:value="item.userId">
<div class="user_list_dialog">
<dt class="header_pic"><img :src="item.img" alt="头像" ></dt>
<dt class="header_pic">
<img :src="`${uploadUrl}?fileName=${item.img}`" alt="头像" v-if="item.img">
<img src="~@/assets/img/default.png" alt="默认头像" v-else>
</dt>
<dd class="content_right">
<div style="font-size: 16px;font-weight:600">{{ item.name }}</div>
<div>{{ item.email }}</div>
......@@ -167,7 +170,8 @@ export default {
data () {
return {
domain: process.env.BASE_API,
requestPath: requestPath,
requestPath: requestPath,
uploadUrl:uploadUrl,
loading:false,
checkAll: false,
searchUserVisible:false,
......
......@@ -147,7 +147,7 @@ export default {
dateTime:'',
formation:'',//形成时间的筛选的
size:'',
createTime:'',
createTime:'desc',
list:[],
totalCount:0,
}
......
......@@ -217,7 +217,7 @@ export default {
},
formation:'',//形成时间的筛选的
size:'',
createTime:'',
createTime:'desc',
list:[],
totalCount:0,
diytypeList:[],
......
......@@ -155,7 +155,7 @@ export default {
dateTime:'',
formation:'',//形成时间的筛选的
size:'',
createTime:'',
createTime:'desc',
list:[],
totalCount:0,
}
......@@ -205,7 +205,7 @@ export default {
},
refPage(){
this.loading=true;
this.resetSearch();
//this.resetSearch();
setTimeout(()=>{
this.loading=false;
},1000)
......
......@@ -153,7 +153,7 @@ export default {
dateTime:'',
formation:'',//形成时间的筛选的
size:'',
createTime:'',
createTime:'desc',
list:[],
totalCount:0,
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论