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
92b7581b
authored
2020-10-22 10:06:32 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权利人组件字典绑定
1 parent
9db815d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
src/App.vue
src/components/formMenu/qlr.vue
src/App.vue
View file @
92b7581
...
...
@@ -8,8 +8,8 @@
import
{
getDdicByMC
}
from
"../src/api/common"
;
export
default
{
mounted
()
{
window
.
addEventListener
(
"unload"
,
this
.
saveState
);
this
.
getDic
();
window
.
addEventListener
(
"unload"
,
this
.
saveState
);
},
methods
:
{
saveState
()
{
...
...
@@ -17,7 +17,6 @@ export default {
},
//请求字典数据
getDic
()
{
debugger
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
;
...
...
src/components/formMenu/qlr.vue
View file @
92b7581
...
...
@@ -61,7 +61,7 @@
<td
colspan=
"3"
>
<el-select
class=
"formSelect"
v-model=
"formData.qlrlxbsm"
>
<el-option
v-for=
"item in qllxList"
v-for=
"item in ql
r
lxList"
: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
qllx
List"
v-for=
"item in
zlzl
List"
: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
qllx
List"
v-for=
"item in
gj
List"
: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
qllx
List"
v-for=
"item in
ss
List"
: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
qllx
List"
v-for=
"item in
xb
List"
: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
qllx
List"
v-for=
"item in
sshy
List"
: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
qllx
List"
v-for=
"item in
zjzl
List"
: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
qllx
List"
v-for=
"item in
zjzl
List"
: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 qllxList"
v-for=
"item in ql
r
lxList"
:key=
"item.bsm"
:label=
"item.mc"
:value=
"item.bsm"
...
...
@@ -356,7 +356,12 @@ export default {
zjh
:
""
,
zjzlbsm
:
""
,
},
qllxList
:
[],
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
:
{
...
...
Please
register
or
sign in
to post a comment