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

新增

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