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
9c4b8bfd
authored
2020-11-25 10:06:54 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
不动产单元号弹出提示框
1 parent
cba8f5ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
121 additions
and
10 deletions
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/views/dz/dzxx/index.vue
View file @
9c4b8bf
...
...
@@ -14,9 +14,8 @@
</td>
<td
colspan=
"2"
align=
"center"
>
不动产单元号
</td>
<td
colspan=
"4"
>
<el-input
v-model=
"form.bdcdyh"
style=
"width: 70%"
v-show=
"form.bdcdyh===''||form.bdcdyh==null"
></el-input>
<el-input
v-model=
"form.bdcdyh"
v-show=
"form.bdcdyh!==''&&form.bdcdyh!=null"
></el-input>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
v-show=
"form.bdcdyh===''||form.bdcdyh==null"
type=
"primary"
style=
"width:25%;margin-left:3%"
>
生成
</el-button>
<el-input
v-model=
"form.bdcdyh"
style=
"width: 70%"
></el-input>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
type=
"primary"
style=
"width:25%;margin-left:3%"
>
生成
</el-button>
</td>
</tr>
<tr
height=
"30"
>
...
...
@@ -428,7 +427,32 @@
}
})
},
open
()
{
this
.
$confirm
(
'已经存在不动产单元号或者自然幢号, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
getBdcdyh
(
this
.
form
.
zddm
,
"dz"
)
.
then
((
res
)
=>
{
this
.
form
.
bdcdyh
=
res
.
result
;
})
this
.
$message
({
type
:
'success'
,
message
:
'生成成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
generatorCode
(){
if
(
this
.
form
.
bdcdyh
!=
null
&&
this
.
form
.
bdcdyh
!==
''
){
this
.
open
();
return
;
}
getBdcdyh
(
this
.
form
.
zddm
,
"dz"
)
.
then
((
res
)
=>
{
this
.
form
.
bdcdyh
=
res
.
result
;
...
...
src/views/zd/zddcb/index.vue
View file @
9c4b8bf
...
...
@@ -462,8 +462,41 @@ export default {
})
.
catch
((
error
)
=>
{});
},
//不动产单元号再次生成提示框
open
()
{
this
.
$confirm
(
'已经存在不动产单元号或者自然幢号, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
getBdcdyh
(
"860101555888GB"
,
"zd"
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
formData
.
zddm
=
res
.
result
.
substring
(
0
,
19
);
this
.
formData
.
bdcdyh
=
res
.
result
;
})
.
catch
((
error
)
=>
{});
this
.
$message
({
type
:
'success'
,
message
:
'生成成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
//生成宗地代码
generatorCode
()
{
if
((
this
.
formData
.
zddm
!=
null
&&
this
.
formData
.
zddm
!==
''
)
||
(
this
.
formData
.
bdcdyh
!=
null
&&
this
.
formData
.
bdcdyh
!==
''
)){
this
.
open
();
return
;
}
//前6位是xzqbsm,接着3位djqbsm,3位djzqbsm,最后2位是syqlxbsm 860101555888GB
getBdcdyh
(
"860101555888GB"
,
"zd"
)
.
then
((
res
)
=>
{
...
...
src/views/zrz/lpb/bjlp/hbj/index.vue
View file @
9c4b8bf
...
...
@@ -21,9 +21,8 @@
<td
colspan=
"2"
align=
"center"
>
不动产单元号
</td>
<!-- todo 此处暂时存放的是不动产单元号标识码,而不是不动产单元号-->
<td
colspan=
"4"
>
<el-input
v-model=
"form.bdcdyh"
v-show=
"form.bdcdyh === ''||form.bdcdyh == null"
style=
"width: 70%"
disabled
></el-input>
<el-input
v-model=
"form.bdcdyh"
v-show=
"form.bdcdyh !== ''&&form.bdcdyh != null"
style=
"width: 100%"
disabled
></el-input>
<el-button
v-show=
"form.bdcdyh === ''||form.bdcdyh == null"
@
click
.
prevent=
"generatorCode"
size=
"mini"
type=
"primary"
style=
"width:25%;margin-left:3%"
>
生成
</el-button>
<el-input
v-model=
"form.bdcdyh"
style=
"width: 70%"
disabled
></el-input>
<el-button
@
click
.
prevent=
"generatorCode"
size=
"mini"
type=
"primary"
style=
"width:25%;margin-left:3%"
>
生成
</el-button>
</td>
<td
colspan=
"2"
align=
"center"
>
原不动产单元
</td>
<td
colspan=
"4"
>
...
...
@@ -739,7 +738,36 @@
console
.
log
(
"----------------------------------"
)
console
.
log
(
this
.
form
)
},
//不动产单元号再次生成提示框
open
()
{
this
.
$confirm
(
'已经存在不动产单元号或者自然幢号, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
getBdcdyh
(
this
.
form
.
zrzh
,
"h"
)
.
then
((
res
)
=>
{
this
.
form
.
zrzh
=
res
.
result
.
substring
(
0
,
24
);
this
.
form
.
bdcdyh
=
res
.
result
;
})
this
.
$message
({
type
:
'success'
,
message
:
'生成成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
generatorCode
(){
if
((
this
.
form
.
zrzh
!=
null
&&
this
.
form
.
zrzh
!==
''
)
||
(
this
.
form
.
bdcdyh
!=
null
&&
this
.
form
.
bdcdyh
!==
''
)){
this
.
open
();
return
;
}
getBdcdyh
(
this
.
form
.
zrzh
,
"h"
)
.
then
((
res
)
=>
{
this
.
form
.
zrzh
=
res
.
result
.
substring
(
0
,
24
);
...
...
src/views/zrz/zrzxx/index.vue
View file @
9c4b8bf
...
...
@@ -3,7 +3,7 @@
<div
class=
"formMenu"
>
<Qlr
ref=
"qlrxxModule"
:bsm=
"bsm"
:qszt=
"form.qszt"
></Qlr>
<table
border=
"1"
width=
"100%"
cellspacing=
"0"
cellpadding=
"0"
class=
"zrzTable"
>
<tr>
<tr>
<th
colspan=
"12"
>
自然幢基本信息
</th>
</tr>
<tr>
...
...
@@ -24,9 +24,8 @@
</td>
<td
colspan=
"2"
>
不动产单元号
</td>
<td
colspan=
"4"
>
<input
class=
"formInput percent78"
v-show=
"form.bdcdyh === ''||form.bdcdyh == null "
:disabled=
"form.qszt!='0'"
v-model=
"form.bdcdyh"
style=
"width: 70%"
>
<input
class=
"formInput"
:disabled=
"form.qszt!='0'"
v-show=
"form.bdcdyh !== ''&&form.bdcdyh != null "
v-model=
"form.bdcdyh"
style=
"width: 100%"
>
<el-button
@
click
.
prevent=
"generatorCode"
type=
"primary"
size=
"mini"
style=
"width:25%;margin-left:3%"
v-show=
"form.bdcdyh === ''||form.bdcdyh == null "
>
生成
</el-button>
<input
class=
"formInput percent78"
:disabled=
"form.qszt!='0'"
v-model=
"form.bdcdyh"
style=
"width: 70%"
>
<el-button
@
click
.
prevent=
"generatorCode"
type=
"primary"
size=
"mini"
style=
"width:25%;margin-left:3%"
>
生成
</el-button>
</td>
</tr>
...
...
@@ -445,7 +444,33 @@
}
})
},
open
()
{
this
.
$confirm
(
'已经存在不动产单元号或者自然幢号, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
getBdcdyh
(
this
.
form
.
zddm
,
"zrz"
)
.
then
((
res
)
=>
{
this
.
form
.
zrzh
=
res
.
result
.
substring
(
0
,
24
);
this
.
form
.
bdcdyh
=
res
.
result
;
});
this
.
$message
({
type
:
'success'
,
message
:
'生成成功!'
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
generatorCode
(){
if
((
this
.
form
.
zrzh
!=
null
&&
this
.
form
.
zrzh
!==
''
)
||
(
this
.
form
.
bdcdyh
!=
null
&&
this
.
form
.
bdcdyh
!==
''
)){
this
.
open
();
return
;
}
getBdcdyh
(
this
.
form
.
zddm
,
"zrz"
)
.
then
((
res
)
=>
{
this
.
form
.
zrzh
=
res
.
result
.
substring
(
0
,
24
);
...
...
@@ -560,6 +585,7 @@
background-color
:
#fff
;
font-size
:
14px
;
width
:
100%
;
table-layout
:
fixed
;
th
{
height
:
36px
;
line-height
:
36px
;
...
...
Please
register
or
sign in
to post a comment