运营驾驶舱对接
This commit is contained in:
@@ -65,13 +65,13 @@ export default {
|
||||
*/
|
||||
factoryData() { // 整合原始数据 + 计算flag
|
||||
return {
|
||||
completeRate: this.monData.proportion ? Number(this.monData.proportion) : 0,
|
||||
diff: this.monData.diffValue,
|
||||
real: this.monData.value,
|
||||
target: this.monData.targetValue,
|
||||
thb: this.monData.thb,
|
||||
completeRate: this.monData.rate ? Number(this.monData.rate) : 0,
|
||||
diff: this.monData.diff,
|
||||
real: this.monData.real,
|
||||
target: this.monData.target,
|
||||
thb: this.monData.momRate,
|
||||
// ...rawData,
|
||||
flag: this.monData.completed // 新增flag字段
|
||||
flag: this.monData.rate >= 100 ? 1 : 0,
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user