|
|
@@ -212,33 +212,6 @@
|
|
|
return task
|
|
|
})
|
|
|
.forEach(task => task.projtaskmag_optionscore = this.calculate(task.projtaskmag_optionscore))
|
|
|
- // // 判断是否选中数据,若无数据则自动取消勾选
|
|
|
- // val.length === 0?this.form.onstage = 0:""
|
|
|
- // this.projectStage = val
|
|
|
- // // 判断客户对象是否有数据,若有数据指循环插入阶段数据
|
|
|
- // if (this.partiesType.length > 0) {
|
|
|
- // let arr = []
|
|
|
- // val.forEach(ele => {
|
|
|
- // this.optionscore.forEach(opt => {
|
|
|
- // arr.push({
|
|
|
- // "sa_projtaskmag_optionscoreid":0,
|
|
|
- // "partiestype": opt.partiestype,
|
|
|
- // "stagename":ele.stagename,
|
|
|
- // "sa_projstagemagid": ele.sa_projstagemagid,
|
|
|
- // "score": 0
|
|
|
- // })
|
|
|
- // });
|
|
|
- // })
|
|
|
- // this.optionscore = this.tool.sortArr(arr,'partiestype')
|
|
|
- // } else {
|
|
|
- // this.optionscore = val.map(e=>{
|
|
|
- // return {
|
|
|
- // partiestype:e.partiestype,
|
|
|
- // stagename:e.stagename,
|
|
|
- // sa_projstagemagid: ele.sa_projstagemagid,
|
|
|
- // }
|
|
|
- // })
|
|
|
- // }
|
|
|
|
|
|
|
|
|
},
|