Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
partners
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
partners
Commits
479847f3
提交
479847f3
authored
8月 22, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化调整
上级
b5705237
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
51 行增加
和
34 行删除
+51
-34
api.js
src/api/api.js
+2
-0
JeecgListMixin.js
src/mixins/JeecgListMixin.js
+2
-0
ReconciliationList.vue
src/views/benefiting/ReconciliationList.vue
+27
-10
SettlementList.vue
src/views/benefiting/SettlementList.vue
+12
-11
WithdrawalList.vue
src/views/withdrawal/WithdrawalList.vue
+8
-13
没有找到文件。
src/api/api.js
浏览文件 @
479847f3
...
@@ -12,6 +12,7 @@ const getQrCode = (params)=>getAction("/property-central/shop/shopInfo/getQrCode
...
@@ -12,6 +12,7 @@ const getQrCode = (params)=>getAction("/property-central/shop/shopInfo/getQrCode
const
shareBenefitShopByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBenefit/queryById"
,
params
);
const
shareBenefitShopByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBenefit/queryById"
,
params
);
const
shareBenefitList
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBenefit/list"
,
params
);
const
shareBenefitList
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBenefit/list"
,
params
);
const
shareBalanceByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBalance/queryById"
,
params
);
const
shareBalanceByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/shareBalance/queryById"
,
params
);
const
getShareruleApi
=
(
params
)
=>
getAction
(
"/property-central/sharerule/settlementSet/queryById"
,
params
);
// 首页统计数据
// 首页统计数据
const
getDataStatisticsApi
=
(
params
)
=>
getAction
(
"/property-central/partners/partnersInfo/statistics"
,
params
);
const
getDataStatisticsApi
=
(
params
)
=>
getAction
(
"/property-central/partners/partnersInfo/statistics"
,
params
);
...
@@ -123,6 +124,7 @@ export {
...
@@ -123,6 +124,7 @@ export {
shareBenefitShopByDepId
,
shareBenefitShopByDepId
,
shareBenefitList
,
shareBenefitList
,
shareBalanceByDepId
,
shareBalanceByDepId
,
getShareruleApi
,
addRole
,
addRole
,
editRole
,
editRole
,
checkRoleCode
,
checkRoleCode
,
...
...
src/mixins/JeecgListMixin.js
浏览文件 @
479847f3
...
@@ -12,6 +12,7 @@ import store from '@/store'
...
@@ -12,6 +12,7 @@ import store from '@/store'
export
const
JeecgListMixin
=
{
export
const
JeecgListMixin
=
{
data
(){
data
(){
return
{
return
{
createTimeValue
:
[],
/* 查询条件-请不要在queryParam中声明非字符串值的属性 */
/* 查询条件-请不要在queryParam中声明非字符串值的属性 */
queryParam
:
{},
queryParam
:
{},
/* 数据源 */
/* 数据源 */
...
@@ -155,6 +156,7 @@ export const JeecgListMixin = {
...
@@ -155,6 +156,7 @@ export const JeecgListMixin = {
this
.
$refs
.
superQueryModal
.
show
();
this
.
$refs
.
superQueryModal
.
show
();
},
},
searchReset
()
{
searchReset
()
{
this
.
createTimeValue
=
[]
this
.
queryParam
=
{}
this
.
queryParam
=
{}
this
.
initPageParams
(
this
.
queryParam
);
this
.
initPageParams
(
this
.
queryParam
);
this
.
loadData
(
1
);
this
.
loadData
(
1
);
...
...
src/views/benefiting/ReconciliationList.vue
浏览文件 @
479847f3
...
@@ -22,10 +22,9 @@
...
@@ -22,10 +22,9 @@
</a-select>
</a-select>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:md=
"
7"
:sm=
"10
"
>
<a-col
:md=
"
8"
:sm=
"8
"
>
<a-form-item
label=
"订单时间"
>
<a-form-item
label=
"订单时间"
>
<a-date-picker
placeholder=
"订单时间"
format=
"YYYY-MM-DD HH:mm:ss"
<a-range-picker
@
change=
"onChangeData"
:value=
"createTimeValue"
/>
v-model=
"queryParam.createTime"
:show-time=
"
{ format: 'HH:mm:ss' }" @change="onChange" >
</a-date-picker>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
...
@@ -37,6 +36,10 @@
...
@@ -37,6 +36,10 @@
</a-row>
</a-row>
</a-form>
</a-form>
</div>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
v-if=
"days"
>
数据列表(以下账单,展示
{{
days
}}
天前的账单金额)
</div>
<!-- table区域-begin -->
<!-- table区域-begin -->
<div>
<div>
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
...
@@ -53,8 +56,8 @@
...
@@ -53,8 +56,8 @@
</span>
</span>
<span
slot=
"action"
slot-scope=
"text, record"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
type=
"primary"
@
click=
"toDetails(record.id)"
>
详情
</a>
<a
type=
"primary"
@
click=
"toDetails(record.id)"
>
详情
</a>
<a
type=
"primary"
@
click=
"toReconciliation(record)"
v-if=
"record.reconciliationStatus === 1"
<a
type=
"primary"
@
click=
"toReconciliation(record)"
style=
"margin-left: 15px;"
>
申请对账
</a>
v-if=
"record.reconciliationStatus === 1 && record.isShow === '1' "
style=
"margin-left: 15px;"
>
申请对账
</a>
</span>
</span>
</a-table>
</a-table>
...
@@ -87,6 +90,7 @@
...
@@ -87,6 +90,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
getShareruleApi
}
from
'@/api/api'
import
{
httpAction
}
from
'@/api/manage'
import
{
httpAction
}
from
'@/api/manage'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
...
@@ -115,7 +119,7 @@ const columns = [
...
@@ -115,7 +119,7 @@ const columns = [
key
:
'shareMoney'
,
key
:
'shareMoney'
,
align
:
'center'
,
align
:
'center'
,
},
},
{
{
title
:
'订单金额'
,
title
:
'订单金额'
,
dataIndex
:
'totalMoney'
,
dataIndex
:
'totalMoney'
,
key
:
'totalMoney'
,
key
:
'totalMoney'
,
...
@@ -169,8 +173,8 @@ export default {
...
@@ -169,8 +173,8 @@ export default {
mixins
:
[
JeecgListMixin
],
mixins
:
[
JeecgListMixin
],
data
()
{
data
()
{
return
{
return
{
queryParam
:{
queryParam
:
{
platformType
:
'partner'
platformType
:
'partner'
,
},
},
info
:
{},
info
:
{},
model
:
{},
model
:
{},
...
@@ -193,18 +197,31 @@ export default {
...
@@ -193,18 +197,31 @@ export default {
url
:
{
url
:
{
list
:
'/property-central/partners/shareBenefit/list'
,
list
:
'/property-central/partners/shareBenefit/list'
,
reconciliation
:
'/property-central/partners/shareBenefit/reconciliation'
,
reconciliation
:
'/property-central/partners/shareBenefit/reconciliation'
,
getSharerule
:
'/property-central/sharerule/settlementSet/queryById'
,
},
},
dataSource
:
[],
dataSource
:
[],
visibleReconciliation
:
false
,
visibleReconciliation
:
false
,
confirmLoading
:
false
,
confirmLoading
:
false
,
days
:
''
,
}
}
},
},
created
()
{
created
()
{
//let data = new Date().toLocaleString()
//let data = new Date().toLocaleString()
this
.
getSharerule
()
},
},
methods
:
{
methods
:
{
onChange
(
date
,
dateString
)
{
async
getSharerule
()
{
this
.
queryParam
.
createTime
=
dateString
let
{
result
}
=
await
getShareruleApi
({
id
:
1
})
if
(
result
.
days
)
{
this
.
days
=
result
.
days
}
},
onChangeData
(
date
,
dateString
)
{
if
(
dateString
.
length
>
0
)
{
this
.
createTimeValue
=
date
this
.
queryParam
.
createTime_begin
=
dateString
[
0
]
this
.
queryParam
.
createTime_end
=
dateString
[
1
]
}
},
},
initPageParams
(
params
)
{
initPageParams
(
params
)
{
params
[
'platformType'
]
=
'partner'
params
[
'platformType'
]
=
'partner'
...
...
src/views/benefiting/SettlementList.vue
浏览文件 @
479847f3
...
@@ -17,10 +17,9 @@
...
@@ -17,10 +17,9 @@
</a-select>
</a-select>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:md=
"
7"
:sm=
"10
"
>
<a-col
:md=
"
8"
:sm=
"8
"
>
<a-form-item
label=
"订单时间"
>
<a-form-item
label=
"订单时间"
>
<a-date-picker
placeholder=
"订单时间"
format=
"YYYY-MM-DD HH:mm:ss"
<a-range-picker
@
change=
"onChangeData"
:value=
"createTimeValue"
/>
v-model=
"queryParam.createTime"
:show-time=
"
{ format: 'HH:mm:ss' }" @change="onChange" >
</a-date-picker>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
...
@@ -32,8 +31,8 @@
...
@@ -32,8 +31,8 @@
</a-row>
</a-row>
</a-form>
</a-form>
</div>
</div>
<!-- 操作按钮区域 -->
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
>
<div
class=
"table-operator"
>
<a-button
@
click=
"propertyDetails(1)"
type=
"primary"
>
申请结算
</a-button>
<a-button
@
click=
"propertyDetails(1)"
type=
"primary"
>
申请结算
</a-button>
</div>
</div>
<!-- table区域-begin -->
<!-- table区域-begin -->
...
@@ -114,7 +113,7 @@ const columns = [
...
@@ -114,7 +113,7 @@ const columns = [
]
]
export
default
{
export
default
{
components
:
{
},
components
:
{},
name
:
'SettlementList'
,
name
:
'SettlementList'
,
mixins
:
[
JeecgListMixin
],
mixins
:
[
JeecgListMixin
],
data
()
{
data
()
{
...
@@ -143,8 +142,12 @@ export default {
...
@@ -143,8 +142,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
onChange
(
date
,
dateString
)
{
onChangeData
(
date
,
dateString
)
{
this
.
queryParam
.
createTime
=
dateString
if
(
dateString
.
length
>
0
)
{
this
.
createTimeValue
=
date
this
.
queryParam
.
createTime_begin
=
dateString
[
0
]
this
.
queryParam
.
createTime_end
=
dateString
[
1
]
}
},
},
initPageParams
(
params
)
{
initPageParams
(
params
)
{
params
[
'platformType'
]
=
'partner'
params
[
'platformType'
]
=
'partner'
...
@@ -154,14 +157,12 @@ export default {
...
@@ -154,14 +157,12 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/benefiting/SettlementDetails?type=add'
,
path
:
'/benefiting/SettlementDetails?type=add'
,
})
})
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
2
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/benefiting/SettlementDetails?type=detail&id='
+
id
,
path
:
'/benefiting/SettlementDetails?type=detail&id='
+
id
,
})
})
}
}
},
},
},
},
}
}
</
script
>
</
script
>
...
...
src/views/withdrawal/WithdrawalList.vue
浏览文件 @
479847f3
...
@@ -9,18 +9,9 @@
...
@@ -9,18 +9,9 @@
<j-input
placeholder=
"请输入结算单号"
v-model=
"queryParam.balanceNum"
></j-input>
<j-input
placeholder=
"请输入结算单号"
v-model=
"queryParam.balanceNum"
></j-input>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<!--
<a-col
:md=
"5"
:sm=
"8"
>
<a-col
:md=
"8"
:sm=
"8"
>
<a-form-item
label=
"状态"
>
<a-select
style=
"width: 100%"
v-model=
"queryParam.balanceStatus"
placeholder=
"请选择状态"
>
<a-select-option
v-for=
"item in chargeList"
:key=
"item.type"
:value=
"item.type"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
-->
<a-col
:md=
"7"
:sm=
"10"
>
<a-form-item
label=
"订单时间"
>
<a-form-item
label=
"订单时间"
>
<a-date-picker
placeholder=
"订单时间"
format=
"YYYY-MM-DD HH:mm:ss"
v-model=
"queryParam.createTime"
<a-range-picker
@
change=
"onChangeData"
:value=
"createTimeValue"
/>
:show-time=
"
{ format: 'HH:mm:ss' }" @change="onChange">
</a-date-picker>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
...
@@ -144,8 +135,12 @@ export default {
...
@@ -144,8 +135,12 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
onChange
(
date
,
dateString
)
{
onChangeData
(
date
,
dateString
)
{
this
.
queryParam
.
createTime
=
dateString
if
(
dateString
.
length
>
0
)
{
this
.
createTimeValue
=
date
this
.
queryParam
.
createTime_begin
=
dateString
[
0
]
this
.
queryParam
.
createTime_end
=
dateString
[
1
]
}
},
},
initPageParams
(
params
)
{
initPageParams
(
params
)
{
params
[
'platformType'
]
=
'partner'
,
params
[
'platformType'
]
=
'partner'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论