|
@@ -1093,8 +1093,23 @@ export default {
|
|
|
} else {
|
|
|
//计算指标
|
|
|
this.setComputedDialogForm(res.Data,type);
|
|
|
- this.computed_type =[47,48].includes(Source)?'joint': Source;
|
|
|
- this.computed_type = [72,73].includes(Source)? 'alpha': Source;
|
|
|
+
|
|
|
+ switch (Source) {
|
|
|
+ case 47:
|
|
|
+ case 48:
|
|
|
+ this.computed_type = 'joint';
|
|
|
+ break
|
|
|
+ case 72:
|
|
|
+ case 73:
|
|
|
+ this.computed_type = 'alpha';
|
|
|
+ break
|
|
|
+ default:
|
|
|
+ this.computed_type = Source;
|
|
|
+ break
|
|
|
+ }
|
|
|
+
|
|
|
+ // this.computed_type =[47,48].includes(Source)?'joint': Source;
|
|
|
+ // this.computed_type = [72,73].includes(Source)? 'alpha': Source;
|
|
|
}
|
|
|
|
|
|
})
|