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
cfbaedd4
authored
2021-01-27 15:59:15 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
5027998a
a484c835
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
121 additions
and
56 deletions
src/views/panel/create/index.vue
src/views/panel/modify/index.vue
src/views/panel/create/index.vue
View file @
cfbaedd
...
...
@@ -84,14 +84,14 @@
</el-form-item>
</el-form>
<div
class=
"handleBtn"
>
<
el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button
>
<
!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
--
>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"newZd"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
</el-tab-pane>
<el-tab-pane
class=
"eltabspane"
v-if=
"!auth"
label=
"宗海"
name=
"zh"
>
<div
class=
"handleBtn"
>
<
el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button
>
<
!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
--
>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"todo"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
...
...
@@ -106,7 +106,7 @@
</el-form-item>
</el-form>
<div
class=
"handleBtn"
>
<
el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button
>
<
!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
--
>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"newZrz"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
...
...
@@ -121,14 +121,14 @@
</el-form-item>
</el-form>
<div
class=
"handleBtn"
>
<
el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button
>
<
!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
--
>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"newDz"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
</el-tab-pane>
<el-tab-pane
class=
"eltabspane"
v-if=
"!createZrz"
label=
"林权"
name=
"lq"
>
<div
class=
"handleBtn"
>
<
el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button
>
<
!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
--
>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"todo"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
...
...
@@ -143,7 +143,7 @@
</el-form-item>
</el-form>
<div
class=
"handleBtn"
>
<
el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button
>
<
!--
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
--
>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"newGzw"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
...
...
@@ -673,7 +673,7 @@ export default {
position
:
absolute
;
bottom
:
0
;
left
:
50%
;
margin-left
:
-250px
;
//
margin-left
:
-250px
;
.w98{
width
:
98px
;
}
...
...
src/views/panel/modify/index.vue
View file @
cfbaedd
...
...
@@ -67,6 +67,7 @@
import
SearchHead
from
"@components/searchHead/searchHead"
;
import
{
getSearchList
}
from
"@api/search"
;
import
{
updateQsztByBsm
}
from
"@api/common"
;
import
{
createProcessInstance
}
from
"@api/user"
;
export
default
{
name
:
""
,
...
...
@@ -137,16 +138,19 @@
handleClick
(
row
)
{
let
type
;
name
;
let
path
=
""
;
let
workflowName
=
""
;
switch
(
row
.
dylx
)
{
case
"zd"
:
type
=
"zd"
;
name
=
'宗地'
;
path
=
"/zd"
;
workflowName
=
"更正宗地"
;
break
;
case
"zrz"
:
type
=
"zrz"
;
name
=
'自然幢'
;
path
=
"/zrz"
;
workflowName
=
"更正自然幢"
;
break
;
case
"h"
:
case
"h0"
:
...
...
@@ -154,83 +158,144 @@
type
=
"h"
;
name
=
"户"
path
=
"/h"
;
workflowName
=
"更正户"
;
break
;
case
"dz"
:
type
=
"dz"
;
name
=
"多幢"
;
path
=
"/dz"
;
workflowName
=
"更正多幢"
;
break
;
case
"gzw"
:
type
=
"gzw"
;
name
=
"构筑物"
;
path
=
"/gzw"
;
workflowName
=
"更正构筑物"
;
break
;
default
:
break
;
}
let
data
=
{
"id"
:
row
.
bsm
,
"type"
:
type
};
let
data
=
{
"id"
:
row
.
bsm
,
"type"
:
type
,
"ywlx"
:
"modify"
};
let
wfdata
=
{
params
:
data
,
workflowName
:
workflowName
};
this
.
$nextTick
(()
=>
{
this
.
$confirm
(
'确定更正该'
+
name
+
'吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
updateQsztByBsm
(
data
)
.
then
((
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$store
.
state
.
oldZdbsm
=
''
;
switch
(
row
.
dylx
)
{
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
res
.
result
;
this
.
getRightTree
(
res
.
result
,
'0,1,2'
);
break
;
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"h"
:
case
"h0"
:
case
"h1"
:
this
.
$store
.
state
.
hbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
'h'
,
'0,1,2'
);
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"gzw"
:
this
.
$store
.
state
.
dzbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
if
(
row
.
dylx
===
'h'
||
row
.
dylx
===
'h0'
||
row
.
dylx
===
'h1'
||
row
.
dylx
===
'gzw'
){
updateQsztByBsm
(
data
)
.
then
((
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$store
.
state
.
oldZdbsm
=
''
;
switch
(
row
.
dylx
)
{
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
res
.
result
;
this
.
getRightTree
(
res
.
result
,
'0,1,2'
);
break
;
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"h"
:
case
"h0"
:
case
"h1"
:
this
.
$store
.
state
.
hbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
'h'
,
'0,1,2'
);
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"gzw"
:
this
.
$store
.
state
.
dzbsm
=
res
.
result
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
default
:
break
;
}
this
.
$message
({
type
:
'success'
,
message
:
'更正成功!'
});
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
res
.
result
,
source
:
2
,
auth
:
'1'
default
:
break
;
}
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
})).
catch
(()
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'更正成功!'
});
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
res
.
result
,
source
:
2
,
auth
:
'1'
}
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
})).
catch
(()
=>
{
this
.
$message
({
message
:
res
.
message
,
type
:
"error"
,
});
});
}
else
{
createProcessInstance
(
wfdata
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
needShow
)
{
this
.
$store
.
state
.
oldZdbsm
=
''
;
switch
(
row
.
dylx
)
{
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
res
.
processInstance
.
title
;
this
.
getRightTree
(
res
.
result
,
'0,1,2'
);
break
;
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
res
.
processInstance
.
title
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"h"
:
case
"h0"
:
case
"h1"
:
this
.
$store
.
state
.
hbsm
=
res
.
processInstance
.
title
;
this
.
getTreeByBsm
(
res
.
result
,
'h'
,
'0,1,2'
);
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
res
.
processInstance
.
title
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"gzw"
:
this
.
$store
.
state
.
dzbsm
=
res
.
processInstance
.
title
;
this
.
getTreeByBsm
(
res
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
default
:
break
;
}
this
.
$message
({
type
:
'success'
,
message
:
'更正成功!'
});
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
res
.
processInstance
.
title
,
source
:
2
,
workitemInstanceId
:
res
.
workitemInstance
.
id
,
auth
:
'1'
}
});
}
else
{
this
.
$message
.
error
(
"创建失败"
);
}
})
.
catch
((
error
)
=>
{});
}
}).
catch
(()
=>
{
...
...
Please
register
or
sign in
to post a comment