This commit is contained in:
2023-06-26 14:18:24 +08:00
parent 0bf859f615
commit b8796c15a2
10 changed files with 3076 additions and 3066 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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

View File

@@ -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

View File

@@ -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 () {

View File

@@ -408,7 +408,7 @@ export default {
},
mounted () {
this._workshopCondition()
// this.refresh()
this.refresh()
},
beforeDestroy () {
clearInterval(this.timer)

View File

@@ -339,7 +339,7 @@ export default {
mounted () {
this._sortingAndPackagingPopover()
this._workshopCondition()
// this.refresh()
this.refresh()
},
beforeDestroy () {
clearInterval(this.timer)

View File

@@ -171,7 +171,7 @@ export default {
},
mounted () {
this._sortingAndPackaging()
// this.refresh()
this.refresh()
},
beforeDestroy () {
clearInterval(this.timer)

View File

@@ -807,7 +807,7 @@ export default {
this._workshopCondition()
this._moldingMaterialCondition()
this._trappedMaterialCondition()
// this.refresh()
this.refresh()
},
beforeDestroy () {
clearInterval(this.timer)

View File

@@ -193,7 +193,7 @@ export default {
},
mounted () {
this._moldingTableDate()
// this.refresh()
this.refresh()
},
beforeDestroy () {
clearInterval(this.timer)

View File

@@ -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 = {