Browse Source

十率六量

sunyanqiang 3 years ago
parent
commit
97ad01aa2d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/combatduty/RateOfTen/index.vue

+ 3 - 3
src/views/combatduty/RateOfTen/index.vue

@@ -803,14 +803,14 @@ export default {
       //   满编率
       var data = [
         {
-          value: this.form.bzrs,
+          value: this.form.sjrs,
           name: "实际人数",
         },
         {
           value: this.form.sjrs,
         },
       ];
-      data[1].value = this.form.sjrs - data[0].value;
+      data[1].value = this.form.bzrs - data[0].value;
       let data11 = this.form.sjrs;
       var option = {
         tooltip: {
@@ -856,7 +856,7 @@ export default {
                     `{value|${(0).toFixed()}%}` + "\n" + "\n" + `{name|满编率}`;
                   return s;
                 } else {
-                  var n = _this.form.bzrs / _this.form.sjrs;
+                  var n = _this.form.sjrs / _this.form.bzrs;
                   var s =
                     `{value|${(n * 100).toFixed()}%}` +
                     "\n" +