Commit dd0a4e37 authored by 秦威威's avatar 秦威威

新增

parent db0395ab
export default {
domain: 'http://192.168.0.160:8086', // 项目域名
domain: 'https://admin.llwygl.com/prod-api', // 项目域名
cdnUrl: '', // 云储蓄静态资源图片域名
amapKey: '', // 高德web服务key
socketUrl: '' // websocket地址
......
{
"name": "basis-template",
"name": "物业",
"appid": "__UNI__7B80478",
"description": "",
"versionName": "1.0.0",
......
......@@ -102,12 +102,12 @@
return
}
if (index == 2) { //员工入口
this.$wskj.to("/pagesMine/pages/yg_login")
// if (this.$wskj.isNull(uni.getStorageSync('userInfo_yg'))) {
// this.$wskj.to("/pagesMine/pages/yg_login")
// } else {
// this.$wskj.to("/pagesMine/pages/ygzy")
// }
//维修人员类型(1保洁 2保安 3维修人员)
if (this.userInfo.accountType != null) {
this.$wskj.to("/pagesMine/pages/ygzy")
} else {
this.$wskj.showModal('提示', '只有物业员工可使用该功能', false, null);
}
return
}
if (parseInt(this.userInfo.userPermission) > 1) {
......
......@@ -27,6 +27,12 @@
<text style="color: #999999;">业主手机号</text>
<text>{{userinfo.mobile}}</text>
</view>
<view class="flex-row-between pad-30" style="border-bottom: 1rpx solid #E9E9E9;">
<text style="color: #999999;">匿名投诉/表扬</text>
<image class="w-45 h-45" @click="onFlog()"
:src="flog==false?'/pagesMine/static/icon_fwxx_1.png':'/pagesMine/static/icon_fwxx_2.png'">
</image>
</view>
</view>
<view class="flex-column-center fs-32 fw-700 mt-30">
<image class="w-10 h-40 mr-15" style="background-color: #1FCA7C;"></image>
......@@ -58,6 +64,7 @@
reason: '',
images: '',
userinfo: '',
flog: false,
};
},
onLoad(e) {
......@@ -80,6 +87,9 @@
})
},
methods: {
onFlog() {
this.flog = !this.flog
},
upload(e) {
this.images = e
},
......@@ -116,4 +126,8 @@
flex-direction: column;
background: #fff;
}
.round-checkbox .uni-checkbox__icon {
border-radius: 50%;
}
</style>
\ No newline at end of file
......@@ -9,7 +9,7 @@
</view>
<view class="flex-row-between pad-30" style="border-bottom: 1rpx solid #E9E9E9;">
<text style="color: #999999;">姓名</text>
<text>{{userInfo.accountName}}</text>
<text>{{userInfo.name}}</text>
</view>
<view class="flex-row-between pad-30" style="border-bottom: 1rpx solid #E9E9E9;">
<text style="color: #999999;">性别</text>
......@@ -17,7 +17,7 @@
</view>
<view class="flex-row-between pad-30" style="border-bottom: 1rpx solid #E9E9E9;">
<text style="color: #999999;">手机号</text>
<text>{{userInfo.accountMobile}}</text>
<text>{{userInfo.mobile}}</text>
</view>
</view>
......@@ -57,7 +57,7 @@
};
},
onLoad(e) {
this.userInfo = uni.getStorageSync('userInfo_yg')
this.userInfo = uni.getStorageSync('userInfo')
this.type = e.type
if (e.type == 0) {
this.title = "安保打卡"
......@@ -130,7 +130,6 @@
const key = 'cc4f24cc4928169e0d623573e4e0687e'; // 替换为你的高德API Key
const url =
`https://restapi.amap.com/v3/geocode/regeo?key=${key}&location=${longitude},${latitude}&radius=1000&extensions=all`;
uni.request({
url: url,
success: (res) => {
......
......@@ -15,11 +15,16 @@
</view>
</view>
</view>
<view class="flex-column fs-32 w-150 vh-center mtb-30">
<text style="text-align: center;">家庭成员</text>
<view style="width: 60rpx;height: 5rpx;background-color: #1FCA7C;"></view>
<view class="flex-row-around">
<view class="flex-column fs-32 w-150 vh-center mtb-30" @click="onClickTab(1)">
<text style="text-align: center;">家庭成员</text>
<view v-if="index==1" style="width: 60rpx;height: 5rpx;background-color: #1FCA7C;"></view>
</view>
<view class="flex-column fs-32 w-150 vh-center mtb-30" @click="onClickTab(2)">
<text style="text-align: center;">租户成员</text>
<view v-if="index==2" style="width: 60rpx;height: 5rpx;background-color: #1FCA7C;"></view>
</view>
</view>
<view class="overflow-y">
<scroll-view scroll-y style="height: 100%;">
<view @click="onClickSelecte(index)" v-for="(item, index) in list" :key="index">
......@@ -47,6 +52,7 @@
return {
userInfo: '',
list: [],
index: 1,
};
},
onLoad(options) {
......@@ -56,6 +62,10 @@
this.getUserInfo()
},
methods: {
onClickTab(index) {
this.index = index;
},
getList() {
const params = {
url: '/api/familyMember/listAllByUserId',
......
......@@ -25,7 +25,7 @@
};
},
onLoad(options) {
this.userInfo = uni.getStorageSync('userInfo_yg')
this.userInfo = uni.getStorageSync('userInfo')
},
methods: {
open() {
......
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