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
8e2e58c2
authored
2020-10-22 16:55:50 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
代码优化
1 parent
05ee4c65
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
55 deletions
src/views/systemZD/zddcb/index.vue
src/views/systemZD/zddcb/index.vue
View file @
8e2e58c
...
...
@@ -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