diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index 2299d8e..8a4caec 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -141,6 +141,18 @@ export const asyncRoutes = [
name: 'detection ',
component: () => import('@/views/em/detection'),
meta: { title: '监视和测量设备', icon: 'example', perms: ['index_manage'] }
+ },
+ {
+ path: 'equipment',
+ name: 'equipment',
+ component: () => import('@/views/em/equipment'),
+ meta: { title: '校准检定记录', icon: 'example', perms: ['index_manage'] }
+ },
+ {
+ path: 'detection ',
+ name: 'detection ',
+ component: () => import('@/views/em/detection'),
+ meta: { title: '运维记录', icon: 'example', perms: ['index_manage'] }
}
]
},
diff --git a/hb_client/src/views/em/detection.vue b/hb_client/src/views/em/detection.vue
index 5b7f1d9..d4cb95b 100644
--- a/hb_client/src/views/em/detection.vue
+++ b/hb_client/src/views/em/detection.vue
@@ -70,6 +70,10 @@
{{ usetype_[scope.row.way] }}
+
+ {{ state_[scope.row.statedm] }}
+
+ state_
{{ scope.row.keeper_.username }}
@@ -329,6 +333,14 @@ export default {
value: 2,
label: '公用'
}],
+ state_:{
+ 0:'合格',
+ 1:'准用',
+ 2:'限用',
+ 3:'禁用',
+ 4:'停用',
+ 5:'封存',
+ },
options: [{
value: 0,
label: '合格'
diff --git a/hb_client/src/views/em/equipment.vue b/hb_client/src/views/em/equipment.vue
index a7df237..18a95b5 100644
--- a/hb_client/src/views/em/equipment.vue
+++ b/hb_client/src/views/em/equipment.vue
@@ -64,7 +64,20 @@
{{ scope.row.count }}
- {{ state_[scope.row.state] }}
+
+
+ {{ state_[scope.row.state] }}
+
+
+ {{ state_[scope.row.state] }}
+
+
+ {{ state_[scope.row.state] }}
+
+
+ {{ state_[scope.row.state] }}
+
+
{{ scope.row.parameter }}
diff --git a/hb_client/src/views/sam/customer.vue b/hb_client/src/views/sam/customer.vue
index bb6bea7..66fa455 100644
--- a/hb_client/src/views/sam/customer.vue
+++ b/hb_client/src/views/sam/customer.vue
@@ -33,7 +33,7 @@
{
if (response.data) {
- this.warehouseList = response.data;
+ this.customerList = response.data;
}
this.listLoading = false;
});
diff --git a/hb_server/apps/em/models.py b/hb_server/apps/em/models.py
index 0b1e5a6..961e429 100644
--- a/hb_server/apps/em/models.py
+++ b/hb_server/apps/em/models.py
@@ -74,4 +74,4 @@ class Equipment(CommonBModel):
def __str__(self):
return self.number + '-' + self.name
-
\ No newline at end of file
+