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
79657ce5
authored
2021-01-26 16:03:57 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
8c9b315c
312e6c30
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
321 additions
and
110 deletions
src/views/dz/dzxx/index.vue
src/views/panel/create/index.vue
src/views/panel/modify/index.vue
src/views/zd/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/zrzxx/index.vue
src/views/dz/dzxx/index.vue
View file @
79657ce
...
...
@@ -195,9 +195,13 @@
</el-form>
<div
class=
"header-button"
:style=
"
{width:mainBoxWidth+'px'}">
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"onSave"
:disabled=
"disabled"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"registerCall"
>
登记调用
</el-button>
</div>
<div
class=
"sh-btn"
>
<el-button
type=
"primary"
@
click=
"thdz"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
v-if=
"!workFlowState"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"shdz"
v-if=
"workFlowState"
>
审核
</el-button>
</div>
</div>
</
template
>
...
...
@@ -206,7 +210,8 @@
import
Qlr
from
"@components/formMenu/qlr"
;
import
Qlxz
from
"@components/formMenu/qlxz"
;
import
{
saveDzInfo
,
getBdcdyh
,
getDzDetailByBsm
}
from
"@api/dz"
;
import
{
getQjZdjbxxDetailById
}
from
"@api/zd"
import
{
getQjZdjbxxDetailById
}
from
"@api/zd"
;
import
{
getActivityDetail
}
from
"@api/user"
;
import
{
submit
,
registerCall
}
from
"@api/common"
export
default
{
name
:
'zrz'
,
...
...
@@ -289,6 +294,8 @@
mainBoxWidth
:
0
,
rules
:[],
workFlowState
:
false
,
}
},
created
()
{
...
...
@@ -303,11 +310,49 @@
}
},
mounted
(){
this
.
getActivityDetail
();
this
.
$nextTick
(()
=>
{
this
.
mainBoxWidth
=
this
.
$refs
.
mainBox
.
clientWidth
;
})
},
methods
:
{
getActivityDetail
(){
let
params
=
{
"params"
:
{},
"workflowPeriod"
:
"current"
,
"workitemInstanceId"
:
this
.
$route
.
query
.
workitemInstanceId
}
getActivityDetail
(
params
).
then
(
res
=>
{
this
.
workFlowState
=
res
.
workitemInstance
.
apps
.
some
(
function
(
item
)
{
return
item
==
'shenpibiao'
;
});
})
},
shdz
(){
let
data
=
{
bdcdyh
:
this
.
form
.
bdcdyh
,
zl
:
this
.
form
.
zl
,
shyj
:
''
,
shr
:
'admin'
,
shsj
:
'2021-01-22'
};
vm
.
setShDialog
(
true
,
data
)
},
thdz
(){
let
data
=
{
bdcdyh
:
this
.
form
.
bdcdyh
,
zl
:
this
.
form
.
zl
,
shyj
:
''
,
shr
:
'admin'
,
shsj
:
'2021-01-22'
}
vm
.
rollback
(
data
);
},
registerCall
(){
let
data
=
{
type
:
'dz'
,
...
...
@@ -533,19 +578,20 @@
})
},
onSubmit
(){
console
.
log
(
this
.
form
)
let
data
=
{
glbsm
:
this
.
bsm
,
status
:
1
,
type
:
"dz"
}
submit
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"提交完成!"
);
this
.
getDzDetailByBsm
(
this
.
$route
.
query
.
bsm
)
this
.
getTreeByBsm
(
this
.
$route
.
query
.
bsm
,
'dz'
,
'0,1,2'
)
}
})
vm
.
setTjDialog
(
true
);
// console.log(this.form)
// let data={
// glbsm:this.bsm,
// status:1,
// type:"dz"
// }
// submit(data).then((res)=>{
// if(res.code===200){
// this.$message.success("提交完成!");
// this.getDzDetailByBsm(this.$route.query.bsm)
// this.getTreeByBsm(this.$route.query.bsm,'dz','0,1,2')
// }
// })
},
getZddm
(
zdbsm
){
getQjZdjbxxDetailById
(
zdbsm
).
then
((
res
)
=>
{
...
...
@@ -716,5 +762,15 @@
border-color
:
rgba
(
0
,
202
,
205
,
.8
);
}
}
.sh-btn
{
position
:
fixed
;
top
:
74px
;
right
:
20px
;
z-index
:
999
;
.el-button{
padding
:
10px
30px
;
}
}
}
</
style
>
...
...
src/views/panel/create/index.vue
View file @
79657ce
...
...
@@ -162,6 +162,9 @@ import { insertZrzjbxx } from "@api/zrz";
import
{
insertDzjbxx
}
from
"@api/dz"
;
import
{
insertGzwjbxx
}
from
"@api/gzw"
;
import
{
createProcessInstance
}
from
"@api/user"
;
import
{
getZrzDetailByBsm
}
from
"@api/zrz"
import
{
getDzDetailByBsm
}
from
"@api/dz"
;
export
default
{
name
:
""
,
...
...
@@ -198,22 +201,29 @@ export default {
xmmc
:
""
,
xzqbsm
:
""
,
type
:
"zd"
,
zdtzmbsm
:
""
zdtzmbsm
:
""
,
ywlx
:
"create"
},
ruleForm1
:{
zdbsm
:
''
,
xmmc
:
''
,
userbsm
:
''
userbsm
:
''
,
type
:
"zrz"
,
ywlx
:
"create"
},
ruleForm2
:{
zdbsm
:
''
,
xmmc
:
''
,
userbsm
:
''
userbsm
:
''
,
type
:
"dz"
,
ywlx
:
"create"
},
ruleForm4
:{
zdzhbsm
:
''
,
xmmc
:
''
,
userbsm
:
''
userbsm
:
''
,
type
:
"gzw"
,
ywlx
:
"create"
},
rules
:
{
xzqbsm
:
[
...
...
@@ -359,34 +369,68 @@ export default {
if
(
valid
)
{
this
.
ruleForm1
.
zdbsm
=
this
.
auth
?
this
.
$store
.
state
.
zdbsm
:
''
;
this
.
ruleForm1
.
dzbsm
=
this
.
auth
?
this
.
$store
.
state
.
dzbsm
:
''
;
insertZrzjbxx
(
this
.
ruleForm1
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
"200"
)
{
//获取左侧树数据
this
.
$store
.
state
.
oldZdbsm
=
''
;
this
.
getTreeByBsm
(
res
.
result
.
bsm
,
'zrz'
,
'0,1,2'
);
this
.
$message
({
message
:
"创建成功!"
,
type
:
"success"
,
});
//todo 跳转到自然幢基本信息内容表页面 (预留)
this
.
$store
.
state
.
zdbsm
=
res
.
result
.
zdbsm
;
this
.
$store
.
state
.
zrzbsm
=
res
.
result
.
bsm
;
this
.
$store
.
state
.
xmmc
=
res
.
result
.
xmmc
;
this
.
$store
.
state
.
newZdbsm
=
res
.
result
.
zdbsm
;
this
.
close
();
this
.
$router
.
push
({
path
:
'/zrz'
,
query
:{
source
:
1
,
bsm
:
res
.
result
.
bsm
,
auth
:
'0,1,2'
}
});
}
else
{
this
.
$message
.
error
(
"创建失败!"
);
}
})
.
catch
((
error
)
=>
{});
// insertZrzjbxx(this.ruleForm1)
// .then((res) => {
// if (res.code == "200") {
// //获取左侧树数据
// this.$store.state.oldZdbsm = '';
// this.getTreeByBsm(res.result.bsm,'zrz','0,1,2');
// this.$message({
// message: "创建成功!",
// type: "success",
// });
// //todo 跳转到自然幢基本信息内容表页面 (预留)
// this.$store.state.zdbsm=res.result.zdbsm;
// this.$store.state.zrzbsm=res.result.bsm;
// this.$store.state.xmmc=res.result.xmmc;
// this.$store.state.newZdbsm = res.result.zdbsm;
// this.close();
// this.$router.push({
// path: '/zrz', query:{
// source: 1,
// bsm:res.result.bsm,
// auth: '0,1,2'
// }
// });
// } else {
// this.$message.error("创建失败!");
// }
// })
// .catch((error) => {});
let
data
=
{
params
:
this
.
ruleForm1
,
workflowName
:
'新建自然幢'
};
createProcessInstance
(
data
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
needShow
)
{
this
.
getTreeByBsm
(
res
.
processInstance
.
title
,
"zrz"
,
'0,1,2'
);
this
.
$message
({
message
:
"创建成功!"
,
type
:
"success"
,
});
this
.
close
();
this
.
$store
.
state
.
zrzbsm
=
res
.
processInstance
.
title
;
this
.
$nextTick
(()
=>
{
this
.
loadCache
(
res
.
processInstance
.
title
,
'zrz'
);
})
// todo 跳转到宗地基本信息内容表页面 (预留)
this
.
close
();
this
.
$router
.
push
({
path
:
'/zrz'
,
query
:{
source
:
1
,
bsm
:
res
.
processInstance
.
title
,
workitemInstanceId
:
res
.
workitemInstance
.
id
,
auth
:
'0,1,2'
}
});
}
else
{
this
.
$message
.
error
(
"创建失败"
);
}
})
.
catch
((
error
)
=>
{});
}
else
{
console
.
log
(
'error submit!!'
);
return
false
;
...
...
@@ -394,6 +438,30 @@ export default {
});
},
loadCache
(
bsm
,
type
){
if
(
type
===
'zrz'
){
getZrzDetailByBsm
(
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$store
.
state
.
zdbsm
=
res
.
result
.
zdbsm
;
this
.
$store
.
state
.
zrzbsm
=
res
.
result
.
bsm
;
this
.
$store
.
state
.
xmmc
=
res
.
result
.
xmmc
;
this
.
$store
.
state
.
newZdbsm
=
res
.
result
.
zdbsm
;
}
})
}
else
if
(
type
===
'dz'
){
getDzDetailByBsm
(
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$store
.
state
.
zdbsm
=
res
.
result
.
zdbsm
;
this
.
$store
.
state
.
dzbsm
=
res
.
result
.
bsm
;
this
.
$store
.
state
.
xmmc
=
res
.
result
.
xmmc
;
this
.
$store
.
state
.
newZdbsm
=
res
.
result
.
zdbsm
;
}
})
}
},
newGzw
(){
this
.
$refs
[
'ruleForm4'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
@@ -432,28 +500,62 @@ export default {
this
.
$refs
[
'ruleForm2'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
ruleForm2
.
zdbsm
=
this
.
$store
.
state
.
zdbsm
!=
''
?
this
.
$store
.
state
.
zdbsm
:
''
;
insertDzjbxx
(
this
.
ruleForm2
)
// insertDzjbxx(this.ruleForm2)
// .then((res) => {
// if (res.code == "200") {
// this.getTreeByBsm(res.result.bsm,'dz','0,1,2');
// this.$message({
// message: "创建成功!",
// type: "success",
// });
// this.$store.state.zdbsm=res.result.zdbsm;
// this.$store.state.dzbsm=res.result.bsm;
// this.$store.state.xmmc=res.result.xmmc;
// this.$store.state.newZdbsm = res.result.zdbsm;
// this.close();
// this.$router.push({
// path: '/dz', query:{
// source: 1,
// bsm:res.result.bsm,
// auth: '0,1,2'
// }
// });
// } else {
// this.$message.error("创建失败!");
// }
// })
// .catch((error) => {});
let
data
=
{
params
:
this
.
ruleForm2
,
workflowName
:
'新建多幢'
};
createProcessInstance
(
data
)
.
then
((
res
)
=>
{
if
(
res
.
code
==
"200"
)
{
this
.
getTreeByBsm
(
res
.
result
.
bsm
,
'dz'
,
'0,1,2'
);
console
.
log
(
res
);
if
(
res
.
needShow
)
{
this
.
getTreeByBsm
(
res
.
processInstance
.
title
,
"dz"
,
'0,1,2'
);
this
.
$message
({
message
:
"创建成功!"
,
type
:
"success"
,
});
this
.
$store
.
state
.
zdbsm
=
res
.
result
.
zdbsm
;
this
.
$store
.
state
.
dzbsm
=
res
.
result
.
bsm
;
this
.
$store
.
state
.
xmmc
=
res
.
result
.
xmmc
;
this
.
$store
.
state
.
newZdbsm
=
res
.
result
.
zdbsm
;
this
.
close
();
this
.
$store
.
state
.
dzbsm
=
res
.
processInstance
.
title
;
this
.
$nextTick
(()
=>
{
this
.
loadCache
(
res
.
processInstance
.
title
,
'dz'
);
})
// todo 跳转到宗地基本信息内容表页面 (预留)
this
.
close
();
this
.
$router
.
push
({
path
:
'/dz'
,
query
:{
source
:
1
,
bsm
:
res
.
result
.
bsm
,
auth
:
'0,1,2'
bsm
:
res
.
processInstance
.
title
,
workitemInstanceId
:
res
.
workitemInstance
.
id
,
auth
:
'0,1,2'
}
});
}
else
{
this
.
$message
.
error
(
"创建失败
!
"
);
this
.
$message
.
error
(
"创建失败"
);
}
})
.
catch
((
error
)
=>
{});
...
...
src/views/panel/modify/index.vue
View file @
79657ce
...
...
@@ -182,26 +182,26 @@
this
.
$store
.
state
.
oldZdbsm
=
''
;
switch
(
row
.
dylx
)
{
case
"zd"
:
this
.
$store
.
state
.
zdbsm
=
r
ow
.
glbsm
;
this
.
getRightTree
(
r
ow
.
glbsm
,
'0,1,2'
);
this
.
$store
.
state
.
zdbsm
=
r
es
.
result
;
this
.
getRightTree
(
r
es
.
result
,
'0,1,2'
);
break
;
case
"zrz"
:
this
.
$store
.
state
.
zrzbsm
=
r
ow
.
glbsm
;
this
.
getTreeByBsm
(
r
ow
.
glbsm
,
row
.
dylx
,
'0,1,2'
);
this
.
$store
.
state
.
zrzbsm
=
r
es
.
result
;
this
.
getTreeByBsm
(
r
es
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"h"
:
case
"h0"
:
case
"h1"
:
this
.
$store
.
state
.
hbsm
=
r
ow
.
glbsm
;
this
.
getTreeByBsm
(
r
ow
.
glbsm
,
'h'
,
'0,1,2'
);
this
.
$store
.
state
.
hbsm
=
r
es
.
result
;
this
.
getTreeByBsm
(
r
es
.
result
,
'h'
,
'0,1,2'
);
break
;
case
"dz"
:
this
.
$store
.
state
.
dzbsm
=
r
ow
.
glbsm
;
this
.
getTreeByBsm
(
r
ow
.
glbsm
,
row
.
dylx
,
'0,1,2'
);
this
.
$store
.
state
.
dzbsm
=
r
es
.
result
;
this
.
getTreeByBsm
(
r
es
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
case
"gzw"
:
this
.
$store
.
state
.
dzbsm
=
r
ow
.
glbsm
;
this
.
getTreeByBsm
(
r
ow
.
glbsm
,
row
.
dylx
,
'0,1,2'
);
this
.
$store
.
state
.
dzbsm
=
r
es
.
result
;
this
.
getTreeByBsm
(
r
es
.
result
,
row
.
dylx
,
'0,1,2'
);
break
;
default
:
...
...
@@ -214,7 +214,7 @@
this
.
$router
.
push
({
path
:
path
,
query
:
{
bsm
:
r
ow
.
glbsm
,
bsm
:
r
es
.
result
,
source
:
2
,
auth
:
'1'
}
...
...
src/views/zd/index.vue
View file @
79657ce
...
...
@@ -2,7 +2,7 @@
<!--
<div
class=
"content_box"
>
-->
<el-tabs
v-model=
"activeName"
class=
"tabs"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"地籍调查表"
name=
"djdcb"
><zddcb></zddcb></el-tab-pane>
<
!--
<el-tab-pane
label=
"分类调查表"
name=
"fldcb"
v-if=
"isFldc"
><fldcb
v-if=
"fldbcVisible"
:qlr=
"qlr"
:bdcdyh=
"bdcdyh"
:zddm=
"zddm"
></fldcb></el-tab-pane>
--
>
<
el-tab-pane
label=
"分类调查表"
name=
"fldcb"
v-if=
"isFldc"
><fldcb
v-if=
"fldbcVisible"
:qlr=
"qlr"
:bdcdyh=
"bdcdyh"
:zddm=
"zddm"
></fldcb></el-tab-pane
>
<el-tab-pane
label=
"面积分摊表"
name=
"mjftb"
><mjftb
v-if=
"mjftbVisible"
:is-disabled=
"isDisabled"
></mjftb></el-tab-pane>
<el-tab-pane
label=
"界址点"
name=
"jzd"
>
<jzd
v-if=
"jzdVisible"
:is-disabled=
"isDisabled"
></jzd>
...
...
@@ -32,13 +32,13 @@ import lshs from "./lshs";
import
fjcl
from
"./fjcl/fjcl"
import
Lcgz
from
"./lcgz"
import
{
queryStatus
}
from
"@api/search"
//
import Fldcb from "@components/Fldcb/Fldcb"
import
Fldcb
from
"@components/Fldcb/Fldcb"
import
{
getQjZdjbxxDetailById
}
from
'@api/zd'
export
default
{
name
:
""
,
components
:
{
//
zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb,Lcgz
zddcb
,
mjftb
,
jzd
,
jzx
,
djb
,
lshs
,
fjcl
,
Lcgz
zddcb
,
mjftb
,
jzd
,
jzx
,
djb
,
lshs
,
fjcl
,
Fldcb
,
Lcgz
//
zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Lcgz
},
props
:
{},
...
...
@@ -93,9 +93,9 @@ export default {
case
'mjftb'
:
this
.
mjftbVisible
=
true
;
break
;
//
case 'fldcb':
//
this.fldbcVisible = true;
//
break;
case
'fldcb'
:
this
.
fldbcVisible
=
true
;
break
;
case
'jzd'
:
this
.
jzdVisible
=
true
;
break
;
...
...
src/views/zd/zddcb/index.vue
View file @
79657ce
...
...
@@ -9,7 +9,7 @@
<tr>
<td
colspan=
"2"
class=
"tdright"
>
行政区
</td>
<td
colspan=
"2"
>
<el-select
<el-select
name=
"xzq"
:disabled=
"disabled"
class=
"formSelect"
v-model=
"formData.xzqbsm"
...
...
@@ -26,7 +26,7 @@
</td>
<td
colspan=
"2"
class=
"tdright"
>
地籍区
</td>
<td
colspan=
"2"
>
<el-select
<el-select
name=
"djq"
class=
"formSelect"
:disabled=
"disabled"
v-model=
"formData.djqbsm"
...
...
@@ -44,7 +44,7 @@
<td
colspan=
"2"
class=
"tdright"
>
地籍子区
</td>
<td
colspan=
"2"
>
<el-select
class=
"formSelect"
@
change=
"changeDjzq"
:disabled=
"disabled"
v-model=
"formData.djzqbsm"
>
<el-option
<el-option
name=
"djzq"
v-for=
"item in $store.state.djzqList"
:key=
"item.bsm"
:label=
"item.mc"
...
...
@@ -57,7 +57,7 @@
<tr>
<td
colspan=
"2"
class=
"tdright"
>
权利类型
</td>
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
:disabled=
"disabled"
v-model=
"formData.qllxbsm"
>
<el-select
name=
"qllx"
class=
"formSelect"
:disabled=
"disabled"
v-model=
"formData.qllxbsm"
>
<el-option
v-for=
"item in $store.state.qllxList"
:key=
"item.bsm"
...
...
@@ -69,7 +69,7 @@
</td>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
宗地特征码
</td>
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
ref=
"zdtzm"
:disabled=
"disabled"
<el-select
name=
"zdtzm"
class=
"formSelect"
ref=
"zdtzm"
:disabled=
"disabled"
v-model=
"formData.zdtzmbsm"
>
<el-option
v-for=
"item in $store.state.zdtzmList"
...
...
@@ -84,7 +84,7 @@
<tr>
<td
colspan=
"2"
class=
"tdright"
>
权利设定方式
</td>
<td
colspan=
"4"
>
<el-select
class=
"formSelect"
:disabled=
"disabled"
v-model=
"formData.qlsdfs"
>
<el-select
name=
"qlsdfs"
class=
"formSelect"
:disabled=
"disabled"
v-model=
"formData.qlsdfs"
>
<el-option
v-for=
"item in $store.state.qlsdfsList"
:key=
"item.bsm"
...
...
@@ -96,7 +96,7 @@
</td>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
宗地代码
</td>
<td
colspan=
"4"
class=
"psr"
>
<input
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"zddm"
on
maxlength=
"19"
<input
name=
"zddm"
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"zddm"
on
maxlength=
"19"
type=
"text"
class=
"formInput percent80"
v-model=
"formData.zddm"
...
...
@@ -110,12 +110,12 @@
<tr>
<td
colspan=
"2"
class=
"tdright"
>
地籍号
</td>
<td
colspan=
"4"
>
<input
type=
"text"
:disabled=
"disabled"
class=
"formInput"
v-model=
"formData.djh"
/>
<input
name=
"djh"
type=
"text"
:disabled=
"disabled"
class=
"formInput"
v-model=
"formData.djh"
/>
</td>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
不动产单元号
</td>
<td
colspan=
"4"
class=
"psr"
>
<input
<input
name=
"bdcdyh"
type=
"text"
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"bdcdyh"
maxlength=
"28"
class=
"formInput"
...
...
@@ -127,7 +127,7 @@
<tr>
<td
colspan=
"2"
class=
"tdright"
>
项目名称
</td>
<td
colspan=
"4"
class=
"psr"
>
<input
:disabled=
"disabled"
<input
name=
"xmmc"
:disabled=
"disabled"
type=
"text"
class=
"formInput "
v-model=
"formData.xmmc"
...
...
@@ -135,7 +135,7 @@
</td>
<td
colspan=
"2"
class=
"tdright"
>
预编宗地代码
</td>
<td
colspan=
"4"
class=
"psr"
>
<input
:disabled=
"disabled"
<input
name=
"ybzddm"
:disabled=
"disabled"
type=
"text"
class=
"formInput "
v-model=
"formData.ybzddm"
...
...
@@ -154,7 +154,7 @@
<!-- >-->
<!--
</el-option>
-->
<!--
</el-select>
-->
<el-select-tree
<el-select-tree
name=
"gmjjhyfl"
style=
"width:100%"
v-if=
"show"
:default-expand-all=
"defaultExpandAll"
...
...
@@ -170,13 +170,13 @@
</td>
<td
colspan=
"2"
class=
"tdright"
>
价格(元)
</td>
<td
colspan=
"4"
class=
"psr"
>
<input
:disabled=
"disabled"
class=
"formInput"
type=
"number"
v-model=
"formData.jg"
/>
<input
id=
"jgid"
:disabled=
"disabled"
class=
"formInput"
type=
"number"
v-model=
"formData.jg"
/>
</td>
</tr>
<tr>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
坐落
</td>
<td
colspan=
"10"
>
<input
type=
"text"
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"zl"
<input
name=
"zl"
type=
"text"
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"zl"
class=
"formInput"
v-model=
"formData.zl"
/>
</td>
</tr>
...
...
@@ -195,7 +195,7 @@
</el-select>
</td>
<td
colspan=
"2"
>
<input
<input
type=
"text"
:disabled=
"disabled"
v-model=
"rjl"
v-show=
"isInterval(formData.jyrjl)"
...
...
@@ -294,28 +294,28 @@
<td
colspan=
"2"
rowspan=
"4"
class=
"tdright"
>
宗地四至
</td>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
北至
</td>
<td
colspan=
"8"
class=
"psr"
>
<input
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszb"
:disabled=
"disabled"
<input
name=
"zdszb"
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszb"
:disabled=
"disabled"
class=
"formInput"
v-model=
"formData.zdszb"
/>
</td>
</tr>
<tr>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
东至
</td>
<td
colspan=
"8"
class=
"psr"
>
<input
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszd"
:disabled=
"disabled"
<input
name=
"zdszd"
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszd"
:disabled=
"disabled"
class=
"formInput"
v-model=
"formData.zdszd"
/>
</td>
</tr>
<tr>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
南至
</td>
<td
colspan=
"8"
class=
"psr"
>
<input
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszn"
:disabled=
"disabled"
<input
name=
"zdszn"
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszn"
:disabled=
"disabled"
class=
"formInput"
v-model=
"formData.zdszn"
/>
</td>
</tr>
<tr>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
西至
</td>
<td
colspan=
"8"
class=
"psr"
>
<input
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszx"
:disabled=
"disabled"
<input
name=
"zdszx"
type=
"text"
@
blur=
"inputBlur($event)"
ref=
"zdszx"
:disabled=
"disabled"
class=
"formInput"
v-model=
"formData.zdszx"
/>
</td>
</tr>
...
...
@@ -332,7 +332,7 @@
</td>
<td
colspan=
"2"
class=
"tdright"
><i
class=
"requisite"
>
*
</i>
宗地面积(㎡)
</td>
<td
colspan=
"4"
>
<input
type=
"text"
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"zdmj"
<input
name=
"zdmj"
type=
"text"
:disabled=
"disabled"
@
blur=
"inputBlur($event)"
ref=
"zdmj"
onkeyup=
"value=value.replace(/[^\d\.]/g,'')"
class=
"formInput"
v-model=
"formData.zdmj"
/>
</td>
</tr>
...
...
src/views/zrz/zrzxx/index.vue
View file @
79657ce
...
...
@@ -274,11 +274,15 @@
</table>
<div
class=
"header-button"
:style=
"
{width:mainBoxWidth+'px'}">
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"onSave"
:disabled=
"disabled"
icon=
"iconfont iconbaocun"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"registerCall"
>
登记调用
</el-button>
<!--
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"save"
>
保存
</el-button>
-->
</div>
</div>
<div
class=
"sh-btn"
>
<el-button
type=
"primary"
@
click=
"thzrz"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
v-if=
"!workFlowState"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"shzrz"
v-if=
"workFlowState"
>
审核
</el-button>
</div>
</div>
</
template
>
...
...
@@ -288,6 +292,7 @@
import
{
getBdcdyh
,
saveZrzInfo
,
getZrzDetailByBsm
,
getHCountByZrzbsm
}
from
"@api/zrz"
import
{
getQjZdjbxxDetailById
}
from
"@api/zd"
import
{
submit
,
registerCall
}
from
"@api/common"
import
{
getActivityDetail
}
from
"@api/user"
;
import
geoUtils
from
"@components/lineTree/tx/js/geoUtils"
;
export
default
{
name
:
'zrz'
,
...
...
@@ -316,6 +321,8 @@
lx
:
"zrz"
,
bsm
:
''
,
workFlowState
:
false
,
initZrzh
:
''
,
finishZrzh
:
''
,
hcount
:
0
,
...
...
@@ -418,6 +425,19 @@
mixins
:[
geoUtils
],
methods
:
{
getActivityDetail
(){
let
params
=
{
"params"
:
{},
"workflowPeriod"
:
"current"
,
"workitemInstanceId"
:
this
.
$route
.
query
.
workitemInstanceId
}
getActivityDetail
(
params
).
then
(
res
=>
{
this
.
workFlowState
=
res
.
workitemInstance
.
apps
.
some
(
function
(
item
)
{
return
item
==
'shenpibiao'
;
});
})
},
updateSjfyyt
(
data
){
data
.
fwsjytbsm
=
data
.
fwytzdbsm
;
},
...
...
@@ -614,22 +634,45 @@
},
ybsm
);
},
onSubmit
(){
let
data
=
{
glbsm
:
this
.
bsm
,
status
:
1
,
type
:
"zrz"
vm
.
setTjDialog
(
true
);
// let data={
// glbsm:this.bsm,
// status:1,
// type:"zrz"
// }
// submit(data).then((res)=>{
// if(res.code===200){
// this.$message.success("提交完成!");
// this.getZrzDetailByBsm(this.$route.query.bsm);
// this.$store.state.oldZdbsm = '';
// this.getTreeByBsm(this.$route.query.bsm,'zrz','0,1,2')
// }else{
// this.$message.error(res.message);
// }
// })
},
shzrz
(){
let
data
=
{
bdcdyh
:
this
.
form
.
bdcdyh
,
zl
:
this
.
form
.
zl
,
shyj
:
''
,
shr
:
'admin'
,
shsj
:
'2021-01-22'
};
vm
.
setShDialog
(
true
,
data
)
},
thzrz
(){
let
data
=
{
bdcdyh
:
this
.
form
.
bdcdyh
,
zl
:
this
.
form
.
zl
,
shyj
:
''
,
shr
:
'admin'
,
shsj
:
'2021-01-22'
}
submit
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"提交完成!"
);
this
.
getZrzDetailByBsm
(
this
.
$route
.
query
.
bsm
);
this
.
$store
.
state
.
oldZdbsm
=
''
;
this
.
getTreeByBsm
(
this
.
$route
.
query
.
bsm
,
'zrz'
,
'0,1,2'
)
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
vm
.
rollback
(
data
);
},
open
()
{
const
self
=
this
;
this
.
$confirm
(
'已经存在不动产单元号或者自然幢号, 是否继续?'
,
'提示'
,
{
...
...
@@ -820,6 +863,7 @@
this
.
hcount
=
res
.
result
;
}
});
this
.
getActivityDetail
();
this
.
$nextTick
(()
=>
{
this
.
mainBoxWidth
=
this
.
$refs
.
mainBox
.
clientWidth
;
})
...
...
@@ -981,5 +1025,14 @@
border-color
:
rgba
(
0
,
202
,
205
,
.8
);
}
}
.sh-btn
{
position
:
fixed
;
top
:
74px
;
right
:
20px
;
z-index
:
999
;
.el-button{
padding
:
10px
30px
;
}
}
}
</
style
>
...
...
Please
register
or
sign in
to post a comment