Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-h5app-drs
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
zhuxiaomei
patzn-cloud-web-h5app-drs
Commits
c6ce3cda
Commit
c6ce3cda
authored
Dec 08, 2020
by
zhuxiaomei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程圖
parent
82602cd7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
1 deletions
+68
-1
down-arrow.png
src/assets/down-arrow.png
+0
-0
right-arrow.png
src/assets/right-arrow.png
+0
-0
FlowChart.vue
src/page/FlowChart.vue
+61
-0
Home.vue
src/page/Home.vue
+1
-1
routes.js
src/router/routes.js
+6
-0
No files found.
src/assets/down-arrow.png
0 → 100644
View file @
c6ce3cda
5.22 KB
src/assets/right-arrow.png
0 → 100644
View file @
c6ce3cda
3.29 KB
src/page/FlowChart.vue
0 → 100644
View file @
c6ce3cda
<
template
>
<div>
<div
class=
"layout-cont flow-cont"
>
<div
style=
"background: #ee0a24"
>
确定样本量或者抽样样
</div>
<div><img
src=
"@/assets/right-arrow.png"
></div>
<div
style=
"background: #ff9328"
>
选择随机抽样方法
</div>
<div><img
src=
"@/assets/right-arrow.png"
></div>
<div
style=
"background: #63c689"
>
对批中产品编号
</div>
<div><img
src=
"@/assets/right-arrow.png"
></div>
<div
style=
"background: #0fb32e"
>
生成随机样本单元号
</div>
<div><img
src=
"@/assets/right-arrow.png"
></div>
<div
style=
"background: #5883f0"
>
按样本单元编号取出产品
</div>
<div><img
src=
"@/assets/right-arrow.png"
></div>
<div
style=
"background: #646566"
>
管理并检验样本单元
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"FlowChart"
}
</
script
>
<
style
scoped
lang=
"less"
>
.flow-cont
{
display
:
flex
;
flex-wrap
:
wrap
;
width
:
100%
;
padding
:
30px
;
color
:
#ffffff
;
font-weight
:
bold
;
>
div
{
width
:
12vw
;
height
:
12vw
;
-moz-border-radius
:
50%
;
-webkit-border-radius
:
50%
;
border-radius
:
50%
;
align-items
:
center
;
display
:
flex
;
justify-content
:
center
;
text-align
:
center
;
padding
:
10px
;
}
>
div
:nth-child
(
2n-1
)
{
background
:
#07c160
;
}
>
div
:nth-child
(
2n
)
{
width
:
4vw
;
height
:
4vw
;
margin-top
:
4vw
;
padding
:
0
;
}
img
{
width
:
100%
;
}
}
</
style
>
src/page/Home.vue
View file @
c6ce3cda
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<div>
历史任务
</div>
<div>
历史任务
</div>
</div>
</div>
</div>
</div>
<div
class=
"box-c"
>
<div
class=
"box-c"
@
click=
"_goto('/flow_chart')"
>
<div
style=
"background: #646566;height: 100%;"
>
双随机实现流程
</div>
<div
style=
"background: #646566;height: 100%;"
>
双随机实现流程
</div>
</div>
</div>
<!--
<van-grid
:gutter=
"10"
:column-num=
"3"
:icon-size=
"40"
>
-->
<!--
<van-grid
:gutter=
"10"
:column-num=
"3"
:icon-size=
"40"
>
-->
...
...
src/router/routes.js
View file @
c6ce3cda
...
@@ -3,6 +3,7 @@ import Home from '@/page/Home'
...
@@ -3,6 +3,7 @@ import Home from '@/page/Home'
import
Login
from
'@/page/Login'
import
Login
from
'@/page/Login'
import
ForgetPwd
from
'@/page/ForgetPwd'
import
ForgetPwd
from
'@/page/ForgetPwd'
import
Message
from
'@/page/Message'
import
Message
from
'@/page/Message'
import
FlowChart
from
'@/page/FlowChart'
import
SamplingPlanRoutes
from
'./sampling-plan-routes'
import
SamplingPlanRoutes
from
'./sampling-plan-routes'
import
SamplingTaskRoutes
from
'./sampling-task-routes'
import
SamplingTaskRoutes
from
'./sampling-task-routes'
import
SamplingListRoutes
from
'./sampling-list-routes'
import
SamplingListRoutes
from
'./sampling-list-routes'
...
@@ -41,6 +42,11 @@ export default [
...
@@ -41,6 +42,11 @@ export default [
name
:
'message'
,
name
:
'message'
,
component
:
Message
,
component
:
Message
,
meta
:
{
title
:
'我的消息'
}
meta
:
{
title
:
'我的消息'
}
},{
path
:
"/flow_chart"
,
name
:
'flowChart'
,
component
:
FlowChart
,
meta
:
{
title
:
'流程'
}
}
}
],
],
...
...
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