Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
95b85ef1
authored
Sep 26, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
5ffe1914
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
src/components/menu.vue
src/views/OrderTrack/invoice.vue
src/views/User/login.vue
src/components/menu.vue
View file @
95b85ef1
...
@@ -307,7 +307,6 @@ export default {
...
@@ -307,7 +307,6 @@ export default {
closetab
(
path
)
{
closetab
(
path
)
{
let
tab_arr
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'tabs'
))
let
tab_arr
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'tabs'
))
for
(
var
i
=
0
;
i
<
tab_arr
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
tab_arr
.
length
;
i
++
)
{
if
(
tab_arr
[
i
].
path
==
path
)
{
if
(
tab_arr
[
i
].
path
==
path
)
{
tab_arr
.
splice
(
i
,
1
);
tab_arr
.
splice
(
i
,
1
);
sessionStorage
.
setItem
(
'tabs'
,
JSON
.
stringify
(
tab_arr
));
sessionStorage
.
setItem
(
'tabs'
,
JSON
.
stringify
(
tab_arr
));
...
@@ -507,6 +506,7 @@ export default {
...
@@ -507,6 +506,7 @@ export default {
&
.first
{
&
.first
{
background-color
:
transparent
;
background-color
:
transparent
;
&::after
{
&::after
{
display
:
none
;
display
:
none
;
}
}
...
...
src/views/OrderTrack/invoice.vue
View file @
95b85ef1
...
@@ -116,6 +116,7 @@ export default {
...
@@ -116,6 +116,7 @@ export default {
},
},
//取消发货
//取消发货
cancelSend
()
{
cancelSend
()
{
var
self
=
this
;
if
(
this
.
multipleSelection
.
length
<=
0
)
{
if
(
this
.
multipleSelection
.
length
<=
0
)
{
this
.
$message
({
this
.
$message
({
message
:
"请勾选数据进行操作"
,
message
:
"请勾选数据进行操作"
,
...
@@ -148,7 +149,7 @@ export default {
...
@@ -148,7 +149,7 @@ export default {
type
:
'success'
,
type
:
'success'
,
duration
:
2000
,
duration
:
2000
,
onClose
()
{
onClose
()
{
this
.
getData
();
self
.
getData
();
}
}
});
});
}
else
{
}
else
{
...
...
src/views/User/login.vue
View file @
95b85ef1
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</a>
</a>
</div>
</div>
<p
class=
"text"
>
<p
class=
"text"
>
<span
class=
"error"
>
{{
errror_text
}}
</span>
<span
class=
"error"
>
{{
errror_text
}}
</span>
<a
href=
"javascript:;"
style=
"visibility:hidden;"
>
忘记密码
</a>
<a
href=
"javascript:;"
style=
"visibility:hidden;"
>
忘记密码
</a>
</p>
</p>
<a
href=
"javascript:;"
class=
"btn-submit"
:class=
"active ? 'active':''"
@
click=
"submit()"
:loading=
"true"
>
登录
</a>
<a
href=
"javascript:;"
class=
"btn-submit"
:class=
"active ? 'active':''"
@
click=
"submit()"
:loading=
"true"
>
登录
</a>
...
@@ -51,11 +51,12 @@
...
@@ -51,11 +51,12 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
{
Loading
,
Message
}
from
'element-ui'
;
import
{
Loading
,
Message
}
from
'element-ui'
;
import
Util
from
"../../tool"
;
import
Util
from
"../../tool"
;
Vue
.
prototype
.
$message
=
Message
export
default
{
Vue
.
prototype
.
$message
=
Message
export
default
{
name
:
"index"
,
name
:
"index"
,
data
()
{
data
()
{
return
{
return
{
...
@@ -159,6 +160,7 @@ Vue.prototype.$message=Message
...
@@ -159,6 +160,7 @@ Vue.prototype.$message=Message
}).
then
(
res
=>
{
}).
then
(
res
=>
{
loadingInstance
.
close
();
loadingInstance
.
close
();
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
sessionStorage
.
removeItem
(
'tabs'
);
Util
.
setCookie
(
"token"
,
res
.
data
.
api_token
,
1
);
Util
.
setCookie
(
"token"
,
res
.
data
.
api_token
,
1
);
//强制要求微信绑定
//强制要求微信绑定
if
(
!
res
.
data
.
is_bind_wechat
)
{
if
(
!
res
.
data
.
is_bind_wechat
)
{
...
@@ -195,8 +197,8 @@ Vue.prototype.$message=Message
...
@@ -195,8 +197,8 @@ Vue.prototype.$message=Message
}
}
}
}
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
@import
"../../assets/css/login/index.min.css"
;
@import
"../../assets/css/login/index.min.css"
;
</
style
>
</
style
>
\ No newline at end of file
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