Commit 92caf0ef authored by zhangrui123's avatar zhangrui123

隐藏日志,台账

parent cb949a94
......@@ -108,44 +108,6 @@
]
}
]
},
{
"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
......@@ -94,16 +94,28 @@ const appRoutes = [
},
]
},
{ // 日志管理
path: '/systemManagement/rizhi', name: 'rizhi', component: resolve => require(['@/views/personal/rizhi/rizhiList'], resolve), //people,
meta: { title: '日志管理', authCode: '', menuPath: true, menuIcon: 'setting', hideInBread: false, },
children: [
{
path: '/systemManagement/rizhi/info', name: 'rizhiInfo', component: resolve => require(['@/views/personal/rizhi/info'], resolve), //staffInfo,
meta: { title: '日志管理详情', hideInBread: false, authCode: '' },
},
]
},
// { // 日志管理
// path: '/systemManagement/rizhi', name: 'rizhi', component: resolve => require(['@/views/personal/rizhi/rizhiList'], resolve), //people,
// meta: { title: '日志管理', authCode: '', menuPath: true, menuIcon: 'setting', hideInBread: false, },
// children: [
// {
// path: '/systemManagement/rizhi/info', name: 'rizhiInfo', component: resolve => require(['@/views/personal/rizhi/info'], resolve), //staffInfo,
// meta: { title: '日志管理详情', hideInBread: false, authCode: '' },
// },
// {
// path: '/systemManagement/rizhi/feijuInfo', name: 'feijuInfo', component: resolve => require(['@/views/personal/rizhi/feijuInfo'], resolve), //staffInfo,
// meta: { title: '日志管理详情', hideInBread: false, authCode: '' },
// },
// {
// path: '/systemManagement/rizhi/xitongInfo', name: 'xitongInfo', component: resolve => require(['@/views/personal/rizhi/xitongInfo'], resolve), //staffInfo,
// meta: { title: '日志管理详情', hideInBread: false, authCode: '' },
// },
// {
// path: '/systemManagement/rizhi/zhanghuInfo', name: 'zhanghuInfo', component: resolve => require(['@/views/personal/rizhi/zhanghuInfo'], resolve), //staffInfo,
// meta: { title: '日志管理详情', hideInBread: false, authCode: '' },
// },
// ]
// },
]
},
{
......
// {
// "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
<template>
<div class="routerWapper enquiryList">
<Loader />
<div class="portalDetailTitle">
<span class="title">
日志详情
</span>
<div class="detailOperations">
<a-button @click="$router.back()"> 返回 </a-button>
</div>
</div>
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
</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: 8 }" :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: 8 }" :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: 'rizhiInfo',
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 == 'rizhiInfo'){
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').replace('{id}', this.$route.query.id),
}).then(res => {
if (res.code == 200) {
this.extList.tbl_community = 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>
<template>
<div class="routerWapper enquiryList">
<Loader />
<div class="portalDetailTitle">
<span class="title">
日志详情
......@@ -9,6 +8,7 @@
<a-button @click="$router.back()"> 返回 </a-button>
</div>
</div>
<!-- 小区 -->
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
......@@ -18,7 +18,7 @@
<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: 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-form-item>
</a-form>
......@@ -29,7 +29,157 @@
<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: 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-form-item>
</a-form>
</div>
</div>
</a-card>
</div>
</div>
<!-- 业委会信息 -->
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
</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" :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>
<!-- 物业企业 -->
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
</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" :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>
<!-- 小区管理处 -->
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
</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" :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>
<!-- 小区经理 -->
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
</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" :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>
<!-- 小区居委会信息 -->
<div v-if="$route.name == 'rizhiInfo'" class="layoutMargin layoutPadding">
<div style="font-size:16px;margin-bottom:20px">
操作说明:{{content.pointName}}
</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" :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>
......@@ -81,7 +231,6 @@ export default {
this.extList.tbl_community = this.$com.confirm(res, 'data.content', [])
}
})
this.$refs.modal.seeData()
})
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment