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
750786f7
authored
2020-11-02 09:42:38 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加定着物时传入zdbsm
1 parent
4316288b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
src/components/lineTree/lineTree.vue
src/store/index.js
src/views/panel/create/index.vue
src/components/lineTree/lineTree.vue
View file @
750786f
...
...
@@ -123,7 +123,9 @@ export default {
},
//添加定着物
openCreateDialog
(){
debugger
this
.
dialogVisible
=
true
this
.
$store
.
state
.
rightClickZdbsm
=
this
.
zdData
.
zdbsm
;
},
//关闭添加定着物弹框
closeDialog
()
{
...
...
src/store/index.js
View file @
750786f
...
...
@@ -13,6 +13,7 @@ const store = new Vuex.Store({
xmmc
:
''
,
// 项目名称
zdmj
:
''
,
// 宗地面积
zdzl
:
''
,
// 宗地坐落
rightClickZdbsm
:
''
,
//右键菜单传入的zdbsm
tdytList
:[],
tddjList
:[],
qlxzList
:[],
...
...
src/views/panel/create/index.vue
View file @
750786f
...
...
@@ -250,6 +250,7 @@ export default {
//todo 在新增时,如果是点击顶部新建里面的自然幢则不传zdbsm 如果是点击右键里面的添加定着物则传zdbsm
this
.
$refs
[
'ruleForm1'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
ruleForm1
.
zdbsm
=
this
.
$store
.
state
.
rightClickZdbsm
!=
''
?
this
.
$store
.
state
.
rightClickZdbsm
:
''
;
insertZrzjbxx
(
this
.
ruleForm1
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
"200"
)
{
...
...
Please
register
or
sign in
to post a comment