Commit 6307ab39 authored by 周远喜's avatar 周远喜

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

parents f256f612 e8f1904c
...@@ -48,10 +48,10 @@ ...@@ -48,10 +48,10 @@
} }
.dispatch_card02{ .dispatch_card02{
margin: 10px 0; margin: 10px 0;
padding-left: 0!important; // padding-left: 0!important;
padding-right: 0!important; // padding-right: 0!important;
.man_body{ .man_body{
max-width: 187px; max-width: 185px;
label{ label{
border-radius: 24px; border-radius: 24px;
width: 100%; width: 100%;
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
</div> </div>
<div class="man" v-if="button2 == '人员'"> <div class="man" v-if="button2 == '人员'">
<!-- {{peploeId}} @on-change="setpepoleid" @on-change="setpepoleids"--> <!-- {{peploeId}} @on-change="setpepoleid" @on-change="setpepoleids"-->
<Row> <Row :gutter="15">
<Col span="8" class="dispatch_card02" v-for="(item,index) in listMan" :key="index"> <Col span="8" class="dispatch_card02" v-for="(item,index) in listMan" :key="index">
<CheckboxGroup class="man_body"> <CheckboxGroup class="man_body">
<Checkbox v-model="item.checked" border class> <Checkbox v-model="item.checked" border class>
...@@ -283,10 +283,10 @@ export default { ...@@ -283,10 +283,10 @@ export default {
}, },
created() { created() {
this.getUserInfoFn() this.getUserInfoFn()
this.byheight = window.innerHeight - 150 + '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
})() })()
} }
}, },
......
...@@ -84,8 +84,8 @@ export default { ...@@ -84,8 +84,8 @@ export default {
} }
}, },
watch: { watch: {
"v.id"() { v(v) {
this.entity = this.$clone(this.v) this.entity = this.v
console.info(this.entity) console.info(this.entity)
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<Avatar :src="avatorPath" size="150" /> <Avatar :src="avatorPath" size="150" />
</p> </p>
<p style="text-align:center;padding:10px;"> <p style="text-align:center;padding:10px;">
<Button ghost @click="openModalAvatar">修改头像</Button> <Button @click="openModalAvatar">修改头像</Button>
</p> </p>
</div> </div>
</Card> </Card>
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
upAvatar() { upAvatar() {
if (this.imageModel.avatar_Url != '') { if (this.imageModel.avatar_Url != '') {
this.$http.sysUser.changeavatar(this.imageModel).then((res) => { this.$http.sysUser.changeavatar(this.imageModel).then((res) => {
if (res.data.result) { if (res.success) {
this.$Message.success('修改成功!') this.$Message.success('修改成功!')
this.modalAvatar = false this.modalAvatar = false
this.$store.commit( this.$store.commit(
......
...@@ -51,11 +51,10 @@ ...@@ -51,11 +51,10 @@
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
.main_card{ .main_card{
width: 32%; width: calc(33% - 6px);
cursor: pointer; cursor: pointer;
float: left; float: left;
// display: inline-block; margin: 10px 4px;
margin: 10px 5px;
.leftIcon { .leftIcon {
width: 40px; width: 40px;
height: 40px; height: 40px;
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
<Input <Input
search search
enter-button enter-button
class="w240 mr10 fl" class=" mr10 fl"
style="width:240px"
v-model="searchIterms" v-model="searchIterms"
placeholder="请输入编号、名称" placeholder="请输入编号、名称"
@on-search="easySearch" @on-search="easySearch"
......
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
<Input <Input
search search
enter-button enter-button
class="w240 mr10 fl" class=" mr10 fl"
style="width:240px"
v-model="searchIterms" v-model="searchIterms"
placeholder="请输入订单编号" placeholder="请输入订单编号"
@on-search="easySearch" @on-search="easySearch"
......
...@@ -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