Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
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
吴迪
gs1
Commits
8449c12c
Commit
8449c12c
authored
Jan 04, 2022
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改条码公告注册、注销传参
parent
fecb33c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Notice.vue
src/views/Business/Notice.vue
+8
-8
No files found.
src/views/Business/Notice.vue
View file @
8449c12c
...
@@ -101,9 +101,9 @@ export default {
...
@@ -101,9 +101,9 @@ export default {
},
},
setLogoutFlag
(
currentTab
)
{
setLogoutFlag
(
currentTab
)
{
if
(
currentTab
===
"zhuce"
)
{
if
(
currentTab
===
"zhuce"
)
{
this
.
logoutFlag
=
"1"
;
this
.
logoutFlag
=
0
;
}
else
{
}
else
{
this
.
logoutFlag
=
"0"
;
this
.
logoutFlag
=
1
;
}
}
this
.
businessGetEanUpcByCondition
();
this
.
businessGetEanUpcByCondition
();
},
},
...
@@ -122,17 +122,17 @@ export default {
...
@@ -122,17 +122,17 @@ export default {
console
.
log
(
businessGetEanUpcByConditionRes
,
"条码注册/注销公告"
);
console
.
log
(
businessGetEanUpcByConditionRes
,
"条码注册/注销公告"
);
this
.
pageParams
.
total
=
data
.
totalCount
;
this
.
pageParams
.
total
=
data
.
totalCount
;
let
key
;
let
key
;
if
(
this
.
logoutFlag
===
"1"
)
{
if
(
this
.
logoutFlag
===
1
)
{
key
=
0
;
}
else
{
key
=
1
;
key
=
1
;
}
else
{
key
=
0
;
}
}
data
.
list
.
forEach
((
el
)
=>
{
data
.
list
.
forEach
((
el
)
=>
{
el
.
name
=
el
.
firmName
;
el
.
name
=
el
.
firmName
;
if
(
this
.
logoutFlag
===
"1"
)
{
if
(
this
.
logoutFlag
===
1
)
{
el
.
time
=
this
.
$moment
(
el
.
loginDate
).
format
(
"YYYY-MM-DD"
);
}
else
{
el
.
time
=
this
.
$moment
(
el
.
logoutDate
).
format
(
"YYYY-MM-DD"
);
el
.
time
=
this
.
$moment
(
el
.
logoutDate
).
format
(
"YYYY-MM-DD"
);
}
else
{
el
.
time
=
this
.
$moment
(
el
.
loginDate
).
format
(
"YYYY-MM-DD"
);
}
}
});
});
this
.
list
[
key
].
data
=
data
.
list
;
this
.
list
[
key
].
data
=
data
.
list
;
...
...
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