zengyicheng 1 年間 前
コミット
2c6cb6c8f7

+ 1 - 1
dist/index.html

@@ -24,4 +24,4 @@
             height: 100%;
             width: 100%;
             background: #e6eaf0;
-        }</style><link href=./static/css/app.2b67e5add3fa5bc1a558b1fdbaf864b4.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.f73e1f5407603f6a733b.js></script><script type=text/javascript src=./static/js/vendor.0c21445a4cd992a83ee9.js></script><script type=text/javascript src=./static/js/app.d82b9f6a1c8322203099.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>
+        }</style><link href=./static/css/app.300222d70c63887657ac075fcbaa6f3d.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.f73e1f5407603f6a733b.js></script><script type=text/javascript src=./static/js/vendor.0c21445a4cd992a83ee9.js></script><script type=text/javascript src=./static/js/app.1e586cc28fca4bdef012.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>

ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/css/app.300222d70c63887657ac075fcbaa6f3d.css


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/css/app.300222d70c63887657ac075fcbaa6f3d.css.map


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/app.1e586cc28fca4bdef012.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/app.1e586cc28fca4bdef012.js.map


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/app.d82b9f6a1c8322203099.js


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/app.d82b9f6a1c8322203099.js.map


ファイルの差分が大きいため隠しています
+ 0 - 0
dist/static/js/manifest.f73e1f5407603f6a733b.js.map


+ 57 - 47
src/components/pages/disAdmin/anliList.vue

@@ -116,18 +116,18 @@
           </div>
         </div>
       </div>
-    </div>
-    <div class="student_page">
-      <el-pagination
-        background
-        layout="prev, pager, next"
-        :page-size="10"
-        :total="total"
-        v-if="page && tableData.length"
-        style="padding-bottom: 20px"
-        @current-change="handleCurrentChange"
-      >
-      </el-pagination>
+      <div class="student_page">
+        <el-pagination
+          background
+          layout="prev, pager, next"
+          :page-size="10"
+          :total="total"
+          v-if="page && tableData.length"
+          style="padding-bottom: 20px"
+          @current-change="handleCurrentChange"
+        >
+        </el-pagination>
+      </div>
     </div>
     <el-dialog
       title="分配案例"
@@ -449,26 +449,51 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      let value = /^\d+$/.test(e);
-      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
-      if (value == true) {
-        if (e < 0) {
-          this.$message.error("请输入大于0的数值");
-          if (t == 1) {
-            this.scoreDetail[0].scoreAll.first = "";
-          } else if (t == 2) {
-            this.scoreDetail[0].scoreAll.second = "";
-          } else {
-            this.scoreDetail[0].scoreAll.third = "";
+      if (e.includes(".")) {
+        this.$message.error("暂时不支持小数点评分");
+        if (t == 1) {
+          this.scoreDetail[0].scoreAll.first = "";
+        } else if (t == 2) {
+          this.scoreDetail[0].scoreAll.second = "";
+        } else {
+          this.scoreDetail[0].scoreAll.third = "";
+        }
+      } else {
+        let value = /^\d+$/.test(e);
+        // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+        if (value == true) {
+          if (e < 0) {
+            this.$message.error("请输入大于0的数值");
+            if (t == 1) {
+              this.scoreDetail[0].scoreAll.first = "";
+            } else if (t == 2) {
+              this.scoreDetail[0].scoreAll.second = "";
+            } else {
+              this.scoreDetail[0].scoreAll.third = "";
+            }
+            //  else if (t == 4) {
+            //   this.scoreDetail[0].scoreAll.fourth = "";
+            // } else {
+            //   this.scoreDetail[0].scoreAll.fivth = "";
+            // }
+            return;
+          } else if (e > 100) {
+            this.$message.error("数值不能大于100");
+            if (t == 1) {
+              this.scoreDetail[0].scoreAll.first = "";
+            } else if (t == 2) {
+              this.scoreDetail[0].scoreAll.second = "";
+            } else {
+              this.scoreDetail[0].scoreAll.third = "";
+            }
+            //  else if (t == 4) {
+            //   this.scoreDetail[0].scoreAll.fourth = "";
+            // } else {
+            //   this.scoreDetail[0].scoreAll.fivth = "";
+            // }
+            return;
           }
-          //  else if (t == 4) {
-          //   this.scoreDetail[0].scoreAll.fourth = "";
-          // } else {
-          //   this.scoreDetail[0].scoreAll.fivth = "";
-          // }
-          return;
-        } else if (e > 100) {
-          this.$message.error("数值不能大于100");
+        } else {
           if (t == 1) {
             this.scoreDetail[0].scoreAll.first = "";
           } else if (t == 2) {
@@ -481,25 +506,10 @@ export default {
           // } else {
           //   this.scoreDetail[0].scoreAll.fivth = "";
           // }
+          this.$message.error("请输入数字");
           return;
         }
-      } else {
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else {
-          this.scoreDetail[0].scoreAll.third = "";
-        }
-        //  else if (t == 4) {
-        //   this.scoreDetail[0].scoreAll.fourth = "";
-        // } else {
-        //   this.scoreDetail[0].scoreAll.fivth = "";
-        // }
-        this.$message.error("请输入数字");
-        return;
       }
-
       // value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       // value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;

+ 3 - 0
src/components/pages/disAdmin/score.vue

@@ -365,6 +365,9 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
+      if(e.includes('.')){
+        this.$message.error("暂时不支持小数点评分");
+      }
       let value = /^\d+$/.test(e);
       // let value = e.replace(/[^d]/g, ""); // 只能输入数字
       if (value == true) {

+ 57 - 46
src/components/pages/munAdmin/anliList.vue

@@ -95,18 +95,18 @@
           </div>
         </div>
       </div>
-    </div>
-    <div class="student_page">
-      <el-pagination
-        background
-        layout="prev, pager, next"
-        :page-size="10"
-        :total="total"
-        v-if="page && tableData.length"
-        style="padding-bottom: 20px"
-        @current-change="handleCurrentChange"
-      >
-      </el-pagination>
+      <div class="student_page">
+        <el-pagination
+          background
+          layout="prev, pager, next"
+          :page-size="10"
+          :total="total"
+          v-if="page && tableData.length"
+          style="padding-bottom: 20px"
+          @current-change="handleCurrentChange"
+        >
+        </el-pagination>
+      </div>
     </div>
     <el-dialog
       title="分配案例"
@@ -421,26 +421,51 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      let value = /^\d+$/.test(e);
-      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
-      if (value == true) {
-        if (e < 0) {
-          this.$message.error("请输入大于0的数值");
-          if (t == 1) {
-            this.scoreDetail[0].scoreAll.first = "";
-          } else if (t == 2) {
-            this.scoreDetail[0].scoreAll.second = "";
-          } else {
-            this.scoreDetail[0].scoreAll.third = "";
+      if (e.includes(".")) {
+        this.$message.error("暂时不支持小数点评分");
+        if (t == 1) {
+          this.scoreDetail[0].scoreAll.first = "";
+        } else if (t == 2) {
+          this.scoreDetail[0].scoreAll.second = "";
+        } else {
+          this.scoreDetail[0].scoreAll.third = "";
+        }
+      } else {
+        let value = /^\d+$/.test(e);
+        // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+        if (value == true) {
+          if (e < 0) {
+            this.$message.error("请输入大于0的数值");
+            if (t == 1) {
+              this.scoreDetail[0].scoreAll.first = "";
+            } else if (t == 2) {
+              this.scoreDetail[0].scoreAll.second = "";
+            } else {
+              this.scoreDetail[0].scoreAll.third = "";
+            }
+            //  else if (t == 4) {
+            //   this.scoreDetail[0].scoreAll.fourth = "";
+            // } else {
+            //   this.scoreDetail[0].scoreAll.fivth = "";
+            // }
+            return;
+          } else if (e > 100) {
+            this.$message.error("数值不能大于100");
+            if (t == 1) {
+              this.scoreDetail[0].scoreAll.first = "";
+            } else if (t == 2) {
+              this.scoreDetail[0].scoreAll.second = "";
+            } else {
+              this.scoreDetail[0].scoreAll.third = "";
+            }
+            //  else if (t == 4) {
+            //   this.scoreDetail[0].scoreAll.fourth = "";
+            // } else {
+            //   this.scoreDetail[0].scoreAll.fivth = "";
+            // }
+            return;
           }
-          //  else if (t == 4) {
-          //   this.scoreDetail[0].scoreAll.fourth = "";
-          // } else {
-          //   this.scoreDetail[0].scoreAll.fivth = "";
-          // }
-          return;
-        } else if (e > 100) {
-          this.$message.error("数值不能大于100");
+        } else {
           if (t == 1) {
             this.scoreDetail[0].scoreAll.first = "";
           } else if (t == 2) {
@@ -453,23 +478,9 @@ export default {
           // } else {
           //   this.scoreDetail[0].scoreAll.fivth = "";
           // }
+          this.$message.error("请输入数字");
           return;
         }
-      } else {
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else {
-          this.scoreDetail[0].scoreAll.third = "";
-        }
-        //  else if (t == 4) {
-        //   this.scoreDetail[0].scoreAll.fourth = "";
-        // } else {
-        //   this.scoreDetail[0].scoreAll.fivth = "";
-        // }
-        this.$message.error("请输入数字");
-        return;
       }
       // value = e.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       // value = e.replace(/(d{15})d*/, "$1"); // 最多保留15位整数

+ 3 - 0
src/components/pages/munAdmin/score.vue

@@ -365,6 +365,9 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
+      if(e.includes('.')){
+        this.$message.error("暂时不支持小数点评分");
+      }
       let value = /^\d+$/.test(e);
       // let value = e.replace(/[^d]/g, ""); // 只能输入数字
       if (value == true) {

+ 57 - 47
src/components/pages/proAdmin/anliList.vue

@@ -88,18 +88,18 @@
           </div>
         </div>
       </div>
-    </div>
-    <div class="student_page">
-      <el-pagination
-        background
-        layout="prev, pager, next"
-        :page-size="10"
-        :total="total"
-        v-if="page && tableData.length"
-        style="padding-bottom: 20px"
-        @current-change="handleCurrentChange"
-      >
-      </el-pagination>
+      <div class="student_page">
+        <el-pagination
+          background
+          layout="prev, pager, next"
+          :page-size="10"
+          :total="total"
+          v-if="page && tableData.length"
+          style="padding-bottom: 20px"
+          @current-change="handleCurrentChange"
+        >
+        </el-pagination>
+      </div>
     </div>
     <el-dialog
       title="分配案例"
@@ -345,26 +345,51 @@ export default {
       this.$router.push(path);
     },
     isNumber(e, t) {
-      let value = /^\d+$/.test(e);
-      // let value = e.replace(/[^d]/g, ""); // 只能输入数字
-      if (value == true) {
-        if (e < 0) {
-          this.$message.error("请输入大于0的数值");
-          if (t == 1) {
-            this.scoreDetail[0].scoreAll.first = "";
-          } else if (t == 2) {
-            this.scoreDetail[0].scoreAll.second = "";
-          } else {
-            this.scoreDetail[0].scoreAll.third = "";
+      if (e.includes(".")) {
+        this.$message.error("暂时不支持小数点评分");
+        if (t == 1) {
+          this.scoreDetail[0].scoreAll.first = "";
+        } else if (t == 2) {
+          this.scoreDetail[0].scoreAll.second = "";
+        } else {
+          this.scoreDetail[0].scoreAll.third = "";
+        }
+      } else {
+        let value = /^\d+$/.test(e);
+        // let value = e.replace(/[^d]/g, ""); // 只能输入数字
+        if (value == true) {
+          if (e < 0) {
+            this.$message.error("请输入大于0的数值");
+            if (t == 1) {
+              this.scoreDetail[0].scoreAll.first = "";
+            } else if (t == 2) {
+              this.scoreDetail[0].scoreAll.second = "";
+            } else {
+              this.scoreDetail[0].scoreAll.third = "";
+            }
+            //  else if (t == 4) {
+            //   this.scoreDetail[0].scoreAll.fourth = "";
+            // } else {
+            //   this.scoreDetail[0].scoreAll.fivth = "";
+            // }
+            return;
+          } else if (e > 100) {
+            this.$message.error("数值不能大于100");
+            if (t == 1) {
+              this.scoreDetail[0].scoreAll.first = "";
+            } else if (t == 2) {
+              this.scoreDetail[0].scoreAll.second = "";
+            } else {
+              this.scoreDetail[0].scoreAll.third = "";
+            }
+            //  else if (t == 4) {
+            //   this.scoreDetail[0].scoreAll.fourth = "";
+            // } else {
+            //   this.scoreDetail[0].scoreAll.fivth = "";
+            // }
+            return;
           }
-          //  else if (t == 4) {
-          //   this.scoreDetail[0].scoreAll.fourth = "";
-          // } else {
-          //   this.scoreDetail[0].scoreAll.fivth = "";
-          // }
-          return;
-        } else if (e > 100) {
-          this.$message.error("数值不能大于100");
+        } else {
           if (t == 1) {
             this.scoreDetail[0].scoreAll.first = "";
           } else if (t == 2) {
@@ -377,25 +402,10 @@ export default {
           // } else {
           //   this.scoreDetail[0].scoreAll.fivth = "";
           // }
+          this.$message.error("请输入数字");
           return;
         }
-      } else {
-        if (t == 1) {
-          this.scoreDetail[0].scoreAll.first = "";
-        } else if (t == 2) {
-          this.scoreDetail[0].scoreAll.second = "";
-        } else {
-          this.scoreDetail[0].scoreAll.third = "";
-        }
-        //  else if (t == 4) {
-        //   this.scoreDetail[0].scoreAll.fourth = "";
-        // } else {
-        //   this.scoreDetail[0].scoreAll.fivth = "";
-        // }
-        this.$message.error("请输入数字");
-        return;
       }
-
       // value = value.replace(/^0+(d)/, "$1"); // 第一位0开头,0后面为数字,则过滤掉,取后面的数字
       // value = value.replace(/(d{15})d*/, "$1"); // 最多保留15位整数
       // this.height = value;

+ 3 - 0
src/components/pages/race/eventCenter/anliDetail.vue

@@ -2427,6 +2427,9 @@ export default {
     //   }
     // },
     isNumber(e, t) {
+      if(e.includes('.')){
+        this.$message.error("暂时不支持小数点评分");
+      }
       let value = /^\d+$/.test(e);
       // let value = e.replace(/[^d]/g, ""); // 只能输入数字
       if (value == true) {

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません