mo пре 4 година
родитељ
комит
59dcb08647

+ 1 - 0
package.json

@@ -29,6 +29,7 @@
     "normalize.css": "7.0.0",
     "npm": "^6.13.0",
     "nprogress": "0.2.0",
+    "numeral": "^2.0.6",
     "path-to-regexp": "2.4.0",
     "qrcodejs2": "0.0.2",
     "qs": "^6.8.0",

+ 7 - 4
src/views/teamBuild/components/teamBaseInfo.vue

@@ -429,6 +429,7 @@ import {
 import { scrollTo } from "@/utils/scroll-to";
 import axios from "axios";
 import store from "@/store";
+import numeral from 'numeral'
 import qs from "qs";
 export default {
   name: "teamBaseInfo",
@@ -1244,14 +1245,16 @@ export default {
 }
 </style>
 <style lang="scss" scoped>
-// /deep/.el-input__inner {
-//   width: 215px !important;
-// }
-
 /deep/.el-date-editor {
   width: 180px !important;
 }
 /deep/.el-checkbox {
   margin-left: 15px !important;
 }
+/deep/.el-input {
+  position: relative;
+  font-size: 14px;
+  display: inline-block;
+  width: 180px;
+}
 </style>

+ 6 - 1
src/views/teamDetail/components/resetClass.vue

@@ -427,6 +427,7 @@
             <span>开始时间</span>
             <el-time-select placeholder
                             v-model.trim="item.startClassTime"
+                            @change="(val)=>{changeStartClassTime(item)}"
                             :picker-options="{
                                start: '04:30',
                                step: '00:05',
@@ -1601,6 +1602,9 @@ export default {
 
       }
 
+    },
+    changeStartClassTime (item) {
+      item.endClassTime = ''
     }
   },
   watch: {
@@ -1634,7 +1638,8 @@ export default {
           memo: []
         };
       }
-    }
+    },
+
   }
 };
 </script>

+ 1 - 0
src/views/teamDetail/teamList.vue

@@ -291,6 +291,7 @@ export default {
       if (this.$route.query.rules) {
         this.$route.query.rules instanceof Object ? this.rules = this.$route.query.rules : this.rules = JSON.parse(this.$route.query.rules);
       }
+
       sessionStorage.setItem('resetCode', '1')
       this.getList();
       getEmployeeOrgan().then(res => {