Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
housing-estate
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
housing-estate
Commits
cf3a574e
提交
cf3a574e
authored
9月 22, 2023
作者:
宋雄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
3abc1fac
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
107 行增加
和
50 行删除
+107
-50
api.js
src/api/api.js
+2
-0
static.js
src/assets/static.js
+7
-0
living-detail.vue
src/views/property/living/living-detail.vue
+4
-2
NoticeForm.vue
src/views/property/living/modules/NoticeForm.vue
+10
-6
RecordList.vue
src/views/property/record/RecordList.vue
+72
-26
ShopDetail.vue
src/views/shops/ShopDetail.vue
+2
-1
ShopList.vue
src/views/shops/ShopList.vue
+10
-15
没有找到文件。
src/api/api.js
浏览文件 @
cf3a574e
...
@@ -117,6 +117,7 @@ const getDetailReconciliationApi = (params)=>getAction("/property-community/prop
...
@@ -117,6 +117,7 @@ const getDetailReconciliationApi = (params)=>getAction("/property-community/prop
const
getAccountListByIdApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/getAccountListById"
,
params
);
const
getAccountListByIdApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/getAccountListById"
,
params
);
const
communityAuditAccountPageApi
=
(
params
)
=>
postAction
(
"/property-community/property/communityReconciliation/communityAudit"
,
params
);
const
communityAuditAccountPageApi
=
(
params
)
=>
postAction
(
"/property-community/property/communityReconciliation/communityAudit"
,
params
);
const
getCommunityRecordListApi
=
(
params
)
=>
getAction
(
"/property-central/property/auditRecord/getRecordList"
,
params
);
const
getCommunityRecordListApi
=
(
params
)
=>
getAction
(
"/property-central/property/auditRecord/getRecordList"
,
params
);
const
communitySubAuditApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/communitySubAudit"
,
params
);
const
communitySubCompanyApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/communitySubCompany"
,
params
);
const
communitySubCompanyApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/communitySubCompany"
,
params
);
// 商铺管理
// 商铺管理
const
shopAuditApi
=
(
params
)
=>
postAction
(
"/property-central/shop/shopInfo/audit"
,
params
);
const
shopAuditApi
=
(
params
)
=>
postAction
(
"/property-central/shop/shopInfo/audit"
,
params
);
...
@@ -272,6 +273,7 @@ export {
...
@@ -272,6 +273,7 @@ export {
getAccountListByIdApi
,
getAccountListByIdApi
,
communityAuditAccountPageApi
,
communityAuditAccountPageApi
,
getCommunityRecordListApi
,
getCommunityRecordListApi
,
communitySubAuditApi
,
communitySubCompanyApi
,
communitySubCompanyApi
,
freezeOrPropertyApi
,
freezeOrPropertyApi
,
setOwnerLabelApi
,
setOwnerLabelApi
,
...
...
src/assets/static.js
浏览文件 @
cf3a574e
...
@@ -100,6 +100,13 @@ export const COMPANY_AUDIT_STATUS = [
...
@@ -100,6 +100,13 @@ export const COMPANY_AUDIT_STATUS = [
{
label
:
'物业审核驳回'
,
value
:
'companyRefuse'
}
{
label
:
'物业审核驳回'
,
value
:
'companyRefuse'
}
]
]
// 总平台对账审核状态
export
const
CENTRAL_AUDIT_STATUS
=
[
{
label
:
'总平台待审核'
,
value
:
'centralWaitAudit'
},
{
label
:
'总平台审核通过'
,
value
:
'centralAuditPass'
},
{
label
:
'总平台审核驳回'
,
value
:
'centralRefuse'
}
]
// 分利对账审核状态
// 分利对账审核状态
export
const
FENLICENTRAL_AUDIT_STATUS
=
[
export
const
FENLICENTRAL_AUDIT_STATUS
=
[
{
label
:
'未对账'
,
value
:
'1'
},
{
label
:
'未对账'
,
value
:
'1'
},
...
...
src/views/property/living/living-detail.vue
浏览文件 @
cf3a574e
...
@@ -68,8 +68,7 @@
...
@@ -68,8 +68,7 @@
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"本期度数"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"currentDegrees"
>
<a-form-model-item
label=
"本期度数"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"currentDegrees"
>
<a-input-number
v-model=
"model.currentDegrees"
placeholder=
"请输入本期度数"
<a-input-number
v-model=
"model.currentDegrees"
placeholder=
"请输入本期度数"
:min=
"minDegrees"
style=
"width:100%"
></a-input-number>
style=
"width:100%"
></a-input-number>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
...
@@ -243,6 +242,9 @@ export default {
...
@@ -243,6 +242,9 @@ export default {
formDisabled
()
{
formDisabled
()
{
return
this
.
disabled
return
this
.
disabled
},
},
minDegrees
()
{
return
this
.
model
.
currentDegrees
?
(
NUmber
(
this
.
model
.
currentDegrees
)
+
1
)
:
1
}
},
},
created
()
{
created
()
{
//备份model原始值
//备份model原始值
...
...
src/views/property/living/modules/NoticeForm.vue
浏览文件 @
cf3a574e
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"本期度数"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"currentDegrees"
>
<a-form-model-item
label=
"本期度数"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"currentDegrees"
>
<a-input-number
v-model=
"model.currentDegrees"
placeholder=
"请输入本期度数"
style=
"width:100%"
@
change
=
"onDegreesChange"
></a-input-number>
<a-input-number
v-model=
"model.currentDegrees"
placeholder=
"请输入本期度数"
style=
"width:100%"
@
blur
=
"onDegreesChange"
></a-input-number>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
let
res
=
await
queryLastDegreesByIdApi
({
roomId
:
this
.
model
.
roomId
,
chargeTypeId
:
this
.
model
.
chargeTypeId
})
let
res
=
await
queryLastDegreesByIdApi
({
roomId
:
this
.
model
.
roomId
,
chargeTypeId
:
this
.
model
.
chargeTypeId
})
this
.
model
.
lastDegrees
=
res
.
result
this
.
model
.
lastDegrees
=
res
.
result
if
(
this
.
model
.
currentDegrees
)
{
if
(
this
.
model
.
currentDegrees
)
{
this
.
onDegreesChange
(
this
.
model
.
currentDegrees
)
this
.
onDegreesChange
()
}
}
},
},
async
onqueryByRoomId
()
{
async
onqueryByRoomId
()
{
...
@@ -319,10 +319,14 @@
...
@@ -319,10 +319,14 @@
}
}
});
});
},
},
onDegreesChange
(
value
)
{
onDegreesChange
()
{
if
(
this
.
model
.
lastDegrees
||
this
.
model
.
lastDegrees
==
0
)
{
if
(
this
.
model
.
currentDegrees
<=
Number
(
this
.
model
.
lastDegrees
))
{
this
.
model
.
useAmount
=
(
value
-
Number
(
this
.
model
.
lastDegrees
)).
toFixed
(
2
)
this
.
$message
.
warning
(
'本期度数不能低于上去度数,请验证!'
)
this
.
model
.
totalAmount
=
(
Number
(
this
.
model
.
useAmount
)
*
this
.
amount
).
toFixed
(
2
)
}
else
{
if
(
this
.
model
.
lastDegrees
||
this
.
model
.
lastDegrees
==
0
)
{
this
.
model
.
useAmount
=
(
this
.
model
.
currentDegrees
-
Number
(
this
.
model
.
lastDegrees
)).
toFixed
(
2
)
this
.
model
.
totalAmount
=
(
Number
(
this
.
model
.
useAmount
)
*
this
.
amount
).
toFixed
(
2
)
}
}
}
},
},
submitForm
()
{
submitForm
()
{
...
...
src/views/property/record/RecordList.vue
浏览文件 @
cf3a574e
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
<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=
"onReconciliation()"
><a-icon
type=
"audit"
/>
批量审核
</a-menu-item>
<a-menu-item
key=
"1"
@
click=
"onReconciliation()"
><a-icon
type=
"audit"
/>
批量审核
</a-menu-item>
<a-menu-item
key=
"2"
@
click=
"onSubmit()"
><a-icon
type=
"audit"
/>
批量申请对账
</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>
...
@@ -64,7 +65,7 @@
...
@@ -64,7 +65,7 @@
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a
href=
"javascript:;"
@
click=
"propertyDetails(2, record.id)"
>
审核
</a>
<a
href=
"javascript:;"
@
click=
"propertyDetails(2, record.id)"
>
审核
</a>
</
template
>
</
template
>
<
template
v-if=
"record.communityAuditStatus === 'communityRefuse' || record.companyAuditStatus === 'companyRefuse'"
>
<
template
v-if=
"record.communityAuditStatus === 'communityRefuse' || record.companyAuditStatus === 'companyRefuse'
|| record.centralAuditStatus === 'centralRefuse'
"
>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a-popconfirm
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
placement=
"topLeft"
>
<a-popconfirm
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
placement=
"topLeft"
>
<a>
删除
</a>
<a>
删除
</a>
...
@@ -72,20 +73,32 @@
...
@@ -72,20 +73,32 @@
</
template
>
</
template
>
<
template
v-if=
"record.communityAuditStatus === 'communityAuditPass' && !record.companyAuditStatus"
>
<
template
v-if=
"record.communityAuditStatus === 'communityAuditPass' && !record.companyAuditStatus"
>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a
href=
"javascript:;"
@
click=
"on
Reconciliation
(record.id)"
>
申请对账
</a>
<a
href=
"javascript:;"
@
click=
"on
Submit
(record.id)"
>
申请对账
</a>
</
template
>
</
template
>
</span>
</span>
</a-table>
</a-table>
</div>
</div>
<!-- table区域-end -->
<!-- table区域-end -->
<a-modal
v-model=
"visibleAudit"
:width=
"400"
>
<
template
slot=
"footer"
>
<a-button
key=
"back"
@
click=
"visibleAudit = false"
>
取消
</a-button>
<a-button
key=
"reject"
type=
"danger"
@
click=
"handleAudit('refuse')"
>
驳回
</a-button>
<a-button
key=
"submit"
type=
"primary"
@
click=
"handleAudit('auditPass')"
>
通过
</a-button>
</
template
>
<div
class=
"ant-modal-confirm-body"
>
<a-icon
type=
"question-circle"
style=
"color:#faad14;margin-right: 16px;font-size:22px;"
/>
<span
class=
"ant-modal-confirm-title"
>
确认要审核当前对账吗?
</span>
</div>
</a-modal>
</a-card>
</a-card>
</template>
</template>
<
script
>
<
script
>
import
{
communitySubCompanyApi
}
from
'@/api/api'
import
{
communitySub
AuditApi
,
communitySub
CompanyApi
}
from
'@/api/api'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
{
filterDictTextByStatic
,
RECONCILIATION_STATUS
,
COMPANY_AUDIT_STATUS
}
from
'@/assets/static.js'
import
{
filterDictTextByStatic
,
RECONCILIATION_STATUS
,
COMPANY_AUDIT_STATUS
,
CENTRAL_AUDIT_STATUS
}
from
'@/assets/static.js'
const
columns
=
[
const
columns
=
[
{
{
...
@@ -142,6 +155,15 @@ const columns = [
...
@@ -142,6 +155,15 @@ const columns = [
return
filterDictTextByStatic
(
COMPANY_AUDIT_STATUS
,
text
)
return
filterDictTextByStatic
(
COMPANY_AUDIT_STATUS
,
text
)
}
}
},
},
{
title
:
'总平台审核状态'
,
dataIndex
:
'centralAuditStatus'
,
key
:
'centralAuditStatus'
,
align
:
'center'
,
customRender
:
function
(
text
)
{
return
filterDictTextByStatic
(
CENTRAL_AUDIT_STATUS
,
text
)
}
},
{
{
title
:
'操作'
,
title
:
'操作'
,
dataIndex
:
'action'
,
dataIndex
:
'action'
,
...
@@ -165,41 +187,65 @@ export default {
...
@@ -165,41 +187,65 @@ export default {
list
:
'/property-community/property/communityReconciliation/list'
,
list
:
'/property-community/property/communityReconciliation/list'
,
delete
:
'/property-community/property/communityReconciliation/delete'
,
delete
:
'/property-community/property/communityReconciliation/delete'
,
deleteBatch
:
'/property-community/property/communityReconciliation/deleteBatch'
,
deleteBatch
:
'/property-community/property/communityReconciliation/deleteBatch'
,
}
},
visibleAudit
:
false
}
}
},
},
methods
:
{
methods
:
{
onCheckboxProps
:
record
=>
{
onCheckboxProps
:
record
=>
(
{
let
props
=
{
props
:
{
disabled
:
record
.
communityAuditStatus
!==
'communityAuditPass'
,
disabled
:
record
.
communityAuditStatus
===
'communityRefuse'
||
(
record
.
communityAuditStatus
===
'communityAuditPass'
&&
(
record
.
companyAuditStatus
===
'companyWaitAudit'
||
record
.
companyAuditStatus
===
'companyAuditPass'
))
,
name
:
record
.
id
name
:
record
.
id
}
}
return
props
}),
},
propertyDetails
(
type
,
id
)
{
propertyDetails
(
type
,
id
)
{
let
params
=
id
?
`?type=
${
type
}
&id=
${
id
}
`
:
`?type=
${
type
}
`
let
params
=
id
?
`?type=
${
type
}
&id=
${
id
}
`
:
`?type=
${
type
}
`
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/property/RecordDetails'
+
params
path
:
'/property/RecordDetails'
+
params
})
})
},
},
onReconciliation
(
id
)
{
handleAudit
(
type
)
{
let
ids
=
id
||
this
.
selectedRowKeys
.
join
(
','
)
let
ids
=
this
.
selectedRowKeys
.
join
(
','
)
let
that
=
this
communitySubAuditApi
({
this
.
$confirm
({
ids
,
title
:
id
?
'确认要审核当前对账吗?'
:
'确认要批量审核当前对账吗?'
,
auditStatus
:
type
closable
:
true
,
}).
then
(
res
=>
{
okText
:
'确认'
,
this
.
visibleAudit
=
false
onOk
()
{
this
.
$message
.
success
(
`
${
type
===
'auditPass'
?
'审核'
:
'驳回'
}
成功!`
)
return
communitySubCompanyApi
({
this
.
searchQuery
()
ids
}).
then
((
res
)
=>
{
that
.
$message
.
success
(
'申请对账成功!'
)
that
.
searchQuery
()
})
}
})
})
},
onReconciliation
()
{
let
flag
=
this
.
selectionRows
.
some
(
item
=>
item
.
communityAuditStatus
===
'communityAuditPass'
)
if
(
flag
)
{
this
.
$message
.
warning
(
'请注意,已选数据中有 已审核 账单!'
)
}
else
{
this
.
visibleAudit
=
true
}
},
onSubmit
(
id
)
{
let
flag
=
this
.
selectionRows
.
some
(
item
=>
item
.
communityAuditStatus
!==
'communityAuditPass'
)
if
(
flag
)
{
this
.
$message
.
warning
(
'请注意,已选数据中有 未审核 账单!'
)
}
else
{
let
ids
=
id
||
this
.
selectedRowKeys
.
join
(
','
)
let
that
=
this
this
.
$confirm
({
title
:
id
?
'确认要申请当前对账吗?'
:
'确认要批量申请当前对账吗?'
,
closable
:
true
,
okText
:
'确认'
,
onOk
()
{
return
communitySubCompanyApi
({
ids
}).
then
((
res
)
=>
{
that
.
$message
.
success
(
'申请对账成功!'
)
that
.
searchQuery
()
})
}
})
}
}
}
}
,
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/views/shops/ShopDetail.vue
浏览文件 @
cf3a574e
...
@@ -257,6 +257,7 @@ export default {
...
@@ -257,6 +257,7 @@ export default {
longitude
:
''
,
longitude
:
''
,
latitude
:
''
,
latitude
:
''
,
accessAddress
:
''
,
accessAddress
:
''
,
adminPassword
:
'123456'
},
},
labelCol
:
{
labelCol
:
{
xs
:
{
span
:
24
},
xs
:
{
span
:
24
},
...
@@ -280,7 +281,7 @@ export default {
...
@@ -280,7 +281,7 @@ export default {
registAdress
:
[{
required
:
true
,
message
:
'请选择注册地址'
,
trigger
:
'change'
}],
registAdress
:
[{
required
:
true
,
message
:
'请选择注册地址'
,
trigger
:
'change'
}],
addressInfo
:
[{
required
:
true
,
message
:
'请输入详细地址'
,
trigger
:
'blur'
}],
addressInfo
:
[{
required
:
true
,
message
:
'请输入详细地址'
,
trigger
:
'blur'
}],
logoUrl
:
[{
required
:
true
,
message
:
'请上传LOGO'
,
trigger
:
'change'
}],
logoUrl
:
[{
required
:
true
,
message
:
'请上传LOGO'
,
trigger
:
'change'
}],
adminLoginName
:
[{
required
:
true
,
message
:
'请输入管理员账号'
,
trigger
:
'blur'
}],
//
adminLoginName: [{ required: true, message: '请输入管理员账号', trigger: 'blur' }],
contractUrl
:
[{
required
:
true
,
message
:
'请上传合同附件'
,
trigger
:
'change'
}],
contractUrl
:
[{
required
:
true
,
message
:
'请上传合同附件'
,
trigger
:
'change'
}],
adminPassword
:
[{
required
:
true
,
message
:
'请输入管理员密码'
,
trigger
:
'blur'
}],
adminPassword
:
[{
required
:
true
,
message
:
'请输入管理员密码'
,
trigger
:
'blur'
}],
accessAddress
:
[
accessAddress
:
[
...
...
src/views/shops/ShopList.vue
浏览文件 @
cf3a574e
...
@@ -10,15 +10,16 @@
...
@@ -10,15 +10,16 @@
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-
range-picker
<a-
form-item
label=
"入驻开始时间"
>
style=
"width: 100%"
<a-date-picker
placeholder=
"入驻开始时间"
valueFormat=
"YYYY-MM-DD"
v-model=
"queryParam.beginDate"
></a-date-picker>
</a-form-item>
format=
"YYYY-MM-DD"
</a-col>
:placeholder=
"['开始时间', '结束时间']"
<a-col
:md=
"6"
:sm=
"8"
>
@
change=
"onDateChange"
<a-form-item
label=
"入驻结束时间"
>
@
ok=
"onDateOk"
<a-date-picker
placeholder=
"入驻结束时间"
valueFormat=
"YYYY-MM-DD"
v-model=
"queryParam.endDate"
></a-date-picker>
/
>
</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"
>
<a-col
:md=
"8"
:sm=
"24"
>
<a-col
:md=
"8"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
...
@@ -44,7 +45,7 @@
...
@@ -44,7 +45,7 @@
rowKey="id"
rowKey="id"
:columns="columns"
:columns="columns"
:dataSource="dataSource"
:dataSource="dataSource"
:pagination="pagination"
:pagination="
i
pagination"
:loading="loading"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
class="j-table-force-nowrap"
...
@@ -186,12 +187,6 @@ export default {
...
@@ -186,12 +187,6 @@ export default {
// 表头
// 表头
columns
:
columns
,
columns
:
columns
,
loading
:
false
,
loading
:
false
,
pagination
:
{
total
:
0
,
current
:
1
,
pageSize
:
10
,
showSizeChanger
:
true
}
,
url
:
{
url
:
{
list
:
"/property-central/shop/shopInfo/list"
,
list
:
"/property-central/shop/shopInfo/list"
,
audit
:
"/property-central/shop/shopInfo/audit"
,
audit
:
"/property-central/shop/shopInfo/audit"
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论