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