Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
partners
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
partners
Commits
9c272cb3
提交
9c272cb3
authored
7月 28, 2023
作者:
何忠建
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7.28
上级
e65d223b
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
46 行增加
和
50 行删除
+46
-50
index.js
src/api/index.js
+1
-1
login.js
src/api/login.js
+1
-1
ReconciliationList.vue
src/views/benefiting/ReconciliationList.vue
+28
-20
SettlementDetails.vue
src/views/benefiting/SettlementDetails.vue
+6
-10
SettlementList.vue
src/views/benefiting/SettlementList.vue
+0
-5
ShopsDetails.vue
src/views/shops/ShopsDetails.vue
+10
-10
ShopsList.vue
src/views/shops/ShopsList.vue
+0
-3
没有找到文件。
src/api/index.js
浏览文件 @
9c272cb3
const
api
=
{
Login
:
'/sys/
l
ogin'
,
Login
:
'/sys/
partnerL
ogin'
,
Logout
:
'/sys/logout'
,
ForgePassword
:
'/auth/forge-password'
,
Register
:
'/auth/register'
,
...
...
src/api/login.js
浏览文件 @
9c272cb3
...
...
@@ -14,7 +14,7 @@ import { axios } from '@/utils/request'
*/
export
function
login
(
parameter
)
{
return
axios
({
url
:
'/sys/
l
ogin'
,
url
:
'/sys/
partnerL
ogin'
,
method
:
'post'
,
data
:
parameter
})
...
...
src/views/benefiting/ReconciliationList.vue
浏览文件 @
9c272cb3
...
...
@@ -54,33 +54,32 @@
<a-form>
<a-row>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"对账总金额"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"
propertyName
"
<a-form-model-item
label=
"对账总金额"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"
name1
"
style=
"width: 100%;"
>
<a-input
v-model=
"model.
propertyName
"
placeholder=
"对账总金额"
></a-input>
<a-input
v-model=
"model.
name1
"
placeholder=
"对账总金额"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"对账日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"
propertyName
"
<a-form-model-item
label=
"对账日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"
name2
"
style=
"width: 100%;"
>
<a-input
v-model=
"model.
propertyName
"
placeholder=
"对账日期"
></a-input>
<a-input
v-model=
"model.
name2
"
placeholder=
"对账日期"
></a-input>
</a-form-model-item>
</a-col>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"对账明细"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"propertyName"
style=
"width: 100%;"
>
<a-form-model-item
label=
"对账明细"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
style=
"width: 100%;"
>
<a
@
click=
"checkDetails()"
>
查看明细
</a>
</a-form-model-item>
</a-col>
<a-col
:span=
"24"
>
<a-form-model-item
label=
"备注"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
prop=
"propertyName"
style=
"width: 100%;"
>
<a-textarea
v-model=
"model.propertyName"
:auto-size=
"
{ minRows: 4, maxRows: 6 }" />
<a-form-model-item
label=
"备注"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
style=
"width: 100%;"
>
<a-textarea
v-model=
"model.name3"
:auto-size=
"
{ minRows: 4, maxRows: 6 }" />
</a-form-model-item>
</a-col>
</a-row>
</a-form>
</a-modal>
<a-modal
centered
title=
"对账明细"
:visible=
"visibleReconciliationDetail"
:confirm-loading=
"confirmLoading"
:footer=
"null"
width=
"60%"
@
cancel=
"handleCancelDetail"
>
<a-modal
centered
title=
"对账明细"
:visible=
"visibleReconciliationDetail"
:confirm-loading=
"confirmLoading"
:footer=
"null"
width=
"60%"
@
cancel=
"handleCancelDetail"
>
<a-table
ref=
"table"
size=
"middle"
:scroll=
"
{x:true}" bordered rowKey="id" :columns="columns1"
:dataSource="selectedList" :pagination="false" :loading="loading" class="j-table-force-nowrap">
</a-table>
...
...
@@ -228,11 +227,11 @@ const columns1 = [
// customRender: function (text) {
// return filterDictTextByCache('companyAuditStatus', text)
// },
}
}
,
]
export
default
{
components
:
{
},
components
:
{},
name
:
'ReconciliationList'
,
mixins
:
[
JeecgListMixin
],
data
()
{
...
...
@@ -307,11 +306,13 @@ export default {
confirmLoading
:
false
,
selectedList
:
[],
selectedRowKeys
:
[],
visibleReconciliationDetail
:
false
visibleReconciliationDetail
:
false
,
}
},
created
()
{
//this.getChargeList()
let
data
=
new
Date
().
toLocaleString
();
console
.
log
(
data
)
},
methods
:
{
// async getChargeList() {
...
...
@@ -329,11 +330,18 @@ export default {
},
//申请对账
toReconciliation
(
type
,
record
)
{
this
.
selectedList
=
[];
this
.
selectedList
=
[]
this
.
model
.
name1
=
0
;
if
(
type
==
1
)
{
if
(
this
.
selectionRows
.
length
>
0
)
{
this
.
visibleReconciliation
=
true
this
.
selectedList
=
this
.
selectionRows
let
list
=
this
.
selectedList
let
sum
=
0
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
)
{
sum
+=
list
[
i
].
propertyName
}
this
.
model
.
name1
=
sum
console
.
log
(
this
.
selectedList
)
console
.
log
(
333
)
}
else
{
...
...
@@ -341,12 +349,12 @@ export default {
}
}
else
if
(
type
==
2
)
{
this
.
visibleReconciliation
=
true
this
.
selectedList
.
push
(
record
);
this
.
selectedRowKeys
=
[];
this
.
selectedList
.
push
(
record
)
this
.
selectedRowKeys
=
[]
this
.
model
.
name1
=
record
.
propertyName
;
}
},
handleOk
(
e
)
{
this
.
ModalText
=
'The modal will be closed after two seconds'
this
.
confirmLoading
=
true
setTimeout
(()
=>
{
this
.
visibleReconciliation
=
false
...
...
@@ -366,12 +374,12 @@ export default {
this
.
selectedRowKeys
=
selectedRowKeys
this
.
selectionRows
=
selectedRows
},
checkDetails
(){
checkDetails
()
{
this
.
visibleReconciliationDetail
=
true
},
handleCancelDetail
(){
handleCancelDetail
()
{
this
.
visibleReconciliationDetail
=
false
}
}
,
},
}
</
script
>
...
...
src/views/benefiting/SettlementDetails.vue
浏览文件 @
9c272cb3
...
...
@@ -3,7 +3,7 @@
<div
class=
"title-top"
>
<h3>
{{
title
}}
</h3>
<div
class=
"button"
>
<a-button
@
click=
"
onCancel
"
>
返回
</a-button>
<a-button
@
click=
"
toReturn
"
>
返回
</a-button>
<a-button
type=
"danger"
@
click=
"onExamine(2)"
v-if=
"pageType == '2'"
>
审核驳回
</a-button>
<a-button
type=
"primary"
@
click=
"onExamine(1)"
v-if=
"pageType == '2'"
>
审核通过
</a-button>
<a-button
type=
"primary"
@
click=
"onExamine(3)"
v-if=
"pageType == '3'"
>
确认
</a-button>
...
...
@@ -133,7 +133,7 @@ const columns = [
]
export
default
{
name
:
'SettlementDetails'
,
inject
:
[
'closeCurrent'
],
inject
:
[],
mixins
:
[
JeecgListMixin
],
data
()
{
return
{
...
...
@@ -235,7 +235,7 @@ export default {
)
}
},
onCancel
()
{
toReturn
()
{
this
.
$router
.
go
(
-
1
)
},
contactPhoneChange
(
e
)
{
...
...
@@ -249,7 +249,6 @@ export default {
this
.
visible
=
true
},
onExamine
(
type
)
{
this
.
closeCurrent
()
// const that = this
// if (type == 1) {
// return auditPropertyApi({
...
...
@@ -258,7 +257,7 @@ export default {
// }).then((res) => {
// that.$message.success('审核通过成功')
// that.$emit('ok')
// this.
closeCurrent
()
// this.
toReturn
()
// })
// } else if (type == 2) {
// return auditPropertyApi({
...
...
@@ -266,7 +265,7 @@ export default {
// auditStatus: 'refuse',
// }).then((res) => {
// that.$message.success('审核驳回成功')
// this.
closeCurrent
()
// this.
toReturn
()
// })
// }
},
...
...
@@ -381,7 +380,7 @@ export default {
if
(
res
.
success
)
{
that
.
$message
.
success
(
res
.
message
)
that
.
$emit
(
'ok'
)
this
.
closeCurrent
()
this
.
toReturn
()
}
else
{
that
.
$message
.
warning
(
res
.
message
)
}
...
...
@@ -392,9 +391,6 @@ export default {
}
})
},
loadData
()
{
console
.
log
(
'不请求'
)
},
},
mounted
()
{
//备份model原始值
...
...
src/views/benefiting/SettlementList.vue
浏览文件 @
9c272cb3
...
...
@@ -305,7 +305,6 @@ export default {
this
.
visibleReconciliation
=
true
},
handleOk
(
e
)
{
this
.
ModalText
=
'The modal will be closed after two seconds'
this
.
confirmLoading
=
true
setTimeout
(()
=>
{
this
.
visibleReconciliation
=
false
...
...
@@ -313,12 +312,8 @@ export default {
},
2000
)
},
handleCancel
(
e
)
{
console
.
log
(
'Clicked cancel button'
)
this
.
visibleReconciliation
=
false
},
loadData
()
{
console
.
log
(
'不请求'
)
},
},
}
</
script
>
...
...
src/views/shops/ShopsDetails.vue
浏览文件 @
9c272cb3
...
...
@@ -2,7 +2,7 @@
<a-spin
:spinning=
"confirmLoading"
>
<div
class=
"title-top"
>
<h3>
{{
title
}}
</h3>
<div
class=
"button"
><a-button
@
click=
"
onCancel
"
>
返回
</a-button>
<div
class=
"button"
><a-button
@
click=
"
toReturn
"
>
返回
</a-button>
<a-button
type=
"primary"
@
click=
"submitForm"
v-if=
"pageType == 'edit' || pageType == 'add' "
>
保存
</a-button>
<a-button
type=
"danger"
@
click=
"onExamine(2)"
v-if=
"pageType == 'audit'"
>
审核驳回
</a-button>
<a-button
type=
"primary"
@
click=
"onExamine(1)"
v-if=
"pageType == 'audit'"
>
审核通过
</a-button>
...
...
@@ -168,7 +168,7 @@ import SelectShopsModal from './modules/SelectShopsModal'
export
default
{
name
:
'ShopsDetails'
,
inject
:
[
'closeCurrent'
],
inject
:
[],
components
:
{
SelectCommunityModal
,
SelectShopsModal
,
...
...
@@ -323,7 +323,7 @@ export default {
)
}
},
onCancel
()
{
toReturn
()
{
this
.
$router
.
go
(
-
1
)
},
//选择小区
...
...
@@ -375,7 +375,7 @@ export default {
// }).then((res) => {
// that.$message.success('审核通过成功')
// that.$emit('ok')
// this.
closeCurrent
()
// this.
toReturn
()
// })
// } else if (type == 2) {
// return auditPropertyApi({
...
...
@@ -383,7 +383,7 @@ export default {
// auditStatus: 'refuse',
// }).then((res) => {
// that.$message.success('审核驳回成功')
// this.
closeCurrent
()
// this.
toReturn
()
// })
// }
},
...
...
@@ -498,7 +498,7 @@ export default {
if
(
res
.
success
)
{
that
.
$message
.
success
(
res
.
message
)
that
.
$emit
(
'ok'
)
this
.
closeCurrent
()
this
.
toReturn
()
}
else
{
that
.
$message
.
warning
(
res
.
message
)
}
...
...
@@ -510,10 +510,6 @@ export default {
})
},
},
beforeDestroy
()
{
clearTimeout
(
timer
)
this
.
mapRef
.
removeEventListener
(
'click'
,
(
e
)
=>
this
.
getAddress
(
e
))
},
}
</
script
>
<
style
lang=
"less"
scoped
>
...
...
@@ -539,4 +535,7 @@ export default {
.area-select
{
width
:
100%
!important
;
}
.anchorBL
{
visibility
:
hidden
;
}
</
style
>
\ No newline at end of file
src/views/shops/ShopsList.vue
浏览文件 @
9c272cb3
...
...
@@ -138,7 +138,6 @@ export default {
components
:
{},
data
()
{
return
{
// 表头
columns
:
columns
,
loading
:
false
,
pagination
:
{
...
...
@@ -149,8 +148,6 @@ export default {
},
url
:
{
list
:
'/property-central/property/propertySettled/list'
,
delete
:
'/property-central/property/propertySettled/delete'
,
deleteBatch
:
'/property-central/property/propertySettled/deleteBatch'
,
},
}
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论