操作屏

This commit is contained in:
2024-08-20 17:52:42 +08:00
parent 6ef2e737c5
commit 7880fa5605
2 changed files with 23 additions and 21 deletions

View File

@@ -326,9 +326,9 @@ export default {
this.buttonName = name
if (type === 1) {
crudProduceScreen.regionList().then(res => {
this.machineData = [...res]
this.machineData = [...res.content]
this.show = true
this.options2 = [...res]
this.options2 = [...res.content]
})
} else if (type === 2 && name in this.pointState) {
crudProduceScreen.regionOrder(this.pointState[name]).then(res => {

View File

@@ -8,7 +8,8 @@ export function regionList() {
})
}
// export function regionList() {
// const res = [
// const res = {
// content: [
// { value: '111-02', label: 'TP5000冲床加工' },
// { value: '111 03', label: '警平' },
// { value: '111-04', label: '激光切闻' },
@@ -27,6 +28,7 @@ export function regionList() {
// { value: '111-23', label: '压铆机' },
// { value: '111-24', label: '斯图加特焊接机器人' }
// ]
// }
// return new Promise((resolve, reject) => {
// resolve(res)
// })