Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uni-app-wy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
单欣鑫
uni-app-wy
Commits
dd0a4e37
Commit
dd0a4e37
authored
Jun 27, 2025
by
秦威威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增
parent
db0395ab
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
16 deletions
+40
-16
config.js
config.js
+1
-0
manifest.json
manifest.json
+1
-1
wy-mine.vue
pages/wy-mine.vue
+6
-6
tsby_submit.vue
pagesMain/pages/tsby_submit.vue
+14
-0
dk_submit.vue
pagesMine/pages/dk_submit.vue
+3
-4
wdfw.vue
pagesMine/pages/wdfw.vue
+14
-4
ygzy.vue
pagesMine/pages/ygzy.vue
+1
-1
No files found.
config.js
View file @
dd0a4e37
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地址
...
...
manifest.json
View file @
dd0a4e37
{
{
"name"
:
"
basis-template
"
,
"name"
:
"
物业
"
,
"appid"
:
"__UNI__7B80478"
,
"appid"
:
"__UNI__7B80478"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionName"
:
"1.0.0"
,
...
...
pages/wy-mine.vue
View file @
dd0a4e37
...
@@ -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
)
{
...
...
pagesMain/pages/tsby_submit.vue
View file @
dd0a4e37
...
@@ -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
pagesMine/pages/dk_submit.vue
View file @
dd0a4e37
...
@@ -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
.
accountN
ame
}}
</text>
<text>
{{
userInfo
.
n
ame
}}
</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
.
accountM
obile
}}
</text>
<text>
{{
userInfo
.
m
obile
}}
</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
)
=>
{
...
...
pagesMine/pages/wdfw.vue
View file @
dd0a4e37
...
@@ -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
'
,
...
...
pagesMine/pages/ygzy.vue
View file @
dd0a4e37
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment