Commit 99cd7b56 by 蒋勇

d

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