Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
cfb568a4
Commit
cfb568a4
authored
Oct 30, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日期范围选择和显示
parent
fe006db7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
22 deletions
+44
-22
dateRange.vue
components/page/dateRange.vue
+6
-5
edit.vue
pages/project/plan/edit.vue
+36
-17
index.vue
pages/project/plan/index.vue
+2
-0
No files found.
components/page/dateRange.vue
View file @
cfb568a4
...
...
@@ -128,17 +128,18 @@ export default {
<
style
lang=
"less"
>
.time-view {
display: inline-block;
.jian-tou {
min-width: 55px;
span{size: 12px}
span.jian-tou {
min-width:60px;
text-align: center;
padding: 0 5px 2px 5px
;
display: inline-block
;
background-image: url("../../assets/imgicon/range.png");
background-size: 100%;
background-repeat: no-repeat;
background-position:
bottom right
;
background-position:
100% 80%
;
// border-bottom: #eee 2px solid;
size: 12px;
font-weight: bold
;
color: orange
;
}
}
</
style
>
pages/project/plan/edit.vue
View file @
cfb568a4
<
template
>
<
template
>
<Form
ref=
"form"
:model=
"entity"
:rules=
"rules"
:label-width=
"90"
>
<Row>
<!--
<Col
:span=
"12"
...
...
@@ -51,6 +51,23 @@
><FormItem
:label=
"l('upId')"
prop=
"upId"
>
<Input
v-model=
"entity.upId"
></Input>
</FormItem
></Col>
-->
<Col
:span=
"12"
><FormItem
:label=
"l('type')"
prop=
"type"
>
<Dictionary
code=
"mes.project_plan.Type"
v-model=
"entity.type"
type=
"radio"
></Dictionary>
</FormItem
></Col>
<Col
:span=
"12"
><FormItem
:label=
"l('direction')"
prop=
"direction"
>
<Dictionary
code=
"mes.project_plan.direction"
v-model=
"entity.direction"
type=
"radio"
></Dictionary>
</FormItem
></Col>
<Col
:span=
"24"
><FormItem
:label=
"l('title')"
prop=
"title"
>
<Input
v-model=
"entity.title"
>
</Input>
</FormItem
...
...
@@ -73,32 +90,34 @@
></Col>
<Col
:span=
"12"
><FormItem
:label=
"l('startDate')"
prop=
"startDate"
>
<DatePicker
type=
"date"
v-model=
"entity.startDate"
></DatePicker>
</FormItem
<DateRange
v-model=
"entity"
edit
></DateRange>
</FormItem
></Col>
<Col
:span=
"12"
<
!--
<
Col
:span=
"12"
><FormItem
:label=
"l('endDate')"
prop=
"endDate"
>
<DatePicker
type=
"date"
v-model=
"entity.endDate"
></DatePicker>
</FormItem
></Col>
></Col>
-->
<Col
:span=
"12"
><FormItem
:label=
"l('type')"
prop=
"type"
>
><FormItem
:label=
"l('executor')"
prop=
"executor"
>
<UserGroup
v-model=
"entity.executor"
multiple
:projectId=
"v.projectId"
></UserGroup>
</FormItem>
</Col>
<Col
:span=
"12"
><FormItem
:label=
"l('deliverable')"
prop=
"deliverable"
>
<Dictionary
code=
"mes.project_plan.
Typ
e"
v-model=
"entity.
typ
e"
code=
"mes.project_plan.
deliverabl
e"
v-model=
"entity.
deliverabl
e"
type=
"radio"
></Dictionary>
</FormItem
></Col>
<Col
:span=
"12"
><FormItem
:label=
"l('executor')"
prop=
"executor"
>
<UserGroup
v-model=
"entity.executor"
multiple
:projectId=
"entity.projectId"
></UserGroup>
></Dictionary>
</FormItem>
</Col
>
</Col>
<Col
:span=
"24"
><FormItem
:label=
"l('attachment')"
prop=
"attachment"
>
<files
...
...
pages/project/plan/index.vue
View file @
cfb568a4
...
...
@@ -86,6 +86,7 @@ export default {
key
:
"direction"
,
title
:
this
.
l
(
"direction"
),
align
:
"center"
,
code
:
"mes.project_plan.direction"
,
width
:
80
,
easy
:
true
,
high
:
true
,
...
...
@@ -137,6 +138,7 @@ export default {
{
key
:
"deliverable"
,
title
:
this
.
l
(
"deliverable"
),
code
:
"mes.project_plan.deliverable"
,
width
:
80
,
align
:
"center"
,
easy
:
true
,
...
...
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