Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
pc
Commits
d9a6592f
Commit
d9a6592f
authored
Apr 29, 2021
by
zhangrui123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限,日志
parent
a51c3b1f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
1748 additions
and
600 deletions
+1748
-600
sidemenu.vue
src/components/Layout/sidemenu.vue
+74
-64
documentsRoutes.json
src/router/documentsRoutes.json
+87
-47
routes.js
src/router/routes.js
+73
-45
xuhuiRoutes.json
src/router/xuhuiRoutes.json
+3
-60
api.js
src/server/api.js
+2
-1
mixins.js
src/util/mixins.js
+2
-2
propertyInfoView.vue
src/views/houseData/propertyInfoView.vue
+1
-1
tbls.vue
src/views/houseData/tbls.vue
+86
-86
edit.vue
src/views/personal/InternalStaff/edit.vue
+15
-8
index.vue
src/views/personal/InternalStaff/index.vue
+12
-14
1
src/views/personal/rizhi/1
+0
-39
feijuInfo.vue
src/views/personal/rizhi/feijuInfo.vue
+12
-9
guanlichu.vue
src/views/personal/rizhi/guanlichu.vue
+114
-0
info.vue
src/views/personal/rizhi/info.vue
+46
-167
jingli.vue
src/views/personal/rizhi/jingli.vue
+114
-0
juese.vue
src/views/personal/rizhi/juese.vue
+170
-0
juweihui.vue
src/views/personal/rizhi/juweihui.vue
+114
-0
rizhiList.vue
src/views/personal/rizhi/rizhiList.vue
+83
-9
tuozhanxinxiguanliInfo.vue
src/views/personal/rizhi/tuozhanxinxiguanliInfo.vue
+130
-0
wuyeqiye.vue
src/views/personal/rizhi/wuyeqiye.vue
+114
-0
xitongInfo.vue
src/views/personal/rizhi/xitongInfo.vue
+0
-0
xitongxinxi.vue
src/views/personal/rizhi/xitongxinxi.vue
+123
-0
yewei.vue
src/views/personal/rizhi/yewei.vue
+114
-0
zhanghuInfo.vue
src/views/personal/rizhi/zhanghuInfo.vue
+199
-0
list.vue
src/views/personal/role/list.vue
+60
-48
No files found.
src/components/Layout/sidemenu.vue
View file @
d9a6592f
...
@@ -16,7 +16,17 @@
...
@@ -16,7 +16,17 @@
<span>
{{
menu
.
meta
.
title
}}
</span>
<span>
{{
menu
.
meta
.
title
}}
</span>
</span>
</span>
<template
v-for=
"child in menu.children"
>
<template
v-for=
"child in menu.children"
>
<a-menu-item
:key=
"child.key"
@
click=
"onclick(child.name)"
>
<!--
<a-menu-item
:key=
"child.key"
@
click=
"onclick(child.name)"
>
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
{{
child
.
meta
.
title
}}
</a-menu-item>
-->
<template
v-if=
"child.meta.title == '系统信息配置' ||child.meta.title == '拓展信息管理'|| child.meta.title == '日志管理'"
>
<a-menu-item
v-if=
"$store.state.hasAllRight"
:key=
"child.key"
@
click=
"onclick(child.name)"
>
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
{{
child
.
meta
.
title
}}
</a-menu-item>
</
template
>
<a-menu-item
v-else
:key=
"child.key"
@
click=
"onclick(child.name)"
>
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
<a-icon
:type=
"child.meta.menuIcon?child.meta.menuIcon:'bars'"
/>
{{child.meta.title}}
{{child.meta.title}}
</a-menu-item>
</a-menu-item>
...
@@ -56,70 +66,70 @@ export default {
...
@@ -56,70 +66,70 @@ export default {
},
},
},
},
mounted
(){
mounted
(){
this
.
$ajax
.
get
({
//
this.$ajax.get({
url
:
this
.
$api
.
GET_USER_INFO
,
//
url: this.$api.GET_USER_INFO,
}).
then
(
res
=>
{
//
}).then(res => {
if
(
res
.
code
==
200
)
{
//
if(res.code == 200) {
this
.
isAllPerm
=
res
.
data
.
content
.
isAllPerm
//
this.isAllPerm = res.data.content.isAllPerm
console
.
log
(
this
.
isAllPerm
)
//
console.log(this.isAllPerm)
let
menus
=
[]
//
let menus=[]
let
tempmenu
=
[]
//
let tempmenu = []
let
isLoadExtendMenu
=
this
.
$cookie
.
get
(
'customKeyEnable'
)
//
let isLoadExtendMenu = this.$cookie.get('customKeyEnable')
for
(
let
i
=
0
;
i
<
routes
.
length
;
i
++
){
//
for(let i=0;i
<
routes
.
length
;
i
++
){
if
(
!!
routes
[
i
].
children
){
//
if(!!routes[i].children){
for
(
let
j
=
0
;
j
<
routes
[
i
].
children
.
length
;
j
++
){
//
for(let j=0;j
<
routes
[
i
].
children
.
length
;
j
++
){
if
(
!!
this
.
isAllPerm
)
{
// 超管访问
//
if(!!this.isAllPerm) { // 超管访问
if
(
!!
routes
[
i
].
children
[
j
].
meta
.
menuIcon
&&
routes
[
i
].
children
[
j
].
name
==
'systemManagement'
&&
isLoadExtendMenu
==
'false'
){
//
if(!!routes[i].children[j].meta.menuIcon && routes[i].children[j].name == 'systemManagement' && isLoadExtendMenu == 'false'){
let
target
=
routes
[
i
].
children
[
j
].
children
//
let target = routes[i].children[j].children
if
(
target
.
length
>
0
)
{
//
if(target.length > 0) {
for
(
let
k
=
0
;
k
<
target
.
length
;
k
++
)
{
//
for(let k = 0 ; k
<
target
.
length
;
k
++
)
{
if
(
target
[
k
].
name
==
'tbls'
)
{
//
if(target[k].name == 'tbls') {
if
(
isLoadExtendMenu
==
'true'
)
{
//
if(isLoadExtendMenu == 'true') {
tempmenu
.
push
(
target
[
k
])
//
tempmenu.push(target[k])
}
//
}
}
else
{
//
} else {
tempmenu
.
push
(
target
[
k
])
//
tempmenu.push(target[k])
}
//
}
}
//
}
}
//
}
let
lusso
=
routes
[
i
].
children
[
j
]
//
let lusso = routes[i].children[j]
lusso
.
children
=
[]
//
lusso.children = []
lusso
.
children
=
tempmenu
//
lusso.children = tempmenu
menus
.
push
(
lusso
)
//
menus.push(lusso)
}
else
if
(
!!
routes
[
i
].
children
[
j
].
meta
.
menuIcon
)
{
//
} else if (!!routes[i].children[j].meta.menuIcon) {
menus
.
push
(
routes
[
i
].
children
[
j
])
//
menus.push(routes[i].children[j])
}
//
}
}
else
if
(
!
this
.
isAllPerm
)
{
// 非超管访问
//
} else if(!this.isAllPerm) { // 非超管访问
if
(
routes
[
i
].
children
[
j
].
meta
.
isAllPerm
==
false
)
{
//
if(routes[i].children[j].meta.isAllPerm == false) {
if
(
!!
routes
[
i
].
children
[
j
].
meta
.
menuIcon
&&
routes
[
i
].
children
[
j
].
name
==
'systemManagement'
&&
isLoadExtendMenu
==
'false'
){
//
if(!!routes[i].children[j].meta.menuIcon && routes[i].children[j].name == 'systemManagement' && isLoadExtendMenu == 'false'){
let
target
=
routes
[
i
].
children
[
j
].
children
//
let target = routes[i].children[j].children
if
(
target
.
length
>
0
)
{
//
if(target.length > 0) {
for
(
let
k
=
0
;
k
<
target
.
length
;
k
++
)
{
//
for(let k = 0 ; k
<
target
.
length
;
k
++
)
{
if
(
target
[
k
].
name
==
'tbls'
)
{
//
if(target[k].name == 'tbls') {
if
(
isLoadExtendMenu
==
'true'
)
{
//
if(isLoadExtendMenu == 'true') {
tempmenu
.
push
(
target
[
k
])
//
tempmenu.push(target[k])
}
//
}
}
else
{
//
} else {
tempmenu
.
push
(
target
[
k
])
//
tempmenu.push(target[k])
}
//
}
}
//
}
}
//
}
let
lusso
=
routes
[
i
].
children
[
j
]
//
let lusso = routes[i].children[j]
lusso
.
children
=
[]
//
lusso.children = []
lusso
.
children
=
tempmenu
//
lusso.children = tempmenu
menus
.
push
(
lusso
)
//
menus.push(lusso)
}
else
if
(
!!
routes
[
i
].
children
[
j
].
meta
.
menuIcon
)
{
//
} else if (!!routes[i].children[j].meta.menuIcon) {
menus
.
push
(
routes
[
i
].
children
[
j
])
//
menus.push(routes[i].children[j])
}
//
}
}
//
}
}
//
}
}
//
}
}
//
}
}
//
}
this
.
menus
=
menus
//
this.menus=menus
}
//
}
})
//
})
},
},
computed
:
{
computed
:
{
menus
(){
menus
(){
...
...
src/router/documentsRoutes.json
View file @
d9a6592f
{
{
"Layout"
:
[
"Layout"
:
[
{
"path"
:
"/documents/fiveSearch"
,
"name"
:
"fiveSearch"
,
"meta"
:
{
"title"
:
"物业三查"
,
"menuPath"
:
true
,
"authCode"
:
"0007"
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/managerSelfCheckList"
,
"name"
:
"managerSelfCheckList"
,
"meta"
:
{
"title"
:
"小区经理自查"
,
"menuPath"
:
true
,
"authCode"
:
"000701"
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/managerSelfCheckList/managerCheckList"
,
"name"
:
"managerCheckList"
,
"meta"
:
{
"title"
:
"小区经理自查检查单列表"
,
"authCode"
:
"000701"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
{
"path"
:
"/documents/fiveSearch/managerSelfCheckList/managerCheckInfo"
,
"name"
:
"managerCheckInfo"
,
"meta"
:
{
"title"
:
"小区经理自查检查单详情"
,
"authCode"
:
"00070101"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
{
"path"
:
"/documents/fiveSearch/managerSelfCheckList/managerAllIn"
,
"name"
:
"allIn"
,
"meta"
:
{
"title"
:
"街道检查情况汇总"
,
"authCode"
:
"00070102"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList"
,
"name"
:
"doubleWeekCheckList"
,
"meta"
:
{
"title"
:
"物企双周查"
,
"authCode"
:
"000702"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList/doubleCheckList"
,
"name"
:
"doubleCheckList"
,
"meta"
:
{
"title"
:
"物企双周查列表"
,
"authCode"
:
"000702"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList/doubleCheckInfo"
,
"name"
:
"doubleCheckInfo"
,
"meta"
:
{
"title"
:
"物企双周查详情"
,
"authCode"
:
"00070201"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList/doubleAllIn"
,
"name"
:
"allIn"
,
"meta"
:
{
"title"
:
"街道检查情况汇总"
,
"authCode"
:
"00070202"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/documents/fiveSearch/monthList"
,
"name"
:
"month"
,
"meta"
:
{
"title"
:
"房办月查"
,
"authCode"
:
"0006"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/monthList/monthListSect"
,
"name"
:
"monthListSect"
,
"meta"
:
{
"title"
:
"房办月查小区列表"
,
"authCode"
:
"000704"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/monthList/monthListSect/monthInfo"
,
"name"
:
"monthInfo"
,
"meta"
:
{
"title"
:
"检查详情"
,
"authCode"
:
"00070401"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
}
]
},
{
"path"
:
"/documents/fiveSearch/mutableList"
,
"name"
:
"mutableList"
,
"meta"
:
{
"title"
:
"整改单列表"
,
"authCode"
:
"000703"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/mutableList/info"
,
"name"
:
"mutableInfo"
,
"meta"
:
{
"title"
:
"整改单详情"
,
"authCode"
:
"00070301"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
}
]
},
{
{
"path"
:
"/documents/repair"
,
"name"
:
"repairList"
,
"path"
:
"/documents/repair"
,
"name"
:
"repairList"
,
"meta"
:
{
"title"
:
"应急报修"
,
"authCode"
:
"0005"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"meta"
:
{
"title"
:
"应急报修"
,
"authCode"
:
"0005"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
...
@@ -41,72 +110,43 @@
...
@@ -41,72 +110,43 @@
}
}
]
]
},
},
{
{
"path"
:
"/documents/
fiveSearch"
,
"name"
:
"fiveSearch"
,
"path"
:
"/documents/
ledger"
,
"name"
:
"ledger"
,
"meta"
:
{
"title"
:
"
物业五查"
,
"menuPath"
:
true
,
"authCode"
:
"0007"
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
tru
e
},
"meta"
:
{
"title"
:
"
区房屋台账"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
fals
e
},
"children"
:
[
"children"
:
[
{
{
"path"
:
"/documents/
fiveSearch/managerSelfCheckList"
,
"name"
:
"managerSelfCheckList"
,
"path"
:
"/documents/
ledger/community"
,
"name"
:
"communityList"
,
"meta"
:
{
"title"
:
"
小区经理自查"
,
"menuPath"
:
true
,
"authCode"
:
"000701"
,
"hideInBread"
:
false
},
"meta"
:
{
"title"
:
"
住宅房屋"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:
[
"children"
:
[
{
{
"path"
:
"/documents/
fiveSearch/managerSelfCheckList/managerCheckList"
,
"name"
:
"managerCheckList
"
,
"path"
:
"/documents/
ledger/community/info"
,
"name"
:
"communityInfo
"
,
"meta"
:
{
"title"
:
"
小区经理自查检查单列表"
,
"authCode"
:
"000701
"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"
详情"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile
"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
},
{
{
"path"
:
"/documents/
fiveSearch/managerSelfCheckList/managerCheckInfo"
,
"name"
:
"managerCheckInfo"
,
"path"
:
"/documents/
ledger/community/equipment"
,
"name"
:
"equipment"
,
"meta"
:
{
"title"
:
"
小区经理自查检查单详情"
,
"authCode"
:
"00070101
"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"
设备信息"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile
"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
},
{
{
"path"
:
"/documents/
fiveSearch/managerSelfCheckList/managerAllIn"
,
"name"
:
"allIn"
,
"path"
:
"/documents/
ledger/community/building"
,
"name"
:
"communityBuilding"
,
"meta"
:
{
"title"
:
"
街道检查情况汇总"
,
"authCode"
:
"00070102
"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"
门牌幢列表"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile
"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
}
]
]
},
},
{
{
"path"
:
"/documents/
fiveSearch/doubleWeekCheckList"
,
"name"
:
"doubleWeekCheckLis
t"
,
"path"
:
"/documents/
ledger/NonResident"
,
"name"
:
"NonResiden
t"
,
"meta"
:
{
"title"
:
"
物企双周查"
,
"authCode"
:
"000702
"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"meta"
:
{
"title"
:
"
非居房屋"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile
"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
"children"
:
[
{
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList/doubleCheckList"
,
"name"
:
"doubleCheckList"
,
"path"
:
"/documents/ledger/NonResident/info"
,
"name"
:
"NonResidentInfo"
,
"meta"
:
{
"title"
:
"物企双周查列表"
,
"authCode"
:
"000702"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"非居详情"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList/doubleCheckInfo"
,
"name"
:
"doubleCheckInfo"
,
"meta"
:
{
"title"
:
"物企双周查详情"
,
"authCode"
:
"00070201"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
},
{
{
"path"
:
"/documents/fiveSearch/doubleWeekCheckList/doubleAllIn"
,
"name"
:
"allIn"
,
"path"
:
"/documents/ledger/NonResident/building"
,
"name"
:
"NonResidentBuilding"
,
"meta"
:
{
"title"
:
"街道检查情况汇总"
,
"authCode"
:
"00070202"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"非居门牌幢列表"
,
"authCode"
:
"0008"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/documents/fiveSearch/mutableList"
,
"name"
:
"mutableList"
,
"meta"
:
{
"title"
:
"整改单列表"
,
"authCode"
:
"000703"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/mutableList/info"
,
"name"
:
"mutableInfo"
,
"meta"
:
{
"title"
:
"整改单详情"
,
"authCode"
:
"00070301"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/documents/fiveSearch/monthList"
,
"name"
:
"month"
,
"meta"
:
{
"title"
:
"房办月查"
,
"authCode"
:
"0006"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/monthList/monthListSect"
,
"name"
:
"monthListSect"
,
"meta"
:
{
"title"
:
"房办月查小区列表"
,
"authCode"
:
"000704"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/documents/fiveSearch/monthList/monthListSect/monthInfo"
,
"name"
:
"monthInfo"
,
"meta"
:
{
"title"
:
"检查详情"
,
"authCode"
:
"00070401"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
}
}
]
]
}
}
]
]
}
}
...
...
src/router/routes.js
View file @
d9a6592f
This diff is collapsed.
Click to expand it.
src/router/xuhuiRoutes.json
View file @
d9a6592f
...
@@ -2,76 +2,19 @@
...
@@ -2,76 +2,19 @@
"Layout"
:
[
"Layout"
:
[
{
{
"path"
:
"/order/disposal"
,
"name"
:
"Disposal"
,
"path"
:
"/order/disposal"
,
"name"
:
"Disposal"
,
"meta"
:
{
"title"
:
"处置单列表"
,
"menuPath"
:
fals
e
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"meta"
:
{
"title"
:
"处置单列表"
,
"menuPath"
:
tru
e
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"children"
:[
"children"
:[
{
{
"path"
:
"/order/disposal/disposalList"
,
"name"
:
"disposalList"
,
"path"
:
"/order/disposal/disposalList"
,
"name"
:
"disposalList"
,
"meta"
:
{
"title"
:
"处置单列表"
,
"menuPath"
:
fals
e
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"meta"
:
{
"title"
:
"处置单列表"
,
"menuPath"
:
tru
e
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
},
"children"
:
[
"children"
:
[
{
{
"path"
:
"/order/disposal/disposalView/:id"
,
"name"
:
"DisposalView"
,
"path"
:
"/order/disposal/disposalView/:id"
,
"name"
:
"DisposalView"
,
"meta"
:
{
"title"
:
"处置单详情"
,
"menuPath"
:
fals
e
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"处置单详情"
,
"menuPath"
:
tru
e
,
"hideInBread"
:
false
}
}
}
]
]
}
}
]
]
},
{
"path"
:
"/question/month"
,
"name"
:
"month"
,
"meta"
:
{
"title"
:
"检查单"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:[
{
"path"
:
"/question/month/monthList"
,
"name"
:
"month"
,
"meta"
:
{
"title"
:
"房办月查列表"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/question/month/monthInfo"
,
"name"
:
"monthInfo"
,
"meta"
:
{
"title"
:
"检查详情"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
}
]
},
{
"path"
:
"/question/repair"
,
"name"
:
"repairList"
,
"meta"
:
{
"title"
:
"应急报修"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:[
{
"path"
:
"/question/repair/repairList"
,
"name"
:
"repairList"
,
"meta"
:
{
"title"
:
"应急报修列表"
,
"menuIcon"
:
"profile"
,
"menuPath"
:
false
,
"hideInBread"
:
false
},
"children"
:
[
{
"path"
:
"/question/repair/repairInfo"
,
"name"
:
"repairInfo"
,
"meta"
:
{
"title"
:
"报修详情"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
}
]
},
{
"path"
:
"/question/tousu"
,
"name"
:
"tousu"
,
"meta"
:
{
"title"
:
"投诉信息"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"children"
:
[
{
"path"
:
"/question/tousu/tousuQuestion"
,
"name"
:
"tousuQuestion"
,
"meta"
:
{
"title"
:
"投诉问题排行"
,
"menuPath"
:
true
,
"hideInBread"
:
false
},
"children"
:[
{
"path"
:
"/question/tousu/tousuQuestion/questionInfo"
,
"name"
:
"questionInfo"
,
"meta"
:
{
"title"
:
"投诉问题列表"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
},
{
"path"
:
"/question/tousu/tousuQuestion/tousuDetails"
,
"name"
:
"tousuDetails"
,
"meta"
:
{
"title"
:
"投诉问题详情"
,
"menuPath"
:
false
,
"hideInBread"
:
false
}
}
]
},
{
"path"
:
"/question/tousu/tousuDensity"
,
"name"
:
"tousuDensity"
,
"meta"
:
{
"title"
:
"投诉密度排行"
,
"menuPath"
:
true
,
"hideInBread"
:
false
}
}
]
}
}
]
]
}
}
src/server/api.js
View file @
d9a6592f
...
@@ -214,6 +214,7 @@ export default {
...
@@ -214,6 +214,7 @@ export default {
GET_ALL_ROLE
:
'/service-permission/menu/tree'
,
//获取权限
GET_ALL_ROLE
:
'/service-permission/menu/tree'
,
//获取权限
GET_USER_CODE
:
'/service-permission/user/menus/code'
,
//获取用户权限
GET_USER_CODE
:
'/service-permission/user/menus/code'
,
//获取用户权限
GET_USER_PERM
:
'/service-permission/user/menus/{id}'
,
ROLE_DETAIL
:
'/service-permission/roles/{id}'
,
// 查询角色权限
ROLE_DETAIL
:
'/service-permission/roles/{id}'
,
// 查询角色权限
ADD_ROLE_POST
:
'/service-permission/role'
,
// 新增角色
ADD_ROLE_POST
:
'/service-permission/role'
,
// 新增角色
...
@@ -228,7 +229,7 @@ export default {
...
@@ -228,7 +229,7 @@ export default {
// PUT_STAFF_LIST: '/service-user-ddd/user', //修改内部人员列表
// PUT_STAFF_LIST: '/service-user-ddd/user', //修改内部人员列表
GET_USERNAME_EXIST
:
'/service-user-ddd/public/check/username/exist'
,
//校验用户名是否存在
GET_USERNAME_EXIST
:
'/service-user-ddd/public/check/username/exist'
,
//校验用户名是否存在
GET_CHECK_PHONE_EXIST
:
'/public/check/phone/exist'
,
//判断手机是否存在
GET_CHECK_PHONE_EXIST
:
'/public/check/phone/exist'
,
//判断手机是否存在
GET_REDIS
:
'/service-
user-ddd/user/refresh/
{id}'
,
//后台刷新redis
GET_REDIS
:
'/service-
permission/login/user/perms
{id}'
,
//后台刷新redis
//日志管理
//日志管理
GET_RIZHI
:
'/service-log/operateRecord'
,
//日志列表
GET_RIZHI
:
'/service-log/operateRecord'
,
//日志列表
...
...
src/util/mixins.js
View file @
d9a6592f
...
@@ -11,8 +11,8 @@ export const permission = {
...
@@ -11,8 +11,8 @@ export const permission = {
url
:
this
.
$api
.
GET_USER_INFO
url
:
this
.
$api
.
GET_USER_INFO
}).
then
(
res
=>
{
}).
then
(
res
=>
{
//后台刷新redis
//后台刷新redis
this
.
$ajax
.
ge
t
({
this
.
$ajax
.
pos
t
({
url
:
this
.
$api
.
GET_REDIS
.
replace
(
'{id}'
,
res
.
data
.
content
.
id
),
url
:
this
.
$api
.
GET_REDIS
.
replace
(
'{id}'
,
'?message='
+
res
.
data
.
content
.
id
),
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
if
(
res
.
code
==
'200'
)
{
console
.
log
(
1
)
console
.
log
(
1
)
...
...
src/views/houseData/propertyInfoView.vue
View file @
d9a6592f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"portalDetailTitle"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
详情
</span>
<span
class=
"title"
>
详情
</span>
<div
class=
"detailOperations"
>
<div
class=
"detailOperations"
>
<
a-button
v-if=
"urls.name == 'propertyInfoView'"
@
click=
"$router.push(
{path: `/houseData/basicInfo`,query:{id:$route.query.id,name:$route.query.name}})"> 查看管理小区列表
</a-button
>
<
!--
<a-button
v-if=
"urls.name == 'propertyInfoView'"
@
click=
"$router.push(
{path: `/houseData/basicInfo`,query:{id:$route.query.id,name:$route.query.name}})"> 查看管理小区列表
</a-button>
--
>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
</div>
</div>
</div>
</div>
...
...
src/views/houseData/tbls.vue
View file @
d9a6592f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<a-col
:span=
"3"
style=
"border-right:1px solid #ccc;height:100%; position:relative"
>
<a-col
:span=
"3"
style=
"border-right:1px solid #ccc;height:100%; position:relative"
>
<span
class=
"menu_header"
>
拓展信息管理列表
</span>
<span
class=
"menu_header"
>
拓展信息管理列表
</span>
<a-menu
mode=
"vertical"
:selectedKeys=
"selectedKeys"
>
<a-menu
mode=
"vertical"
:selectedKeys=
"selectedKeys"
>
<a-menu-item
:key=
"k"
v-show=
"$permission(
formatPermission(item)
)"
v-for=
"(item,k) in tblsLists"
@
click=
"clickMenu(k)"
>
<a-menu-item
:key=
"k"
v-show=
"$permission(
'00000201'
)"
v-for=
"(item,k) in tblsLists"
@
click=
"clickMenu(k)"
>
{{
item
}}
{{
item
}}
</a-menu-item>
</a-menu-item>
</a-menu>
</a-menu>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<a-form
class=
"protalForm"
:form=
"searchForm"
>
<a-form
class=
"protalForm"
:form=
"searchForm"
>
<a-row
type=
"flex"
justify=
"space-between"
align=
"middle"
>
<a-row
type=
"flex"
justify=
"space-between"
align=
"middle"
>
<a-col
span=
"6"
>
<a-col
span=
"6"
>
<a-button
class=
"addZiduan"
v-if=
"$permission(
formatDeletePermission()
)"
type=
"primary"
@
click=
"showModal()"
ghost
>
新增字段
</a-button>
<a-button
class=
"addZiduan"
v-if=
"$permission(
'0000020102'
)"
type=
"primary"
@
click=
"showModal()"
ghost
>
新增字段
</a-button>
<div
>
<div
>
<a-modal
:title=
"!isChangeZdy ? '新增字段':'修改字段'"
v-model=
"visible"
@
cancel=
"handleCancel"
@
ok=
"handleOk"
>
<a-modal
:title=
"!isChangeZdy ? '新增字段':'修改字段'"
v-model=
"visible"
@
cancel=
"handleCancel"
@
ok=
"handleOk"
>
<a-form
class=
"protalForm"
:form=
"form"
>
<a-form
class=
"protalForm"
:form=
"form"
>
...
@@ -86,11 +86,11 @@
...
@@ -86,11 +86,11 @@
<!-- table -->
<!-- table -->
<a-table
bordered
class=
"portalTable"
:dataSource=
"taskCollectList"
:columns=
"columns"
size=
"small"
:pagination=
"pagination"
>
<a-table
bordered
class=
"portalTable"
:dataSource=
"taskCollectList"
:columns=
"columns"
size=
"small"
:pagination=
"pagination"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<span
class=
"actionBtn"
v-if=
"$permission(
formatDeletePermission()
)"
@
click=
"showDelModal(record)"
>
删除
<a-divider
type=
"vertical"
/></span>
<span
class=
"actionBtn"
v-if=
"$permission(
'0000020102'
)"
@
click=
"showDelModal(record)"
>
删除
<a-divider
type=
"vertical"
/></span>
<a-modal
title=
"警告"
v-model=
"visibleDel"
@
ok=
"del(record)"
>
<a-modal
title=
"警告"
v-model=
"visibleDel"
@
ok=
"del(record)"
>
<p>
该字段可能已被使用,是否确定删除?
</p>
<p>
该字段可能已被使用,是否确定删除?
</p>
</a-modal>
</a-modal>
<span
class=
"actionBtn"
v-if=
"$permission(
formatDeletePermission()
)"
@
click=
"setKey(record)"
>
修改
</span>
<span
class=
"actionBtn"
v-if=
"$permission(
'0000020102'
)"
@
click=
"setKey(record)"
>
修改
</span>
</span>
</span>
</a-table>
</a-table>
...
@@ -200,89 +200,89 @@ export default {
...
@@ -200,89 +200,89 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
formatPermission
(
item
){
//
formatPermission(item){
let
permissionNum
=
null
//
let permissionNum = null
switch
(
item
)
{
//
switch (item) {
case
'小区'
:
//
case '小区':
permissionNum
=
'00000201'
//
permissionNum = '00000201'
break
//
break
case
'门牌幢'
:
//
case '门牌幢':
permissionNum
=
'00000202'
//
permissionNum = '00000202'
break
//
break
case
'设施设备'
:
//
case '设施设备':
permissionNum
=
'00000203'
//
permissionNum = '00000203'
break
//
break
case
'物业企业'
:
//
case '物业企业':
permissionNum
=
'00000204'
//
permissionNum = '00000204'
break
//
break
case
'业主大会'
:
//
case '业主大会':
permissionNum
=
'00000205'
//
permissionNum = '00000205'
break
//
break
case
'业委会成员'
:
//
case '业委会成员':
permissionNum
=
'00000206'
//
permissionNum = '00000206'
break
//
break
case
'小区管理处'
:
//
case '小区管理处':
permissionNum
=
'00000209'
//
permissionNum = '00000209'
break
//
break
case
'小区经理'
:
//
case '小区经理':
permissionNum
=
'00000210'
//
permissionNum = '00000210'
break
//
break
case
'居委会信息'
:
//
case '居委会信息':
permissionNum
=
'00000211'
//
permissionNum = '00000211'
break
//
break
case
'非居信息'
:
//
case '非居信息':
permissionNum
=
'00000212'
//
permissionNum = '00000212'
break
//
break
case
'非居门牌幢信息'
:
//
case '非居门牌幢信息':
permissionNum
=
'00000213'
//
permissionNum = '00000213'
break
//
break
default
:
//
default:
break
//
break
}
//
}
return
permissionNum
//
return permissionNum
},
//
},
formatDeletePermission
(){
//
formatDeletePermission(){
let
deletePermissionNum
=
null
//
let deletePermissionNum = null
switch
(
this
.
selectedKeys
[
0
])
{
//
switch (this.selectedKeys[0]) {
case
'tbl_community'
:
//
case 'tbl_community':
deletePermissionNum
=
'0000020102'
//
deletePermissionNum = '0000020102'
break
//
break
case
'tbl_building'
:
//
case 'tbl_building':
deletePermissionNum
=
'0000020202'
//
deletePermissionNum = '0000020202'
break
//
break
case
'tbl_facilities_equipment'
:
//
case 'tbl_facilities_equipment':
deletePermissionNum
=
'0000020302'
//
deletePermissionNum = '0000020302'
break
//
break
case
'tbl_prop_company'
:
//
case 'tbl_prop_company':
deletePermissionNum
=
'0000020402'
//
deletePermissionNum = '0000020402'
break
//
break
case
'tbl_industry_council'
:
//
case 'tbl_industry_council':
deletePermissionNum
=
'0000020502'
//
deletePermissionNum = '0000020502'
break
//
break
case
'tbl_ic_member'
:
//
case 'tbl_ic_member':
deletePermissionNum
=
'0000020602'
//
deletePermissionNum = '0000020602'
break
//
break
case
'tbl_community_amst_office'
:
//
case 'tbl_community_amst_office':
deletePermissionNum
=
'0000020902'
//
deletePermissionNum = '0000020902'
break
//
break
case
'tbl_community_manager'
:
//
case 'tbl_community_manager':
deletePermissionNum
=
'0000021002'
//
deletePermissionNum = '0000021002'
break
//
break
case
'tbl_residents_committees'
:
//
case 'tbl_residents_committees':
deletePermissionNum
=
'0000021102'
//
deletePermissionNum = '0000021102'
break
//
break
case
'tbl_non_resident'
:
//
case 'tbl_non_resident':
deletePermissionNum
=
'0000021202'
//
deletePermissionNum = '0000021202'
break
//
break
case
'tbl_non_resident_building'
:
//
case 'tbl_non_resident_building':
deletePermissionNum
=
'0000021302'
//
deletePermissionNum = '0000021302'
break
//
break
default
:
//
default:
break
//
break
}
//
}
return
deletePermissionNum
//
return deletePermissionNum
},
//
},
//默认时间框
//默认时间框
chooseDate
(
date
,
dateString
)
{
chooseDate
(
date
,
dateString
)
{
...
...
src/views/personal/InternalStaff/edit.vue
View file @
d9a6592f
...
@@ -36,15 +36,16 @@
...
@@ -36,15 +36,16 @@
<a-row
class=
"formItemLine"
>
<a-row
class=
"formItemLine"
>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
<a-form-item
label=
"机构类型"
v-bind=
"colSpe"
>
<a-form-item
label=
"机构类型"
v-bind=
"colSpe"
>
<a-select
placeholder=
"请选择"
allowClear
mode=
"multip"
v-decorator=
"['orgType',
{initialValue:'2',
<a-select
placeholder=
"请选择"
allowClear
mode=
"multip"
@
change=
"changeType"
v-decorator=
"['orgType',
{initialValue:'2',
validateTrigger: 'change', rules: [ { required: true, message: '请选择机构类型!' } ]
validateTrigger: 'change', rules: [ { required: true, message: '请选择机构类型!' } ]
}]">
}]">
<a-select-option
value=
"2"
>
房办
</a-select-option>
<a-select-option
value=
"2"
>
房办
</a-select-option>
<a-select-option
value=
"0"
>
区级
</a-select-option>
</a-select>
</a-select>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
span=
"8"
>
<a-col
span=
"8"
v-if=
"show"
>
<a-form-item
label=
"机构名称"
v-bind=
"colSpe"
>
<a-form-item
label=
"机构名称"
v-bind=
"colSpe"
>
<a-select
placeholder=
"请选择"
allowClear
mode=
"multi"
v-decorator=
"['DorgId',
{
<a-select
placeholder=
"请选择"
allowClear
mode=
"multi"
v-decorator=
"['DorgId',
{
validateTrigger: 'change', rules: [ { required: true, message: '请选择机构名称!' } ]
validateTrigger: 'change', rules: [ { required: true, message: '请选择机构名称!' } ]
}]">
}]">
...
@@ -80,6 +81,7 @@ export default {
...
@@ -80,6 +81,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
show
:
true
,
exclusionRoleIds
:
[
'999999'
,
],
exclusionRoleIds
:
[
'999999'
,
],
userRoldIDsOrg
:
[],
userRoldIDsOrg
:
[],
orgnazation
:
[],
orgnazation
:
[],
...
@@ -104,6 +106,7 @@ export default {
...
@@ -104,6 +106,7 @@ export default {
// 从个人中心-账户信息跳过来的不能修改手机号
// 从个人中心-账户信息跳过来的不能修改手机号
this
.
fromCenter
=
!!
this
.
$route
.
query
.
id
this
.
fromCenter
=
!!
this
.
$route
.
query
.
id
},
},
mounted
()
{
mounted
()
{
this
.
$ajax
.
get
({
this
.
$ajax
.
get
({
...
@@ -165,8 +168,8 @@ export default {
...
@@ -165,8 +168,8 @@ export default {
if
(
values
.
phone2
)
{
if
(
values
.
phone2
)
{
values
.
phone
+=
values
.
phone2
values
.
phone
+=
values
.
phone2
}
}
values
.
orgId
=
this
.
searchForm
.
getFieldValue
(
'DorgId'
)
.
split
(
'#'
)[
0
]
values
.
orgId
=
this
.
searchForm
.
getFieldValue
(
'DorgId'
)
?
this
.
searchForm
.
getFieldValue
(
'DorgId'
).
split
(
'#'
)[
0
]:
''
values
.
orgName
=
this
.
searchForm
.
getFieldValue
(
'DorgId'
)
.
split
(
'#'
)[
1
]
values
.
orgName
=
this
.
searchForm
.
getFieldValue
(
'DorgId'
)
?
this
.
searchForm
.
getFieldValue
(
'DorgId'
).
split
(
'#'
)[
1
]:
''
values
.
notes
.
forEach
((
item
,
index
)
=>
{
values
.
notes
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
)
{
if
(
index
==
0
)
{
values
.
roleIds
+=
item
.
key
values
.
roleIds
+=
item
.
key
...
@@ -268,9 +271,13 @@ export default {
...
@@ -268,9 +271,13 @@ export default {
})
})
}
}
},
},
//获取机构名称的下拉框
changeType
(
val
){
changeOrg
(){
console
.
log
(
val
)
if
(
val
==
0
){
this
.
show
=
false
}
else
{
this
.
show
=
true
}
},
},
//获取id 对应的账户信息
//获取id 对应的账户信息
getDetail
()
{
getDetail
()
{
...
...
src/views/personal/InternalStaff/index.vue
View file @
d9a6592f
...
@@ -45,9 +45,9 @@
...
@@ -45,9 +45,9 @@
<!--
<a-menu-item
v-if=
"$permission('00090401')"
class=
"actionBtn"
key=
"4"
>
重置密码
<!--
<a-menu-item
v-if=
"$permission('00090401')"
class=
"actionBtn"
key=
"4"
>
重置密码
</a-menu-item>
-->
</a-menu-item>
-->
<!--
<a-menu-item
class=
"actionBtn"
key=
"2"
v-if=
"$permission('S00011416')"
>
禁用
</a-menu-item>
-->
<!--
<a-menu-item
class=
"actionBtn"
key=
"2"
v-if=
"$permission('S00011416')"
>
禁用
</a-menu-item>
-->
<a-menu-item
class=
"actionBtn"
v-if=
"$permission('00090405')"
key=
"1"
@
click=
'(event)=>
{showOpeations(event.key,record)}'> 启用
</a-menu-item>
<
!--
<
a-menu-item
class=
"actionBtn"
v-if=
"$permission('00090405')"
key=
"1"
@
click=
'(event)=>
{showOpeations(event.key,record)}'> 启用
</a-menu-item>
<a-menu-item
class=
"actionBtn"
v-if=
"$permission('00090406')"
key=
"3"
@
click=
'(event)=>
{showOpeations(event.key,record)}'> 注销
<a-menu-item
class=
"actionBtn"
v-if=
"$permission('00090406')"
key=
"3"
@
click=
'(event)=>
{showOpeations(event.key,record)}'> 注销
-->
<
/a-menu-item
>
<
!--
</a-menu-item>
--
>
<a-menu-item
class=
"actionBtn"
v-if=
"$permission('00090402')"
@
click=
"handleEdit(record)"
>
修改
<a-menu-item
class=
"actionBtn"
v-if=
"$permission('00090402')"
@
click=
"handleEdit(record)"
>
修改
</a-menu-item>
</a-menu-item>
</a-menu>
</a-menu>
...
@@ -184,16 +184,6 @@ export default {
...
@@ -184,16 +184,6 @@ export default {
customRender
:
'roleIds'
,
customRender
:
'roleIds'
,
},
},
},
},
{
title
:
'状态'
,
align
:
'center'
,
dataIndex
:
'status'
,
key
:
'status'
,
width
:
'13%'
,
scopedSlots
:
{
customRender
:
'status'
,
},
},
{
{
title
:
'手机号'
,
title
:
'手机号'
,
align
:
'center'
,
align
:
'center'
,
...
@@ -213,6 +203,14 @@ export default {
...
@@ -213,6 +203,14 @@ export default {
]
]
}
}
},
},
watch
:
{
$route
(
cur
)
{
if
(
cur
)
{
this
.
getSearchParams
()
this
.
getRoleList
()
}
},
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
name
==
'people'
){
if
(
this
.
$route
.
name
==
'people'
){
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
...
@@ -342,7 +340,7 @@ export default {
...
@@ -342,7 +340,7 @@ export default {
let
searchParms
=
{
let
searchParms
=
{
pageNo
:
this
.
pagination
.
current
,
pageNo
:
this
.
pagination
.
current
,
pageSize
:
this
.
pagination
.
pageSize
,
pageSize
:
this
.
pagination
.
pageSize
,
phone_ne
:
0
}
}
searchParms
=
Object
.
assign
({},
searchParms
,
this
.
searchForm
.
getFieldsValue
())
searchParms
=
Object
.
assign
({},
searchParms
,
this
.
searchForm
.
getFieldsValue
())
if
(
searchParms
.
roleIds_in
&&
searchParms
.
roleIds_in
.
length
>
0
)
{
if
(
searchParms
.
roleIds_in
&&
searchParms
.
roleIds_in
.
length
>
0
)
{
...
...
src/views/personal/rizhi/1
deleted
100644 → 0
View file @
a51c3b1f
// {
// "path": "/documents/ledger", "name": "ledger",
// "meta": { "title": "区房屋台账","authCode":"0008", "menuIcon": "profile", "menuPath": true, "hideInBread": false },
// "children": [
// {
// "path": "/documents/ledger/community", "name": "communityList",
// "meta": { "title": "住宅房屋","authCode":"000801", "menuIcon": "profile", "menuPath": true, "hideInBread": false },
// "children": [
// {
// "path": "/documents/ledger/community/info", "name": "communityInfo",
// "meta": { "title": "详情","authCode":"00080101", "menuIcon": "profile", "menuPath": false, "hideInBread": false }
// },
// {
// "path": "/documents/ledger/community/equipment", "name": "equipment",
// "meta": { "title": "设备信息","authCode":"000801010102", "menuIcon": "profile", "menuPath": false, "hideInBread": false }
// },
// {
// "path": "/documents/ledger/community/building", "name": "communityBuilding",
// "meta": { "title": "门牌幢列表","authCode":"0008010101", "menuIcon": "profile", "menuPath": false, "hideInBread": false }
// }
// ]
// },
// {
// "path": "/documents/ledger/NonResident", "name": "NonResident",
// "meta": { "title": "非居房屋","authCode":"000802", "menuIcon": "profile", "menuPath": true, "hideInBread": false },
// "children": [
// {
// "path": "/documents/ledger/NonResident/info", "name": "NonResidentInfo",
// "meta": { "title": "非居详情","authCode":"000802", "menuIcon": "profile", "menuPath": false, "hideInBread": false }
// },
// {
// "path": "/documents/ledger/NonResident/building", "name": "NonResidentBuilding",
// "meta": { "title": "非居门牌幢列表","authCode":"00080202", "menuIcon": "profile", "menuPath": false, "hideInBread": false }
// }
// ]
// }
// ]
// }
\ No newline at end of file
src/views/personal/rizhi/feijuInfo.vue
View file @
d9a6592f
<
template
>
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"routerWapper enquiryList"
>
<Loader
/>
<div
class=
"portalDetailTitle"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
<span
class=
"title"
>
日志详情
日志详情
...
@@ -9,16 +8,19 @@
...
@@ -9,16 +8,19 @@
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
</div>
</div>
<div
v-if=
"$route.name == 'rizhiInfo'"
class=
"layoutMargin layoutPadding"
>
<!-- 小区 -->
<div
v-if=
"$route.name == 'feijuInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
操作说明:
{{
content
.
pointName
}}
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
</div>
<div
class=
"cardBox"
>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_
community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 8
}" :wrapper-col="{ span: 12 }">
<a-form-item
v-for=
"(item,k) in extList.tbl_
non_resident"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9
}" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
...
@@ -29,7 +31,7 @@
...
@@ -29,7 +31,7 @@
<div
class=
"card-centent"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span:
8
}" :wrapper-col="{ span: 12 }">
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span:
9
}" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
...
@@ -44,7 +46,7 @@
...
@@ -44,7 +46,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'
rizhi
Info'
,
name
:
'
feiju
Info'
,
data
()
{
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
return
{
...
@@ -55,12 +57,13 @@ export default {
...
@@ -55,12 +57,13 @@ export default {
tbl_community_manager
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
tbl_residents_committees
:
[],
tbl_non_resident
:
[],
},
// ext所有列表
},
// ext所有列表
content
:
{}
content
:
{}
}
}
},
},
mounted
(){
mounted
(){
if
(
this
.
$route
.
name
==
'
rizhi
Info'
){
if
(
this
.
$route
.
name
==
'
feiju
Info'
){
this
.
getList
()
this
.
getList
()
}
}
},
},
...
@@ -75,10 +78,10 @@ export default {
...
@@ -75,10 +78,10 @@ export default {
this
.
$message
.
info
(
res
.
msg
,
10
)
this
.
$message
.
info
(
res
.
msg
,
10
)
}
}
this
.
$ajax
.
get
({
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_
community
'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_
non_resident
'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
extList
.
tbl_
community
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
extList
.
tbl_
non_resident
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
}
})
})
})
})
...
...
src/views/personal/rizhi/guanlichu.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'guanliInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community_amst_office"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'guanliInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'guanliInfo'
){
this
.
getList
()
}
},
methods
:
{
getList
(
params
){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_community_amst_office'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
extList
.
tbl_community_amst_office
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
})
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/info.vue
View file @
d9a6592f
This diff is collapsed.
Click to expand it.
src/views/personal/rizhi/jingli.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'jingliInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community_manager"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'jingliInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'jingliInfo'
){
this
.
getList
()
}
},
methods
:
{
getList
(
params
){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_community_manager'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
extList
.
tbl_community_manager
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
})
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/juese.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'jueseInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<div
class=
"layoutMargin detailsPartSection contentPadding"
>
<a-form
class=
"portalDetailContentBody"
:form=
"formData"
>
<p>
角色名称:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
roleName
:
''
}}
</span>
</p>
<a-tree
class=
"portalRoleTree"
v-if=
"showTree"
checkable
:treeData=
"treeData"
:defaultExpandedKeys=
'expandedKeys1'
v-model=
"checkedKeys1"
disabled=
"disabled"
/>
</a-form>
</div>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<div
class=
"layoutMargin detailsPartSection contentPadding"
>
<a-form
class=
"portalDetailContentBody"
:form=
"formData"
>
<p>
角色名称:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
roleName
:
''
}}
</span>
</p>
<a-tree
class=
"portalRoleTree"
v-if=
"showTree"
checkable
:treeData=
"treeData"
:defaultExpandedKeys=
'expandedKeys'
v-model=
"checkedKeys"
disabled=
"disabled"
/>
</a-form>
</div>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'jueseInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
showTree
:
false
,
treeData
:
[],
expandedKeys
:
[],
checkedKeys
:
[],
expandedKeys1
:
[],
checkedKeys1
:
[],
roleName
:
null
,
userCount
:
null
,
roleIds
:
[],
// 功能点的id数组
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'jueseInfo'
){
this
.
getList
()
this
.
getTree
()
}
},
beforeCreate
()
{
this
.
formData
=
this
.
$form
.
createForm
(
this
)
},
methods
:
{
getTree
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_ALL_ROLE
+
'?isTree=true'
}).
then
(
res
=>
{
const
data
=
res
.
data
.
content
this
.
parentId
=
data
.
id
data
.
forEach
((
item
,
index
)
=>
{
this
.
treeData
.
push
(
this
.
getTreeNode
(
item
,
index
))
})
this
.
getList
(
this
.
$route
.
query
.
id
)
})
},
getList
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
===
'200'
){
this
.
content
=
res
.
data
.
content
const
data
=
res
.
data
.
content
this
.
roleName
=
data
.
roleName
this
.
userCount
=
data
.
userCount
this
.
expandedKeys
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkedKeys
))
this
.
expandedKeys1
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkedKeys1
))
this
.
showTree
=
true
if
(
data
.
dataBeforeObj
){
this
.
checkedKeys1
=
data
.
dataBeforeObj
.
perm
.
map
((
item
)
=>
{
return
item
.
id
})
}
if
(
data
.
dataAfterObj
){
this
.
checkedKeys
=
data
.
dataAfterObj
.
perm
.
map
((
item
)
=>
{
return
item
.
id
})
}
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
},
getTreeNode
(
item
,
index
){
let
childrenNode
=
{}
if
(
this
.
roleIds
.
length
>
0
&&
this
.
roleIds
.
indexOf
(
item
.
id
)
<
0
&&
!
this
.
$store
.
state
.
userInfos
.
isAllPerm
){
childrenNode
=
{
title
:
item
.
permName
,
key
:
item
.
id
,
disabled
:
true
,
}
}
else
{
childrenNode
=
{
title
:
item
.
permName
,
key
:
item
.
id
}
}
if
(
item
.
childList
&&
item
.
childList
.
length
){
childrenNode
.
children
=
[]
item
.
childList
.
forEach
((
subItem
,
subIndex
)
=>
{
const
subkey
=
subItem
.
id
childrenNode
.
children
.
push
(
this
.
getTreeNode
(
subItem
,
subkey
))
})
}
return
childrenNode
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/juweihui.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'juweiInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_residents_committees"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'juweiInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'juweiInfo'
){
this
.
getList
()
}
},
methods
:
{
getList
(
params
){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_residents_committees'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
extList
.
tbl_residents_committees
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
})
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/rizhiList.vue
View file @
d9a6592f
<
template
>
<
template
>
<div>
<div>
<div
class=
"routerWapper AccountManagement"
v-if=
"$route.name == 'rizhi'"
>
<div
class=
"routerWapper AccountManagement"
v-if=
"$route.name == 'rizhi'
&&$permission('0010')
"
>
<div
class=
"routerContent layoutMargin layoutPadding"
>
<div
class=
"routerContent layoutMargin layoutPadding"
>
<!-- 搜索区 -->
<!-- 搜索区 -->
<a-form
class=
"protalForm"
:form=
"searchForm"
style=
"padding: 0px 10px;"
>
<a-form
class=
"protalForm"
:form=
"searchForm"
style=
"padding: 0px 10px;"
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<a-table
class=
"elevator-table portalTable"
:dataSource=
"List"
:columns=
"columns"
size=
"small"
:pagination=
"pagination"
<a-table
class=
"elevator-table portalTable"
:dataSource=
"List"
:columns=
"columns"
size=
"small"
:pagination=
"pagination"
rowKey=
"id"
>
rowKey=
"id"
>
<span
slot=
"operation"
slot-scope=
"text, record"
>
<span
slot=
"operation"
slot-scope=
"text, record"
>
<span
class=
"actionBtn"
@
click=
"toNext(record)"
>
查看
</span>
<span
class=
"actionBtn"
v-if=
"$permission('001001')"
@
click=
"toNext(record)"
>
查看
</span>
</span>
</span>
</a-table>
</a-table>
</div>
</div>
...
@@ -144,6 +144,7 @@ export default {
...
@@ -144,6 +144,7 @@ export default {
})
})
}
else
{
}
else
{
var
searchParms
=
{
var
searchParms
=
{
'createTime_desc'
:
'desc'
,
'createTime_btw'
:
!!
this
.
searchForm
.
getFieldValue
(
'createTime_btw'
)
?
[
this
.
$moment
(
this
.
searchForm
.
getFieldValue
(
'createTime_btw'
)[
0
]).
format
(
'YYYY-MM-DD'
),
this
.
$moment
(
this
.
searchForm
.
getFieldValue
(
'createTime_btw'
)[
1
]).
format
(
'YYYY-MM-DD'
)].
toString
():
''
,
'createTime_btw'
:
!!
this
.
searchForm
.
getFieldValue
(
'createTime_btw'
)
?
[
this
.
$moment
(
this
.
searchForm
.
getFieldValue
(
'createTime_btw'
)[
0
]).
format
(
'YYYY-MM-DD'
),
this
.
$moment
(
this
.
searchForm
.
getFieldValue
(
'createTime_btw'
)[
1
]).
format
(
'YYYY-MM-DD'
)].
toString
():
''
,
pageNo
:
this
.
pagination
.
current
,
pageNo
:
this
.
pagination
.
current
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -180,13 +181,86 @@ export default {
...
@@ -180,13 +181,86 @@ export default {
*/
*/
toNext
(
record
){
toNext
(
record
){
// 进入详情
// 进入详情
this
.
$router
.
push
({
if
(
record
.
pointName
.
slice
(
0
,
6
)
==
'拓展信息管理'
){
name
:
'rizhiInfo'
,
this
.
$router
.
push
({
query
:
{
name
:
'tuozhanxinxiguanliInfo'
,
id
:
record
.
id
,
query
:
{
type
:
'view'
id
:
record
.
id
,
},
},
})
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
8
)
==
'小区拓展字段维护'
){
this
.
$router
.
push
({
name
:
'rizhiInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
11
)
==
'业委会信息拓展字段维护'
){
this
.
$router
.
push
({
name
:
'yeweiInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
10
)
==
'物业企业拓展字段维护'
){
this
.
$router
.
push
({
name
:
'wuyeInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
11
)
==
'小区管理处拓展字段维护'
){
this
.
$router
.
push
({
name
:
'guanliInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
10
)
==
'小区经理拓展字段维护'
){
this
.
$router
.
push
({
name
:
'jingliInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
11
)
==
'居委会信息拓展字段维护'
){
this
.
$router
.
push
({
name
:
'juweiInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
4
)
==
'角色管理'
){
console
.
log
(
record
.
pointName
.
slice
(
0
,
4
))
this
.
$router
.
push
({
name
:
'jueseInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
4
)
==
'用户管理'
){
this
.
$router
.
push
({
name
:
'zhanghuInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
10
)
==
'非居信息拓展字段维护'
){
this
.
$router
.
push
({
name
:
'feijuInfo'
,
query
:
{
id
:
record
.
id
,
},
})
}
else
if
(
record
.
pointName
.
slice
(
0
,
6
)
==
'系统信息配置'
){
this
.
$router
.
push
({
name
:
'xitongxinxi'
,
query
:
{
id
:
record
.
id
,
},
})
}
},
},
/**
/**
* 清空表单
* 清空表单
...
...
src/views/personal/rizhi/tuozhanxinxiguanliInfo.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'tuozhanxinxiguanliInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-table
bordered
class=
"portalTable"
:dataSource=
"taskCollectList"
:columns=
"columns"
size=
"small"
>
</a-table>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<div
style=
"margin-bottom:8px;"
>
<a-table
bordered
class=
"portalTable"
:dataSource=
"taskCollectList1"
:columns=
"columns"
size=
"small"
>
</a-table>
</div>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'tuozhanxinxiguanliInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
content
:
{},
taskCollectList
:
[],
taskCollectList1
:
[],
columns
:
[
{
title
:
'字段名称'
,
dataIndex
:
'keyName'
,
key
:
'keyName'
,
},
{
title
:
'组件类型'
,
dataIndex
:
'compntType'
,
key
:
'compntType'
,
},
{
title
:
'默认值'
,
dataIndex
:
'defVal'
,
key
:
'defVal'
,
},
],
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'tuozhanxinxiguanliInfo'
){
this
.
getTaskCollectList
()
}
},
methods
:
{
getTaskCollectList
(
params
){
// 获取列表里面的数据
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
params
:
{
tbl
:
params
,
},
}).
then
(
res
=>
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
if
(
res
.
code
==
'200'
)
{
this
.
taskCollectList
=
this
.
content
.
dataBeforeObj
this
.
taskCollectList1
=
this
.
content
.
dataAfterObj
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/wuyeqiye.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'wuyeInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_prop_company"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'wuyeInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'wuyeInfo'
){
this
.
getList
()
}
},
methods
:
{
getList
(
params
){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_prop_company'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
extList
.
tbl_prop_company
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
})
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/xitongInfo.vue
deleted
100644 → 0
View file @
a51c3b1f
src/views/personal/rizhi/xitongxinxi.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'xitongxinxi'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-tabs
default-active-key=
"1"
>
<a-tab-pane
tab=
"系统信息"
key=
"1"
>
<a-form>
<a-form-item
label=
"项目名"
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 12 }">
<p>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
prjName
:
''
}}
</p>
</a-form-item>
</a-form>
</a-tab-pane>
</a-tabs>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-tabs
default-active-key=
"1"
>
<a-tab-pane
tab=
"系统信息"
key=
"1"
>
<a-form>
<a-form-item
label=
"项目名"
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 12 }">
<p>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
prjName
:
''
}}
</p>
</a-form-item>
</a-form>
</a-tab-pane>
</a-tabs>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'xitongxinxi'
,
data
()
{
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
keyCode
:
[],
key
:
''
,
text
:
''
,
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'xitongxinxi'
){
this
.
getList
()
}
},
methods
:
{
getList
(
params
){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
if
(
res
.
code
==
'200'
)
{
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/yewei.vue
0 → 100644
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'yeweiInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_community"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<a-form
class=
"protalForm"
>
<a-form-item
v-for=
"(item,k) in extList.tbl_industry_council"
:key=
"k"
:label=
"item.keyName"
:label-col=
"
{ span: 9 }" :wrapper-col="{ span: 12 }">
<a-input
v-decorator=
"[item.keyCode]"
disabled=
"disabled"
/>
</a-form-item>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'yeweiInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
extList
:
{
tbl_community
:
[],
tbl_community_amst_office
:
[],
tbl_prop_company
:
[],
tbl_community_manager
:
[],
tbl_industry_council
:
[],
tbl_residents_committees
:
[],
},
// ext所有列表
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'yeweiInfo'
){
this
.
getList
()
}
},
methods
:
{
getList
(
params
){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
'200'
)
{
this
.
content
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
else
{
this
.
$message
.
info
(
res
.
msg
,
10
)
}
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_SAFE_EXT
.
replace
(
'{table}'
,
'tbl_industry_council'
).
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
extList
.
tbl_industry_council
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
}
})
})
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/rizhi/zhanghuInfo.vue
View file @
d9a6592f
<
template
>
<div
class=
"routerWapper enquiryList"
>
<div
class=
"portalDetailTitle"
>
<span
class=
"title"
>
日志详情
</span>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.back()"
>
返回
</a-button>
</div>
</div>
<!-- 小区 -->
<div
v-if=
"$route.name == 'zhanghuInfo'"
class=
"layoutMargin layoutPadding"
>
<div
style=
"font-size:16px;margin-bottom:20px"
>
<P>
操作人:
{{
content
.
creator
}}
</P>
<P>
操作说明:
{{
content
.
pointName
}}
</P>
<P>
操作时间:
{{
this
.
$moment
(
content
.
createTime
).
format
(
'YYYY-MM-DD'
)
}}
</P>
</div>
<div
class=
"cardBox"
>
<a-card
title=
"操作前信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;justify-content:flex-end;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<div
class=
"layoutMargin detailsPartSection contentPadding"
>
<a-form
class=
"portalDetailContentBody"
:form=
"formData"
>
<p>
姓名:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
name
:
''
}}
</span>
</p>
<p>
手机:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
phone
:
''
}}
</span>
</p>
<p>
邮箱:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
roleName
:
''
}}
</span>
</p>
<p>
机构类型:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
orgType
:
''
}}
</span>
</p>
<p>
机构名称:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
orgName
:
''
}}
</span>
</p>
<p>
角色名称:
<span>
{{
content
.
dataBeforeObj
?
content
.
dataBeforeObj
.
roleNames
:
''
}}
</span>
</p>
<!--
<a-tree
class=
"portalRoleTree"
v-if=
"showTree"
checkable
:treeData=
"treeData"
:defaultExpandedKeys=
'expandedKeys1'
v-model=
"checkedKeys1"
disabled=
"disabled"
/>
-->
</a-form>
</div>
</div>
</div>
</a-card>
<a-card
title=
"操作后信息"
style=
"width: 49%;margin-right:1%;margin-bottom:1%;"
>
<div
class=
"card-centent"
>
<div
style=
"margin-bottom:8px;"
>
<div
class=
"layoutMargin detailsPartSection contentPadding"
>
<a-form
class=
"portalDetailContentBody"
:form=
"formData"
>
<p>
姓名:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
name
:
''
}}
</span>
</p>
<p>
手机:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
phone
:
''
}}
</span>
</p>
<p>
邮箱:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
roleName
:
''
}}
</span>
</p>
<p>
机构类型:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
orgType
:
''
}}
</span>
</p>
<p>
机构名称:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
orgName
:
''
}}
</span>
</p>
<p>
角色名称:
<span>
{{
content
.
dataAfterObj
?
content
.
dataAfterObj
.
roleNames
:
''
}}
</span>
</p>
<!--
<a-tree
class=
"portalRoleTree"
v-if=
"showTree"
checkable
:treeData=
"treeData"
:defaultExpandedKeys=
'expandedKeys'
v-model=
"checkedKeys"
disabled=
"disabled"
/>
-->
</a-form>
</div>
</div>
</div>
</a-card>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</div>
</
template
>
<
script
>
export
default
{
name
:
'zhanghuInfo'
,
data
()
{
formExt
:
this
.
$form
.
createForm
(
this
)
return
{
showTree
:
false
,
treeData
:
[],
expandedKeys
:
[],
checkedKeys
:
[],
expandedKeys1
:
[],
checkedKeys1
:
[],
roleName
:
null
,
userCount
:
null
,
roleIds
:
[],
// 功能点的id数组
content
:
{}
}
},
mounted
(){
if
(
this
.
$route
.
name
==
'zhanghuInfo'
){
this
.
getList
()
this
.
getTree
()
}
},
beforeCreate
()
{
this
.
formData
=
this
.
$form
.
createForm
(
this
)
},
methods
:
{
getTree
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_ALL_ROLE
+
'?isTree=true'
}).
then
(
res
=>
{
const
data
=
res
.
data
.
content
this
.
parentId
=
data
.
id
data
.
forEach
((
item
,
index
)
=>
{
this
.
treeData
.
push
(
this
.
getTreeNode
(
item
,
index
))
})
this
.
getList
(
this
.
$route
.
query
.
id
)
})
},
getList
(){
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_RIZHI_INFO
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
if
(
res
.
code
===
'200'
){
this
.
content
=
res
.
data
.
content
const
data
=
res
.
data
.
content
this
.
roleName
=
data
.
roleName
this
.
userCount
=
data
.
userCount
this
.
expandedKeys
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkedKeys
))
this
.
expandedKeys1
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
checkedKeys1
))
this
.
showTree
=
true
if
(
data
.
dataBeforeObj
){
this
.
checkedKeys1
=
data
.
dataBeforeObj
.
perm
.
map
((
item
)
=>
{
return
item
.
id
})
}
if
(
data
.
dataAfterObj
){
this
.
checkedKeys
=
data
.
dataAfterObj
.
perm
.
map
((
item
)
=>
{
return
item
.
id
})
}
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
},
getTreeNode
(
item
,
index
){
if
(
this
.
roleIds
.
length
>
0
&&
this
.
roleIds
.
indexOf
(
item
.
id
)
<
0
&&
!
this
.
$store
.
state
.
userInfos
.
isAllPerm
){
var
childrenNode
=
{
title
:
item
.
permName
,
key
:
item
.
id
,
disabled
:
true
,
}
}
else
{
var
childrenNode
=
{
title
:
item
.
permName
,
key
:
item
.
id
}
}
if
(
item
.
childList
&&
item
.
childList
.
length
){
childrenNode
.
children
=
[]
item
.
childList
.
forEach
((
subItem
,
subIndex
)
=>
{
const
subkey
=
subItem
.
id
childrenNode
.
children
.
push
(
this
.
getTreeNode
(
subItem
,
subkey
))
})
}
return
childrenNode
},
},
}
</
script
>
<
style
>
.enquiryList
.ant-card-head
{
border-bottom
:
1px
dashed
#e8e8e8
;
padding
:
0
12px
;
}
.enquiryList
.ant-card-body
{
padding
:
0px
;
}
.enquiryList
.card-bottom
{
padding
:
8px
0px
;
text-align
:
center
;
color
:
#1890ff
;
border-top
:
1px
solid
#e8e8e8
;
cursor
:
pointer
;
}
.enquiryList
.card-centent
{
padding
:
12px
;
}
.enquiryList
.cardBox
{
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
src/views/personal/role/list.vue
View file @
d9a6592f
<
template
>
<
template
>
<div
class=
"routerWapper"
>
<keep-alive>
<div
v-if=
"$route.name == 'role' && $permission('000903')"
class=
"layoutMargin layoutPadding"
>
<div
class=
"routerWapper"
>
<a-form
class=
"protalForm"
:form=
"searchForm"
>
<div
v-if=
"$route.name == 'role' && $permission('000903')"
class=
"layoutMargin layoutPadding"
>
<a-row
type=
"flex"
justify=
"end"
align=
"middle"
>
<a-form
class=
"protalForm"
:form=
"searchForm"
>
<a-col
span=
"6"
>
<a-row
type=
"flex"
justify=
"end"
align=
"middle"
>
<a-form-item
class=
"formItem"
label=
""
:label-col=
"
{span:0}" :wrapper-col="{span:24}" >
<a-col
span=
"6"
>
<a-input
placeholder=
"请输入角色名称"
v-model=
"searchForm.roleName_l"
/>
<a-form-item
class=
"formItem"
label=
""
:label-col=
"
{span:0}" :wrapper-col="{span:24}" >
</a-form-item>
<a-input
placeholder=
"请输入角色名称"
v-model=
"searchForm.roleName_l"
/>
</a-col>
</a-form-item>
<a-col
span=
"5"
class=
"algin-right"
style=
"padding-right:8px"
>
</a-col>
<a-button
@
click=
"reset"
>
重置
</a-button>
<a-col
span=
"5"
class=
"algin-right"
style=
"padding-right:8px"
>
<a-button
type=
"primary"
@
click=
"search"
>
搜索
</a-button>
<a-button
@
click=
"reset"
>
重置
</a-button>
</a-col>
<a-button
type=
"primary"
@
click=
"search"
>
搜索
</a-button>
</a-row>
</a-col>
</a-form>
</a-row>
<p
class=
"gayLine noline"
></p>
</a-form>
<div
class=
"portalTableOperates"
>
<p
class=
"gayLine noline"
></p>
<a-button
type=
"primary"
icon=
'plus'
v-if=
"$permission('00090302')"
@
click=
"addBtn"
>
新增角色
</a-button>
<div
class=
"portalTableOperates"
>
</div>
<a-button
type=
"primary"
icon=
'plus'
v-if=
"$permission('00090302')"
@
click=
"addBtn"
>
新增角色
</a-button>
<div
class=
"wrapper-roles"
>
</div>
<div
class=
"box"
v-for=
"(item,index) in roleList"
:key=
"index"
>
<div
class=
"wrapper-roles"
>
<div
class=
"inner"
>
<div
class=
"box"
v-for=
"(item,index) in roleList"
:key=
"index"
>
<div
class=
"content"
>
<div
class=
"inner"
>
<p
class=
"roleName"
:title=
'item.roleName'
>
{{
item
.
roleName
}}
</p>
<div
class=
"content"
>
<p
class=
"roleNum"
><img
:src=
"groups"
class=
"group-icon"
alt=
"人数"
><span
class=
"name-num"
>
{{
item
.
userCount
||
'0'
}}
人
</span></p>
<p
class=
"roleName"
:title=
'item.roleName'
>
{{
item
.
roleName
}}
</p>
<DataOperatorInList
:level=
"!item.sort?0:item.sort"
:creator=
'!item.creator?"":item.creator'
:lastOperator=
'!item.operator?"":item.operator'
></DataOperatorInList>
<p
class=
"roleNum"
><img
:src=
"groups"
class=
"group-icon"
alt=
"人数"
><span
class=
"name-num"
>
{{
item
.
userCount
||
'0'
}}
人
</span></p>
</div>
<DataOperatorInList
:level=
"!item.sort?0:item.sort"
:creator=
'!item.creator?"":item.creator'
:lastOperator=
'!item.operator?"":item.operator'
></DataOperatorInList>
<div
class=
"operate"
>
</div>
<template>
<div
class=
"operate"
>
<span
@
click=
"view(item)"
v-if=
"$permission('00090301')"
>
查看
</span>
<template>
<a-divider
type=
"vertical"
/>
<span
@
click=
"view(item)"
v-if=
"$permission('00090301')"
>
查看
</span>
</
template
>
<a-divider
type=
"vertical"
/>
<
template
>
</
template
>
<span
@
click=
"edit(item)"
v-if=
"$permission('00090304')"
>
修改
</span>
<
template
>
<a-divider
type=
"vertical"
/>
<span
@
click=
"edit(item)"
v-if=
"$permission('00090304')"
>
修改
</span>
</
template
>
<a-divider
type=
"vertical"
/>
<span
@
click=
"deleteBtn(item)"
v-if=
"$permission('00090304')"
>
删除
</span>
</
template
>
<span
@
click=
"deleteBtn(item)"
v-if=
"$permission('00090304')"
>
删除
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 分页 -->
<a-row
type=
"flex"
justify=
"end"
>
<a-col>
<a-pagination
size=
"small"
:defaultPageSize=
"20"
showQuickJumper
@
change=
"onChange"
:current=
"params.pageNo"
:total=
"total"
>
</a-pagination>
</a-col>
</a-row>
</div>
</div>
<!-- 分页 -->
<RouterWapper
v-else
></RouterWapper>
<a-row
type=
"flex"
justify=
"end"
>
<a-col>
<a-pagination
size=
"small"
:defaultPageSize=
"20"
showQuickJumper
@
change=
"onChange"
:current=
"params.pageNo"
:total=
"total"
>
</a-pagination>
</a-col>
</a-row>
</div>
</div>
<RouterWapper
v-else
></RouterWapper>
</keep-alive>
</div>
</template>
</template>
<
script
>
<
script
>
import
DataOperatorInList
from
'@/views/components/dataOperatorInList'
import
DataOperatorInList
from
'@/views/components/dataOperatorInList'
...
@@ -73,10 +75,20 @@ export default {
...
@@ -73,10 +75,20 @@ export default {
groups
:
require
(
'@/assets/images/group.png'
),
groups
:
require
(
'@/assets/images/group.png'
),
}
}
},
},
watch
:
{
$route
(
cur
)
{
if
(
cur
)
{
this
.
getSearchParams
()
}
},
},
mounted
(){
mounted
(){
console
.
log
(
1
)
if
(
this
.
$route
.
name
==
'role'
){
if
(
this
.
$route
.
name
==
'role'
){
console
.
log
(
3
)
this
.
getSearchParams
()
}
},
activated
()
{
if
(
this
.
$route
.
name
==
'role'
){
this
.
getSearchParams
()
this
.
getSearchParams
()
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment