Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3a3b5f07
authored
2020-10-22 16:58:02 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
1365fc5f
68ffbd22
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
480 additions
and
513 deletions
src/App.vue
src/components/formMenu/qlr.vue
src/components/formMenu/qlxz.vue
src/store/index.js
src/views/Home.vue
src/views/panel/create/index.vue
src/views/systemZD/zddcb/index.vue
src/App.vue
View file @
3a3b5f0
...
...
@@ -5,31 +5,14 @@
</
template
>
<
script
>
import
{
getDdicByMC
}
from
"../src/api/common"
;
export
default
{
mounted
()
{
this
.
getDic
();
window
.
addEventListener
(
"unload"
,
this
.
saveState
);
},
methods
:
{
saveState
()
{
sessionStorage
.
setItem
(
"state"
,
JSON
.
stringify
(
this
.
$store
.
state
));
},
//请求字典数据
getDic
()
{
let
s
=
this
.
$store
.
state
;
s
.
zjzlList
=
s
.
zjzlList
.
length
==
0
?
this
.
getDicData
(
"证件种类"
)
:
s
.
zjzlList
;
s
.
gjList
=
s
.
gjList
.
length
==
0
?
this
.
getDicData
(
"国家和地区"
)
:
s
.
gjList
;
s
.
ssList
=
s
.
ssList
.
length
==
0
?
this
.
getDicData
(
"省市"
)
:
s
.
ssList
;
s
.
qlrlxList
=
s
.
qlrlxList
.
length
==
0
?
this
.
getDicData
(
"权利人类型"
)
:
s
.
qlrlxList
;
s
.
xbList
=
s
.
xbList
.
length
==
0
?
this
.
getDicData
(
"性别"
)
:
s
.
xbList
;
s
.
sshyList
=
s
.
sshyList
.
length
==
0
?
this
.
getDicData
(
"国民经济行业分类代码"
)
:
s
.
sshyList
;
},
getDicData
(
name
)
{
getDdicByMC
(
name
).
then
((
res
)
=>
{
return
res
.
result
;
});
},
},
};
</
script
>
...
...
src/components/formMenu/qlr.vue
View file @
3a3b5f0
...
...
@@ -61,7 +61,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.qlrlxbsm"
>
<el-option
v-for=
"item in qlrlxList"
v-for=
"item in
$store.state.
qlrlxList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -75,7 +75,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.zjzlbsm"
>
<el-option
v-for=
"item in
zl
zlList"
v-for=
"item in
$store.state.zj
zlList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -103,7 +103,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.gjbsm"
>
<el-option
v-for=
"item in gjList"
v-for=
"item in
$store.state.
gjList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -115,7 +115,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.hjszssbsm"
>
<el-option
v-for=
"item in ssList"
v-for=
"item in
$store.state.
ssList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -129,7 +129,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.xbbsm"
>
<el-option
v-for=
"item in xbList"
v-for=
"item in
$store.state.
xbList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -147,7 +147,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.sshy"
>
<el-option
v-for=
"item in sshyList"
v-for=
"item in
$store.state.
sshyList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -176,7 +176,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.fr.zjzlbsm"
>
<el-option
v-for=
"item in zjzlList"
v-for=
"item in
$store.state.
zjzlList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -222,7 +222,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"item.zjzlbsm"
>
<el-option
v-for=
"item in zjzlList"
v-for=
"item in
$store.state.
zjzlList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -251,7 +251,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.gyfsbsm"
>
<el-option
v-for=
"item in qlrlxList"
v-for=
"item in
$store.state.
qlrlxList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -356,12 +356,6 @@ export default {
zjh
:
""
,
zjzlbsm
:
""
,
},
qlrlxList
:
this
.
$store
.
state
.
qlrlxList
,
zjzlList
:
this
.
$store
.
state
.
zjzlList
,
xbList
:
this
.
$store
.
state
.
xbList
,
gjList
:
this
.
$store
.
state
.
gjList
,
ssList
:
this
.
$store
.
state
.
ssList
,
sshyList
:
this
.
$store
.
state
.
sshyList
,
};
},
methods
:
{
...
...
src/components/formMenu/qlxz.vue
View file @
3a3b5f0
...
...
@@ -211,14 +211,12 @@ export default {
getDicData
(){
getDdicByMC
(
"土地用途"
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
result
);
this
.
pzytList
=
res
.
result
;
this
.
sjytList
=
res
.
result
;
})
.
catch
((
error
)
=>
{});
getDdicByMC
(
"土地等级"
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
result
);
this
.
djList
=
res
.
result
;
})
.
catch
((
error
)
=>
{});
...
...
src/store/index.js
View file @
3a3b5f0
...
...
@@ -5,20 +5,22 @@ import user from './modules/user'
import
permission_routes
from
'./modules/permission_routes'
import
setTabs
from
'./modules/setTabs'
Vue
.
use
(
Vuex
)
Vue
.
use
(
Vuex
);
const
store
=
new
Vuex
.
Store
({
state
:
sessionStorage
.
getItem
(
'state'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'state'
))
:
{
zdbsm
:
''
,
xzqList
:
[],
djqList
:
[],
djzqList
:
[],
qllxList
:
[],
zdtzmList
:
[],
qlsdfsList
:
[],
zjzlList
:[],
gjList
:[],
ssList
:[],
qlrlxList
:[],
xbList
:[],
sshyList
:[],
xzqList
:
[],
djqList
:
[],
djzqList
:
[],
//创建自然幢时需要用到的临时存储信息
zrzbsm
:
''
,
xmmc
:
''
,
...
...
src/views/Home.vue
View file @
3a3b5f0
<
template
>
<div
class=
"home-box"
>
<el-container>
<el-aside
:class=
"
{ 'aside-show': isActive }">
<div
class=
"logo-box"
:class=
"
{ 'logo-box-show': isActive }">
<img
class=
"logo-img"
src=
"@/assets/images/logo-realestate.png"
alt=
""
/>
<span
class=
"logo-text"
v-show=
"!textLogo"
>
不动产权籍调查系统
</span>
</div>
<div
class=
"treeModule"
>
<LineTree
:pd=
"pd"
@
itemClick=
"itemClick"
></LineTree>
</div>
</el-aside>
<el-container>
<el-header
height=
"100px"
>
<div
class=
"header-top"
>
<div
class=
"top-items"
@
click=
"toggleClick"
>
<i
class=
"fa fa-outdent hamburger"
v-show=
"!isActive"
></i>
<i
class=
"fa fa-indent hamburger"
v-show=
"isActive"
></i>
</div>
<div
class=
"top-items"
v-for=
"(item, index) in headTop"
:key=
"index + '1'"
:class=
"
{ 'is-active': item.select }"
@click="selectTopItems(index)"
>
<i
:class=
"item.icon"
></i>
<span>
{{
item
.
name
}}
</span>
</div>
</div>
<div
class=
"header-bottom"
>
<Navigation
ref=
"navigation"
></Navigation>
</div>
<el-dialog
title=
"新建"
:visible
.
sync=
"dialogVisible"
width=
"40%"
>
<Create
@
closeDialog=
"closeDialog"
></Create>
</el-dialog>
</el-header>
<el-main>
<router-view/>
</el-main>
</el-container>
</el-container>
</div>
<div
class=
"home-box"
>
<el-container>
<el-aside
:class=
"
{ 'aside-show': isActive }">
<div
class=
"logo-box"
:class=
"
{ 'logo-box-show': isActive }">
<img
class=
"logo-img"
src=
"@/assets/images/logo-realestate.png"
alt=
""
/>
<span
class=
"logo-text"
v-show=
"!textLogo"
>
不动产权籍调查系统
</span>
</div>
<div
class=
"treeModule"
>
<LineTree
:pd=
"pd"
@
itemClick=
"itemClick"
></LineTree>
</div>
</el-aside>
<el-container>
<el-header>
<div
class=
"header-top"
>
<div
class=
"top-items"
@
click=
"toggleClick"
>
<i
class=
"fa fa-outdent hamburger"
v-show=
"!isActive"
></i>
<i
class=
"fa fa-indent hamburger"
v-show=
"isActive"
></i>
</div>
<div
class=
"top-items"
v-for=
"(item, index) in headTop"
:key=
"index + '1'"
:class=
"
{ 'is-active': item.select }"
@click="selectTopItems(index)"
>
<i
:class=
"item.icon"
></i>
<span>
{{
item
.
name
}}
</span>
</div>
</div>
<!--
<div
class=
"header-bottom"
>
<Navigation
ref=
"navigation"
></Navigation>
</div>
-->
<el-dialog
title=
"新建"
:visible
.
sync=
"dialogVisible"
width=
"40%"
>
<Create
@
closeDialog=
"closeDialog"
></Create>
</el-dialog>
</el-header>
<el-main>
<router-view
/>
</el-main>
</el-container>
</el-container>
</div>
</
template
>
<
script
>
import
util
from
"@/libs/util.js"
;
import
Navigation
from
"../components/IvyElement/navigation"
;
import
Create
from
"./panel/create/index"
;
import
LineTree
from
"../components/lineTree/lineTree"
;
import
{
setTimeout
}
from
"timers"
;
import
{
getTree
}
from
"../api/common"
import
util
from
"@/libs/util.js"
;
import
Navigation
from
"../components/IvyElement/navigation"
;
import
Create
from
"./panel/create/index"
;
import
LineTree
from
"../components/lineTree/lineTree"
;
import
{
setTimeout
}
from
"timers"
;
import
{
getTree
,
getDdicByMC
}
from
"../api/common"
;
export
default
{
components
:
{
Navigation
,
LineTree
,
Create
,
},
data
()
{
return
{
navigationList
:
[],
isActive
:
false
,
textLogo
:
false
,
activePath
:
""
,
defaultActive
:
""
,
headTop
:
[
{
path
:
"/create"
,
select
:
false
,
},
{
path
:
"/add"
,
select
:
false
,
},
{
path
:
"/modify"
,
select
:
false
,
},
{
path
:
"/change"
,
select
:
false
,
},
{
path
:
"/search"
,
select
:
false
,
},
],
tempTab
:
[
{
path
:
"/zrz"
,
name
:
"自然幢"
,
},
{
path
:
"/dz"
,
name
:
"多幢"
,
},
{
path
:
"/h"
,
name
:
"户"
,
},
{
path
:
"/zd"
,
name
:
"宗地"
,
},
],
// 上导航选中id
indId
:
undefined
,
menuList
:
[],
pathAndCodeObj
:
{
"/article-draft"
:
"PSH004"
,
"/article-publish"
:
"PSH005"
,
"/article-recycle"
:
"PSH006"
,
"/notice-draft"
:
"PSH007"
,
"/notice-publish"
:
"PSH008"
,
"/notice-recycle"
:
"PSH009"
,
"/column_management"
:
"PSH018"
,
"/announcement_template"
:
"PSH019"
,
"/business_management"
:
"PSH020"
,
},
pd
:
[
{
mc
:
"行政区(1)"
,
children
:
[],
},
{
mc
:
"行政区(2)"
,
children
:
[
{
mc
:
"地籍区1"
,
children
:
[],
},
{
mc
:
"地籍区2"
,
children
:
[
{
mc
:
"国有"
,
children
:
[
{
mc
:
"宗地代码1933"
,
isZD
:
true
,
},
{
mc
:
"自然幢2100"
,
isZD
:
false
,
},
],
},
],
},
{
label
:
"地籍区3"
,
children
:
[],
},
{
label
:
"地籍区4"
,
children
:
[],
},
],
},
{
mc
:
"行政区(3)"
,
children
:
[],
},
{
mc
:
"行政区(4)"
,
children
:
[],
},
{
mc
:
"行政区(5)"
,
children
:
[],
},
],
dialogVisible
:
false
,
};
},
computed
:
{
permission_routes
()
{
return
this
.
$store
.
state
.
permission_routes
.
navigation
;
},
},
watch
:
{
"$route.path"
:
function
(
newPath
)
{
//监测路由变化,高亮顶部导航
this
.
headTop
.
forEach
((
item
,
index
)
=>
{
item
.
select
=
false
;
if
(
item
.
path
==
newPath
)
{
item
.
select
=
true
;
}
});
if
(
newPath
==
'/zd'
){
this
.
getRightTree
(
this
.
$store
.
state
.
zdbsm
)
}
},
"$store.state.zdbsm"
:
function
(
bsm
)
{
this
.
getRightTree
(
bsm
)
}
},
created
()
{
if
(
this
.
$route
.
meta
)
{
this
.
defaultActive
=
this
.
$route
.
meta
.
code
;
}
if
(
this
.
permission_routes
.
length
!==
0
)
{
this
.
navigationList
=
this
.
permission_routes
;
}
else
{
// let list = JSON.parse(util.cookies.get('navigation-1')).concat(JSON.parse(util.cookies.get('navigation')))
//mock数据
let
list
=
[
{
name
:
"新建"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/create"
,
},
{
name
:
"添加"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/add"
,
},
{
name
:
"更正"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/modify"
},
{
name
:
"变更"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/change"
,
},
{
name
:
"综合查询"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/search"
,
},
];
this
.
navigationList
=
list
;
}
this
.
sortNavigation
(
this
.
navigationList
,
0
);
// if (util.cookies.get("indId")) {
// let indId = util.cookies.get("indId") - 0;
// this.navSelect(indId);
// this.sortNavigation(this.navigationList, indId);
// }
},
methods
:
{
getRightTree
(
bsm
)
{
getTree
(
bsm
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
pd
=
res
.
result
}
})
},
sortNavigation
(
data
,
selectId
)
{
let
headTop
=
this
.
headTop
;
data
.
forEach
((
item
,
index
)
=>
{
headTop
[
index
].
name
=
item
.
name
;
headTop
[
index
].
icon
=
item
.
icon
;
});
},
// menuSelect(data, selectId) {
// this.menuList = data[selectId].children;
// },
handleOpen
(
key
,
keyPath
)
{
console
.
log
(
key
,
keyPath
);
},
handleClose
(
key
,
keyPath
)
{
console
.
log
(
key
,
keyPath
);
},
toggleClick
()
{
this
.
isActive
=
!
this
.
isActive
;
if
(
!
this
.
isActive
)
{
setTimeout
(()
=>
{
this
.
textLogo
=
this
.
isActive
;
},
200
);
}
else
{
this
.
textLogo
=
this
.
isActive
;
}
},
selectTopItems
(
ind
)
{
if
(
ind
==
0
)
{
//点击新建,弹框
this
.
dialogVisible
=
true
;
}
else
{
this
.
dialogVisible
=
false
;
this
.
indId
=
ind
;
// this.menuSelect(this.navigationList, ind);
// this.$store.dispatch("setTabs/init_tabs");
// this.$store.dispatch("setTabs/set_active_index", "/panel");
this
.
$router
.
push
(
this
.
headTop
[
ind
].
path
);
this
.
navSelect
(
ind
);
// util.cookies.set("indId", ind);
}
},
// 上导航选中id
navSelect
(
id
)
{
this
.
headTop
.
forEach
((
item
,
index
)
=>
{
item
.
select
=
false
;
if
(
index
==
id
)
{
item
.
select
=
true
;
}
});
},
//树控件点击事件
itemClick
(
data
)
{
console
.
log
(
data
);
},
//关闭新建子组件弹框
closeDialog
()
{
this
.
dialogVisible
=
false
;
}
},
};
export
default
{
components
:
{
// Navigation,
LineTree
,
Create
,
},
data
()
{
return
{
navigationList
:
[],
isActive
:
false
,
textLogo
:
false
,
activePath
:
""
,
defaultActive
:
""
,
headTop
:
[
{
path
:
"/create"
,
select
:
false
,
},
{
path
:
"/add"
,
select
:
false
,
},
{
path
:
"/modify"
,
select
:
false
,
},
{
path
:
"/change"
,
select
:
false
,
},
{
path
:
"/search"
,
select
:
false
,
},
],
tempTab
:
[
{
path
:
"/zrz"
,
name
:
"自然幢"
,
},
{
path
:
"/dz"
,
name
:
"多幢"
,
},
{
path
:
"/h"
,
name
:
"户"
,
},
{
path
:
"/zd"
,
name
:
"宗地"
,
},
],
// 上导航选中id
indId
:
undefined
,
menuList
:
[],
pathAndCodeObj
:
{
"/article-draft"
:
"PSH004"
,
"/article-publish"
:
"PSH005"
,
"/article-recycle"
:
"PSH006"
,
"/notice-draft"
:
"PSH007"
,
"/notice-publish"
:
"PSH008"
,
"/notice-recycle"
:
"PSH009"
,
"/column_management"
:
"PSH018"
,
"/announcement_template"
:
"PSH019"
,
"/business_management"
:
"PSH020"
,
},
pd
:
[
{
mc
:
"行政区(1)"
,
children
:
[],
},
{
mc
:
"行政区(2)"
,
children
:
[
{
mc
:
"地籍区1"
,
children
:
[],
},
{
mc
:
"地籍区2"
,
children
:
[
{
mc
:
"国有"
,
children
:
[
{
mc
:
"宗地代码1933"
,
isZD
:
true
,
},
{
mc
:
"自然幢2100"
,
isZD
:
false
,
},
],
},
],
},
{
label
:
"地籍区3"
,
children
:
[],
},
{
label
:
"地籍区4"
,
children
:
[],
},
],
},
{
mc
:
"行政区(3)"
,
children
:
[],
},
{
mc
:
"行政区(4)"
,
children
:
[],
},
{
mc
:
"行政区(5)"
,
children
:
[],
},
],
dialogVisible
:
false
,
};
},
computed
:
{
permission_routes
()
{
return
this
.
$store
.
state
.
permission_routes
.
navigation
;
},
},
watch
:
{
"$route.path"
:
function
(
newPath
)
{
//监测路由变化,高亮顶部导航
this
.
headTop
.
forEach
((
item
,
index
)
=>
{
item
.
select
=
false
;
if
(
item
.
path
==
newPath
)
{
item
.
select
=
true
;
}
});
if
(
newPath
==
"/zd"
)
{
this
.
getRightTree
(
this
.
$store
.
state
.
zdbsm
);
}
},
"$store.state.zdbsm"
:
function
(
bsm
)
{
this
.
getRightTree
(
bsm
);
},
},
created
()
{
if
(
this
.
$route
.
meta
)
{
this
.
defaultActive
=
this
.
$route
.
meta
.
code
;
}
if
(
this
.
permission_routes
.
length
!==
0
)
{
this
.
navigationList
=
this
.
permission_routes
;
}
else
{
// let list = JSON.parse(util.cookies.get('navigation-1')).concat(JSON.parse(util.cookies.get('navigation')))
//mock数据
let
list
=
[
{
name
:
"新建"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/create"
,
},
{
name
:
"添加"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/add"
,
},
{
name
:
"更正"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/modify"
},
{
name
:
"变更"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/change"
,
},
{
name
:
"综合查询"
,
icon
:
"fa fa-address-card-o"
,
path
:
"/search"
,
},
];
this
.
navigationList
=
list
;
}
this
.
sortNavigation
(
this
.
navigationList
,
0
);
// if (util.cookies.get("indId")) {
// let indId = util.cookies.get("indId") - 0;
// this.navSelect(indId);
// this.sortNavigation(this.navigationList, indId);
// }
this
.
getDic
();
},
methods
:
{
//请求字典数据
async
getDic
()
{
let
s
=
this
.
$store
.
state
;
s
.
zjzlList
=
s
.
zjzlList
.
length
==
0
?
await
this
.
getDicData
(
"证件种类"
)
:
s
.
zjzlList
;
s
.
gjList
=
s
.
gjList
.
length
==
0
?
await
this
.
getDicData
(
"国家和地区"
)
:
s
.
gjList
;
s
.
ssList
=
s
.
ssList
.
length
==
0
?
await
this
.
getDicData
(
"省市"
)
:
s
.
ssList
;
s
.
qlrlxList
=
s
.
qlrlxList
.
length
==
0
?
await
this
.
getDicData
(
"权利人类型"
)
:
s
.
qlrlxList
;
s
.
xbList
=
s
.
xbList
.
length
==
0
?
await
this
.
getDicData
(
"性别"
)
:
s
.
xbList
;
s
.
sshyList
=
s
.
sshyList
.
length
==
0
?
await
this
.
getDicData
(
"国民经济行业分类代码"
)
:
s
.
sshyList
;
s
.
qllxList
=
s
.
qllxList
.
length
==
0
?
await
this
.
getDicData
(
"权利类型"
)
:
s
.
qllxList
;
s
.
zdtzmList
=
s
.
zdtzmList
.
length
==
0
?
await
this
.
getDicData
(
"宗地(宗海)特征码"
)
:
s
.
sshyList
;
s
.
qlsdfsList
=
s
.
qlsdfsList
.
length
==
0
?
await
this
.
getDicData
(
"权利设定方式"
)
:
s
.
qlsdfsList
;
},
async
getDicData
(
name
)
{
return
await
getDdicByMC
(
name
).
then
((
res
)
=>
{
return
res
.
result
});
},
getRightTree
(
bsm
)
{
getTree
(
bsm
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
this
.
pd
=
res
.
result
;
}
});
},
sortNavigation
(
data
,
selectId
)
{
let
headTop
=
this
.
headTop
;
data
.
forEach
((
item
,
index
)
=>
{
headTop
[
index
].
name
=
item
.
name
;
headTop
[
index
].
icon
=
item
.
icon
;
});
},
// menuSelect(data, selectId) {
// this.menuList = data[selectId].children;
// },
handleOpen
(
key
,
keyPath
)
{
console
.
log
(
key
,
keyPath
);
},
handleClose
(
key
,
keyPath
)
{
console
.
log
(
key
,
keyPath
);
},
toggleClick
()
{
this
.
isActive
=
!
this
.
isActive
;
if
(
!
this
.
isActive
)
{
setTimeout
(()
=>
{
this
.
textLogo
=
this
.
isActive
;
},
200
);
}
else
{
this
.
textLogo
=
this
.
isActive
;
}
},
selectTopItems
(
ind
)
{
if
(
ind
==
0
)
{
//点击新建,弹框
this
.
dialogVisible
=
true
;
}
else
{
this
.
dialogVisible
=
false
;
this
.
indId
=
ind
;
// this.menuSelect(this.navigationList, ind);
// this.$store.dispatch("setTabs/init_tabs");
// this.$store.dispatch("setTabs/set_active_index", "/panel");
this
.
$router
.
push
(
this
.
headTop
[
ind
].
path
);
this
.
navSelect
(
ind
);
// util.cookies.set("indId", ind);
}
},
// 上导航选中id
navSelect
(
id
)
{
this
.
headTop
.
forEach
((
item
,
index
)
=>
{
item
.
select
=
false
;
if
(
index
==
id
)
{
item
.
select
=
true
;
}
});
},
//树控件点击事件
itemClick
(
data
)
{
console
.
log
(
data
);
},
//关闭新建子组件弹框
closeDialog
()
{
this
.
dialogVisible
=
false
;
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
.home-box
{
width
:
100%
;
height
:
100vh
;
.el-container
{
height
:
100%
;
}
.el-header
{
background-color
:
#fff
;
padding
:
0
!important
;
.header-top
{
height
:
60px
;
border-bottom
:
1px
solid
rgba
(
242
,
242
,
242
,
1
);
box-sizing
:
border-box
;
.top-items
{
cursor
:
pointer
;
height
:
60px
;
padding
:
0
30px
;
font-size
:
16px
;
line-height
:
60px
;
float
:
left
;
position
:
relative
;
color
:
#4a4a4a
;
i
{
margin-right
:
6px
;
}
.hamburger
{
font-size
:
16px
;
line-height
:
60px
;
color
:
#000
;
}
}
.top-items
:not
(
:last-child
)
::after
{
content
:
""
;
width
:
1px
;
height
:
14px
;
background
:
#eaeaea
;
position
:
absolute
;
right
:
-1px
;
top
:
24px
;
}
.top-items.is-active
{
color
:
#006cff
;
}
}
.header-bottom
{
height
:
50px
;
box-shadow
:
0px
2px
4px
0px
rgba
(
222
,
222
,
222
,
0.7
);
border-bottom
:
1px
solid
rgba
(
234
,
234
,
234
,
1
);
box-sizing
:
border-box
;
}
}
.el-aside
{
width
:
290px
!important
;
background-color
:
#1d50dd
;
color
:
#333
;
//
text-align
:
center
;
overflow
:
hidden
;
transition
:
width
0.3s
;
.logo-box
{
width
:
100%
;
height
:
120px
;
border-bottom
:
1px
solid
rgba
(
255
,
255
,
255
,
0.2
);
padding
:
30px
0
28px
0
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
align-items
:
center
;
transition
:
width
0.3s
;
.logo-img
{
width
:
38px
;
height
:
38px
;
}
.logo-text
{
font-size
:
14px
;
color
:
rgba
(
255
,
255
,
255
,
1
);
line-height
:
14px
;
}
}
.treeModule
{
box-sizing
:
border-box
;
padding
:
20px
20px
;
}
.logo-box-show
{
width
:
64px
;
}
.el-menu
{
border-right
:
0
;
}
.el-submenu
.el-menu-item
{
text-align
:
left
;
text-indent
:
15px
;
}
}
.aside-show
{
width
:
64px
!important
;
}
.home-box
{
width
:
100%
;
height
:
100vh
;
.el-container
{
height
:
100%
;
}
.el-header
{
background-color
:
#fff
;
padding
:
0
!important
;
.header-top
{
height
:
60px
;
border-bottom
:
1px
solid
rgba
(
242
,
242
,
242
,
1
);
box-sizing
:
border-box
;
.top-items
{
cursor
:
pointer
;
height
:
60px
;
padding
:
0
30px
;
font-size
:
16px
;
line-height
:
60px
;
float
:
left
;
position
:
relative
;
color
:
#4a4a4a
;
i
{
margin-right
:
6px
;
}
.hamburger
{
font-size
:
16px
;
line-height
:
60px
;
color
:
#000
;
}
}
.top-items
:not
(
:last-child
)
::after
{
content
:
""
;
width
:
1px
;
height
:
14px
;
background
:
#eaeaea
;
position
:
absolute
;
right
:
-1px
;
top
:
24px
;
}
.top-items.is-active
{
color
:
#006cff
;
}
}
.header-bottom
{
height
:
50px
;
box-shadow
:
0px
2px
4px
0px
rgba
(
222
,
222
,
222
,
0.7
);
border-bottom
:
1px
solid
rgba
(
234
,
234
,
234
,
1
);
box-sizing
:
border-box
;
}
}
.el-aside
{
width
:
290px
!important
;
background-color
:
#1d50dd
;
color
:
#333
;
//
text-align
:
center
;
overflow
:
hidden
;
transition
:
width
0.3s
;
.logo-box
{
width
:
100%
;
height
:
120px
;
border-bottom
:
1px
solid
rgba
(
255
,
255
,
255
,
0.2
);
padding
:
30px
0
28px
0
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
align-items
:
center
;
transition
:
width
0.3s
;
.logo-img
{
width
:
38px
;
height
:
38px
;
}
.logo-text
{
font-size
:
14px
;
color
:
rgba
(
255
,
255
,
255
,
1
);
line-height
:
14px
;
}
}
.treeModule
{
box-sizing
:
border-box
;
padding
:
20px
20px
;
}
.logo-box-show
{
width
:
64px
;
}
.el-menu
{
border-right
:
0
;
}
.el-submenu
.el-menu-item
{
text-align
:
left
;
text-indent
:
15px
;
}
}
.aside-show
{
width
:
64px
!important
;
}
.el-main
{
background-color
:
#f1f4fc
;
color
:
#333
;
//
text-align
:
center
;
//
line-height
:
160px
;
padding
:
0
;
}
}
.el-main
{
background-color
:
#f1f4fc
;
color
:
#333
;
//
text-align
:
center
;
//
line-height
:
160px
;
padding
:
0
;
}
}
</
style
>
...
...
src/views/panel/create/index.vue
View file @
3a3b5f0
...
...
@@ -83,8 +83,9 @@
</el-form-item>
<el-form-item
label=
"特征码"
>
<el-select
v-model=
"tzmCode"
placeholder=
"地籍子区"
v-model=
"zdtzm.value"
placeholder=
"宗地特征码"
@
change=
"changeZdtzm(zdtzm.value)"
style=
"width:200px;"
>
<el-option
...
...
@@ -203,8 +204,8 @@ export default {
djzqbsm
:
this
.
djzqValue
,
syqlxbsm
:
this
.
syqlxCode
,
xmmc
:
this
.
zdProjectName
,
//
zdtzmbsm: this.tzmCode,
zdtzmbsm
:
"PSHGSBDCQJDC000000000000DC440010"
,
zdtzmbsm
:
this
.
tzmCode
,
//
zdtzmbsm: "PSHGSBDCQJDC000000000000DC440010",
};
insertQjZdjbxx
(
data
)
.
then
((
res
)
=>
{
...
...
@@ -310,6 +311,12 @@ export default {
this
.
syqlxCode
=
id
;
console
.
log
(
this
.
syqlxCode
);
},
changeZdtzm
(
id
){
this
.
tzmCode
=
id
;
console
.
log
(
this
.
tzmCode
);
},
close
()
{
this
.
$emit
(
"closeDialog"
);
},
...
...
src/views/systemZD/zddcb/index.vue
View file @
3a3b5f0
...
...
@@ -2,7 +2,6 @@
<div
class=
"main"
>
<div
class=
"formMenu"
>
<Qlr
ref=
"qlrxxModule"
></Qlr>
<!--
<el-button
type=
"primary"
class=
"changeBtn"
...
...
@@ -28,7 +27,7 @@
@
change=
"changeXzq(formData.xzqbsm)"
>
<el-option
v-for=
"item in xzqList"
v-for=
"item in
$store.state.
xzqList"
:key=
"item.xzqbsm"
:label=
"item.xzqmc"
:value=
"item.xzqbsm"
...
...
@@ -44,7 +43,7 @@
@
change=
"changeDjq(formData.djqbsm)"
>
<el-option
v-for=
"item in djqList"
v-for=
"item in
$store.state.
djqList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -56,7 +55,7 @@
<td
colspan=
"2"
>
<el-select
class=
"formSelect"
v-model=
"formData.djzqbsm"
>
<el-option
v-for=
"item in djzqList"
v-for=
"item in
$store.state.
djzqList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -70,7 +69,7 @@
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
v-model=
"formData.qllxbsm"
>
<el-option
v-for=
"item in qllxList"
v-for=
"item in
$store.state.
qllxList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -82,7 +81,7 @@
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
v-model=
"formData.zdtzmbsm"
>
<el-option
v-for=
"item in zdtzmList"
v-for=
"item in
$store.state.
zdtzmList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -96,7 +95,7 @@
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
v-model=
"formData.qlsdfs"
>
<el-option
v-for=
"item in qlsdfsList"
v-for=
"item in
$store.state.
qlsdfsList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -152,7 +151,7 @@
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
v-model=
"formData.gmjjhyfl"
>
<el-option
v-for=
"item in
gmjjhyfl
List"
v-for=
"item in
$store.state.sshy
List"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -180,8 +179,8 @@
</tr>
<tr>
<td
colspan=
"2"
>
容积率
</td>
<td
colspan=
"
4
"
>
<el-select
class=
"formSelect
percent30
"
v-model=
"formData.rjl"
>
<td
colspan=
"
2
"
>
<el-select
class=
"formSelect"
v-model=
"formData.rjl"
>
<el-option
v-for=
"item in compareList"
:key=
"item.value"
...
...
@@ -190,7 +189,9 @@
>
</el-option>
</el-select>
<input
type=
"text"
class=
"formInput percent68"
/>
</td>
<td
colspan=
"2"
>
<input
type=
"text"
class=
"formInput"
/>
</td>
<td
colspan=
"2"
>
容积说明
</td>
<td
colspan=
"4"
class=
"psr"
>
...
...
@@ -199,8 +200,8 @@
</tr>
<tr>
<td
colspan=
"2"
>
建筑密度
</td>
<td
colspan=
"
4
"
>
<el-select
class=
"formSelect
percent30
"
v-model=
"formData.jzmd"
>
<td
colspan=
"
2
"
>
<el-select
class=
"formSelect"
v-model=
"formData.jzmd"
>
<el-option
v-for=
"item in compareList"
:key=
"item.value"
...
...
@@ -209,7 +210,9 @@
>
</el-option>
</el-select>
<input
type=
"text"
class=
"formInput percent68"
/>
</td>
<td
colspan=
"2"
>
<input
type=
"text"
class=
"formInput"
/>
</td>
<td
colspan=
"2"
>
建筑密度说明
</td>
<td
colspan=
"4"
class=
"psr"
>
...
...
@@ -218,8 +221,8 @@
</tr>
<tr>
<td
colspan=
"2"
>
建筑限高
</td>
<td
colspan=
"
4
"
>
<el-select
class=
"formSelect
percent30
"
v-model=
"formData.jzxg"
>
<td
colspan=
"
2
"
>
<el-select
class=
"formSelect"
v-model=
"formData.jzxg"
>
<el-option
v-for=
"item in compareList"
:key=
"item.value"
...
...
@@ -228,6 +231,8 @@
>
</el-option>
</el-select>
</td>
<td
colspan=
"2"
>
<input
type=
"text"
class=
"formInput percent68"
/>
</td>
<td
colspan=
"2"
>
建筑限高说明
</td>
...
...
@@ -321,14 +326,9 @@
props
:
{},
data
()
{
return
{
qllxList
:
[],
zdtzmList
:
[],
qlsdfsList
:
[],
gmjjhyflList
:
[],
xzqList
:
this
.
$store
.
state
.
xzqList
,
djqList
:
this
.
$store
.
state
.
djqList
,
djzqList
:
this
.
$store
.
state
.
djzqList
,
compareList
:
[
{
label
:
"<"
,
value
:
"<"
},
{
label
:
">"
,
value
:
">"
},
{
label
:
"="
,
value
:
"="
},
{
label
:
"<="
,
value
:
"<="
},
{
label
:
">="
,
value
:
">="
},
...
...
@@ -369,7 +369,6 @@
};
},
created
()
{
this
.
getDicData
();
this
.
getZdjbxxData
();
},
mounted
()
{
...
...
@@ -407,37 +406,6 @@
getQlxzData
()
{
console
.
log
(
this
.
$refs
.
qlxzModule
.
getQlxzDataList
());
//权利性质数据
},
//获取字典数据信息
getDicData
()
{
getDdicByMC
(
"权利类型"
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
result
);
this
.
qllxList
=
res
.
result
;
})
.
catch
((
error
)
=>
{
});
getDdicByMC
(
"宗地(宗海)特征码"
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
result
);
this
.
zdtzmList
=
res
.
result
;
})
.
catch
((
error
)
=>
{
});
getDdicByMC
(
"权利设定方式"
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
result
);
this
.
qlsdfsList
=
res
.
result
;
})
.
catch
((
error
)
=>
{
});
getDdicByMC
(
"国民经济行业分类代码"
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
result
);
this
.
gmjjhyflList
=
res
.
result
;
})
.
catch
((
error
)
=>
{
});
},
//行政区划选择
changeXzq
(
id
)
{
getListByXzqbsm
(
id
)
...
...
Please
register
or
sign in
to post a comment