Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
housing-estate
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
housing-estate
Commits
2c47334f
提交
2c47334f
authored
8月 16, 2023
作者:
宋雄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
解决bug
上级
d818f5c3
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
118 行增加
和
92 行删除
+118
-92
.env.development
.env.development
+1
-1
api.js
src/api/api.js
+13
-3
static.js
src/assets/static.js
+23
-0
advertisement.vue
src/views/property/advertisement/advertisement.vue
+1
-1
living-detail.vue
src/views/property/living/living-detail.vue
+0
-6
living.vue
src/views/property/living/living.vue
+3
-14
NoticeForm.vue
src/views/property/living/modules/NoticeForm.vue
+11
-13
NoticeForm.vue
src/views/property/propertyfee/modules/NoticeForm.vue
+38
-19
propertyfee-detail.vue
src/views/property/propertyfee/propertyfee-detail.vue
+4
-6
propertyfee.vue
src/views/property/propertyfee/propertyfee.vue
+4
-15
NoticeForm.vue
src/views/property/receipt/modules/NoticeForm.vue
+9
-5
receipt.vue
src/views/property/receipt/receipt.vue
+11
-9
templateModal.vue
src/views/property/receipt/templateModal.vue
+0
-0
RecordDetails.vue
src/views/property/record/RecordDetails.vue
+0
-0
RecordList.vue
src/views/property/record/RecordList.vue
+0
-0
没有找到文件。
.env.development
浏览文件 @
2c47334f
NODE_ENV=development
NODE_ENV=development
# VUE_APP_API_BASE_URL='http://192.168.0.11
9
:9999'
# VUE_APP_API_BASE_URL='http://192.168.0.11
3
:9999'
# VUE_APP_API_BASE_URL='http://192.168.0.101:9999'
# VUE_APP_API_BASE_URL='http://192.168.0.101:9999'
VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
...
...
src/api/api.js
浏览文件 @
2c47334f
...
@@ -69,7 +69,7 @@ const deleteLog = (params)=>deleteAction("/sys/log/delete",params);
...
@@ -69,7 +69,7 @@ const deleteLog = (params)=>deleteAction("/sys/log/delete",params);
const
deleteLogList
=
(
params
)
=>
deleteAction
(
"/sys/log/deleteBatch"
,
params
);
const
deleteLogList
=
(
params
)
=>
deleteAction
(
"/sys/log/deleteBatch"
,
params
);
//收费类型列表
//收费类型列表
const
getChargeListApi
=
(
params
)
=>
getAction
(
"/property-com
munit
y/system/chargeType/chargeTypelist"
,
params
);
const
getChargeListApi
=
(
params
)
=>
getAction
(
"/property-com
pan
y/system/chargeType/chargeTypelist"
,
params
);
const
addReceiptTemplate
=
(
params
)
=>
postAction
(
"/property-community/system/receiptTemplate/add"
,
params
);
const
addReceiptTemplate
=
(
params
)
=>
postAction
(
"/property-community/system/receiptTemplate/add"
,
params
);
// 楼栋列表、单元列表、房间列表
// 楼栋列表、单元列表、房间列表
const
getBuildingListApi
=
(
params
)
=>
getAction
(
"/property-community/building/communityBuilding/buildingList"
,
params
);
const
getBuildingListApi
=
(
params
)
=>
getAction
(
"/property-community/building/communityBuilding/buildingList"
,
params
);
...
@@ -108,9 +108,14 @@ const auditCommunityComplaintApi = (params)=>postAction("/property-community/pro
...
@@ -108,9 +108,14 @@ const auditCommunityComplaintApi = (params)=>postAction("/property-community/pro
const
auditMoveComplaintApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityComplaint/moveComplaint"
,
params
);
const
auditMoveComplaintApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityComplaint/moveComplaint"
,
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
freezeOrPropertyApi
=
(
params
)
=>
getAction
(
`/property-central/property/propertySettled/freezeOrThaw/
${
params
.
id
}
/
${
params
.
status
}
`
,{});
const
getPropertyChargruleListApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertyChargrule/propertyChargruleList"
,
params
);
const
getPropertyChargruleListApi
=
(
params
)
=>
getAction
(
"/property-central/property/propertyChargrule/propertyChargruleList"
,
params
);
const
addCommunityAccountPageApi
=
(
params
)
=>
postAction
(
"/property-community/property/communityReconciliation/add"
,
params
);
const
getDetailReconciliationApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/queryById"
,
params
);
const
getAccountListByIdApi
=
(
params
)
=>
getAction
(
"/property-community/property/communityReconciliation/getAccountListById"
,
params
);
const
communityAuditAccountPageApi
=
(
params
)
=>
postAction
(
"/property-community/property/communityReconciliation/communityAudit"
,
params
);
const
getCommunityRecordListApi
=
(
params
)
=>
getAction
(
"/property-central/property/auditRecord/getRecordList"
,
params
);
const
communitySubCompanyApi
=
(
params
)
=>
postAction
(
"/property-community/property/communityReconciliation/communitySubCompany"
,
params
);
//数据字典
//数据字典
const
addDict
=
(
params
)
=>
postAction
(
"/sys/dict/add"
,
params
);
const
addDict
=
(
params
)
=>
postAction
(
"/sys/dict/add"
,
params
);
...
@@ -244,7 +249,12 @@ export {
...
@@ -244,7 +249,12 @@ export {
auditCommunityComplaintApi
,
auditCommunityComplaintApi
,
auditMoveComplaintApi
,
auditMoveComplaintApi
,
getPropertyChargruleListApi
,
getPropertyChargruleListApi
,
auditPropertyApi
,
addCommunityAccountPageApi
,
getDetailReconciliationApi
,
getAccountListByIdApi
,
communityAuditAccountPageApi
,
getCommunityRecordListApi
,
communitySubCompanyApi
,
freezeOrPropertyApi
,
freezeOrPropertyApi
,
setOwnerLabelApi
,
setOwnerLabelApi
,
editOwnerLabelApi
,
editOwnerLabelApi
,
...
...
src/assets/static.js
浏览文件 @
2c47334f
...
@@ -77,6 +77,29 @@ export const OWNER_LEBEL = [
...
@@ -77,6 +77,29 @@ export const OWNER_LEBEL = [
{
label
:
'残'
,
value
:
'labelDestituteCan'
}
{
label
:
'残'
,
value
:
'labelDestituteCan'
}
]
]
// 付费周期
export
const
CHARGING_CYCLE
=
[
{
label
:
'每月'
,
value
:
'1'
},
{
label
:
'每季度'
,
value
:
'2'
},
{
label
:
'每年'
,
value
:
'3'
},
{
label
:
'一次性付清'
,
value
:
'4'
},
{
label
:
'预付'
,
value
:
'5'
}
]
// 小区对账审核状态
export
const
RECONCILIATION_STATUS
=
[
{
label
:
'小区待审核'
,
value
:
'communityWaitAudit'
},
{
label
:
'小区审核通过'
,
value
:
'communityAuditPass'
},
{
label
:
'小区审核驳回'
,
value
:
'communityRefuse'
}
]
// 物业对账审核状态
export
const
COMPANY_AUDIT_STATUS
=
[
{
label
:
'物业待审核'
,
value
:
'companyWaitAudit'
},
{
label
:
'物业审核通过'
,
value
:
'companyAuditPass'
},
{
label
:
'物业审核驳回'
,
value
:
'companyRefuse'
}
]
/**
/**
* 翻译字段值对应的文本
* 翻译字段值对应的文本
* @param children
* @param children
...
...
src/views/property/advertisement/advertisement.vue
浏览文件 @
2c47334f
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
</div>
</div>
<!-- table区域-end -->
<!-- table区域-end -->
<notice-modal
ref=
"modalForm"
@
ok=
"
modalFormOk
"
></notice-modal>
<notice-modal
ref=
"modalForm"
@
ok=
"
searchQuery
"
></notice-modal>
</a-card>
</a-card>
</
template
>
</
template
>
...
...
src/views/property/living/living-detail.vue
浏览文件 @
2c47334f
...
@@ -20,11 +20,6 @@
...
@@ -20,11 +20,6 @@
<a-input
v-model=
"model.roomAllName"
placeholder=
"请输入"
></a-input>
<a-input
v-model=
"model.roomAllName"
placeholder=
"请输入"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"业主"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"ownerName"
>
<a-input
v-model=
"model.ownerName"
placeholder=
"请输入"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"与业主关系"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"relationShip"
>
<a-form-model-item
label=
"与业主关系"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"relationShip"
>
<!--
<a-input
v-model=
"model.relationShip"
placeholder=
"请输入"
></a-input>
-->
<!--
<a-input
v-model=
"model.relationShip"
placeholder=
"请输入"
></a-input>
-->
...
@@ -220,7 +215,6 @@ export default {
...
@@ -220,7 +215,6 @@ export default {
roomId
:
''
,
roomId
:
''
,
roomName
:
''
,
roomName
:
''
,
floorSpace
:
''
,
floorSpace
:
''
,
ownerName
:
''
,
ownerPhone
:
''
,
ownerPhone
:
''
,
residentName
:
''
,
residentName
:
''
,
residentPhone
:
''
,
residentPhone
:
''
,
...
...
src/views/property/living/living.vue
浏览文件 @
2c47334f
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"
业主
姓名"
>
<a-form-item
label=
"
住户
姓名"
>
<j-input
placeholder=
"请输入
业主姓名"
v-model=
"queryParam.owner
Name"
></j-input>
<j-input
placeholder=
"请输入
住户姓名"
v-model=
"queryParam.resident
Name"
></j-input>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
...
@@ -62,9 +62,6 @@
...
@@ -62,9 +62,6 @@
onChange: onSelectChange,
onChange: onSelectChange,
getCheckboxProps: onCheckboxProps
getCheckboxProps: onCheckboxProps
}" class="j-table-force-nowrap" @change="handleTableChange">
}" class="j-table-force-nowrap" @change="handleTableChange">
<span
slot=
"ownerId"
slot-scope=
"text, record"
>
<span>
{{
record
.
ownerName
}}
,
{{
record
.
ownerPhone
}}
</span>
</span>
<span
slot=
"residentPhone"
slot-scope=
"text, record"
>
<span
slot=
"residentPhone"
slot-scope=
"text, record"
>
<span>
{{
record
.
residentName
}}
,
{{
record
.
residentPhone
}}
</span>
<span>
{{
record
.
residentName
}}
,
{{
record
.
residentPhone
}}
</span>
</span>
</span>
...
@@ -87,7 +84,7 @@
...
@@ -87,7 +84,7 @@
</div>
</div>
</div>
</div>
<notice-modal
ref=
"modalForm"
@
ok=
"
modalFormOk
"
></notice-modal>
<notice-modal
ref=
"modalForm"
@
ok=
"
searchQuery
"
></notice-modal>
</a-card>
</a-card>
</template>
</template>
...
@@ -111,14 +108,6 @@ const columns = [
...
@@ -111,14 +108,6 @@ const columns = [
key
:
'chargeItem'
,
key
:
'chargeItem'
,
align
:
'center'
,
align
:
'center'
,
},
},
{
title
:
'业主'
,
dataIndex
:
'ownerId'
,
key
:
'ownerId'
,
scopedSlots
:
{
customRender
:
'ownerId'
},
align
:
'center'
,
ellipsis
:
true
},
{
{
title
:
'与业主关系'
,
title
:
'与业主关系'
,
dataIndex
:
'relationShip'
,
dataIndex
:
'relationShip'
,
...
...
src/views/property/living/modules/NoticeForm.vue
浏览文件 @
2c47334f
...
@@ -42,13 +42,13 @@
...
@@ -42,13 +42,13 @@
</a-row>
</a-row>
<a-row>
<a-row>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"
业主"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"owner
Name"
>
<a-form-model-item
label=
"
住户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"resident
Name"
>
<a-input
v-model=
"model.
owner
Name"
placeholder=
"请输入"
disabled
></a-input>
<a-input
v-model=
"model.
resident
Name"
placeholder=
"请输入"
disabled
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"
住户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"residentNam
e"
>
<a-form-model-item
label=
"
电话"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"residentPhon
e"
>
<a-input
v-model=
"model.resident
Nam
e"
placeholder=
"请输入"
disabled
></a-input>
<a-input
v-model=
"model.resident
Phon
e"
placeholder=
"请输入"
disabled
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -143,8 +143,6 @@
...
@@ -143,8 +143,6 @@
roomId
:
''
,
roomId
:
''
,
roomName
:
''
,
roomName
:
''
,
floorSpace
:
''
,
floorSpace
:
''
,
ownerName
:
''
,
ownerPhone
:
''
,
residentName
:
''
,
residentName
:
''
,
residentPhone
:
''
,
residentPhone
:
''
,
relationShip
:
''
,
relationShip
:
''
,
...
@@ -254,7 +252,7 @@
...
@@ -254,7 +252,7 @@
}
}
},
},
async
onqueryLastDegreesById
()
{
async
onqueryLastDegreesById
()
{
let
res
=
await
queryLastDegreesByIdApi
({
ownerId
:
this
.
model
.
owner
Id
,
chargeTypeId
:
this
.
model
.
chargeTypeId
})
let
res
=
await
queryLastDegreesByIdApi
({
roomId
:
this
.
model
.
room
Id
,
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
(
this
.
model
.
currentDegrees
)
...
@@ -263,12 +261,12 @@
...
@@ -263,12 +261,12 @@
async
onqueryByRoomId
()
{
async
onqueryByRoomId
()
{
let
res
=
await
queryByRoomIdApi
({
roomId
:
this
.
model
.
roomId
})
let
res
=
await
queryByRoomIdApi
({
roomId
:
this
.
model
.
roomId
})
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
model
.
ownerName
=
res
.
result
.
ownerName
let
ownerRow
=
res
.
result
.
find
(
item
=>
item
.
relationShip
===
'self'
)
this
.
model
.
ownerPhone
=
res
.
result
.
ownerPhone
if
(
!
ownerRow
)
ownerRow
=
{...
res
.
result
[
0
]}
this
.
model
.
residentName
=
res
.
result
.
residentName
this
.
model
.
residentName
=
ownerRow
.
residentName
this
.
model
.
residentPhone
=
res
.
result
.
residentPhone
this
.
model
.
residentPhone
=
ownerRow
.
residentPhone
this
.
model
.
relationShip
=
res
.
result
.
relationShip
this
.
model
.
relationShip
=
ownerRow
.
relationShip
this
.
model
.
ownerId
=
res
.
result
.
id
this
.
model
.
ownerId
=
ownerRow
.
id
if
(
this
.
model
.
designFormulas
===
3
&&
this
.
model
.
chargeTypeId
)
{
if
(
this
.
model
.
designFormulas
===
3
&&
this
.
model
.
chargeTypeId
)
{
this
.
onqueryLastDegreesById
()
this
.
onqueryLastDegreesById
()
}
}
...
...
src/views/property/propertyfee/modules/NoticeForm.vue
浏览文件 @
2c47334f
...
@@ -3,13 +3,20 @@
...
@@ -3,13 +3,20 @@
<j-form-container
:disabled=
"formDisabled"
>
<j-form-container
:disabled=
"formDisabled"
>
<a-form-model
ref=
"form"
:model=
"model"
:rules=
"validatorRules"
slot=
"detail"
>
<a-form-model
ref=
"form"
:model=
"model"
:rules=
"validatorRules"
slot=
"detail"
>
<a-row>
<a-row>
<a-col
:span=
"
24
"
>
<a-col
:span=
"
12
"
>
<a-form-model-item
label=
"收费标准"
:labelCol=
"
{ xs: { span: 24 }, sm: { span: 2 } }
" :wrapperCol="wrapperCol" prop="chargingStandardId">
<a-form-model-item
label=
"收费标准"
:labelCol=
"
labelCol
"
:wrapperCol=
"wrapperCol"
prop=
"chargingStandardId"
>
<a-select
style=
"width:50%"
v-model=
"model.chargingStandardId"
placeholder=
"请选择收费标准"
@
change=
"onStandardChange"
>
<a-select
v-model=
"model.chargingStandardId"
placeholder=
"请选择收费标准"
@
change=
"onStandardChange"
>
<a-select-option
v-for=
"item in ruleList"
:key=
"item.id"
:value=
"item.id"
>
{{
item
.
chargeTypeCodeName
}}
</a-select-option>
<a-select-option
v-for=
"item in ruleList"
:key=
"item.id"
:value=
"item.id"
>
{{
item
.
chargeTypeCodeName
}}
</a-select-option>
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"收费周期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"chargeCycle"
>
<a-select
v-model=
"model.chargeCycle"
placeholder=
"请选择收费周期"
disabled
>
<a-select-option
v-for=
"item in chargingCycle"
:key=
"item.value"
:value=
"item.value"
>
{{
item
.
label
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"收费类型"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"chargeTypeName"
>
<a-form-model-item
label=
"收费类型"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"chargeTypeName"
>
<a-input
v-model=
"model.chargeTypeName"
placeholder=
"请输入"
disabled
></a-input>
<a-input
v-model=
"model.chargeTypeName"
placeholder=
"请输入"
disabled
></a-input>
...
@@ -42,13 +49,13 @@
...
@@ -42,13 +49,13 @@
</a-row>
</a-row>
<a-row>
<a-row>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"
业主"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"owner
Name"
>
<a-form-model-item
label=
"
住户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"resident
Name"
>
<a-input
v-model=
"model.
owner
Name"
placeholder=
"请输入"
disabled
></a-input>
<a-input
v-model=
"model.
resident
Name"
placeholder=
"请输入"
disabled
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"
住户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"residentNam
e"
>
<a-form-model-item
label=
"
电话"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"residentPhon
e"
>
<a-input
v-model=
"model.resident
Nam
e"
placeholder=
"请输入"
disabled
></a-input>
<a-input
v-model=
"model.resident
Phon
e"
placeholder=
"请输入"
disabled
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -107,6 +114,7 @@
...
@@ -107,6 +114,7 @@
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
{
formatDate
}
from
'@/utils/util'
import
{
formatDate
}
from
'@/utils/util'
import
{
getBuildingListApi
,
getUnitListApi
,
getRoomListApi
,
companyPropertyChargerulesApi
,
queryByRoomIdApi
,
queryLastDegreesByIdApi
}
from
'@/api/api'
import
{
getBuildingListApi
,
getUnitListApi
,
getRoomListApi
,
companyPropertyChargerulesApi
,
queryByRoomIdApi
,
queryLastDegreesByIdApi
}
from
'@/api/api'
import
{
CHARGING_CYCLE
}
from
'@/assets/static.js'
export
default
{
export
default
{
name
:
'PropertyChargruleForm'
,
name
:
'PropertyChargruleForm'
,
...
@@ -123,6 +131,7 @@
...
@@ -123,6 +131,7 @@
data
()
{
data
()
{
return
{
return
{
ruleList
:
[],
ruleList
:
[],
chargingCycle
:
CHARGING_CYCLE
,
treeData
:
[],
treeData
:
[],
amount
:
0
,
amount
:
0
,
model
:{
model
:{
...
@@ -143,8 +152,6 @@
...
@@ -143,8 +152,6 @@
roomId
:
''
,
roomId
:
''
,
roomName
:
''
,
roomName
:
''
,
floorSpace
:
''
,
floorSpace
:
''
,
ownerName
:
''
,
ownerPhone
:
''
,
residentName
:
''
,
residentName
:
''
,
residentPhone
:
''
,
residentPhone
:
''
,
relationShip
:
''
,
relationShip
:
''
,
...
@@ -219,11 +226,17 @@
...
@@ -219,11 +226,17 @@
this
.
model
.
designFormulas
=
row
.
designFormulas
this
.
model
.
designFormulas
=
row
.
designFormulas
this
.
amount
=
row
.
amount
this
.
amount
=
row
.
amount
this
.
model
.
unitPrice
=
this
.
model
.
designFormulas
===
1
?
''
:
row
.
amount
this
.
model
.
unitPrice
=
this
.
model
.
designFormulas
===
1
?
''
:
row
.
amount
if
(
this
.
model
.
designFormulas
===
1
)
{
if
(
this
.
model
.
designFormulas
===
1
)
{
// 固定金额
this
.
model
.
totalAmount
=
this
.
amount
.
toFixed
(
2
)
this
.
model
.
totalAmount
=
this
.
amount
.
toFixed
(
2
)
}
}
if
(
this
.
model
.
designFormulas
===
2
&&
this
.
model
.
roomId
)
{
// 获取上期度数
if
(
this
.
model
.
designFormulas
===
2
&&
this
.
model
.
roomId
)
{
// 建面 * 单价
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
).
toFixed
(
2
)
if
(
this
.
model
.
chargeCycle
===
'2'
)
{
// 每季度
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
*
3
).
toFixed
(
2
)
}
else
if
(
this
.
model
.
chargeCycle
===
'3'
)
{
// 每年
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
*
12
).
toFixed
(
2
)
}
else
{
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
).
toFixed
(
2
)
}
}
}
if
(
this
.
model
.
designFormulas
===
3
&&
this
.
model
.
roomId
)
{
// 获取上期度数
if
(
this
.
model
.
designFormulas
===
3
&&
this
.
model
.
roomId
)
{
// 获取上期度数
this
.
onqueryLastDegreesById
()
this
.
onqueryLastDegreesById
()
...
@@ -250,7 +263,13 @@
...
@@ -250,7 +263,13 @@
this
.
model
.
buildingName
=
data
.
parent
.
parent
.
label
this
.
model
.
buildingName
=
data
.
parent
.
parent
.
label
this
.
onqueryByRoomId
()
this
.
onqueryByRoomId
()
if
(
this
.
model
.
designFormulas
===
2
)
{
if
(
this
.
model
.
designFormulas
===
2
)
{
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
).
toFixed
(
2
)
if
(
this
.
model
.
chargeCycle
===
'2'
)
{
// 每季度
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
*
3
).
toFixed
(
2
)
}
else
if
(
this
.
model
.
chargeCycle
===
'3'
)
{
// 每年
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
*
12
).
toFixed
(
2
)
}
else
{
this
.
model
.
totalAmount
=
(
this
.
model
.
unitPrice
*
this
.
model
.
floorSpace
).
toFixed
(
2
)
}
}
}
},
},
async
onqueryLastDegreesById
()
{
async
onqueryLastDegreesById
()
{
...
@@ -263,12 +282,12 @@
...
@@ -263,12 +282,12 @@
async
onqueryByRoomId
()
{
async
onqueryByRoomId
()
{
let
res
=
await
queryByRoomIdApi
({
roomId
:
this
.
model
.
roomId
})
let
res
=
await
queryByRoomIdApi
({
roomId
:
this
.
model
.
roomId
})
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
model
.
ownerName
=
res
.
result
.
ownerName
let
ownerRow
=
res
.
result
.
find
(
item
=>
item
.
relationShip
===
'self'
)
this
.
model
.
ownerPhone
=
res
.
result
.
ownerPhone
if
(
!
ownerRow
)
ownerRow
=
{...
res
.
result
[
0
]}
this
.
model
.
residentName
=
res
.
result
.
residentName
this
.
model
.
residentName
=
ownerRow
.
residentName
this
.
model
.
residentPhone
=
res
.
result
.
residentPhone
this
.
model
.
residentPhone
=
ownerRow
.
residentPhone
this
.
model
.
relationShip
=
res
.
result
.
relationShip
this
.
model
.
relationShip
=
ownerRow
.
relationShip
this
.
model
.
ownerId
=
res
.
result
.
id
this
.
model
.
ownerId
=
ownerRow
.
id
if
(
this
.
model
.
designFormulas
===
3
&&
this
.
model
.
chargeTypeId
)
{
if
(
this
.
model
.
designFormulas
===
3
&&
this
.
model
.
chargeTypeId
)
{
this
.
onqueryLastDegreesById
()
this
.
onqueryLastDegreesById
()
}
}
...
...
src/views/property/propertyfee/propertyfee-detail.vue
浏览文件 @
2c47334f
...
@@ -20,11 +20,11 @@
...
@@ -20,11 +20,11 @@
<a-input
v-model=
"model.roomAllName"
placeholder=
"请输入"
></a-input>
<a-input
v-model=
"model.roomAllName"
placeholder=
"请输入"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<
!--
<
a-col
:span=
"12"
>
<a-form-model-item
label=
"业主"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"
owner
Name"
>
<a-form-model-item
label=
"业主"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"
resident
Name"
>
<a-input
v-model=
"model.
owner
Name"
placeholder=
"请输入"
></a-input>
<a-input
v-model=
"model.
resident
Name"
placeholder=
"请输入"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
-->
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"与业主关系"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"relationShip"
>
<a-form-model-item
label=
"与业主关系"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"relationShip"
>
<!--
<a-input
v-model=
"model.relationShip"
placeholder=
"请输入"
></a-input>
-->
<!--
<a-input
v-model=
"model.relationShip"
placeholder=
"请输入"
></a-input>
-->
...
@@ -220,8 +220,6 @@ export default {
...
@@ -220,8 +220,6 @@ export default {
roomId
:
''
,
roomId
:
''
,
roomName
:
''
,
roomName
:
''
,
floorSpace
:
''
,
floorSpace
:
''
,
ownerName
:
''
,
ownerPhone
:
''
,
residentName
:
''
,
residentName
:
''
,
residentPhone
:
''
,
residentPhone
:
''
,
relationShip
:
''
,
relationShip
:
''
,
...
...
src/views/property/propertyfee/propertyfee.vue
浏览文件 @
2c47334f
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"
业主
姓名"
>
<a-form-item
label=
"
住户
姓名"
>
<j-input
placeholder=
"请输入
业主姓名"
v-model=
"queryParam.owner
Name"
></j-input>
<j-input
placeholder=
"请输入
住户姓名"
v-model=
"queryParam.resident
Name"
></j-input>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
...
@@ -62,9 +62,6 @@
...
@@ -62,9 +62,6 @@
onChange: onSelectChange,
onChange: onSelectChange,
getCheckboxProps: onCheckboxProps
getCheckboxProps: onCheckboxProps
}" class="j-table-force-nowrap" @change="handleTableChange">
}" class="j-table-force-nowrap" @change="handleTableChange">
<span
slot=
"ownerId"
slot-scope=
"text, record"
>
<span>
{{
record
.
ownerName
}}
,
{{
record
.
ownerPhone
}}
</span>
</span>
<span
slot=
"residentPhone"
slot-scope=
"text, record"
>
<span
slot=
"residentPhone"
slot-scope=
"text, record"
>
<span>
{{
record
.
residentName
}}
,
{{
record
.
residentPhone
}}
</span>
<span>
{{
record
.
residentName
}}
,
{{
record
.
residentPhone
}}
</span>
</span>
</span>
...
@@ -87,7 +84,7 @@
...
@@ -87,7 +84,7 @@
</div>
</div>
</div>
</div>
<notice-modal
ref=
"modalForm"
@
ok=
"
modalFormOk
"
></notice-modal>
<notice-modal
ref=
"modalForm"
@
ok=
"
searchQuery
"
></notice-modal>
</a-card>
</a-card>
</template>
</template>
...
@@ -113,14 +110,6 @@ const columns = [
...
@@ -113,14 +110,6 @@ const columns = [
width
:
220
,
width
:
220
,
align
:
'center'
,
align
:
'center'
,
},
},
{
title
:
'业主'
,
dataIndex
:
'ownerId'
,
key
:
'ownerId'
,
width
:
160
,
scopedSlots
:
{
customRender
:
'ownerId'
},
align
:
'center'
,
},
{
{
title
:
'与业主关系'
,
title
:
'与业主关系'
,
dataIndex
:
'relationShip'
,
dataIndex
:
'relationShip'
,
...
@@ -199,7 +188,7 @@ const columns = [
...
@@ -199,7 +188,7 @@ const columns = [
align
:
'center'
,
align
:
'center'
,
width
:
150
,
width
:
150
,
fixed
:
'right'
,
fixed
:
'right'
,
}
,
}
]
]
export
default
{
export
default
{
...
...
src/views/property/receipt/modules/NoticeForm.vue
浏览文件 @
2c47334f
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
</a-form-model-item>
</a-form-model-item>
</a-col>
-->
</a-col>
-->
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"
业主"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"owner
Name"
>
<a-form-model-item
label=
"
住户"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"resident
Name"
>
<a-input
v-model=
"model.
ownerName"
placeholder=
"请输入业主
"
></a-input>
<a-input
v-model=
"model.
residentName"
placeholder=
"请输入住户
"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
...
@@ -35,7 +35,10 @@
...
@@ -35,7 +35,10 @@
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
<a-form-model-item
label=
"缴费周期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"chargeCycle"
>
<a-form-model-item
label=
"缴费周期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"chargeCycle"
>
<a-input
v-model=
"model.chargeCycle"
placeholder=
"请输入缴费周期"
></a-input>
<!--
<a-input
v-model=
"model.chargeCycle"
placeholder=
"请输入缴费周期"
></a-input>
-->
<a-select
v-model=
"model.chargeCycle"
placeholder=
"请选择缴费周期"
>
<a-select-option
v-for=
"item in chargingCycle"
:key=
"item.value"
:value=
"item.value"
>
{{
item
.
label
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:span=
"12"
>
<a-col
:span=
"12"
>
...
@@ -64,9 +67,9 @@
...
@@ -64,9 +67,9 @@
<
script
>
<
script
>
import
{
httpAction
,
getAction
}
from
'@/api/manage'
import
{
httpAction
}
from
'@/api/manage'
import
{
validateDuplicateValue
}
from
'@/utils/util'
import
{
ajaxGetDictItems
,
getDictItemsFromCache
}
from
'@/api/api'
import
{
ajaxGetDictItems
,
getDictItemsFromCache
}
from
'@/api/api'
import
{
CHARGING_CYCLE
}
from
'@/assets/static.js'
export
default
{
export
default
{
name
:
'PropertyChargruleForm'
,
name
:
'PropertyChargruleForm'
,
...
@@ -82,6 +85,7 @@
...
@@ -82,6 +85,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
chargingCycle
:
CHARGING_CYCLE
,
dictOptions
:
[],
dictOptions
:
[],
model
:{
model
:{
employeeName
:
''
,
employeeName
:
''
,
...
...
src/views/property/receipt/receipt.vue
浏览文件 @
2c47334f
...
@@ -71,8 +71,8 @@
...
@@ -71,8 +71,8 @@
<span
slot=
"roomName"
slot-scope=
"text, record"
>
<span
slot=
"roomName"
slot-scope=
"text, record"
>
<span>
{{
record
.
buildingName
}}{{
record
.
unitName
}}{{
record
.
roomName
}}
</span>
<span>
{{
record
.
buildingName
}}{{
record
.
unitName
}}{{
record
.
roomName
}}
</span>
</span>
</span>
<span
slot=
"
owner
Name"
slot-scope=
"text, record"
>
<span
slot=
"
resident
Name"
slot-scope=
"text, record"
>
<span>
{{
record
.
ownerName
}}
,
{{
record
.
owner
Phone
}}
</span>
<span>
{{
record
.
residentName
}}
,
{{
record
.
resident
Phone
}}
</span>
</span>
</span>
<span
slot=
"receiptStatus"
slot-scope=
"text, record"
>
<span
slot=
"receiptStatus"
slot-scope=
"text, record"
>
<span
:style=
"
{'color': record.receiptStatus === '1' ? 'green' : 'red'}">
{{
record
.
receiptStatus
===
'1'
?
'是'
:
'否'
}}
</span>
<span
:style=
"
{'color': record.receiptStatus === '1' ? 'green' : 'red'}">
{{
record
.
receiptStatus
===
'1'
?
'是'
:
'否'
}}
</span>
...
@@ -80,7 +80,10 @@
...
@@ -80,7 +80,10 @@
<span
slot=
"action"
slot-scope=
"text, record"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<!--
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
-->
<!--
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
-->
<a
@
click=
"handleDetail(record)"
>
查看
</a>
<a
@
click=
"handleDetail(record)"
>
查看
</a>
<a
@
click=
"onIssueReceipt(record)"
style=
"margin-left: 10px;"
>
开收据
</a>
<template
v-if=
"record.receiptStatus !== '1'"
>
<a-divider
type=
"vertical"
/>
<a
@
click=
"onIssueReceipt(record)"
>
开收据
</a>
</
template
>
</span>
</span>
</a-table>
</a-table>
...
@@ -107,10 +110,10 @@
...
@@ -107,10 +110,10 @@
align
:
'center'
align
:
'center'
},
},
{
{
title
:
'
业主
'
,
title
:
'
住户
'
,
dataIndex
:
'
owner
Name'
,
dataIndex
:
'
resident
Name'
,
scopedSlots
:
{
customRender
:
'
owner
Name'
},
scopedSlots
:
{
customRender
:
'
resident
Name'
},
key
:
'
owner
Name'
,
key
:
'
resident
Name'
,
align
:
'center'
align
:
'center'
},
},
{
{
...
@@ -188,8 +191,7 @@
...
@@ -188,8 +191,7 @@
},
},
methods
:
{
methods
:
{
onIssueReceipt
(
row
)
{
onIssueReceipt
(
row
)
{
console
.
log
(
this
.
$refs
.
templateModal
)
this
.
$refs
.
templateModal
.
onLoadTemplate
(
row
)
this
.
$refs
.
templateModal
.
onLoadTemplate
()
},
},
handleOk
()
{},
handleOk
()
{},
handleCancel
()
{},
handleCancel
()
{},
...
...
src/views/property/receipt/templateModal.vue
浏览文件 @
2c47334f
差异被折叠。
点击展开。
src/views/property/record/RecordDetails.vue
浏览文件 @
2c47334f
差异被折叠。
点击展开。
src/views/property/record/RecordList.vue
浏览文件 @
2c47334f
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论