| | |
| | | return {
|
| | | sendMsg: '',
|
| | | recviceMsg: '',
|
| | | baseList: [{
|
| | | baseList: [
|
| | | /* {
|
| | | id: 1010,
|
| | | img: '',
|
| | | title: '维修模式',
|
| | | name: 'warning'
|
| | | }, */
|
| | | {
|
| | | id: 1010,
|
| | | img: '',
|
| | | title: '维修模式',
|
| | | name: 'warning'
|
| | | title: '干燥启动',
|
| | | name: 'play-circle'
|
| | | },
|
| | | {
|
| | | id: 0,
|
| | |
| | | title: '停止运行',
|
| | | name: 'pause-circle'
|
| | | },
|
| | | {
|
| | | id: 1001,
|
| | | img: '',
|
| | | title: '风箱升',
|
| | | name: 'arrow-up'
|
| | | }, |
| | | { |
| | | id: 1003, |
| | | img: '', |
| | | title: '滚筒升', |
| | | name: 'arrow-upward' |
| | | }, |
| | | // {
|
| | | // id: 1001,
|
| | | // img: '',
|
| | | // title: '风箱升',
|
| | | // name: 'arrow-up'
|
| | | // }, |
| | | { |
| | | id: 1005, |
| | | img: '', |
| | |
| | | name: 'checkmark-circle' |
| | | },
|
| | | {
|
| | | id: 1002,
|
| | | id: 1003,
|
| | | img: '',
|
| | | title: '风箱降',
|
| | | name: 'arrow-down'
|
| | | title: '滚筒升',
|
| | | name: 'arrow-upward'
|
| | | }, |
| | | { |
| | | id: 1011, |
| | | img: '', |
| | | title: '前门开关', |
| | | name: 'plus-circle' |
| | | },
|
| | | |
| | | |
| | | // {
|
| | | // id: 1002,
|
| | | // img: '',
|
| | | // title: '风箱降',
|
| | | // name: 'arrow-down'
|
| | | // }, |
| | | { |
| | | id: 1006, |
| | | img: '', |
| | | title: '滚筒反转', |
| | | name: 'close-circle' |
| | | },
|
| | |
|
| | | {
|
| | | id: 1004,
|
| | | img: '',
|
| | | title: '滚筒降',
|
| | | name: 'arrow-downward'
|
| | | }, |
| | | { |
| | | id: 1012, |
| | | img: '', |
| | | title: '后门开关', |
| | | name: 'minus-circle' |
| | | }, |
| | | { |
| | | id: 1013, |
| | | img: '', |
| | | title: '热风启动', |
| | | name: 'coupon' |
| | | },
|
| | | |
| | |
|
| | | {
|
| | | id: 1006,
|
| | | id: 1014,
|
| | | img: '',
|
| | | title: '滚筒反转',
|
| | | name: 'close-circle'
|
| | | },
|
| | | title: '开门观察',
|
| | | name: 'eye'
|
| | | }, |
| | | { |
| | | id: 1015, |
| | | img: '', |
| | | title: '出料', |
| | | name: 'shopping-cart' |
| | | },{ |
| | | id: 1016, |
| | | img: '', |
| | | title: '清除', |
| | | name: 'trash' |
| | | },{ |
| | | id: 1017, |
| | | img: '', |
| | | title: '手动/自动', |
| | | name: 'fingerprint' |
| | | }
|
| | |
|
| | | |
| | | ]
|
| | | }
|
| | | },
|
| | |
| | | parmas.tenantId = 1003
|
| | | parmas.machineId = 'GM001'
|
| | |
|
| | | this.sendMsg = '发送:' + this.formatData() + JSON.stringify(parmas)
|
| | | this.sendMsg = '发送:' + this.formatData() + JSON.stringify(parmas)
|
| | | this.recviceMsg = ''
|
| | | console.info(parmas)
|
| | | this.$api.sendCommand(parmas).then((res) => {
|
| | |
| | | }
|
| | |
|
| | | }).finally(() => {
|
| | | |
| | |
|
| | | })
|
| | | },
|
| | | formatData() {
|