Commit e2fb9534 authored by 周远喜's avatar 周远喜

ok

parent bf1f23c2
This diff is collapsed.
...@@ -14,33 +14,45 @@ ...@@ -14,33 +14,45 @@
<Filed :span="12" :name="l('endDate') + ':'">{{ <Filed :span="12" :name="l('endDate') + ':'">{{
entity.endDate entity.endDate
}}</Filed> }}</Filed>
</Row> </Row>
</div> </div>
<ul> <ul>
<li> <li>
<a @click="details"> <Icon type="ios-log-in" />详情 </a> <a @click="details">
&nbsp; <Icon type="ios-log-in" />详情
<span>|</span> </a>
</li> &nbsp;
<li> <span>|</span>
<a @click="template"> <Icon type="ios-photos" />模版</a> </li>
&nbsp; <li>
<span>|</span> <a @click="template">
</li> <Icon type="ios-photos" />模版
<li> </a>
<a @click="task"> <Icon type="md-create" />任务 </a> &nbsp;
&nbsp; <span>|</span>
<span>|</span> </li>
</li> <li>
<li> <a @click="task">
<a @click="group"> <Icon type="md-create" />成员 </a> <Icon type="md-create" />任务
<span>|</span> </a>
</li> &nbsp;
<li> <span>|</span>
<a @click="task"> <Icon type="md-create" />动态 </a> </li>
<span>|</span> <li>
</li> <a @click="groupUser">
</ul> <Icon type="md-create" />成员
</a>
&nbsp;
<span>|</span>
</li>
<li>
<a @click="task">
<Icon type="md-create" />动态
</a>
&nbsp;
<span>|</span>
</li>
</ul>
</div> </div>
<div class="body-document"> <div class="body-document">
<h4 v-text="title"></h4> <h4 v-text="title"></h4>
...@@ -91,14 +103,45 @@ export default { ...@@ -91,14 +103,45 @@ export default {
} }
this.detail = () => import("./details"); this.detail = () => import("./details");
}, },
group() { methods: {
// this.curId = this.eid; load(v) {
this.title = "成员管理"; Api.get({
this.detail = () => import("../groupUser/index1"); id: v
}, }).then((r) => {
l(key) { this.entity = r.result;
key = "project_main" + "." + key; // this.$emit("on-load");
return this.$t(key); });
},
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: { watch: {
eid(v) { eid(v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment