操作屏
This commit is contained in:
@@ -326,9 +326,9 @@ export default {
|
|||||||
this.buttonName = name
|
this.buttonName = name
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
crudProduceScreen.regionList().then(res => {
|
crudProduceScreen.regionList().then(res => {
|
||||||
this.machineData = [...res]
|
this.machineData = [...res.content]
|
||||||
this.show = true
|
this.show = true
|
||||||
this.options2 = [...res]
|
this.options2 = [...res.content]
|
||||||
})
|
})
|
||||||
} else if (type === 2 && name in this.pointState) {
|
} else if (type === 2 && name in this.pointState) {
|
||||||
crudProduceScreen.regionOrder(this.pointState[name]).then(res => {
|
crudProduceScreen.regionOrder(this.pointState[name]).then(res => {
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ export function regionList() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// export function regionList() {
|
// export function regionList() {
|
||||||
// const res = [
|
// const res = {
|
||||||
|
// content: [
|
||||||
// { value: '111-02', label: 'TP5000冲床加工' },
|
// { value: '111-02', label: 'TP5000冲床加工' },
|
||||||
// { value: '111 03', label: '警平' },
|
// { value: '111 03', label: '警平' },
|
||||||
// { value: '111-04', label: '激光切闻' },
|
// { value: '111-04', label: '激光切闻' },
|
||||||
@@ -27,6 +28,7 @@ export function regionList() {
|
|||||||
// { value: '111-23', label: '压铆机' },
|
// { value: '111-23', label: '压铆机' },
|
||||||
// { value: '111-24', label: '斯图加特焊接机器人' }
|
// { value: '111-24', label: '斯图加特焊接机器人' }
|
||||||
// ]
|
// ]
|
||||||
|
// }
|
||||||
// return new Promise((resolve, reject) => {
|
// return new Promise((resolve, reject) => {
|
||||||
// resolve(res)
|
// resolve(res)
|
||||||
// })
|
// })
|
||||||
|
|||||||
Reference in New Issue
Block a user