|
@@ -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);
|
|
|
}
|
|
|
}
|
|
|
};
|