fenghy 3 rokov pred
rodič
commit
269ab82fa6

+ 0 - 4
src/util/filters.js

@@ -1,4 +0,0 @@
-//金额千分符
-export function thousandsFormatting(amount) {
-    return this.textFormat(amount,'#,##0.00')
-}

+ 8 - 5
src/views/workManagement/service-items/type.vue

@@ -21,8 +21,7 @@
 </template>
 
 <script>
-  import option from "./configuration/mainList.json";
-
+import option from "./configuration/mainList.json";
 export default {
   data() {
     return {
@@ -92,6 +91,10 @@ export default {
       }
     };
   },
+  created() {},
+  mounted() {
+    option.height = window.innerHeight - 350;
+  },
   methods: {
     getList() {
       this.loading = true;
@@ -110,7 +113,7 @@ export default {
       }, 1000);
     },
     searchChange(params, done) {
-      this.getList(this.page,params);
+      this.getList(this.page, params);
       done();
     },
     sizeChange(val) {
@@ -146,8 +149,8 @@ export default {
       console.log(row, column, cell, event);
       this.$refs.crud.rowEdit(row);
     },
-    saveColumn(row, column){
-      console.log(row, column)
+    saveColumn(row, column) {
+      console.log(row, column);
     }
   }
 };