diff --git a/hb_client/src/api/mtm.js b/hb_client/src/api/mtm.js
index d9b80c4..317cbcb 100644
--- a/hb_client/src/api/mtm.js
+++ b/hb_client/src/api/mtm.js
@@ -268,4 +268,34 @@ export function deleterffield(id, data) {
method: 'delete',
data
})
+}
+//技术文件
+
+export function gettechdocList(query) {
+ return request({
+ url: '/mtm/techdoc/',
+ method: 'get',
+ params: query
+ })
+}
+export function createtechdoc(data) {
+ return request({
+ url: '/mtm/techdoc/',
+ method: 'post',
+ data
+ })
+}
+export function updatetechdoc(id, data) {
+ return request({
+ url: `/mtm/techdoc/${id}/`,
+ method: 'put',
+ data
+ })
+}
+export function deletetechdoc(id, data) {
+ return request({
+ url: `/mtm/techdoc/${id}/`,
+ method: 'delete',
+ data
+ })
}
\ No newline at end of file
diff --git a/hb_client/src/api/testModel.js b/hb_client/src/api/testModel.js
new file mode 100644
index 0000000..fc6204e
--- /dev/null
+++ b/hb_client/src/api/testModel.js
@@ -0,0 +1,8 @@
+import request from '@/utils/request'
+export function faceLogin(data) {
+ return request({
+ url: '/system/facelogin/',
+ method: 'post',
+ data
+ })
+}
diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js
index e1724b0..5a7774c 100644
--- a/hb_client/src/router/index.js
+++ b/hb_client/src/router/index.js
@@ -97,7 +97,7 @@ export const asyncRoutes = [
path: 'index',
name: 'index',
component: () => import('@/views/equipment/index'),
- meta: { title: '设备台账', icon: 'example', perms: ['index_manage'] }
+ meta: { title: '运维记录', icon: 'example', perms: ['index_manage'] }
}
]
},
diff --git a/hb_client/src/views/equipment/index.vue b/hb_client/src/views/equipment/index.vue
index 0943614..1826b5e 100644
--- a/hb_client/src/views/equipment/index.vue
+++ b/hb_client/src/views/equipment/index.vue
@@ -50,6 +50,9 @@
{{ scope.row.model }}
+
+
+ {{ type_[scope.row.type] }}
{{ scope.row.buy_date }}
@@ -66,6 +69,9 @@
{{ scope.row.description }}
+
+ {{ scope.row.create_time }}
+
+
+
+
+
+
+
+
@@ -127,6 +144,8 @@
+
+
@@ -220,6 +239,18 @@ export default {
equipmentList: {
count: 0,
},
+ type_: {
+ '1':'生产设备',
+ '2':'检验工具',
+
+ },
+ typeoptions: [{
+ value: 1,
+ label: '生产设备'
+ }, {
+ value: 2,
+ label: '检验工具'
+ }],
options: [{
value: 0,
label: '运转正常'
@@ -242,6 +273,7 @@ export default {
rule1: {
name: [{ required: true, message: "请输入", trigger: "blur" }],
number: [{ required: true, message: "请输入", trigger: "blur" }],
+ type: [{ required: true, message: "请输入", trigger: "blur" }],
model: [{ required: true, message: "请输入", trigger: "blur" }],
state: [{ required: true, message: "请选择", trigger: "blur" }],
belong_dept:[{ required: true, message: "请选择", trigger: "blur" }]
@@ -270,7 +302,7 @@ export default {
//组员列表
getUserList() {
getUserList({pageoff:true}).then((res) => {
- this.keeperOptions = genTree(res.data.results);
+ this.keeperOptions = genTree(res.data);
});
},
//部门列表
diff --git a/hb_client/src/views/inm/warehouse.vue b/hb_client/src/views/inm/warehouse.vue
index 9e9a3c3..eb6e1e9 100644
--- a/hb_client/src/views/inm/warehouse.vue
+++ b/hb_client/src/views/inm/warehouse.vue
@@ -52,7 +52,9 @@
{{ scope.row.place }}
-
+
+ {{ scope.row.create_time }}
+
{{ scope.row.unit }}
-
+
+ {{ scope.row.create_time }}
+
-
+
-
+
{
diff --git a/hb_client/src/views/mtm/process.vue b/hb_client/src/views/mtm/process.vue
index 73da57d..767628f 100644
--- a/hb_client/src/views/mtm/process.vue
+++ b/hb_client/src/views/mtm/process.vue
@@ -34,6 +34,9 @@
{{scope.row.instruction_.name}}
+
+
+ {{ scope.row.create_time }}
{
diff --git a/hb_client/src/views/mtm/productprocess.vue b/hb_client/src/views/mtm/productprocess.vue
index 64f2d16..e7f6676 100644
--- a/hb_client/src/views/mtm/productprocess.vue
+++ b/hb_client/src/views/mtm/productprocess.vue
@@ -73,29 +73,29 @@
新增
+
-
+
{{scope.row.material_.number}}
-
+
{{scope.row.material_.name}}
-
+
{{ scope.row.material_.unit }}
-
+
{{ scope.row.count }}
@@ -104,7 +104,6 @@
@@ -169,12 +168,10 @@
>新增
@@ -263,12 +260,10 @@
>新增
@@ -282,7 +277,6 @@
@@ -338,8 +332,88 @@
>新增
- 新增
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+ {{scope.row.file_.name}}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传文件
+
+
+
+
+
+ 取消
+ 确认
+
+
@@ -349,8 +423,9 @@
-
\ No newline at end of file
diff --git a/hb_client/src/views/mtm/step.vue b/hb_client/src/views/mtm/step.vue
index a0ea94c..e803b7f 100644
--- a/hb_client/src/views/mtm/step.vue
+++ b/hb_client/src/views/mtm/step.vue
@@ -1,17 +1,13 @@
-
-
新增子工序
-
-
+ >新增子工序
-
+
{{ scope.row.name }}
-
+
{{ scope.row.number }}
-
+
+
+ {{item.name}}
+
+
-
-
编辑编辑
删除删除
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+ :value="item.value">
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
+
+
+
+
+
-
+
+
+
+
+
+
+ 取消
+ 确认
+
+
-
-
-
-
- 过程记录表
-
- 新增
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
+
+
+
+
+ 过程记录表
+
+ 新增
+
+
+
+ {{ scope.row.name }}
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+ 记录字段
+
+ 新增
+
+
+
+
+ {{ options_[scope.row.field_type] }}
+
+
+
+ {{ scope.row.field_name }}
+
+
+
+ {{ scope.row.field_key }}
+
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
+
+ {{ scope.row.field_choice }}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
-
-
-
-
-
- 记录字段
-
- 新增
-
-
-
-
- {{ options_[scope.row.field_type] }}
-
-
-
- {{ scope.row.field_name }}
-
-
-
- {{ scope.row.field_key }}
-
-
- {{ scope.row.boolean_field_display }}
-
-
- {{ scope.row.field_choice }}
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/hb_client/src/views/mtm/stepdo.vue b/hb_client/src/views/mtm/stepdo.vue
index 30f7aa6..624906e 100644
--- a/hb_client/src/views/mtm/stepdo.vue
+++ b/hb_client/src/views/mtm/stepdo.vue
@@ -1,508 +1,508 @@
-
-
- {{stepDO.name}}
- {{stepDO.number}}
-
- {{item.name}}
-
- {{step.instruction_content}}
-
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
+
+
+ {{stepDO.name}}
+ {{stepDO.number}}
+
+ {{item.name}}
+
+ {{step.instruction_content}}
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+ {{ options_[scope.row.field_type] }}
+
+
+
+ {{ scope.row.field_name }}
+
+
+
+ {{ scope.row.field_key }}
+
+
+ {{ scope.row.boolean_field_display }}
+
+
+ {{ scope.row.field_choice }}
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+
+
+
-
-
-
- 新增
-
-
-
-
- {{ options_[scope.row.field_type] }}
-
-
-
- {{ scope.row.field_name }}
-
-
-
- {{ scope.row.field_key }}
-
-
- {{ scope.row.boolean_field_display }}
-
-
- {{ scope.row.field_choice }}
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 确认
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/hb_client/src/views/procurement/vendor.vue b/hb_client/src/views/procurement/vendor.vue
index b81b43d..9f1892e 100644
--- a/hb_client/src/views/procurement/vendor.vue
+++ b/hb_client/src/views/procurement/vendor.vue
@@ -58,7 +58,9 @@
{{ scope.row.description }}
-
+
+ {{ scope.row.create_time }}
+