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
e5c41a01
authored
2020-11-25 14:39:29 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
户弹窗
1 parent
34915f6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
src/views/panel/search/index.vue
src/views/panel/search/index.vue
View file @
e5c41a0
...
...
@@ -45,6 +45,15 @@
:current-page=
"pageNo"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</div>
<el-dialog
title=
"户编辑"
:visible
.
sync=
"hbjVisible"
width=
"50%"
center
>
<hbj
ref=
"hbj"
:bsm=
"hbsm"
></hbj>
<div
class=
"btnGroup"
>
<el-button
type=
"primary"
@
click=
"hbjSaveInfo"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"hbjResetInfo"
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"hbjVisible = false"
>
取消
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
...
...
@@ -52,10 +61,11 @@
<
script
>
import
SearchHead
from
"../../../components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"../../../api/search"
;
import
hbj
from
"./../../zrz/lpb/bjlp/hbj/index"
;
export
default
{
name
:
""
,
components
:
{
SearchHead
},
components
:
{
SearchHead
,
hbj
},
props
:
{},
data
()
{
return
{
...
...
@@ -64,7 +74,9 @@
pageSize
:
15
,
tableData
:
[],
tableHeight
:
0
,
queryData
:
{}
queryData
:
{},
hbjVisible
:
false
,
hbsm
:
''
,
};
},
created
()
{
...
...
@@ -85,6 +97,14 @@
return
""
;
}
},
//户保存
hbjSaveInfo
()
{
this
.
$refs
.
hbj
.
onSave
(
this
.
bsms
[
this
.
bsms
.
length
-
1
],
this
.
tabPosition
);
},
//户编辑表单重置
hbjResetInfo
()
{
this
.
$refs
.
hbj
.
onReset
();
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
pageNo
=
val
;
...
...
@@ -122,6 +142,16 @@
this
.
$store
.
state
.
dzbsm
=
row
.
glbsm
;
path
=
"/dz"
;
break
;
case
"h"
:
this
.
hbsm
=
row
.
glbsm
;
this
.
hbjVisible
=
true
;
console
.
log
(
this
.
hbsm
);
console
.
log
(
this
.
$refs
);
console
.
log
(
this
.
$refs
.
hbj
);
setTimeout
(
function
()
{
this
.
$refs
.
hbj
.
getHInfo
(
this
.
hbsm
);
},
10
)
break
;
default
:
break
;
}
...
...
Please
register
or
sign in
to post a comment