Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
partners
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
partners
Commits
b1280e8d
提交
b1280e8d
authored
8月 09, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
联调数据
上级
e3d3ead6
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
147 行增加
和
215 行删除
+147
-215
api.js
src/api/api.js
+10
-30
SettlementDetails.vue
src/views/benefiting/SettlementDetails.vue
+3
-3
Analysis.vue
src/views/dashboard/Analysis.vue
+0
-1
IndexChart.vue
src/views/dashboard/IndexChart.vue
+35
-84
ShopsDetails.vue
src/views/shops/ShopsDetails.vue
+0
-0
ShopsList.vue
src/views/shops/ShopsList.vue
+54
-74
SelectCommunityModal.vue
src/views/shops/modules/SelectCommunityModal.vue
+1
-1
SelectShopsModal.vue
src/views/shops/modules/SelectShopsModal.vue
+44
-22
没有找到文件。
src/api/api.js
浏览文件 @
b1280e8d
...
...
@@ -2,8 +2,13 @@ import { getAction, deleteAction, putAction, postAction, httpAction } from '@/ap
import
Vue
from
'vue'
import
{
UI_CACHE_DB_DICT_DATA
}
from
"@/store/mutation-types"
//商铺
const
partnersShopByDepId
=
(
params
)
=>
getAction
(
"/property-central/partners/partnersShop/queryById"
,
params
);
const
partnersShopAudit
=
(
params
)
=>
postAction
(
"/property-central/partners/partnersShop/audit"
,
params
);
const
partnersShopOperateApi
=
(
params
)
=>
getAction
(
`/property-central/partners/partnersShop/operate/
${
params
.
id
}
/
${
params
.
status
}
`
,{});
// 首页统计数据
const
getDataStatisticsApi
=
(
params
)
=>
getAction
(
"/property-central/
central/homepage/dataS
tatistics"
,
params
);
const
getDataStatisticsApi
=
(
params
)
=>
getAction
(
"/property-central/
partners/partnersInfo/s
tatistics"
,
params
);
//角色管理
const
addRole
=
(
params
)
=>
postAction
(
"/sys/role/add"
,
params
);
...
...
@@ -103,23 +108,10 @@ export const transitRESTful = {
http
:
(
url
,
parameter
)
=>
httpAction
(
getTransitURL
(
url
),
parameter
),
}
//入驻管理
const
getPropertyListApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertySettled/list"
,
params
);
const
getPropertyDetailApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertySettled/queryById"
,
params
);
const
AddUpdatePropertyApi
=
(
params
)
=>
postAction
(
"/property-central/property/propertySettled/add"
,
params
);
const
auditPropertyApi
=
(
params
)
=>
postAction
(
"/property-central/property/propertySettled/audit"
,
params
);
const
freezeOrPropertyApi
=
(
params
)
=>
getAction
(
`/property-central/property/propertySettled/freezeOrThaw/
${
params
.
id
}
/
${
params
.
status
}
`
,{});
//费用管理
const
getCostListApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertyChargrule/list"
,
params
);
const
getCostDetailApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertyChargrule/queryById"
,
params
);
const
AddUpdateCostApi
=
(
params
)
=>
postAction
(
"/property-central/property/propertyChargrule/add"
,
params
);
const
AuditUpdateCostApi
=
(
params
)
=>
postAction
(
"/property-central/property/propertyChargrule/audit"
,
params
);
const
getPropertyChargruleListApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertyChargrule/propertyChargruleList"
,
params
);
const
getPropertyAdvEditApi
=
(
params
)
=>
postAction
(
"/property-central/property/propertyAdv/edit"
,
params
);
const
proPertyChargruleApi
=
(
params
)
=>
getAction
(
`/property-central/property/propertyChargrule/freezeOrThaw/
${
params
.
id
}
/
${
params
.
status
}
`
,{});
export
{
partnersShopByDepId
,
partnersShopAudit
,
partnersShopOperateApi
,
getDataStatisticsApi
,
addRole
,
editRole
,
...
...
@@ -176,19 +168,7 @@ export {
saveDeptRolePermission
,
queryMyDepartTreeList
,
getUserNoticeInfo
,
getDictItemsFromCache
,
getPropertyListApi
,
getPropertyDetailApi
,
AddUpdatePropertyApi
,
auditPropertyApi
,
freezeOrPropertyApi
,
getCostListApi
,
getCostDetailApi
,
AddUpdateCostApi
,
AuditUpdateCostApi
,
getPropertyChargruleListApi
,
getPropertyAdvEditApi
,
proPertyChargruleApi
getDictItemsFromCache
}
...
...
src/views/benefiting/SettlementDetails.vue
浏览文件 @
b1280e8d
...
...
@@ -62,7 +62,7 @@
<
script
>
const
mapZoom
=
[
5
,
8
,
10
,
12
]
let
timer
=
null
import
{
getPropertyChargruleListApi
,
getPropertyDetailApi
,
auditPropertyApi
}
from
'@/api/api'
import
{
auditPropertyApi
}
from
'@/api/api'
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
...
...
@@ -221,11 +221,11 @@ export default {
},
methods
:
{
async
onLoadCostList
()
{
let
data
=
await
getPropertyChargruleListApi
()
//
let data = await getPropertyChargruleListApi()
this
.
costList
=
data
.
result
},
async
getPageDetail
()
{
let
{
result
}
=
await
getPropertyDetailApi
({
id
:
this
.
$route
.
query
.
id
})
//
let { result } = await getPropertyDetailApi({ id: this.$route.query.id })
this
.
edit
(
result
)
if
(
result
.
provinceName
)
{
this
.
getLongitude
(
...
...
src/views/dashboard/Analysis.vue
浏览文件 @
b1280e8d
...
...
@@ -6,7 +6,6 @@
<
template
>
<div>
<index-chart
v-if=
"indexStyle==1"
></index-chart>
111
<!--
<div
style=
"width: 100%;text-align: right;margin-top: 20px"
>
请选择首页样式:
<a-radio-group
v-model=
"indexStyle"
>
...
...
src/views/dashboard/IndexChart.vue
浏览文件 @
b1280e8d
...
...
@@ -6,9 +6,9 @@
<div
class=
"icon"
style=
"color:#1890ff;"
><a-icon
type=
"shop"
/></div>
<div>
<p
style=
"color:#666;margin-bottom:5px;"
>
绑定商铺数量
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
s
ettledNum
}}
<span><a-icon
type=
"arrow-up"
color=
"#1890ff"
/>
{{
statistical
.
monthSettledNum
}}
</span>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
s
hopCount
||
0
}}
<
!--
<
span><a-icon
type=
"arrow-up"
color=
"#1890ff"
/>
{{
statistical
.
monthSettledNum
}}
</span>
-->
</p>
</div>
</div>
...
...
@@ -18,7 +18,8 @@
<div
class=
"icon"
style=
"color:#7262fd;"
><a-icon
type=
"pie-chart"
/></div>
<div>
<p
style=
"color:#666;margin-bottom:5px;"
>
累积分利
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
communityNum
}}
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
totalDivideProfits
||
0
}}
</p>
</div>
</div>
</a-col>
...
...
@@ -27,7 +28,8 @@
<div
class=
"icon"
style=
"color:#ffaa00;"
><a-icon
type=
"bar-chart"
/></div>
<div>
<p
style=
"color:#666;margin-bottom:5px;"
>
待对账金额
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
communityNum
}}
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
totalReconciliation
||
0
}}
</p>
</div>
</div>
</a-col>
...
...
@@ -36,19 +38,19 @@
<div
class=
"icon"
style=
"color:#52c41a;"
><a-icon
type=
"line-chart"
/></div>
<div>
<p
style=
"color:#666;margin-bottom:5px;"
>
待结算金额
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
ownerNum
}}
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
totalBalance
||
0
}}
</p>
</div>
</div>
</a-col>
</a-row>
<div
class=
"wait-box"
style=
"margin-bottom: 25px;"
>
<h3
class=
"box-title"
>
待处理事务(商铺待审核)
</h3>
<h3
class=
"box-title"
>
待处理事务(
绑定
商铺待审核)
</h3>
<div
class=
"content"
v-if=
"waitAuditList.length > 0"
>
<div
class=
"item"
v-for=
"(item, index) in waitAuditList"
:key=
"index"
>
<p>
商铺名称:
{{
item
.
property
Name
}}
</p>
<p>
所属小区:
{{
item
.
empowerCommunityNum
}}
</p>
<p>
关联房屋:
{{
item
.
createBy
}}
</p>
<p>
商铺名称:
{{
item
.
shop
Name
}}
</p>
<p>
所属小区:
{{
item
.
communityName
}}
</p>
<p>
关联房屋:
{{
item
.
shopInfo
.
buildName
+
item
.
shopInfo
.
roomName
}}
</p>
<p>
添加时间:
{{
item
.
createTime
}}
</p>
<a-button
type=
"primary"
size=
"small"
@
click=
"toOperation(item)"
>
审核
</a-button>
</div>
...
...
@@ -68,101 +70,52 @@
<
script
>
import
*
as
echarts
from
'echarts'
import
chinaData
from
'@/assets/china.json'
//地图包
import
ChartCard
from
'@/components/ChartCard'
import
ACol
from
'ant-design-vue/es/grid/Col'
import
ATooltip
from
'ant-design-vue/es/tooltip/Tooltip'
import
MiniArea
from
'@/components/chart/MiniArea'
import
MiniBar
from
'@/components/chart/MiniBar'
import
MiniProgress
from
'@/components/chart/MiniProgress'
import
RankList
from
'@/components/chart/RankList'
import
Bar
from
'@/components/chart/Bar'
import
LineChartMultid
from
'@/components/chart/LineChartMultid'
import
HeadInfo
from
'@/components/tools/HeadInfo.vue'
import
Trend
from
'@/components/Trend'
import
{
getDataStatisticsApi
,
getLoginfo
,
getVisitInfo
,
auditPropertyApi
}
from
'@/api/api'
import
{
getDataStatisticsApi
}
from
'@/api/api'
import
{
getAction
}
from
'@/api/manage'
const
rankList
=
[]
for
(
let
i
=
0
;
i
<
7
;
i
++
)
{
rankList
.
push
({
name
:
'白鹭岛 '
+
(
i
+
1
)
+
' 号店'
,
total
:
1234.56
-
i
*
100
,
})
}
const
barData
=
[]
for
(
let
i
=
0
;
i
<
12
;
i
+=
1
)
{
barData
.
push
({
x
:
`
${
i
+
1
}
月`
,
y
:
Math
.
floor
(
Math
.
random
()
*
1000
)
+
200
,
})
}
export
default
{
name
:
'IndexChart'
,
components
:
{
ATooltip
,
ACol
,
ChartCard
,
MiniArea
,
MiniBar
,
MiniProgress
,
RankList
,
Bar
,
Trend
,
LineChartMultid
,
HeadInfo
,
},
components
:
{},
data
()
{
return
{
statistical
:
{},
mapData
:
[],
waitAuditList
:
[],
loading
:
true
,
center
:
null
,
rankList
,
barData
,
loginfo
:
{},
visitFields
:
[
'ip'
,
'visit'
],
visitInfo
:
[],
indicator
:
<
a
-
icon
type
=
"loading"
style
=
"font-size: 24px"
spin
/>
,
ipagination
:
{
pageNo
:
1
,
pageSize
:
50
,
auditTatus
:
'waitAudit'
,
},
url
:
{
list
:
'/property-central/partners/partnersShop/list'
,
},
}
},
created
()
{
setTimeout
(()
=>
{
this
.
loading
=
!
this
.
loading
},
1000
)
this
.
initLogInfo
()
this
.
getDataStatistics
()
},
methods
:
{
initLogInfo
()
{
getLoginfo
(
null
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
Object
.
keys
(
res
.
result
).
forEach
((
key
)
=>
{
res
.
result
[
key
]
=
res
.
result
[
key
]
+
''
})
this
.
loginfo
=
res
.
result
}
})
getVisitInfo
().
then
((
res
)
=>
{
async
getDataStatistics
()
{
getAction
(
this
.
url
.
list
,
this
.
ipagination
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
this
.
visitInfo
=
res
.
result
this
.
waitAuditList
=
res
.
result
.
records
}
})
},
async
getDataStatistics
()
{
let
{
result
}
=
await
getDataStatisticsApi
()
this
.
statistical
=
{
settledNum
:
result
.
settledNum
,
communityNum
:
result
.
communityNum
,
ownerNum
:
result
.
ownerNum
,
monthOwnerNum
:
result
.
monthOwnerNum
,
monthSettledNum
:
result
.
monthSettledNum
,
shopCount
:
result
.
shopCount
,
totalBalance
:
result
.
totalBalance
,
totalDivideProfits
:
result
.
totalDivideProfits
,
totalReconciliation
:
result
.
totalReconciliation
,
}
this
.
waitAuditList
=
result
.
waitAuditList
this
.
mapData
=
result
.
propertySettled
List
.
map
((
item
)
=>
{
result
.
vo
List
.
map
((
item
)
=>
{
return
{
name
:
item
.
property
Name
,
name
:
item
.
shop
Name
,
value
:
[
item
.
longitude
,
item
.
latitude
],
text
:
{
...
item
},
}
...
...
@@ -190,10 +143,8 @@ export default {
trigger
:
'item'
,
formatter
:
function
(
params
)
{
return
`商铺名称:
${
params
.
data
.
name
}
</br>商铺地址:
${
params
.
data
.
text
.
addressInfo
}
</br>联系人:
${
params
.
data
.
text
.
contactName
}
</br>联系电话:
${
params
.
data
.
text
.
contactPhone
}
</br>交易订单数量:
${
params
.
data
.
text
.
ontrialCommunityNum
||
0
}
`
</br>绑定时间:
${
params
.
data
.
text
.
createTime
}
</br>交易订单数量:
${
params
.
data
.
text
.
orderCount
||
0
}
`
},
borderColor
:
'#fff'
,
textStyle
:
{
...
...
@@ -224,7 +175,7 @@ export default {
// 要显示的散点数据
series
:
[
{
name
:
'
社区
分布数量图'
,
name
:
'分布数量图'
,
type
:
'scatter'
,
coordinateSystem
:
'geo'
,
//设置坐标系为 geo
data
:
this
.
mapData
,
...
...
src/views/shops/ShopsDetails.vue
浏览文件 @
b1280e8d
差异被折叠。
点击展开。
src/views/shops/ShopsList.vue
浏览文件 @
b1280e8d
...
...
@@ -5,13 +5,13 @@
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"
商铺
名称"
>
<j-input
placeholder=
"请输入
商铺名称"
v-model=
"queryParam.proper
tyName"
></j-input>
<a-form-item
label=
"
小区
名称"
>
<j-input
placeholder=
"请输入
小区名称"
v-model=
"queryParam.communi
tyName"
></j-input>
</a-form-item>
</a-col>
<a-col
:md=
"
8"
:sm=
"10
"
>
<a-form-item
label=
"
入驻时间
"
>
<
a-range-picker
@
change=
"onChange"
/
>
<a-col
:md=
"
6"
:sm=
"8
"
>
<a-form-item
label=
"
商铺名称
"
>
<
j-input
placeholder=
"请输入商铺名称"
v-model=
"queryParam.shopName"
></j-input
>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
...
...
@@ -32,9 +32,14 @@
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
:dataSource="dataSource" :pagination="pagination" :loading="loading" class="j-table-force-nowrap"
@change="handleTableChange">
<span
slot=
"propertyStatus"
slot-scope=
"text, record"
>
<a-tag
color=
"green"
v-if=
"record.propertyStatus === 'normal'"
>
正常
</a-tag>
<a-tag
color=
"red"
v-else
>
冻结
</a-tag>
<span
slot=
"auditTatus"
slot-scope=
"text, record"
>
<a-tag
color=
"orange"
v-if=
"record.auditTatus === 'waitAudit'"
>
待审核
</a-tag>
<a-tag
color=
"green"
v-if=
"record.auditTatus === 'auditPass'"
>
审核通过
</a-tag>
<a-tag
color=
"red"
v-else-if=
"record.auditTatus === 'refuse'"
>
审核拒绝
</a-tag>
</span>
<span
slot=
"freezingStatus"
slot-scope=
"text, record"
>
<a-tag
color=
"green"
v-if=
"record.freezingStatus === 'normal'"
>
正常
</a-tag>
<a-tag
color=
"red"
v-else-if=
"record.freezingStatus === 'freeze'"
>
冻结
</a-tag>
</span>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
href=
"javascript:;"
@
click=
"propertyDetails(4, record.id)"
>
详情
</a>
...
...
@@ -44,19 +49,16 @@
更多
<a-icon
type=
"down"
/>
</a>
<a-menu
slot=
"overlay"
>
<a-menu-item>
<a-menu-item
v-if=
"record.auditTatus === 'auditPass'"
>
<a
href=
"javascript:;"
@
click=
"onStatus(
1,record)"
>
{{
record
.
property
Status
===
'normal'
?
'冻结'
:
'解冻'
}}
</a>
@
click=
"onStatus(
record)"
>
{{
record
.
freezing
Status
===
'normal'
?
'冻结'
:
'解冻'
}}
</a>
</a-menu-item>
<a-menu-item>
<
!--
<
a-menu-item>
<a
href=
"javascript:;"
@
click=
"propertyDetails(2, record.id)"
>
修改
</a>
</a-menu-item>
<a-menu-item>
</a-menu-item>
-->
<a-menu-item
v-if=
"record.auditTatus != 'auditPass'"
>
<a
href=
"javascript:;"
@
click=
"propertyDetails(3, record.id)"
>
审核
</a>
</a-menu-item>
<a-menu-item>
<a
href=
"javascript:;"
@
click=
"onStatus(2,record)"
>
解绑
</a>
</a-menu-item>
</a-menu>
</a-dropdown>
</span>
...
...
@@ -66,15 +68,20 @@
</
template
>
<
script
>
//import { auditPropertyApi, freezeOrProperty
Api } from '@/api/api'
import
{
partnersShopOperate
Api
}
from
'@/api/api'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
{
filterDictTextByCache
}
from
'@/components/dict/JDictSelectUtil'
const
columns
=
[
{
title
:
'所属小区'
,
dataIndex
:
'communityName'
,
key
:
'communityName'
,
align
:
'center'
,
},
{
title
:
'商铺名称'
,
dataIndex
:
'
property
Name'
,
key
:
'
property
Name'
,
dataIndex
:
'
shop
Name'
,
key
:
'
shop
Name'
,
align
:
'center'
,
},
{
...
...
@@ -97,29 +104,28 @@ const columns = [
},
{
title
:
'分利'
,
dataIndex
:
'
registCapital
'
,
key
:
'
registCapital
'
,
dataIndex
:
'
totalDivideProfits
'
,
key
:
'
totalDivideProfits
'
,
align
:
'center'
,
},
{
title
:
'交易金额'
,
dataIndex
:
'
empowerCommunityNum
'
,
key
:
'
empowerCommunityNum
'
,
dataIndex
:
'
totalAmount
'
,
key
:
'
totalAmount
'
,
align
:
'center'
,
},
{
title
:
'审核状态'
,
dataIndex
:
'auditStatus'
,
key
:
'auditStatus'
,
customRender
:
function
(
text
)
{
return
filterDictTextByCache
(
'auditStatus'
,
text
)
},
dataIndex
:
'auditTatus'
,
scopedSlots
:
{
customRender
:
'auditTatus'
},
key
:
'auditTatus'
,
align
:
'center'
,
},
{
title
:
'冻结/解冻'
,
dataIndex
:
'
property
Status'
,
scopedSlots
:
{
customRender
:
'
property
Status'
},
key
:
'
property
Status'
,
dataIndex
:
'
freezing
Status'
,
scopedSlots
:
{
customRender
:
'
freezing
Status'
},
key
:
'
freezing
Status'
,
align
:
'center'
,
},
{
...
...
@@ -147,7 +153,7 @@ export default {
showSizeChanger
:
true
,
},
url
:
{
list
:
'/property-central/p
roperty/propertySettled
/list'
,
list
:
'/property-central/p
artners/partnersShop
/list'
,
},
}
},
...
...
@@ -171,48 +177,22 @@ export default {
})
}
},
onChange
(
date
,
dateString
)
{
if
(
dateString
.
length
>
0
)
{
this
.
queryParam
.
createTime_begin
=
dateString
[
0
]
this
.
queryParam
.
createTime_end
=
dateString
[
1
]
}
else
{
this
.
queryParam
.
createTime_begin
=
''
this
.
queryParam
.
createTime_end
=
''
}
},
onStatus
(
type
,
record
)
{
onStatus
(
record
)
{
let
that
=
this
if
(
type
==
1
)
{
this
.
$confirm
({
title
:
`确认
${
record
.
propertyStatus
===
'normal'
?
'冻结'
:
'解冻'
}
此商铺?`
,
closable
:
true
,
okText
:
`
${
record
.
propertyStatus
===
'normal'
?
'冻结'
:
'解冻'
}
`
,
onOk
()
{
// return freezeOrPropertyApi({
// id: record.id,
// status: `${record.propertyStatus === 'normal' ? 'freeze' : 'normal'}`,
// }).then((res) => {
// that.searchQuery()
// })
},
onCancel
()
{},
})
}
else
if
(
type
==
2
)
{
this
.
$confirm
({
title
:
`确认解绑商铺?`
,
closable
:
true
,
okText
:
`解绑`
,
onOk
()
{
// return freezeOrPropertyApi({
// id: record.id,
// status: `${record.propertyStatus === 'normal' ? 'freeze' : 'normal'}`,
// }).then((res) => {
// that.searchQuery()
// })
},
onCancel
()
{},
})
}
this
.
$confirm
({
title
:
`确认
${
record
.
freezingStatus
===
'normal'
?
'冻结'
:
'解冻'
}
此商铺?`
,
closable
:
true
,
okText
:
`
${
record
.
freezingStatus
===
'normal'
?
'冻结'
:
'解冻'
}
`
,
onOk
()
{
return
partnersShopOperateApi
({
id
:
record
.
id
,
status
:
`
${
record
.
freezingStatus
===
'normal'
?
'freeze'
:
'normal'
}
`
,
}).
then
((
res
)
=>
{
that
.
searchQuery
()
})
},
onCancel
()
{},
})
},
},
}
...
...
src/views/shops/modules/SelectCommunityModal.vue
浏览文件 @
b1280e8d
...
...
@@ -58,7 +58,7 @@
import
{
getAction
}
from
'@/api/manage'
export
default
{
name
:
"Select
User
Modal"
,
name
:
"Select
Community
Modal"
,
data
()
{
return
{
title
:
"选择小区"
,
...
...
src/views/shops/modules/SelectShopsModal.vue
浏览文件 @
b1280e8d
...
...
@@ -10,7 +10,7 @@
<a-col
:span=
"10"
>
<a-form-item
label=
"商铺名称"
>
<a-input
placeholder=
"请输入商铺名称"
v-model=
"queryParam.
property
Name"
></a-input>
<a-input
placeholder=
"请输入商铺名称"
v-model=
"queryParam.
shop
Name"
></a-input>
</a-form-item>
</a-col>
<a-col
:span=
"8"
>
...
...
@@ -43,7 +43,7 @@ import { filterObj } from '@/utils/util'
import
{
getAction
}
from
'@/api/manage'
export
default
{
name
:
'Select
User
Modal'
,
name
:
'Select
Shops
Modal'
,
data
()
{
return
{
title
:
'选择商铺'
,
...
...
@@ -54,38 +54,43 @@ export default {
// 表头
columns
:
[
{
title
:
'#'
,
dataIndex
:
''
,
key
:
'rowIndex'
,
width
:
50
,
title
:
'商铺名称'
,
dataIndex
:
'shopName'
,
key
:
'shopName'
,
align
:
'center'
,
customRender
:
function
(
t
,
r
,
index
)
{
return
parseInt
(
index
)
+
1
},
},
{
title
:
'商铺
名称
'
,
dataIndex
:
'
propertyNam
e'
,
key
:
'
propertyNam
e'
,
title
:
'商铺
编码
'
,
dataIndex
:
'
shopCod
e'
,
key
:
'
shopCod
e'
,
align
:
'center'
,
},
{
title
:
'统一社会信用代码'
,
dataIndex
:
'
creditCode
'
,
key
:
'
creditCode
'
,
dataIndex
:
'
shopInfo
'
,
key
:
'
shopInfo
'
,
align
:
'center'
,
customRender
:
function
(
text
)
{
return
text
.
creditCode
},
},
{
title
:
'联系人'
,
dataIndex
:
'
contactName
'
,
key
:
'
contactName
'
,
dataIndex
:
'
shopInfo
'
,
key
:
'
shopInfo
'
,
align
:
'center'
,
customRender
:
function
(
text
)
{
return
text
.
contactName
},
},
{
title
:
'电话'
,
dataIndex
:
'
contactPhone
'
,
key
:
'
contactPhone
'
,
dataIndex
:
'
shopInfo
'
,
key
:
'
shopInfo
'
,
align
:
'center'
,
customRender
:
function
(
text
)
{
return
text
.
contactPhone
},
},
],
...
...
@@ -112,14 +117,23 @@ export default {
selectedRows
:
[],
selectedShops
:
{},
url
:
{
list
:
'/property-central/
property/propertySettled
/list'
,
list
:
'/property-central/
shop/shopCommunity
/list'
,
},
communityCode
:
''
,
}
},
created
()
{
this
.
loadData
()
},
// activated(){
// console.log(11111)
// },
// created() {
// console.log(2222)
// this.loadData()
// },
methods
:
{
show
(
communityCode
)
{
this
.
communityCode
=
communityCode
this
.
visible
=
true
},
searchQuery
()
{
this
.
loadData
(
1
)
},
...
...
@@ -140,6 +154,7 @@ export default {
this
.
ipagination
.
current
=
1
}
var
params
=
this
.
getQueryParams
()
//查询条件
params
.
communityCode
=
this
.
communityCode
getAction
(
this
.
url
.
list
,
params
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
this
.
dataSource1
=
res
.
result
.
records
...
...
@@ -174,6 +189,13 @@ export default {
this
.
loadData
()
},
},
watch
:
{
visible
()
{
if
(
this
.
visible
)
{
this
.
loadData
(
1
)
}
},
},
}
</
script
>
<
style
lang=
"less"
scoped
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论