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
a7d0085d
authored
2020-11-19 11:52:19 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
bf7ab6a5
d30318d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
src/api/zd.js
src/components/lineTree/lineTree.vue
src/api/zd.js
View file @
a7d0085
...
...
@@ -150,7 +150,7 @@ export function jzxsbatchModify(data) {
*/
export
function
deleteZdInfoByBsm
(
data
)
{
return
request
({
url
:
'/
zd/qjZdjbxx/deleteZdjbxx
ByBsm'
,
url
:
'/
delete/deleteDy
ByBsm'
,
method
:
'delete'
,
data
:
data
})
...
...
@@ -161,7 +161,7 @@ export function deleteZdInfoByBsm(data) {
*/
export
function
zdfg
(
data
)
{
return
request
({
url
:
'/
fg
/zdFg'
,
url
:
'/
bg/zdSplitMerge
/zdFg'
,
method
:
'post'
,
data
:
data
})
...
...
src/components/lineTree/lineTree.vue
View file @
a7d0085
...
...
@@ -222,23 +222,23 @@ export default {
},
//右键菜单的删除
deleteByBsm
(){
let
zdBsm
=
this
.
zdData
.
zdbsm
;
let
type
;
console
.
log
(
zdB
sm
);
switch
(
this
.
zdData
.
type
){
case
"zd"
:
type
=
"0"
;
break
;
case
"zrz"
:
type
=
"1"
;
break
;
case
"h"
:
type
=
"2"
;
break
;
default
:
break
;
}
let
params
=
{
"
id"
:
zdBsm
,
"type"
:
type
}
//
let zdBsm = this.zdData.zdbsm;
//
let type;
console
.
log
(
this
.
zdData
.
zdb
sm
);
//
switch (this.zdData.type){
//
case "zd":
//
type="0";
//
break;
//
case "zrz":
//
type="1";
//
break;
//
case "h":
//
type="2";
//
break;
//
default:
//
break;
//
}
let
params
=
{
"
bsm"
:
this
.
zdData
.
zdbsm
,
"type"
:
this
.
zdData
.
type
}
deleteZdInfoByBsm
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
=
200
){
...
...
Please
register
or
sign in
to post a comment