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
df2d720a
authored
2021-02-02 14:33:58 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新建临海,添加临海路由和相关组件
1 parent
5305adea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
106 additions
and
2 deletions
src/router/routes.js
src/views/lh/index.vue
src/views/lh/lhdcb/index.vue
src/views/panel/create/index.vue
src/router/routes.js
View file @
df2d720
...
...
@@ -110,7 +110,13 @@ const constantRoutes = [
name
:
"已办箱"
,
code
:
"2-1"
,
component
:
()
=>
import
(
"@/views/ybx/index"
),
}
},
{
path
:
"/lh"
,
name
:
"林海"
,
code
:
"1-3"
,
component
:
()
=>
import
(
"@/views/lh/index"
),
},
],
},
];
...
...
src/views/lh/index.vue
0 → 100644
View file @
df2d720
<
template
>
<el-tabs
v-model=
"activeName"
class=
"tabs"
>
<el-tab-pane
label=
"林海调查表"
name=
"lhdcb"
><Lhdcb></Lhdcb></el-tab-pane>
</el-tabs>
</
template
>
<
script
>
import
{
getQjZdjbxxDetailById
}
from
"@api/zd"
;
import
Lhdcb
from
"./lhdcb"
export
default
{
name
:
""
,
components
:
{
Lhdcb
},
props
:
{},
data
()
{
return
{
activeName
:
'lhdcb'
};
},
methods
:
{
getZdData
(
bsm
)
{
getQjZdjbxxDetailById
(
bsm
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
console
.
log
(
res
,
"宗地信息"
);
this
.
isFldc
=
res
.
result
.
zdtzmbsm
===
"PSHGSBDCQJDC000000000000DC440010"
;
this
.
isTdcb
=
res
.
result
.
zdtzmbsm
===
(
"PSHGSBDCQJDC000000000000DC440060"
||
"PSHGSBDCQJDC000000000000DC440070"
||
"PSHGSBDCQJDC000000000000DC440080"
);
}
});
},
},
created
()
{},
mounted
()
{
this
.
getZdData
(
this
.
$route
.
query
.
bsm
);
},
computed
:
{
lhbsm
()
{
return
this
.
$route
.
query
.
bsm
;
},
},
watch
:
{
lhbsm
:
function
(
val
)
{
},
},
};
</
script
>
<
style
scoped
lang=
"less"
>
.el-tab-pane
{
overflow-y
:
scroll
;
}
</
style
>
src/views/lh/lhdcb/index.vue
0 → 100644
View file @
df2d720
<
template
>
<div
class=
"main"
>
林海调查表
</div>
</
template
>
<
script
>
export
default
{
name
:
""
,
components
:{},
props
:{},
data
(){
return
{
}
},
created
(){},
mounted
(){},
methods
:{},
computed
:
{},
watch
:
{},
}
</
script
>
<
style
scoped
lang=
"less"
>
</
style
>
\ No newline at end of file
src/views/panel/create/index.vue
View file @
df2d720
...
...
@@ -127,6 +127,14 @@
</div>
</el-tab-pane>
<el-tab-pane
class=
"eltabspane"
v-if=
"!createZrz"
label=
"林权"
name=
"lq"
>
<el-form
:inline=
"true"
:rules=
"rules3"
:model=
"ruleForm3"
ref=
"ruleForm3"
class=
"demo-form-inline"
>
<el-form-item
label=
"项目名称"
class=
"w100"
prop=
"xmmc"
>
<el-input
v-model=
"ruleForm3.xmmc"
placeholder=
"项目名称"
></el-input>
</el-form-item>
</el-form>
<div
class=
"handleBtn"
>
<!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
-->
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"todo"
>
创建
</el-button>
...
...
@@ -218,6 +226,13 @@ export default {
type
:
"dz"
,
ywlx
:
"create"
},
ruleForm3
:{
zdbsm
:
''
,
xmmc
:
''
,
userbsm
:
''
,
type
:
"lq"
,
ywlx
:
"create"
},
ruleForm4
:{
zdzhbsm
:
''
,
xmmc
:
''
,
...
...
@@ -255,6 +270,11 @@ export default {
{
required
:
true
,
message
:
'请输入项目名称'
,
trigger
:
'blur'
},
],
},
rules3
:
{
xmmc
:
[
{
required
:
true
,
message
:
'请输入项目名称'
,
trigger
:
'blur'
},
],
},
rules4
:
{
xmmc
:
[
{
required
:
true
,
message
:
'请输入项目名称'
,
trigger
:
'blur'
},
...
...
@@ -674,7 +694,8 @@ export default {
.handleBtn
{
position
:
absolute
;
bottom
:
0
;
right
:
35px
;
left
:
50%
;
margin-left
:
-100px
;
.w98{
width
:
98px
;
}
...
...
Please
register
or
sign in
to post a comment