diff --git a/src/api/mes/base/baseDeviceLedger.js b/src/api/mes/base/baseDeviceLedger.js
index 25171b1..d664715 100644
--- a/src/api/mes/base/baseDeviceLedger.js
+++ b/src/api/mes/base/baseDeviceLedger.js
@@ -42,3 +42,12 @@ export function delBaseDeviceLedger(objId) {
method: 'delete'
})
}
+
+// 查询设备台账下拉框列表
+export function getDeviceLedger(query) {
+ return request({
+ url: '/mes/base/baseDeviceLedger/getDeviceLedger',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/api/mes/base/baseTeamMembers.js b/src/api/mes/base/baseTeamMembers.js
index c8b0595..ca9f2b0 100644
--- a/src/api/mes/base/baseTeamMembers.js
+++ b/src/api/mes/base/baseTeamMembers.js
@@ -42,3 +42,12 @@ export function delBaseTeamMembers(objId) {
method: 'delete'
})
}
+
+// 查询班组信息列表
+export function getTeamMembers(query) {
+ return request({
+ url: '/mes/base/baseTeamMembers/getTeamMembers',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/views/ems/base/baseMonitorWorkUnit/index.vue b/src/views/ems/base/baseMonitorWorkUnit/index.vue
index 83b9e2e..6f43ece 100644
--- a/src/views/ems/base/baseMonitorWorkUnit/index.vue
+++ b/src/views/ems/base/baseMonitorWorkUnit/index.vue
@@ -185,7 +185,7 @@
{{ parseTime(scope.row.updatedTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
-
+
{
+ listBaseMonitorInfo({monitorType: this.queryParams.monitorType}).then(response => {
this.monitorInfoOptions = []
this.monitorInfoOptions = this.handleTree(response.data, 'objId', 'parentId')
})
@@ -526,6 +533,7 @@ export default {
// 节点单击事件
handleNodeClick(data) {
this.queryParams.workUnitCode = data.id
+ this.addWorkUnitCode = data.id
this.handleQuery()
}
}
diff --git a/src/views/mes/base/baseDeviceParam/index.vue b/src/views/mes/base/baseDeviceParam/index.vue
index 989c021..0aa00c5 100644
--- a/src/views/mes/base/baseDeviceParam/index.vue
+++ b/src/views/mes/base/baseDeviceParam/index.vue
@@ -94,6 +94,7 @@
+
@@ -103,7 +104,6 @@
-
@@ -155,6 +155,16 @@
+
+
+
+
+
@@ -177,9 +187,6 @@
>
-
-
-
@@ -210,6 +217,8 @@ import {
addBaseDeviceParam,
updateBaseDeviceParam
} from '@/api/mes/base/baseDeviceParam'
+import { getBaseProductLineList } from '@/api/mes/base/baseProductLine'
+import { getDeviceLedger } from '@/api/mes/base/baseDeviceLedger'
export default {
name: 'BaseDeviceParam',
@@ -273,10 +282,15 @@ export default {
{ key: 10, label: `创建时间`, visible: false },
{ key: 11, label: `更新人`, visible: false },
{ key: 12, label: `更新时间`, visible: false }
- ]
+ ],
+ // 设备选项
+ deviceLedgerList: []
}
},
created() {
+ getDeviceLedger().then(response => {
+ this.deviceLedgerList = response.data
+ })
this.getList()
},
methods: {
diff --git a/src/views/mes/base/baseMaterialInfo/index.vue b/src/views/mes/base/baseMaterialInfo/index.vue
index 772e2af..600b5a1 100644
--- a/src/views/mes/base/baseMaterialInfo/index.vue
+++ b/src/views/mes/base/baseMaterialInfo/index.vue
@@ -164,16 +164,16 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -308,13 +308,13 @@ export default {
{ key: 7, label: `单位工资(元)`, visible: true },
{ key: 8, label: `物料型号`, visible: true },
{ key: 9, label: `工厂编号`, visible: false },
- { key: 10, label: `生产工位`, visible: true },
+ { key: 10, label: `生产工位`, visible: false },
{ key: 11, label: `是否标识`, visible: true },
{ key: 12, label: `创建人`, visible: false },
{ key: 13, label: `创建时间`, visible: false },
{ key: 14, label: `更新人`, visible: false },
{ key: 15, label: `更新时间`, visible: false },
- { key: 16, label: `增量日期`, visible: true },
+ { key: 16, label: `增量日期`, visible: false },
{ key: 17, label: `商品编码`, visible: false },
{ key: 18, label: `商品名称`, visible: false }
],
@@ -323,9 +323,9 @@ export default {
}
},
created() {
- getBaseProductLineList({ productLineType: 2 }).then(response => {
- this.productLineList = response.data
- })
+ // getBaseProductLineList({ productLineType: 2 }).then(response => {
+ // this.productLineList = response.data
+ // })
this.getList()
},
methods: {
diff --git a/src/views/mes/base/baseStaffInfo/index.vue b/src/views/mes/base/baseStaffInfo/index.vue
index 0cbb4d9..67d1a90 100644
--- a/src/views/mes/base/baseStaffInfo/index.vue
+++ b/src/views/mes/base/baseStaffInfo/index.vue
@@ -112,7 +112,7 @@
-
+
@@ -173,8 +173,15 @@
-
-
+
+
+
+
@@ -222,6 +229,7 @@ import {
addBaseStaffInfo,
updateBaseStaffInfo
} from '@/api/mes/base/baseStaffInfo'
+import { getTeamMembers } from '@/api/mes/base/baseTeamMembers'
export default {
name: 'BaseStaffInfo',
@@ -292,10 +300,15 @@ export default {
{ key: 12, label: `更新者`, visible: false },
{ key: 13, label: `更新时间`, visible: false },
{ key: 14, label: `备注`, visible: false }
- ]
+ ],
+ // 班组选项
+ teamMembersList: []
}
},
created() {
+ getTeamMembers().then(response => {
+ this.teamMembersList = response.data
+ })
this.getList()
},
methods: {
diff --git a/src/views/mes/base/baseStation/index.vue b/src/views/mes/base/baseStation/index.vue
index ecbfc62..84cd62e 100644
--- a/src/views/mes/base/baseStation/index.vue
+++ b/src/views/mes/base/baseStation/index.vue
@@ -110,8 +110,8 @@
-
-
+
+
@@ -207,11 +207,11 @@
-
-
+
+
-
-
+
+