Commit 99cd7b56 by 蒋勇

d

parent 38a54565
......@@ -35,7 +35,7 @@
:border="border"
:show-header="showHeader"
:width="width"
:height="height"
:height="tblheight"
:loading="loading"
:disabled-hover="disabledHover"
:highlight-row="highlightRow"
......@@ -188,10 +188,14 @@ export default {
edittingCellId: "",
edittingText: "",
searchValue: "",
searchKey: ""
searchKey: "",
tblheight:300
};
},
methods: {
getHeight(){
return window.innerHeight - this.$refs.tablesMain.$el.offsetTop - 160
},
advSearch() {
this.$emit("on-adv-search");
},
......@@ -386,10 +390,17 @@ export default {
//if (this.searchable) this.handleSearch();
}
},
create(){
},
mounted() {
this.handleColumns(this.columns);
this.setDefaultSearchKey();
this.handleTableData();
this.tblheight=this.getHeight()
$(window).resize(()=>{
this.tblheight=this.getHeight()
})
},
computed: {
searchcols: function() {
......
......@@ -3,7 +3,7 @@ export default {
* @description 配置显示在浏览器标签的title
*/
title: '智慧中台 ',
appkey:'3dd193ff-9a39-4d96-87ef-f7af75c49fb3',
appkey:'cbb91171-3c68-49f9-b27f-fa38daa376ee',
/**
* @description token在Cookie中存储的天数,默认1天
*/
......
......@@ -604,3 +604,6 @@ export default [
component: () => import('@/view/error-page/404.vue')
}
]
......@@ -68,7 +68,7 @@
v-model="showedform"
width="70"
@on-visible-change="ondrawvisable"
style="paading-bottom:200px"
>
<Forms
ref="edform"
......
<template>
<div>
<Card style="height:100%;padding-bottom:60px;border-radius:0px">
<Card ref="formcard" style="padding-bottom:60px;border-radius:0px">
<p slot="title">
<Icon type="ios-paper-outline"/>
{{forminfo.name}}
......@@ -101,6 +101,7 @@
type="textarea"
:placeholder="ctl.placeHolder"
:style="ctl.style"
:autosize="{minRows:20,maxRows:50}"
/>
</template>
</FormItem>
......@@ -380,7 +381,11 @@ export default {
created() {
this.initFormModel();
},
mounted() {}
mounted() {
$(window).resize(()=>{
// this.$refs.formcard.
})
}
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment