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
d9b9e975
Commit
d9b9e975
authored
Feb 28, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuin' into uat
parents
a9b2a7c9
ff9acc19
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+7
-1
login.vue
src/pages/login.vue
+15
-0
No files found.
src/pages/contractCreate/create-enclosure-info.vue
View file @
d9b9e975
...
...
@@ -639,12 +639,18 @@ export default {
}
vm
.
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
if
(
res
.
result
===
'S
'
)
{
if
(
res
.
code
===
'200
'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showSuccess
(
'提交成功'
)
vm
.
$router
.
push
({
name
:
'MyInfo'
,
})
}
else
if
(
res
.
code
===
'201'
||
res
.
code
===
'202'
)
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
vm
.
$router
.
push
({
name
:
'MyInfo'
,
})
}
else
{
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
src/pages/login.vue
View file @
d9b9e975
...
...
@@ -72,6 +72,21 @@ export default {
})
},
created
()
{
const
winSize
=
vum
.
$vumPlatform
.
getWinSize
()
if
(
window
.
localStorage
.
isReadPolicy
===
'false'
)
{
window
.
localStorage
.
clear
()
}
else
if
(
window
.
localStorage
.
isReadPolicy
===
'true'
)
{
window
.
localStorage
.
clear
()
window
.
localStorage
.
setItem
(
'isReadPolicy'
,
true
)
}
else
{
window
.
localStorage
.
clear
()
}
if
(
winSize
.
width
)
{
window
.
localStorage
.
setItem
(
'width'
,
winSize
.
width
)
}
if
(
winSize
.
height
)
{
window
.
localStorage
.
setItem
(
'height'
,
winSize
.
height
)
}
},
mounted
()
{
window
.
addEventListener
(
'native.keyboardhide'
,
function
()
{
...
...
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