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
6b97ec38
authored
2020-12-15 19:15:56 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(sxdr):属性导入加载数据
1 parent
4a16a083
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
18 deletions
src/components/sxdr/sxdr.vue
src/views/dz/dzxx/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/lpb/bjlp/hbj/index.vue
src/views/zrz/zrzxx/index.vue
src/components/sxdr/sxdr.vue
View file @
6b97ec3
...
...
@@ -75,14 +75,19 @@
window
.
open
(
`/api/tx/excelGeo/zdTemplate?type=`
+
this
.
dylx
);
},
uploadSuccess
(
res
,
file
,
fileList
)
{
this
.
errorData
=
[];
if
(
res
.
success
)
{
this
.
$message
.
success
(
"上传成功"
)
debugger
this
.
loading
();
this
.
close
()
}
else
{
this
.
$message
.
error
(
"上传失败"
)
this
.
errorData
=
res
.
result
if
(
res
.
result
==
null
)
{
this
.
$message
.
error
(
res
.
message
)
}
else
{
this
.
$message
.
error
(
"上传失败"
)
this
.
errorData
=
res
.
result
;
}
}
}
},
...
...
@@ -117,7 +122,7 @@
ul
{
margin-top
:
20px
;
li
{
line-height
:
15
px
;
line-height
:
20
px
;
color
:
red
;
}
}
...
...
src/views/dz/dzxx/index.vue
View file @
6b97ec3
...
...
@@ -496,6 +496,19 @@
this
.
form
.
dzbsm
=
this
.
$route
.
query
.
bsm
;
this
.
getDzDetailByBsm
(
this
.
$route
.
query
.
bsm
)
}
},
watch
:{
"$store.state.sxdrType"
:
{
handler
(
n
)
{
this
.
$nextTick
(()
=>
{
if
(
n
===
'dz'
)
{
this
.
getDzDetailByBsm
(
this
.
$route
.
query
.
bsm
)
}
})
},
immediate
:
false
,
deep
:
true
,
}
}
}
</
script
>
...
...
src/views/zd/zddcb/index.vue
View file @
6b97ec3
...
...
@@ -913,20 +913,19 @@
if
(
val
!=
''
)
{
this
.
$refs
.
zddm
.
style
.
border
=
''
;
}
},
"$store.state.sxdrType"
:
{
handler
(
n
)
{
this
.
$nextTick
(()
=>
{
if
(
n
===
'zd'
)
{
this
.
getZdjbxxData
(
this
.
$store
.
state
.
zdbsm
)
}
})
},
immediate
:
false
,
deep
:
true
,
}
},
"$store.state.sxdrType"
:
{
handler
(
n
)
{
this
.
$message
.
success
(
n
)
this
.
$nextTick
(()
=>
{
if
(
n
===
'zd'
)
{
this
.
getZdjbxxData
(
this
.
$store
.
state
.
zdbsm
)
}
})
},
immediate
:
true
,
deep
:
true
,
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
src/views/zrz/lpb/bjlp/hbj/index.vue
View file @
6b97ec3
...
...
@@ -843,6 +843,17 @@
this
.
form
.
scyclx
=
this
.
scyclx
;
})
}
},
"$store.state.sxdrType"
:
{
handler
(
n
)
{
this
.
$nextTick
(()
=>
{
if
(
n
===
'h'
)
{
this
.
getHInfo
(
this
.
$store
.
state
.
hbsm
)
}
})
},
immediate
:
false
,
deep
:
true
,
}
}
}
...
...
@@ -909,7 +920,7 @@
height
:
30px
!important
;
}
}
.header-button
{
height
:
50px
;
position
:
fixed
;
...
...
src/views/zrz/zrzxx/index.vue
View file @
6b97ec3
...
...
@@ -686,7 +686,7 @@
}
//权利性质数据传给子组件
this
.
$refs
.
qlxzModule
.
countList
=
res
.
result
.
qjQlxzListVOS
}
}
})
...
...
@@ -759,7 +759,7 @@
})
},
deep
:
true
},
},
"form.fwjgList"
:
{
handler
:
function
(
newVal
,
oldVal
)
{
newVal
.
forEach
((
item
,
ind
)
=>
{
...
...
@@ -770,6 +770,17 @@
},
deep
:
true
},
"$store.state.sxdrType"
:
{
handler
(
n
)
{
this
.
$nextTick
(()
=>
{
if
(
n
===
'zrz'
)
{
this
.
getZrzDetailByBsm
(
this
.
$route
.
query
.
bsm
)
}
})
},
immediate
:
false
,
deep
:
true
,
}
}
}
</
script
>
...
...
Please
register
or
sign in
to post a comment