Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
total-platform
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
total-platform
Commits
0499b196
提交
0499b196
authored
6月 21, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增入驻物业详情页
上级
c8052ffe
全部展开
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
82 行增加
和
87 行删除
+82
-87
IndexChart.vue
src/views/dashboard/IndexChart.vue
+8
-24
PropertyDetails.vue
src/views/settled/PropertyDetails.vue
+0
-0
PropertyList.vue
src/views/settled/PropertyList.vue
+74
-63
没有找到文件。
src/views/dashboard/IndexChart.vue
浏览文件 @
0499b196
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
<div>
<div>
<p
style=
"color:#666;margin-bottom:5px;"
>
入驻物业公司数量
</p>
<p
style=
"color:#666;margin-bottom:5px;"
>
入驻物业公司数量
</p>
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
settledNum
}}
<p
style=
"margin-bottom:0;color:#333;font-size:28px;line-height:1;"
>
{{
statistical
.
settledNum
}}
<span
v-if=
"statistical.monthSettledNum > 0"
><a-icon
type=
"arrow-up"
color=
"#1890ff"
/>
{{
statistical
.
monthSettledNum
}}
</span></p>
<span
v-if=
"statistical.monthSettledNum > 0"
><a-icon
type=
"arrow-up"
color=
"#1890ff"
/>
{{
statistical
.
monthSettledNum
}}
</span>
</p>
</div>
</div>
</div>
</div>
</a-col>
</a-col>
...
@@ -35,7 +37,9 @@
...
@@ -35,7 +37,9 @@
<div>
<div>
<p
style=
"color:#666;margin-bottom:5px;"
>
累计物业社区数量
</p>
<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
.
ownerNum
}}
<span
v-if=
"statistical.monthOwnerNum > 0"
><a-icon
type=
"arrow-up"
color=
"#1890ff"
/>
{{
statistical
.
monthOwnerNum
}}
</span></p>
<span
v-if=
"statistical.monthOwnerNum > 0"
><a-icon
type=
"arrow-up"
color=
"#1890ff"
/>
{{
statistical
.
monthOwnerNum
}}
</span>
</p>
</div>
</div>
</div>
</div>
</a-col>
</a-col>
...
@@ -165,28 +169,8 @@ export default {
...
@@ -165,28 +169,8 @@ export default {
this
.
mapEcharts
()
this
.
mapEcharts
()
},
},
toOperation
(
record
)
{
toOperation
(
record
)
{
let
that
=
this
this
.
$router
.
push
({
this
.
$confirm
({
path
:
'/settled/propertyDetails?type=audit&id='
+
record
.
id
,
title
:
'确认审核物业集团:'
+
record
.
propertyName
+
'?'
,
closable
:
true
,
okText
:
'审核通过'
,
cancelText
:
'审核驳回'
,
onOk
()
{
return
auditPropertyApi
({
id
:
record
.
id
,
auditStatus
:
'auditPass'
,
}).
then
((
res
)
=>
{
that
.
getDataStatistics
()
})
},
onCancel
()
{
return
auditPropertyApi
({
id
:
record
.
id
,
auditStatus
:
'refuse'
,
}).
then
((
res
)
=>
{
that
.
getDataStatistics
()
})
},
})
})
},
},
//地图
//地图
...
...
src/views/settled/PropertyDetails.vue
0 → 100644
浏览文件 @
0499b196
差异被折叠。
点击展开。
src/views/settled/PropertyList.vue
浏览文件 @
0499b196
...
@@ -27,11 +27,11 @@
...
@@ -27,11 +27,11 @@
<!-- 操作按钮区域 -->
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
>
<div
class=
"table-operator"
>
<a-button
@
click=
"
handleAdd
"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-button
@
click=
"
propertyDetails(1)
"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('t_property_settled')"
>
导出
</a-button>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('t_property_settled')"
>
导出
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/></a-button>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-dropdown>
...
@@ -45,43 +45,34 @@
...
@@ -45,43 +45,34 @@
<a
style=
"margin-left: 24px"
v-if=
"selectedRowKeys.length > 0"
@
click=
"onClearSelected"
>
清空
</a>
<a
style=
"margin-left: 24px"
v-if=
"selectedRowKeys.length > 0"
@
click=
"onClearSelected"
>
清空
</a>
</div>
</div>
<a-table
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns"
ref=
"table"
:dataSource="dataSource" :pagination="pagination" :loading="loading"
size=
"middle"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" class="j-table-force-nowrap"
:scroll=
"
{x:true}"
@change="handleTableChange">
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="pagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange"
>
<span
slot=
"propertyStatus"
slot-scope=
"text, record"
>
<span
slot=
"propertyStatus"
slot-scope=
"text, record"
>
<span>
{{
record
.
propertyStatus
===
'normal'
?
'正常'
:
'冻结'
}}
</span>
<span>
{{
record
.
propertyStatus
===
'normal'
?
'正常'
:
'冻结'
}}
</span>
</span>
</span>
<span
slot=
"action"
slot-scope=
"text, record"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"
onLoadDetail(record, 'edit'
)"
>
编辑
</a>
<a
@
click=
"
propertyDetails(2, record.id
)"
>
编辑
</a>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a-dropdown>
<a-dropdown>
<a
class=
"ant-dropdown-link"
>
<a
class=
"ant-dropdown-link"
>
更多
<a-icon
type=
"down"
/>
更多
<a-icon
type=
"down"
/>
</a>
</a>
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
v-if=
"record.auditStatus !== 'waitAudit'"
>
<a-menu-item
v-if=
"record.auditStatus !== 'waitAudit'"
>
<a
@
click=
"handlePerssion(record.roleId)"
>
授权
</a>
<a
@
click=
"handlePerssion(record.roleId)"
>
授权
</a>
</a-menu-item>
</a-menu-item>
<a-menu-item>
<a-menu-item>
<a
href=
"javascript:;"
@
click=
"
onLoadDetail(recor
d)"
>
详情
</a>
<a
href=
"javascript:;"
@
click=
"
propertyDetails(4, record.i
d)"
>
详情
</a>
</a-menu-item>
</a-menu-item>
<a-menu-item
v-if=
"record.auditStatus === 'waitAudit'"
>
<a-menu-item
v-if=
"record.auditStatus === 'waitAudit'"
>
<a
href=
"javascript:;"
@
click=
"
onExamine(recor
d)"
>
审核
</a>
<a
href=
"javascript:;"
@
click=
"
propertyDetails(3, record.i
d)"
>
审核
</a>
</a-menu-item>
</a-menu-item>
<a-menu-item>
<a-menu-item>
<a
href=
"javascript:;"
@
click=
"onStatus(record)"
>
{{
record
.
propertyStatus
===
'normal'
?
'冻结'
:
'解冻'
}}
</a>
<a
href=
"javascript:;"
@
click=
"onStatus(record)"
>
{{
record
.
propertyStatus
===
'normal'
?
'冻结'
:
'解冻'
}}
</a>
</a-menu-item>
</a-menu-item>
<a-menu-item>
<a-menu-item>
<a-popconfirm
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
placement=
"topLeft"
>
<a-popconfirm
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
placement=
"topLeft"
>
...
@@ -104,77 +95,77 @@
...
@@ -104,77 +95,77 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
auditPropertyApi
,
freezeOrPropertyApi
}
from
'@/api/api'
import
{
auditPropertyApi
,
freezeOrPropertyApi
}
from
'@/api/api'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
PropertySettledModal
from
'./modules/PropertySettledModal'
import
PropertySettledModal
from
'./modules/PropertySettledModal'
import
UserRoleModal
from
'./modules/UserRoleModal'
import
UserRoleModal
from
'./modules/UserRoleModal'
import
{
filterDictTextByCache
}
from
'@/components/dict/JDictSelectUtil'
import
{
filterDictTextByCache
}
from
'@/components/dict/JDictSelectUtil'
const
columns
=
[
const
columns
=
[
{
{
title
:
'物业名称'
,
title
:
'物业名称'
,
dataIndex
:
'propertyName'
,
dataIndex
:
'propertyName'
,
key
:
'propertyName'
key
:
'propertyName'
,
},
},
{
{
title
:
'统一社会信用代码'
,
title
:
'统一社会信用代码'
,
dataIndex
:
'creditCode'
,
dataIndex
:
'creditCode'
,
key
:
'creditCode'
key
:
'creditCode'
,
},
},
{
{
title
:
'联系人'
,
title
:
'联系人'
,
dataIndex
:
'contactName'
,
dataIndex
:
'contactName'
,
key
:
'contactName'
key
:
'contactName'
,
},
},
{
{
title
:
'电话'
,
title
:
'电话'
,
dataIndex
:
'contactPhone'
,
dataIndex
:
'contactPhone'
,
key
:
'contactPhone'
key
:
'contactPhone'
,
},
},
{
{
title
:
'授权时间'
,
title
:
'授权时间'
,
dataIndex
:
'empowerDate'
,
dataIndex
:
'empowerDate'
,
key
:
'empowerDate'
key
:
'empowerDate'
,
},
},
{
{
title
:
'授权物业数量'
,
title
:
'授权物业数量'
,
dataIndex
:
'ontrialCommunityNum'
,
dataIndex
:
'ontrialCommunityNum'
,
key
:
'ontrialCommunityNum'
key
:
'ontrialCommunityNum'
,
},
},
{
{
title
:
'审核状态'
,
title
:
'审核状态'
,
dataIndex
:
'auditStatus'
,
dataIndex
:
'auditStatus'
,
key
:
'auditStatus'
,
key
:
'auditStatus'
,
customRender
:
function
(
text
)
{
customRender
:
function
(
text
)
{
return
filterDictTextByCache
(
'auditStatus'
,
text
);
return
filterDictTextByCache
(
'auditStatus'
,
text
)
}
},
},
},
{
{
title
:
'到期提示'
,
title
:
'到期提示'
,
dataIndex
:
'ontrialEndDate'
,
dataIndex
:
'ontrialEndDate'
,
key
:
'ontrialEndDate'
key
:
'ontrialEndDate'
,
},
},
{
{
title
:
'状态'
,
title
:
'状态'
,
dataIndex
:
'propertyStatus'
,
dataIndex
:
'propertyStatus'
,
scopedSlots
:
{
customRender
:
'propertyStatus'
},
scopedSlots
:
{
customRender
:
'propertyStatus'
},
key
:
'propertyStatus'
key
:
'propertyStatus'
,
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
dataIndex
:
'action'
,
dataIndex
:
'action'
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
align
:
'center'
,
align
:
'center'
,
width
:
150
width
:
150
,
}
},
]
]
export
default
{
export
default
{
name
:
'PermissionListAsync'
,
name
:
'PermissionListAsync'
,
mixins
:
[
JeecgListMixin
],
mixins
:
[
JeecgListMixin
],
components
:
{
components
:
{
PropertySettledModal
,
PropertySettledModal
,
UserRoleModal
UserRoleModal
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -185,19 +176,38 @@
...
@@ -185,19 +176,38 @@
total
:
0
,
total
:
0
,
current
:
1
,
current
:
1
,
pageSize
:
10
,
pageSize
:
10
,
showSizeChanger
:
true
showSizeChanger
:
true
,
},
},
url
:
{
url
:
{
list
:
"/property-central/property/propertySettled/list"
,
list
:
'/property-central/property/propertySettled/list'
,
delete
:
'/property-central/property/propertySettled/delete'
,
delete
:
'/property-central/property/propertySettled/delete'
,
deleteBatch
:
'/property-central/property/propertySettled/deleteBatch'
deleteBatch
:
'/property-central/property/propertySettled/deleteBatch'
,
},
},
}
}
},
},
methods
:
{
methods
:
{
propertyDetails
(
type
,
id
)
{
if
(
type
==
1
)
{
this
.
$router
.
push
({
path
:
'/settled/propertyDetails?type=add'
,
})
}
else
if
(
type
==
2
)
{
this
.
$router
.
push
({
path
:
'/settled/propertyDetails?type=edit&id='
+
id
,
})
}
else
if
(
type
==
3
)
{
this
.
$router
.
push
({
path
:
'/settled/propertyDetails?type=audit&id='
+
id
,
})
}
else
if
(
type
==
4
)
{
this
.
$router
.
push
({
path
:
'/settled/propertyDetails?type=detail&id='
+
id
,
})
}
},
onLoadDetail
(
record
,
type
)
{
onLoadDetail
(
record
,
type
)
{
record
[
'registAdress'
]
=
[
record
.
provinceCode
,
record
.
cityCode
,
record
.
countyCode
]
record
[
'registAdress'
]
=
[
record
.
provinceCode
,
record
.
cityCode
,
record
.
countyCode
]
if
(
type
===
'edit'
)
{
if
(
type
===
'edit'
)
{
this
.
handleEdit
(
record
)
this
.
handleEdit
(
record
)
}
else
{
}
else
{
this
.
handleDetail
(
record
)
this
.
handleDetail
(
record
)
...
@@ -213,20 +223,20 @@
...
@@ -213,20 +223,20 @@
onOk
()
{
onOk
()
{
return
auditPropertyApi
({
return
auditPropertyApi
({
id
:
record
.
id
,
id
:
record
.
id
,
auditStatus
:
'auditPass'
auditStatus
:
'auditPass'
,
}).
then
(
res
=>
{
}).
then
((
res
)
=>
{
that
.
searchQuery
()
that
.
searchQuery
()
})
})
},
},
onCancel
()
{
onCancel
()
{
return
auditPropertyApi
({
return
auditPropertyApi
({
id
:
record
.
id
,
id
:
record
.
id
,
auditStatus
:
'refuse'
auditStatus
:
'refuse'
,
}).
then
(
res
=>
{
}).
then
((
res
)
=>
{
that
.
searchQuery
()
that
.
searchQuery
()
})
})
}
},
});
})
},
},
onStatus
(
record
)
{
onStatus
(
record
)
{
let
that
=
this
let
that
=
this
...
@@ -237,20 +247,20 @@
...
@@ -237,20 +247,20 @@
onOk
()
{
onOk
()
{
return
freezeOrPropertyApi
({
return
freezeOrPropertyApi
({
id
:
record
.
id
,
id
:
record
.
id
,
status
:
`
${
record
.
propertyStatus
===
'normal'
?
'freeze'
:
'normal'
}
`
status
:
`
${
record
.
propertyStatus
===
'normal'
?
'freeze'
:
'normal'
}
`
,
}).
then
(
res
=>
{
}).
then
((
res
)
=>
{
that
.
searchQuery
()
that
.
searchQuery
()
})
})
},
},
onCancel
()
{}
onCancel
()
{},
});
})
},
},
handlePerssion
(
roleId
)
{
handlePerssion
(
roleId
)
{
this
.
$refs
.
modalUserRole
.
show
(
roleId
);
this
.
$refs
.
modalUserRole
.
show
(
roleId
)
}
},
}
},
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
@import
'~@assets/less/common.less'
;
@import
'~@assets/less/common.less'
;
</
style
>
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论