数据
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -58,7 +58,7 @@ export default {
|
|||||||
.select-item-txt
|
.select-item-txt
|
||||||
width calc(100% - 50px)
|
width calc(100% - 50px)
|
||||||
_font(15px, inherit, #999,,left)
|
_font(15px, inherit, #999,,left)
|
||||||
padding 0 10px
|
// padding 0 10px
|
||||||
.select-item-button
|
.select-item-button
|
||||||
position relative
|
position relative
|
||||||
_wh(50px, inherit)
|
_wh(50px, inherit)
|
||||||
@@ -72,7 +72,7 @@ export default {
|
|||||||
border-top 5px solid #999
|
border-top 5px solid #999
|
||||||
position absolute
|
position absolute
|
||||||
right 13px
|
right 13px
|
||||||
top 13px
|
top 17px
|
||||||
pointer-events none
|
pointer-events none
|
||||||
z-index 3
|
z-index 3
|
||||||
.options
|
.options
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<input type="text" class="inputStyle" v-model="baseUrl">
|
<input type="text" class="inputStyle" v-model="baseUrl">
|
||||||
</div>
|
</div>
|
||||||
<div class="inputOuter">
|
<div class="inputOuter">
|
||||||
<label>刷新时间</label>
|
<label>刷新时间(秒)</label>
|
||||||
<input type="number" class="inputStyle" v-model="setTime">
|
<input type="number" class="inputStyle" v-model="setTime">
|
||||||
</div>
|
</div>
|
||||||
<div class="inputOuter">
|
<div class="inputOuter">
|
||||||
@@ -80,6 +80,10 @@ export default {
|
|||||||
this.index = e
|
this.index = e
|
||||||
},
|
},
|
||||||
_config () {
|
_config () {
|
||||||
|
if (this.setTime > 10800) {
|
||||||
|
this.toast('刷新时间设置过长')
|
||||||
|
return
|
||||||
|
}
|
||||||
let obj = {
|
let obj = {
|
||||||
baseUrl: this.baseUrl,
|
baseUrl: this.baseUrl,
|
||||||
setTime: this.setTime * 1000,
|
setTime: this.setTime * 1000,
|
||||||
@@ -206,7 +210,7 @@ export default {
|
|||||||
width 100%
|
width 100%
|
||||||
margin-bottom 12px
|
margin-bottom 12px
|
||||||
.inputStyle, .select-wraper
|
.inputStyle, .select-wraper
|
||||||
_wh(calc(100% - 100px), 38px)
|
_wh(calc(100% - 116px), 38px)
|
||||||
font-size 15px
|
font-size 15px
|
||||||
background none
|
background none
|
||||||
line-height 38px
|
line-height 38px
|
||||||
@@ -228,7 +232,7 @@ export default {
|
|||||||
outline none
|
outline none
|
||||||
font-weight normal
|
font-weight normal
|
||||||
label
|
label
|
||||||
width 100px
|
width 115px
|
||||||
font-size 15px
|
font-size 15px
|
||||||
line-height 38px
|
line-height 38px
|
||||||
color #333333
|
color #333333
|
||||||
|
|||||||
@@ -684,7 +684,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this._workshopCondition()
|
this._workshopCondition()
|
||||||
// this.refresh()
|
this.refresh()
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
@@ -699,8 +699,17 @@ export default {
|
|||||||
let res = await workshopCondition()
|
let res = await workshopCondition()
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.HLDayList = [...res.result.HLDayList]
|
this.HLDayList = [...res.result.HLDayList]
|
||||||
|
if (this.HLDayList.length) {
|
||||||
|
this.setEchart1()
|
||||||
|
}
|
||||||
this.YZDayList = [...res.result.YZDayList]
|
this.YZDayList = [...res.result.YZDayList]
|
||||||
|
if (this.YZDayList.length) {
|
||||||
|
this.setEchart2()
|
||||||
|
}
|
||||||
this.CPDayList = [...res.result.CPDayList]
|
this.CPDayList = [...res.result.CPDayList]
|
||||||
|
if (this.CPDayList.length) {
|
||||||
|
this.setEchart3()
|
||||||
|
}
|
||||||
this.PressMachineList = [...res.result.PressMachineList]
|
this.PressMachineList = [...res.result.PressMachineList]
|
||||||
this.MixMachineList = [...res.result.MixMachineList]
|
this.MixMachineList = [...res.result.MixMachineList]
|
||||||
this.MixBlankingList = [...res.result.MixBlankingList]
|
this.MixBlankingList = [...res.result.MixBlankingList]
|
||||||
@@ -708,9 +717,6 @@ export default {
|
|||||||
this.StackingPositionList = [...res.result.StackingPositionList]
|
this.StackingPositionList = [...res.result.StackingPositionList]
|
||||||
this.TrappedMaterialShelfList = [...res.result.TrappedMaterialShelfList]
|
this.TrappedMaterialShelfList = [...res.result.TrappedMaterialShelfList]
|
||||||
this.ManipulatorInfoList = [...res.result.ManipulatorInfoList]
|
this.ManipulatorInfoList = [...res.result.ManipulatorInfoList]
|
||||||
this.setEchart1()
|
|
||||||
this.setEchart2()
|
|
||||||
this.setEchart3()
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setEchart1 () {
|
setEchart1 () {
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this._workshopCondition()
|
this._workshopCondition()
|
||||||
// this.refresh()
|
this.refresh()
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
this._sortingAndPackagingPopover()
|
this._sortingAndPackagingPopover()
|
||||||
this._workshopCondition()
|
this._workshopCondition()
|
||||||
// this.refresh()
|
this.refresh()
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this._sortingAndPackaging()
|
this._sortingAndPackaging()
|
||||||
// this.refresh()
|
this.refresh()
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
|
|||||||
@@ -807,7 +807,7 @@ export default {
|
|||||||
this._workshopCondition()
|
this._workshopCondition()
|
||||||
this._moldingMaterialCondition()
|
this._moldingMaterialCondition()
|
||||||
this._trappedMaterialCondition()
|
this._trappedMaterialCondition()
|
||||||
// this.refresh()
|
this.refresh()
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this._moldingTableDate()
|
this._moldingTableDate()
|
||||||
// this.refresh()
|
this.refresh()
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const state = {
|
|||||||
alertMsg: '操作成功',
|
alertMsg: '操作成功',
|
||||||
baseUrl: getStore('baseUrl') || baseUrl,
|
baseUrl: getStore('baseUrl') || baseUrl,
|
||||||
setTime: getStore('setTime') || 5000,
|
setTime: getStore('setTime') || 5000,
|
||||||
equipId: getStore('equipId') || 1
|
equipId: getStore('equipId') || '1'
|
||||||
}
|
}
|
||||||
|
|
||||||
const actions = {
|
const actions = {
|
||||||
|
|||||||
Reference in New Issue
Block a user