Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
a7e11343
Commit
a7e11343
authored
Feb 20, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
4ef6bc42
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+2
-1
create-base-info.vue
src/pages/contractCreate/create-base-info.vue
+2
-1
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+2
-1
hlsHttp.js
src/scripts/hlsHttp.js
+1
-1
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
a7e11343
...
@@ -645,14 +645,15 @@ export default {
...
@@ -645,14 +645,15 @@ export default {
}
}
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
isComputed
=
true
vm
.
isComputed
=
true
vm
.
calculeFlag
=
true
vm
.
calculeFlag
=
true
vm
.
saveTed
=
true
vm
.
saveTed
=
true
hlsPopup
.
showLongCenter
(
'计算成功'
)
hlsPopup
.
showLongCenter
(
'计算成功'
)
vm
.
goPlan
()
vm
.
goPlan
()
}
else
{
}
else
{
vm
.
hlsPopup
.
hideLoading
()
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
...
...
src/pages/contractCreate/create-base-info.vue
View file @
a7e11343
...
@@ -766,8 +766,8 @@ export default {
...
@@ -766,8 +766,8 @@ export default {
if
(
isEmpty
)
{
if
(
isEmpty
)
{
hlsPopup
.
showLoading
(
'请稍候'
)
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
saveTed
=
true
vm
.
saveTed
=
true
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'CreateRentInfo'
,
name
:
'CreateRentInfo'
,
...
@@ -778,6 +778,7 @@ export default {
...
@@ -778,6 +778,7 @@ export default {
},
},
})
})
}
else
{
}
else
{
vm
.
hlsPopup
.
hideLoading
()
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
...
...
src/pages/contractCreate/create-enclosure-info.vue
View file @
a7e11343
...
@@ -640,13 +640,14 @@ export default {
...
@@ -640,13 +640,14 @@ export default {
}
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
$router
.
push
({
vm
.
$router
.
push
({
name
:
'MyInfo'
,
name
:
'MyInfo'
,
})
})
}
else
{
}
else
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
})
})
...
...
src/scripts/hlsHttp.js
View file @
a7e11343
...
@@ -12,7 +12,7 @@ axios.interceptors.request.use(config => {
...
@@ -12,7 +12,7 @@ axios.interceptors.request.use(config => {
cancel
=
c
cancel
=
c
})
})
if
(
promiseArr
[
config
.
url
])
{
if
(
promiseArr
[
config
.
url
])
{
promiseArr
[
config
.
url
](
'
操作取消
'
)
promiseArr
[
config
.
url
](
'
正在计算中,请稍后...
'
)
promiseArr
[
config
.
url
]
=
cancel
promiseArr
[
config
.
url
]
=
cancel
}
else
{
}
else
{
promiseArr
[
config
.
url
]
=
cancel
promiseArr
[
config
.
url
]
=
cancel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment