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
2a4bc023
authored
2021-01-18 14:40:28 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
保存业务的loading
1 parent
96e3029f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
42 additions
and
7 deletions
src/App.vue
src/components/fwsxbg/fwsxbgTab.vue
src/views/dz/dzxx/index.vue
src/views/gzw/jbxx/index.vue
src/views/panel/change/hb/index.vue
src/views/zrz/lpb/bjlp/hbj/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/zrzxx/index.vue
src/App.vue
View file @
2a4bc02
...
...
@@ -60,7 +60,7 @@ export default {
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
1
;
z-index
:
1
000
;
.content{
width
:
240px
;
height
:
160px
;
...
...
src/components/fwsxbg/fwsxbgTab.vue
View file @
2a4bc02
...
...
@@ -495,8 +495,10 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
vm
.
loadingShow
(
'业务办理中'
);
fwsxbgbl
(
params
)
.
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
success
)
{
// this.$message({
// message: res.message,
...
...
@@ -538,6 +540,7 @@
}
})
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
this
.
$message
({
message
:
res
.
message
,
type
:
"error"
,
...
...
src/views/dz/dzxx/index.vue
View file @
2a4bc02
...
...
@@ -507,7 +507,9 @@
this
.
$nextTick
(()
=>
{
if
(
flag
&&
this
.
$refs
.
qlxzModule
.
getRulesResult
())
{
vm
.
loadingShow
(
'请求发送中'
);
saveDzInfo
(
this
.
form
).
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存完成!"
)
}
else
{
...
...
@@ -517,6 +519,10 @@
});
}
})
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
console
.
log
(
error
);
});
}
else
{
this
.
$message
({
// message: item.name+'不能为空',
...
...
src/views/gzw/jbxx/index.vue
View file @
2a4bc02
...
...
@@ -237,11 +237,17 @@
this
.
bsm
=
this
.
$route
.
query
.
bsm
;
this
.
form
.
bsm
=
this
.
bsm
;
this
.
form
.
jgsj
=
this
.
form
.
jgrq
;
vm
.
loadingShow
(
'请求发送中'
);
updateGzwjbxx
(
this
.
form
).
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存完成!"
);
}
})
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
console
.
log
(
error
);
});
}
})
...
...
src/views/panel/change/hb/index.vue
View file @
2a4bc02
...
...
@@ -305,8 +305,7 @@
newzdzdtzmbsm
:
this
.
zdhbhData
.
zdtzmbsm
,
oldzdbsms
:
oldBsm
}
console
.
log
(
data
,
'宗地合并数据'
)
vm
.
loadingShow
();
vm
.
loadingShow
(
'请求发送中'
);
ZdHb
(
data
).
then
(
res
=>
{
vm
.
loadingHide
();
if
(
res
.
success
)
{
...
...
@@ -335,7 +334,7 @@
newdzxmmc
:
this
.
$refs
.
dzhb
.
dzhbhData
.
xmmc
,
zdbsm
:
this
.
$refs
.
dzhb
.
zdbsm
}
vm
.
loadingShow
();
vm
.
loadingShow
(
'请求发送中'
);
DzHb
(
data
).
then
(
res
=>
{
vm
.
loadingHide
();
if
(
res
.
success
)
{
...
...
src/views/zrz/lpb/bjlp/hbj/index.vue
View file @
2a4bc02
...
...
@@ -904,7 +904,9 @@
this
.
form
.
qtjzmj
=
this
.
form
.
scqtjzmj
;
this
.
form
.
ftxs
=
this
.
form
.
scftxs
;
}
vm
.
loadingShow
(
'请求发送中'
);
updateQjH
(
this
.
form
).
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存成功!"
)
console
.
log
(
this
,
"this"
)
...
...
@@ -912,6 +914,10 @@
this
.
$message
.
warning
(
res
.
message
)
}
})
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
console
.
log
(
error
);
});
}
else
{
this
.
$message
({
// message: item.name+'不能为空',
...
...
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
2a4bc02
...
...
@@ -913,8 +913,9 @@ export default {
"zdybsm"
:
this
.
fghbChoosedList
[
0
].
zdybsm
,
"zrzbsm"
:
this
.
fghbChoosedList
[
0
].
zrzbsm
}
// console.log(params,'params
');
vm
.
loadingShow
(
'请求发送中
'
);
hhb
(
params
).
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
code
==
200
){
Message
.
success
(
'合并成功'
);
// 清除选中户
...
...
@@ -926,7 +927,10 @@ export default {
Message
.
error
(
res
.
message
);
}
})
.
catch
(()
=>
{});
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
console
.
log
(
error
);
});
})
.
catch
(()
=>
{});
}
else
{
...
...
@@ -939,7 +943,9 @@ export default {
},
//户分割保存
savefgData
(){
vm
.
loadingShow
(
'请求发送中'
);
hfg
(
this
.
fgData
).
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
code
==
200
){
Message
.
success
(
'分割成功'
);
// 清除选中户
...
...
@@ -952,7 +958,10 @@ export default {
Message
.
error
(
res
.
message
);
}
})
.
catch
(()
=>
{});
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
console
.
log
(
error
);
});
},
//范围属性变更
handleFwsxbg
(){
...
...
src/views/zrz/zrzxx/index.vue
View file @
2a4bc02
...
...
@@ -565,7 +565,9 @@
type
:
"warning"
,
});
}
else
{
vm
.
loadingShow
(
'请求发送中'
);
saveZrzInfo
(
this
.
form
).
then
((
res
)
=>
{
vm
.
loadingHide
();
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存完成!"
)
this
.
getZrzDetailByBsm
(
this
.
$route
.
query
.
bsm
)
...
...
@@ -577,6 +579,10 @@
}
this
.
loading
=
false
;
})
.
catch
((
error
)
=>
{
vm
.
loadingHide
();
console
.
log
(
error
);
});
this
.
loading
=
false
;
this
.
saveGraphicAttributes
();
}
}
else
{
...
...
Please
register
or
sign in
to post a comment