{{formaterByDicts(scope.row,'source',scope.row.source)}}
@@ -270,7 +264,7 @@
-
+
{{formaterByDicts(scope.row,'dlvl',scope.row.dlvl)}}
@@ -282,7 +276,7 @@
-
+
@@ -295,7 +289,7 @@
-
+
迭代
关联
+
+
+
+ {{scope.row.iterationName}}
+
+
+
+
+
+
+
-
+
- 任务数
+ 任务数
{{scope.row.finishTaskCnt}}/{{scope.row.taskCnt}}
-
+
{{scope.row.finishRate}}%
-
+
- 缺陷
+ 缺陷
{{scope.row.closedBugs}}/{{scope.row.bugCnt}}
-
+
+
+
+
+ {{scope.row.tagNames}}
+
+
+ 选标签
+
+
-
+
{{scope.row.ctime}}
-
+
{{scope.row.mmUsername}}
@@ -397,6 +411,10 @@
+
+
+
+
0){
+ if(!this.sels.some(k=>k.menuId==row.menuId)){
+ this.$notify({showClose:true,message:'请操作选中的行或者取消选中的行再操作其它行',type:'warning'})
+ return;
+ }
+ params.menuIds=this.sels.map(i=>i.menuId)
+ }
+ if(fieldName==='iterationId'){
+ if($event){
+ params[fieldName]=$event.id;
+ params.iterationName=$event.iterationName
+ }else{
+ return;
+ }
+ }else if(fieldName==='tagIds'){
+ if($event){
+ params[fieldName]=$event.map(i=>i.tagId).join(",");
+ params.tagNames=$event.map(i=>i.tagName).join(",");
+ }else{
+ return;
+ }
+ }else {
+ params[fieldName]=$event;
+ }
+
editXmMenuSomeFields(params).then(res=>{
var tips = res.data.tips;
if(tips.isOk){
+ if(this.sels.length>0){
+ this.sels.forEach(i=>{
+ i[fieldName]=params[fieldName]
+ if(fieldName==='iterationId'){
+ i['iterationName']=params['iterationName']
+ }
+ if(fieldName==='tagIds'){
+ i['tagNames']=params['tagNames']
+ i['tagIds']=params['tagIds']
+ this.fieldTagVisible=false;
+ }
+ })
+ }else{
+ if(fieldName==='tagIds'){
+ row['tagNames']=params['tagNames']
+ row['tagIds']=params['tagIds']
+ this.fieldTagVisible=false;
+ }
+ }
}else{
this.$notify({showClose:true,message:tips.msg,type:tips.isOk?'success':'error'})
}
@@ -1206,6 +1273,7 @@
XmMenuMngBatch,
TagMng,
XmMenuSelect,
+ XmItSelect,
//在下面添加其它组件
},
mounted() {