Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
partners-applet
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
partners-applet
Commits
12101059
提交
12101059
authored
9月 04, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化调整
上级
78b56364
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
71 行增加
和
42 行删除
+71
-42
no-data.vue
components/no-data/no-data.vue
+1
-0
index.vue
pages/community/index.vue
+3
-1
index.vue
pages/home/index.vue
+5
-3
index.vue
pages/mine/index.vue
+4
-2
index.vue
pages/myCommunityList/index.vue
+3
-1
index.vue
pages/myInformation/index.vue
+2
-1
index.vue
pages/reconciliationDetails/index.vue
+12
-8
index.vue
pages/reconciliationList/index.vue
+13
-5
index.vue
pages/settlementApplyfor/index.vue
+7
-7
index.vue
pages/settlementList/index.vue
+8
-5
index.vue
pages/shopsDetails/index.vue
+4
-2
index.vue
pages/shopsList/index.vue
+6
-6
index.vue
pages/withdrawalList/index.vue
+3
-1
没有找到文件。
components/no-data/no-data.vue
浏览文件 @
12101059
...
@@ -38,6 +38,7 @@ export default {
...
@@ -38,6 +38,7 @@ export default {
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
background-color
:
#fff
;
background-color
:
#fff
;
margin-top
:
20px
;
&
.full
{
&
.full
{
// height: 100%;
// height: 100%;
...
...
pages/community/index.vue
浏览文件 @
12101059
...
@@ -29,7 +29,9 @@
...
@@ -29,7 +29,9 @@
return
{
return
{
page
:
{
page
:
{
pageSize
:
20
,
pageSize
:
20
,
pageNo
:
1
pageNo
:
1
,
column
:
'createTime'
,
order
:
'desc'
},
},
dataList
:
[],
dataList
:
[],
isFinish
:
false
isFinish
:
false
...
...
pages/home/index.vue
浏览文件 @
12101059
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
<view
class=
"title"
>
<view
class=
"title"
>
<view
class=
"icons"
>
<view
class=
"icons"
>
<view
class=
"box"
>
<view
class=
"box"
>
<image
:src=
"userAvatar"
class=
"icon"
v-if=
"userAvatar"
></image>
<image
:src=
"userAvatar"
class=
"icon"
v-if=
"
isLogin &&
userAvatar"
></image>
<uni-icons
type=
"person"
size=
"20px"
color=
"#666666"
v-else
<uni-icons
type=
"person"
size=
"20px"
color=
"#666666"
v-else
@
click=
"toLogin"
></uni-icons>
@
click=
"toLogin"
></uni-icons>
</view>
</view>
<view
class=
"name"
v-if=
"userName"
>
{{
userName
}}
</view>
<view
class=
"name"
v-if=
"
isLogin &&
userName"
>
{{
userName
}}
</view>
<view
class=
"name"
v-else
@
click=
"toLogin"
>
未登录
</view>
<view
class=
"name"
v-else
@
click=
"toLogin"
>
未登录
</view>
</view>
</view>
</view>
</view>
...
@@ -215,10 +215,12 @@
...
@@ -215,10 +215,12 @@
computed
:
{},
computed
:
{},
methods
:
{
methods
:
{
toLogin
()
{
toLogin
()
{
if
(
!
this
.
isLogin
)
{
uni
.
hideTabBar
()
uni
.
hideTabBar
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
authorization
.
onOpenLogin
()
this
.
$refs
.
authorization
.
onOpenLogin
()
});
});
}
},
},
async
getPropertyAdv
()
{
async
getPropertyAdv
()
{
let
{
let
{
...
@@ -385,7 +387,7 @@
...
@@ -385,7 +387,7 @@
url
url
});
});
},
},
initData
(){
initData
()
{
this
.
getPropertyAdv
()
this
.
getPropertyAdv
()
const
token
=
uni
.
getStorageSync
(
'token'
);
const
token
=
uni
.
getStorageSync
(
'token'
);
//console.log(token)
//console.log(token)
...
...
pages/mine/index.vue
浏览文件 @
12101059
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<template
v-if=
"isLogin && userAvatar"
>
<template
v-if=
"isLogin && userAvatar"
>
<image
:src=
"userAvatar"
class=
"icon"
></image>
<image
:src=
"userAvatar"
class=
"icon"
></image>
</
template
>
</
template
>
<view
class=
"icon"
v-else
>
<view
class=
"icon"
@
click=
"toLogin"
v-else
>
<uni-icons
type=
"person"
size=
"50px"
color=
"#6A59F2"
></uni-icons>
<uni-icons
type=
"person"
size=
"50px"
color=
"#6A59F2"
></uni-icons>
</view>
</view>
<
template
v-if=
"isLogin"
>
<
template
v-if=
"isLogin"
>
...
@@ -43,17 +43,19 @@
...
@@ -43,17 +43,19 @@
},
},
methods
:
{
methods
:
{
toLogin
()
{
toLogin
()
{
if
(
!
this
.
isLogin
)
{
uni
.
hideTabBar
()
uni
.
hideTabBar
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
authorization
.
onOpenLogin
()
this
.
$refs
.
authorization
.
onOpenLogin
()
});
});
}
},
},
logout
()
{
logout
()
{
let
_this
=
this
let
_this
=
this
uni
.
showModal
({
uni
.
showModal
({
title
:
'警告'
,
title
:
'警告'
,
content
:
'确定退出登录!'
,
content
:
'确定退出登录!'
,
showCancel
:
fals
e
,
showCancel
:
tru
e
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
wx
.
clearStorage
()
wx
.
clearStorage
()
...
...
pages/myCommunityList/index.vue
浏览文件 @
12101059
...
@@ -37,7 +37,9 @@
...
@@ -37,7 +37,9 @@
return
{
return
{
page
:
{
page
:
{
pageSize
:
10
,
pageSize
:
10
,
pageNo
:
1
pageNo
:
1
,
column
:
'createTime'
,
order
:
'desc'
},
},
dataList
:
[],
dataList
:
[],
isFinish
:
false
,
isFinish
:
false
,
...
...
pages/myInformation/index.vue
浏览文件 @
12101059
...
@@ -126,7 +126,8 @@
...
@@ -126,7 +126,8 @@
//platformCode: userInfo.platformCode
//platformCode: userInfo.platformCode
}
}
uni
.
setStorageSync
(
'user_phone'
,
userInfo
.
phone
);
uni
.
setStorageSync
(
'user_phone'
,
userInfo
.
phone
);
uni
.
setStorageSync
(
'user_name'
,
avatar
);
uni
.
setStorageSync
(
'user_name'
,
userInfo
.
realname
);
uni
.
setStorageSync
(
'user_avatar'
,
avatar
)
}
}
},
},
onOpenAvatar
()
{
onOpenAvatar
()
{
...
...
pages/reconciliationDetails/index.vue
浏览文件 @
12101059
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
<view
class=
"name"
>
订单编号
</view>
<view
class=
"name"
>
订单编号
</view>
<view
class=
"detail"
>
{{
details
.
orderNum
}}
</view>
<view
class=
"detail"
>
{{
details
.
orderNum
}}
</view>
</view>
</view>
<view
class=
"item"
v-if=
"details.balanceNum"
>
<view
class=
"name"
>
结算单号
</view>
<view
class=
"detail"
>
{{
details
.
balanceNum
}}
</view>
</view>
<view
class=
"item"
>
<view
class=
"item"
>
<view
class=
"name"
>
订单状态
</view>
<view
class=
"name"
>
订单状态
</view>
<view
class=
"tag"
>
{{
details
.
reconciliationStatusName
}}
</view>
<view
class=
"tag"
>
{{
details
.
reconciliationStatusName
}}
</view>
...
@@ -56,7 +60,7 @@
...
@@ -56,7 +60,7 @@
<view
class=
"detail"
>
{{details.partnersName}}
</view>
<view
class=
"detail"
>
{{details.partnersName}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"form"
v-if=
"details.reconciliationStatus === 1"
>
<view
class=
"form"
v-if=
"details.reconciliationStatus === 1
|| details.reconciliationStatus === 4
"
>
<uni-forms>
<uni-forms>
<view
class=
"form-item-text"
>
<view
class=
"form-item-text"
>
<view
class=
"title"
>
备注
</view>
<view
class=
"title"
>
备注
</view>
...
@@ -116,13 +120,13 @@
...
@@ -116,13 +120,13 @@
}
}
},
},
async
toSubmit
()
{
async
toSubmit
()
{
if
(
!
this
.
formData
.
remarks
)
{
//
if (!this.formData.remarks) {
uni
.
showToast
({
//
uni.showToast({
title
:
'请填写备注!'
,
//
title: '请填写备注!',
icon
:
'none'
//
icon: 'none'
});
//
});
return
false
//
return false
}
//
}
let
params
=
{
let
params
=
{
id
:
this
.
details
.
id
,
id
:
this
.
details
.
id
,
remarks
:
this
.
formData
.
remarks
remarks
:
this
.
formData
.
remarks
...
...
pages/reconciliationList/index.vue
浏览文件 @
12101059
...
@@ -39,6 +39,11 @@
...
@@ -39,6 +39,11 @@
<view
class=
"name"
>
分利金额
</view>
<view
class=
"name"
>
分利金额
</view>
<view
class=
"detail"
>
¥
{{
item
.
shareMoney
}}
</view>
<view
class=
"detail"
>
¥
{{
item
.
shareMoney
}}
</view>
</view>
</view>
<view
class=
"text"
v-if=
"item.balanceNum"
>
<view
class=
"name"
>
结算单号
</view>
<view
class=
"detail"
>
{{
item
.
balanceNum
}}
</view>
</view>
<view
class=
"text"
>
<view
class=
"text"
>
<view
class=
"name"
>
订单时间
</view>
<view
class=
"name"
>
订单时间
</view>
<view
class=
"detail"
>
{{
item
.
createTime
}}
</view>
<view
class=
"detail"
>
{{
item
.
createTime
}}
</view>
...
@@ -78,7 +83,9 @@
...
@@ -78,7 +83,9 @@
platformType
:
'partner'
,
platformType
:
'partner'
,
reconciliationStatus
:
1
,
reconciliationStatus
:
1
,
pageSize
:
10
,
pageSize
:
10
,
pageNo
:
1
pageNo
:
1
,
column
:
'createTime'
,
order
:
'desc'
},
},
dataList
:
[],
dataList
:
[],
isFinish
:
false
,
isFinish
:
false
,
...
@@ -137,14 +144,15 @@
...
@@ -137,14 +144,15 @@
}
}
},
},
onLoad
()
{
onLoad
()
{
const
token
=
uni
.
getStorageSync
(
'token'
);
//
const token = uni.getStorageSync('token');
if
(
token
)
{
//
if (token) {
this
.
getList
()
//
this.getList()
}
//
}
},
},
onShow
()
{
onShow
()
{
const
token
=
uni
.
getStorageSync
(
'token'
);
const
token
=
uni
.
getStorageSync
(
'token'
);
if
(
token
)
{
if
(
token
)
{
this
.
dataList
=
[];
this
.
getList
()
this
.
getList
()
}
}
},
},
...
...
pages/settlementApplyfor/index.vue
浏览文件 @
12101059
...
@@ -166,13 +166,13 @@
...
@@ -166,13 +166,13 @@
});
});
return
false
return
false
}
}
if
(
!
this
.
formData
.
remarks
)
{
//
if (!this.formData.remarks) {
uni
.
showToast
({
//
uni.showToast({
title
:
'请填写备注!'
,
//
title: '请填写备注!',
icon
:
'none'
//
icon: 'none'
});
//
});
return
false
//
return false
}
//
}
let
params
=
{
let
params
=
{
balanceWay
:
'微信转账'
,
balanceWay
:
'微信转账'
,
bankCard
:
'工行1234567890'
,
bankCard
:
'工行1234567890'
,
...
...
pages/settlementList/index.vue
浏览文件 @
12101059
...
@@ -73,7 +73,9 @@
...
@@ -73,7 +73,9 @@
platformType
:
'partner'
,
platformType
:
'partner'
,
balanceStatus
:
2
,
balanceStatus
:
2
,
pageSize
:
10
,
pageSize
:
10
,
pageNo
:
1
pageNo
:
1
,
column
:
'createTime'
,
order
:
'desc'
},
},
dataList
:
[],
dataList
:
[],
isFinish
:
false
,
isFinish
:
false
,
...
@@ -136,14 +138,15 @@
...
@@ -136,14 +138,15 @@
}
}
},
},
onLoad
()
{
onLoad
()
{
const
token
=
uni
.
getStorageSync
(
'token'
);
//
const token = uni.getStorageSync('token');
if
(
token
)
{
//
if (token) {
this
.
getList
()
//
this.getList()
}
//
}
},
},
onShow
()
{
onShow
()
{
const
token
=
uni
.
getStorageSync
(
'token'
);
const
token
=
uni
.
getStorageSync
(
'token'
);
if
(
token
)
{
if
(
token
)
{
this
.
dataList
=
[];
this
.
getList
()
this
.
getList
()
}
}
},
},
...
...
pages/shopsDetails/index.vue
浏览文件 @
12101059
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</view>
</view>
</view>
</view>
<view
class=
"form-submit"
@
click=
"onSubmit"
v-if=
"communityCode"
>
确认绑定
</view>
<view
class=
"form-submit"
@
click=
"onSubmit"
v-if=
"communityCode"
>
确认绑定
</view>
<view
class=
"form-submit"
@
click=
"toCode"
v-if=
"!communityCode
&& details.auditStatus == 'auditPass'
"
>
<view
class=
"form-submit"
@
click=
"toCode"
v-if=
"!communityCode"
>
商铺收款二维码
</view>
商铺收款二维码
</view>
</view>
</view>
</view>
</view>
...
@@ -88,8 +88,10 @@
...
@@ -88,8 +88,10 @@
async
onSubmit
()
{
async
onSubmit
()
{
if
(
this
.
details
.
shopCode
&&
this
.
communityCode
)
{
if
(
this
.
details
.
shopCode
&&
this
.
communityCode
)
{
await
partnersShopAdd
({
await
partnersShopAdd
({
shopName
:
this
.
details
.
shopName
,
shopCode
:
this
.
details
.
shopCode
,
shopCode
:
this
.
details
.
shopCode
,
communityCode
:
this
.
communityCode
communityCode
:
this
.
communityCode
,
communityName
:
this
.
details
.
platformName
})
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
showToast
({
uni
.
showToast
({
...
...
pages/shopsList/index.vue
浏览文件 @
12101059
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
<image
mode=
"aspectFill"
:src=
"imageURL+item.shopInfo.logoUrl"
class=
"icon"
></image>
<image
mode=
"aspectFill"
:src=
"imageURL+item.shopInfo.logoUrl"
class=
"icon"
></image>
<view
class=
"con"
>
<view
class=
"con"
>
<view
class=
"name"
>
{{
item
.
shopName
}}
<view
class=
"name"
>
{{
item
.
shopName
}}
<view
class=
"tag purple"
v-if=
"item.bindPartners === 'Y'
"
>
未绑定
</view>
<view
class=
"tag purple"
v-if=
"item.bindPartners === 'Y'
&& item.auditStatus === 'auditPass' && item.shopStatus === 'normal'"
>
选择
</view>
<view
class=
"tag gray"
v-else
>
已绑定
</view>
<view
class=
"tag gray"
v-else
>
选择
</view>
</view>
</view>
<view
class=
"text"
>
{{
item
.
shopInfo
.
shopContent
}}
</view>
<view
class=
"text"
>
{{
item
.
shopInfo
.
shopContent
}}
</view>
<view
class=
"card"
>
<view
class=
"card"
>
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
order
:
'desc'
,
order
:
'desc'
,
pageSize
:
10
,
pageSize
:
10
,
pageNo
:
1
,
pageNo
:
1
,
auditStatus
:
'auditPass'
,
//
auditStatus: 'auditPass',
shopStatus
:
'normal'
//
shopStatus: 'normal'
},
},
dataList
:
[],
dataList
:
[],
isFinish
:
false
,
isFinish
:
false
,
...
@@ -89,14 +89,14 @@
...
@@ -89,14 +89,14 @@
},
},
toDetails
(
item
)
{
toDetails
(
item
)
{
if
(
item
.
shopInfo
.
id
)
{
if
(
item
.
shopInfo
.
id
)
{
if
(
item
.
bindPartners
===
'Y'
)
{
if
(
item
.
bindPartners
===
'Y'
&&
item
.
auditStatus
===
'auditPass'
&&
item
.
shopStatus
===
'normal'
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`/pages/shopsDetails/index?id=
${
item
.
shopInfo
.
id
}
&code=
${
this
.
communityCode
}
`
url
:
`/pages/shopsDetails/index?id=
${
item
.
shopInfo
.
id
}
&code=
${
this
.
communityCode
}
`
});
});
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
icon
:
"none"
,
icon
:
"none"
,
title
:
'该商铺
已绑定合作伙伴
,请重新选择!'
title
:
'该商铺
无法绑定
,请重新选择!'
})
})
}
}
}
}
...
...
pages/withdrawalList/index.vue
浏览文件 @
12101059
...
@@ -53,7 +53,9 @@
...
@@ -53,7 +53,9 @@
platformType
:
'partner'
,
platformType
:
'partner'
,
balanceStatus
:
3
,
balanceStatus
:
3
,
pageSize
:
10
,
pageSize
:
10
,
pageNo
:
1
pageNo
:
1
,
column
:
'createTime'
,
order
:
'desc'
},
},
dataList
:
[],
dataList
:
[],
isFinish
:
false
,
isFinish
:
false
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论