Commit 0072a823 authored by renjintao's avatar renjintao

Merge branch 'master' of git.mes123.com:zhouyx/mes-ui

parents 5d0438de a033b525
...@@ -283,10 +283,10 @@ export default { ...@@ -283,10 +283,10 @@ export default {
}, },
created() { created() {
this.getUserInfoFn() this.getUserInfoFn()
this.byheight = window.innerHeight - 230 + 'px' this.byheight = window.innerHeight - 208 + 'px'
}, },
mounted() { mounted() {
this.byheight = window.innerHeight - 150 + 'px' this.byheight = window.innerHeight - 208 + 'px'
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
......
...@@ -172,13 +172,13 @@ export default { ...@@ -172,13 +172,13 @@ export default {
} }
}, },
created(){ created(){
this.tableHeight = window.innerHeight - 170 this.tableHeight = window.innerHeight - 220
}, },
mounted() { mounted() {
window.onresize = () => {///浏览器窗口大小变化 window.onresize = () => {///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.tableHeight = window.screenHeight - 150 this.tableHeight = window.screenHeight - 220
})() })()
} }
}, },
......
...@@ -171,14 +171,14 @@ export default { ...@@ -171,14 +171,14 @@ export default {
} }
}, },
created(){ created(){
this.tableHeight = window.innerHeight - 170 this.tableHeight = window.innerHeight - 220
}, },
mounted() { mounted() {
// console.log(this) // console.log(this)
window.onresize = () => {///浏览器窗口大小变化 window.onresize = () => {///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.tableHeight = window.screenHeight - 150 this.tableHeight = window.screenHeight - 220
})() })()
} }
}, },
......
...@@ -196,14 +196,14 @@ export default { ...@@ -196,14 +196,14 @@ export default {
}, },
created() { created() {
this.getWeekTypeListFn() this.getWeekTypeListFn()
this.tableHeight = window.innerHeight - 170 this.tableHeight = window.innerHeight - 220
}, },
mounted() { mounted() {
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.tableHeight = window.screenHeight - 150 this.tableHeight = window.screenHeight - 220
})() })()
} }
}, },
......
...@@ -184,13 +184,13 @@ export default { ...@@ -184,13 +184,13 @@ export default {
} }
}, },
created(){ created(){
this.tableHeight = window.innerHeight - 170 this.tableHeight = window.innerHeight - 220
}, },
mounted() { mounted() {
window.onresize = () => {///浏览器窗口大小变化 window.onresize = () => {///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.tableHeight = window.screenHeight - 150 this.tableHeight = window.screenHeight - 220
})() })()
} }
}, },
......
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
}, },
created() { created() {
this.laoedPage() this.laoedPage()
this.tbHeight = window.innerHeight - 210 this.tbHeight = window.innerHeight - 280
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
...@@ -428,7 +428,7 @@ this.laoedPage() ...@@ -428,7 +428,7 @@ this.laoedPage()
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
this.tbHeight = window.innerHeight - 210 this.tbHeight = window.innerHeight - 280
})() })()
} }
} }
......
...@@ -261,7 +261,7 @@ export default { ...@@ -261,7 +261,7 @@ export default {
}, },
created() { created() {
this.laoed() this.laoed()
this.tbHeight = window.innerHeight - 210 this.tbHeight = window.innerHeight - 280
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
...@@ -438,7 +438,7 @@ export default { ...@@ -438,7 +438,7 @@ export default {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
// window.screenHeight = window.innerHeight // window.screenHeight = window.innerHeight
this.tbHeight = window.innerHeight - 210 this.tbHeight = window.innerHeight - 280
})() })()
} }
} }
......
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
} }
}, },
created() { created() {
this.tabHeight = window.innerHeight - 150 this.tabHeight = window.innerHeight - 260
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
this.tabHeight = window.innerHeight - 150 this.tabHeight = window.innerHeight - 260
})() })()
} }
}, },
......
...@@ -296,7 +296,7 @@ content="查看"; ...@@ -296,7 +296,7 @@ content="查看";
}, },
created(){ created(){
this.laode(); this.laode();
this.tbHeight = window.innerHeight - 160 this.tbHeight = window.innerHeight - 190
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
...@@ -406,7 +406,7 @@ content="查看"; ...@@ -406,7 +406,7 @@ content="查看";
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.tbHeight = window.screenHeight - 160 this.tbHeight = window.screenHeight - 190
})() })()
} }
}, },
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
</div> </div>
<Button type="primary" class="title_btn" @click='searchModel'>高级查询</Button> <Button type="primary" class="title_btn" @click='searchModel'>高级查询</Button>
</div> </div>
<div class="tableBox mb10"> <div class="tableBox mb10" :style="{height:tbHeight}">
<!-- :height="tbHeight" -->
<div class="table"> <div class="table">
<div v-if="listTask.length==0" class="wu_data">暂无数据</div>
<Card class="card" v-for="(item,index) in listTask" <Card class="card" v-for="(item,index) in listTask"
:key="index"> :key="index">
<h3 slot="title"> <h3 slot="title">
...@@ -227,6 +227,7 @@ export default { ...@@ -227,6 +227,7 @@ export default {
data1: [], data1: [],
noData: false, noData: false,
selectdata: [], selectdata: [],
tbHeight:"550px",
itemData:{},//追溯传的数据 itemData:{},//追溯传的数据
actValue:1,//追溯传的选中meniu actValue:1,//追溯传的选中meniu
orderSearchForm: { //高级搜索字段内容 orderSearchForm: { //高级搜索字段内容
...@@ -264,7 +265,7 @@ export default { ...@@ -264,7 +265,7 @@ export default {
}, },
created(){ created(){
this.laode(); this.laode();
// this.tbHeight = window.innerHeight - 500 this.tbHeight = window.innerHeight - 208 + 'px'
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
...@@ -405,16 +406,14 @@ export default { ...@@ -405,16 +406,14 @@ export default {
return arry return arry
}, },
}, },
// mounted() { mounted() {
// window.onresize = () => { window.onresize = () => {
// ///浏览器窗口大小变化 ///浏览器窗口大小变化
// return (() => { return (() => {
// window.screenHeight = window.innerHeight this.tbHeight = window.innerHeight - 208 + 'px'
// this.tbHeight = window.screenHeight - 500 })()
// console.log(this.tbHeight) }
// })() },
// }
// },
} }
</script> </script>
<style scoped> <style scoped>
...@@ -434,7 +433,7 @@ ul,li{ ...@@ -434,7 +433,7 @@ ul,li{
} }
.tableBox{ .tableBox{
/* height: 582px; 笔记本高度*/ /* height: 582px; 笔记本高度*/
height: 778px; /* height: 778px; */
border: #ddd solid 1px; border: #ddd solid 1px;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
...@@ -454,6 +453,10 @@ ul,li{ ...@@ -454,6 +453,10 @@ ul,li{
width: 388px; width: 388px;
margin: 10px 0 10px 20px; margin: 10px 0 10px 20px;
} }
.wu_data{
margin: 200px auto;
font-size: 18px;
}
/* .card_body01{ /* .card_body01{
margin: 0 0 10px 0; margin: 0 0 10px 0;
} */ } */
......
...@@ -278,7 +278,7 @@ export default { ...@@ -278,7 +278,7 @@ export default {
}, },
created(){ created(){
this.laode(); this.laode();
this.tbHeight = window.innerHeight - 160 this.tbHeight = window.innerHeight - 200
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典 await store.dispatch('loadDictionary') // 加载数据字典
...@@ -389,7 +389,7 @@ export default { ...@@ -389,7 +389,7 @@ export default {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.tbHeight = window.screenHeight - 160 this.tbHeight = window.screenHeight - 200
})() })()
} }
}, },
......
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