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
e2fb9534
Commit
e2fb9534
authored
Oct 27, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
bf1f23c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
321 additions
and
303 deletions
+321
-303
index.vue
pages/project/plan/index.vue
+243
-268
detail.vue
pages/project/project/detail.vue
+78
-35
No files found.
pages/project/plan/index.vue
View file @
e2fb9534
This diff is collapsed.
Click to expand it.
pages/project/project/detail.vue
View file @
e2fb9534
...
...
@@ -14,33 +14,45 @@
<Filed
:span=
"12"
:name=
"l('endDate') + ':'"
>
{{
entity
.
endDate
}}
</Filed>
</Row>
</div>
<ul>
<li>
<a
@
click=
"details"
>
<Icon
type=
"ios-log-in"
/>
详情
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"template"
>
<Icon
type=
"ios-photos"
/>
模版
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"task"
>
<Icon
type=
"md-create"
/>
任务
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"group"
>
<Icon
type=
"md-create"
/>
成员
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"task"
>
<Icon
type=
"md-create"
/>
动态
</a>
<span>
|
</span>
</li>
</ul>
</Row>
</div>
<ul>
<li>
<a
@
click=
"details"
>
<Icon
type=
"ios-log-in"
/>
详情
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"template"
>
<Icon
type=
"ios-photos"
/>
模版
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"task"
>
<Icon
type=
"md-create"
/>
任务
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"groupUser"
>
<Icon
type=
"md-create"
/>
成员
</a>
<span>
|
</span>
</li>
<li>
<a
@
click=
"task"
>
<Icon
type=
"md-create"
/>
动态
</a>
<span>
|
</span>
</li>
</ul>
</div>
<div
class=
"body-document"
>
<h4
v-text=
"title"
></h4>
...
...
@@ -91,14 +103,45 @@ export default {
}
this
.
detail
=
()
=>
import
(
"./details"
);
},
group
()
{
// this.curId = this.eid;
this
.
title
=
"成员管理"
;
this
.
detail
=
()
=>
import
(
"../groupUser/index1"
);
},
l
(
key
)
{
key
=
"project_main"
+
"."
+
key
;
return
this
.
$t
(
key
);
methods
:
{
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
((
r
)
=>
{
this
.
entity
=
r
.
result
;
// this.$emit("on-load");
});
},
details
()
{
this
.
title
=
"详细信息"
;
this
.
detail
=
()
=>
import
(
"./details"
);
},
template
()
{
// this.curId = this.eid;
this
.
title
=
"项目模板"
;
this
.
detail
=
()
=>
import
(
"../plan"
);
},
task
()
{
this
.
curId
=
this
.
eid
;
this
.
title
=
"任务"
;
//this.detail = () => import("../task/index");
this
.
$router
.
push
({
name
:
"project-task"
,
params
:
{
id
:
this
.
curId
}
});
},
groupUser
()
{
// this.curId = this.eid;
this
.
title
=
"任务"
;
// this.detail = () => import("./add");
},
l
(
key
)
{
key
=
"project_main"
+
"."
+
key
;
return
this
.
$t
(
key
);
},
},
watch
:
{
eid
(
v
)
{
...
...
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