|
@@ -28,7 +28,7 @@
|
|
|
<el-aside :style="'padding-left:10px;padding-right:5px;height:'+tableHeight+'px;width:'+groupWidth+'px;'">
|
|
|
<el-input v-model="groupSearch" size="small" placeholder="搜索分组" @input="startSearchGroup" style="margin-top:10px"/>
|
|
|
<p ><span class="heavyTxt">任务分组</span> <i class="el-icon-plus pull-right" style="color:#666;margin-right:10px;" @click="createGroup"></i></p>
|
|
|
- <el-menu :default-active="defaultGroupId" class="el-menu-vertical-demo" @select="groupChange" style="border-right:none;">
|
|
|
+ <el-menu :default-active="defaultGroupId" ref="defaultMenu" class="el-menu-vertical-demo" @select="groupChange" style="border-right:none;">
|
|
|
<el-menu-item :index="item.id" v-for="item in groupList" :key="item.id" class="group_style">
|
|
|
<div slot="title">
|
|
|
<span >{{item.name}}</span>
|
|
@@ -126,6 +126,9 @@
|
|
|
<el-dropdown trigger="click" style="float:right;cursor:pointer;">
|
|
|
<i class="el-icon-more" ></i>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item @click.native="addTask(stage)">
|
|
|
+ <i class="el-icon-document-add"></i>
|
|
|
+ 创建任务</el-dropdown-item>
|
|
|
<el-dropdown-item @click.native="renameStage(stage)">
|
|
|
<i class="el-icon-edit"></i>
|
|
|
重命名列表</el-dropdown-item>
|
|
@@ -1686,6 +1689,8 @@
|
|
|
this.selectedGroup = this.groupList.filter(g=>g.id == index)[0];
|
|
|
this.getStageList();
|
|
|
this.displayTable = false;
|
|
|
+ console.log("1223");
|
|
|
+ this.$forceUpdate()
|
|
|
},
|
|
|
//本地搜索组
|
|
|
startSearchGroup() {
|
|
@@ -1717,6 +1722,7 @@
|
|
|
if (this.groupList.length > 0) {
|
|
|
this.defaultGroupId = this.groupList[0].id;
|
|
|
this.selectedGroup = this.groupList[0];
|
|
|
+ this.groupChange(this.defaultGroupId)
|
|
|
} else {
|
|
|
this.selectedGroup = {};
|
|
|
}
|
|
@@ -2027,7 +2033,6 @@
|
|
|
// for(let i=0;i<this.gstimhour.length;i++){
|
|
|
// exeList[i].planHours = this.gstimhour[i]
|
|
|
// }
|
|
|
- console.log("jc",exeList);
|
|
|
|
|
|
for (var i=0;i<exeList.length;i++) {
|
|
|
var findSameUser = false;
|