Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
fd7a10b8
authored
2022-09-05 17:59:43 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:家庭房产
1 parent
f9656a4c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
26 deletions
src/views/components/personInfoTable.vue
src/views/sqcx/sqcxjl/components/editDialog.vue
src/views/components/personInfoTable.vue
View file @
fd7a10b
...
...
@@ -13,10 +13,10 @@ export default {
dataList
:
{
type
:
Array
,
default
:
()
=>
[{
name
:
''
,
zjzl
:
''
,
zjh
:
''
,
xl
dh
:
''
sqrxm
:
''
,
sqrzjlxbm
:
''
,
sqrzjhm
:
''
,
lx
dh
:
''
}]
}
},
...
...
@@ -49,7 +49,7 @@ export default {
}
},
{
prop
:
'
name
'
,
prop
:
'
sqrxm
'
,
label
:
'姓名/名称'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -59,7 +59,7 @@ export default {
}
},
{
prop
:
'
zjzl
'
,
prop
:
'
sqrzjlxbm
'
,
label
:
'证件种类'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -77,7 +77,7 @@ export default {
}
},
{
prop
:
'
zjh
'
,
prop
:
'
sqrzjhm
'
,
label
:
'证件号'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -87,7 +87,7 @@ export default {
}
},
{
prop
:
'
xl
dh'
,
prop
:
'
lx
dh'
,
label
:
'联系电话'
,
render
:
(
h
,
scope
)
=>
{
return
(
...
...
@@ -121,7 +121,12 @@ export default {
},
methods
:
{
handleAdd
()
{
this
.
tableData
.
data
.
push
({})
this
.
tableData
.
data
.
push
({
sqrxm
:
''
,
sqrzjlxbm
:
''
,
sqrzjhm
:
''
,
lxdh
:
''
})
},
handleMinus
(
index
,
row
)
{
this
.
tableData
.
data
.
splice
(
index
,
1
)
...
...
src/views/sqcx/sqcxjl/components/editDialog.vue
View file @
fd7a10b
...
...
@@ -3,7 +3,7 @@
<div
class=
"jtfccx-edit"
>
<div
class=
"jtfccx-edit-con"
>
<b
class=
"title"
>
申请信息
</b>
<personInfoTable
@
getInfoList=
"handleGetSqList"
/>
<personInfoTable
@
getInfoList=
"handleGetSqList"
:dataList=
"sqdataList"
/>
<el-form
:model=
"ruleForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"12"
>
...
...
@@ -26,12 +26,12 @@
<personInfoTable
:dataList=
"qldataList"
/>
<div
class=
"submit-button"
>
<el-button
type=
"primary"
icon=
"el-icon-search"
>
查询
</el-button>
<el-button
icon=
"el-icon-refresh-left"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh-left"
@
click=
"handleReset"
>
重置
</el-button>
</div>
<b
class=
"title"
>
查询结果
</b>
<p>
查询编号:202200409
</p>
<lb-table
:column=
"searchData.columns"
:data
List=
"qldataList"
:data=
"searchData.data"
:maxHeight=
"200"
heightNumSetting
:pagination=
"false"
>
<lb-table
:column=
"searchData.columns"
:data
=
"searchData.data"
:maxHeight=
"200"
heightNumSetting
:pagination=
"false"
>
</lb-table>
</div>
...
...
@@ -55,12 +55,14 @@ export default {
data
()
{
return
{
myValue
:
this
.
value
,
ql
dataList
:
[{
name
:
''
,
zjzl
:
''
,
zjh
:
''
,
xl
dh
:
''
dataList
:
[{
sqrxm
:
''
,
sqrzjlxbm
:
''
,
sqrzjhm
:
''
,
lx
dh
:
''
}],
qldataList
:
[],
sqdataList
:
[],
options
:
[{
name
:
'1'
,
value
:
1
...
...
@@ -141,15 +143,12 @@ export default {
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
this
.
qldataList
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
sqdataList
=
_
.
cloneDeep
(
this
.
dataList
)
},
'ruleForm.radi'
(
val
)
{
'ruleForm.radi
o
'
(
val
)
{
if
(
val
!=
1
)
{
this
.
sqdataList
=
[{
name
:
''
,
zjzl
:
''
,
zjh
:
''
,
xldh
:
''
}]
this
.
qldataList
=
_
.
cloneDeep
(
this
.
dataList
)
}
}
},
...
...
@@ -158,7 +157,13 @@ export default {
this
.
$emit
(
'input'
,
false
)
},
handleGetSqList
(
val
)
{
console
.
log
(
val
);
if
(
!
_
.
isEqual
(
val
,
this
.
dataList
)
&&
this
.
ruleForm
.
radio
==
1
)
{
this
.
qldataList
=
val
}
},
handleReset
()
{
this
.
qldataList
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
sqdataList
=
_
.
cloneDeep
(
this
.
dataList
)
},
handleRead
(
row
)
{
}
}
...
...
Please
register
or
sign in
to post a comment