Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
b29e06a0
Commit
b29e06a0
authored
Jun 20, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
fdd3646f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
91 additions
and
1 deletion
+91
-1
router.ts
src/router.ts
+5
-0
Dot.vue
src/views/category/tracingDetail/Dot.vue
+0
-0
TimeLine.vue
src/views/category/tracingDetail/TimeLine.vue
+63
-0
index.vue
src/views/category/tracingDetail/index.vue
+19
-0
index.vue
...ategory/tracingManagement/components/ProofTable/index.vue
+4
-1
No files found.
src/router.ts
View file @
b29e06a0
...
@@ -123,6 +123,11 @@ const routes = [
...
@@ -123,6 +123,11 @@ const routes = [
// ),
// ),
// },
// },
{
{
path
:
"/tracingDetail"
,
name
:
"tracingDetail"
,
component
:
()
=>
import
(
"@/views/category/tracingDetail/index.vue"
),
},
{
path
:
"/passMaker"
,
path
:
"/passMaker"
,
name
:
"passMaker"
,
name
:
"passMaker"
,
component
:
()
=>
import
(
"@/views/Collection/PassMaker/index.vue"
),
component
:
()
=>
import
(
"@/views/Collection/PassMaker/index.vue"
),
...
...
src/views/category/tracingDetail/Dot.vue
0 → 100644
View file @
b29e06a0
src/views/category/tracingDetail/TimeLine.vue
0 → 100644
View file @
b29e06a0
<
template
>
<el-timeline
style=
"padding-left: 2px"
>
<el-timeline-item
v-for=
"(activity, index) in activities"
:key=
"index"
:=
"activity"
>
{{
activity
.
content
}}
<template
#
dot
>
<div
v-if=
"!activity.checked"
class=
"dot-normal dot-timeLine"
></div>
<div
v-else
class=
"dot-checked dot-timeLine"
>
<icon
icon-name=
"icona-21"
></icon>
</div>
</
template
>
</el-timeline-item>
</el-timeline>
</template>
<
script
lang=
"ts"
setup
>
import
{
ElTimeline
,
ElTimelineItem
}
from
"element-plus"
;
import
Icon
from
"@/components/Icon/index.vue"
;
const
activities
=
[
{
content
:
"Approved"
,
},
{
content
:
"Event start"
,
checked
:
true
,
},
{
content
:
"Approved"
,
},
{
content
:
"Success"
,
},
];
</
script
>
<
style
lang=
"scss"
scoped
>
.dot-timeLine
{
top
:
7px
;
position
:
absolute
;
left
:
5px
;
transform
:
translate
(
-50%
,
-50%
);
&
.dot-normal
{
width
:
7px
;
height
:
7px
;
background
:
#ffffff
;
border
:
2px
solid
#3662ec
;
border-radius
:
50%
;
}
&
.dot-checked
{
width
:
14px
;
height
:
14px
;
// background: #16b141;
border-radius
:
50%
;
}
}
:deep
(
.el-timeline-item__tail
)
{
top
:
6px
;
}
</
style
>
src/views/category/tracingDetail/index.vue
0 → 100644
View file @
b29e06a0
<
template
>
<div
style=
"height: 50px; margin-bottom: 20px"
></div>
<syHeaderNavBar
class=
"fixed top-0 left-0 right-0"
@
close=
"router.push('/tracingManagement')"
@
back=
"router.back"
>
杭州第一农场
</syHeaderNavBar
>
<TimeLine></TimeLine>
</
template
>
<
script
setup
lang=
"ts"
>
import
{
router
}
from
"@/router"
;
import
TimeLine
from
"@/views/category/tracingDetail/TimeLine.vue"
;
import
*
as
cqk
from
"cqk-sy-ui"
;
console
.
log
(
cqk
);
</
script
>
<
style
></
style
>
src/views/category/tracingManagement/components/ProofTable/index.vue
View file @
b29e06a0
...
@@ -9,7 +9,10 @@
...
@@ -9,7 +9,10 @@
element-loading-text=
"加载中..."
element-loading-text=
"加载中..."
>
>
<template
#
name=
"slotProps"
>
<template
#
name=
"slotProps"
>
<div
class=
"whitespace-nowrap overflow-hidden text-ellipsis"
>
<div
class=
"whitespace-nowrap overflow-hidden text-ellipsis"
@
click=
"$router.push('/tracingDetail')"
>
{{
slotProps
.
name
}}
{{
slotProps
.
name
}}
</div>
</div>
</
template
>
</
template
>
...
...
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