diff --git a/hb_client/src/views/em/equipment.vue b/hb_client/src/views/em/equipment.vue
index 1ed7500..a0e596a 100644
--- a/hb_client/src/views/em/equipment.vue
+++ b/hb_client/src/views/em/equipment.vue
@@ -2,34 +2,40 @@
- 新增设备
-
- 搜索
- 重置
-
-
+
+ 新增设备
+
+
+
+ 搜索
+
+
+ 重置
+
+
-
+
-
-
- {{ scope.row.name }}
+
+
-
-
- {{ scope.row.number }}
+
-
- {{ scope.row.model }}
+
-
- {{ scope.row.factory }}
+
-
- {{ scope.row.production_date }}
+
-
- {{ scope.row.buy_date }}
+
-
- {{ scope.row.count }}
+
-
+
- {{ state_[scope.row.state] }}
+ {{ state_[scope.row.state] }}
- {{ state_[scope.row.state] }}
+ {{ state_[scope.row.state] }}
-
- {{ state_[scope.row.state] }}
+
+ {{ state_[scope.row.state] }}
-
- {{ state_[scope.row.state] }}
+
+ {{ state_[scope.row.state] }}
-
+
-
+
{{ scope.row.parameter }}
-
+
{{ scope.row.keeper_.username }}
-
+
{{ scope.row.place }}
-
-
+
+
{{item.name}}
-
-
+ :value="item.number">{{item.name}}
+
{{ scope.row.description }}
-
-
-
编辑
+ 编辑
+
删除
+ 删除
+
@@ -146,72 +142,70 @@
label-position="right"
:rules="rule1"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
+ :value="item.value">
+
+
+
+
+
-
-
-
-
-
-
-
-
-
取消
@@ -277,33 +259,33 @@
diff --git a/hb_client/src/views/em/monitoring.vue b/hb_client/src/views/em/monitoring.vue
index 995dadb..99d78d7 100644
--- a/hb_client/src/views/em/monitoring.vue
+++ b/hb_client/src/views/em/monitoring.vue
@@ -2,9 +2,14 @@
- 新增设备
+ 新增设备
+
搜索
+ 搜索
+
重置
+ 重置
+
-
+
{{ scope.row.number }}
-
- {{
- mgmtype_[scope.row.mgmtype]
- }}
+
+ {{mgmtype_[scope.row.mgmtype]}}
+
-
+
{{ waytype_[scope.row.way] }}
@@ -63,13 +68,12 @@
-
- {{scope.row.next_check_date}}
-
-
+
+ {{scope.row.next_check_date}}
+
+
+
-
{{ scope.row.name }}
@@ -83,23 +87,20 @@
{{ usetype_[scope.row.way] }}
-
+
- {{ state_[scope.row.state] }}
+ {{ state_[scope.row.state] }}
-
-
- {{ state_[scope.row.state] }}
+
+ {{ state_[scope.row.state] }}
-
-
+
-
- {{
- scope.row.keeper_.username
- }}
+
+ {{scope.row.keeper_.username}}
+
{{ scope.row.place }}
@@ -111,28 +112,30 @@
:key="item.number"
:label="item.name"
:value="item.number"
- >{{ item.name }}
+ {{ item.name }}
+
{{ scope.row.description }}
-
-
+
编辑
+ 编辑
+
删除
+ 删除
+
@@ -159,19 +162,19 @@
-
+
-
+
-
+
@@ -183,7 +186,6 @@
-
@@ -223,7 +225,7 @@
-
+
@@ -267,7 +269,7 @@
-
+
@@ -298,11 +300,9 @@
-
-
+
-
diff --git a/hb_client/src/views/em/record.vue b/hb_client/src/views/em/record.vue
index fdb1c15..5dcd17c 100644
--- a/hb_client/src/views/em/record.vue
+++ b/hb_client/src/views/em/record.vue
@@ -2,34 +2,40 @@
- 新增校准或检定
-
- 搜索
- 重置
-
-
+
+ 新增校准或检定
+
+
+
+ 搜索
+
+
+ 重置
+
+
-
+
-
-
+
{{ scope.row.equipment_.name }}
-
+
{{ scope.row.equipment_.number }}
-
+
{{ scope.row.equipment_.model }}
-
-
+
+
- {{ state_[scope.row.equipment_.state] }}
+ {{ state_[scope.row.equipment_.state] }}
-
-
- {{ state_[scope.row.equipment_.state] }}
+
+ {{ state_[scope.row.equipment_.state] }}
-
-
+
-
+
{{ scope.row.check_date }}
-
+
{{ scope.row.description }}
-
-
编辑
+ 编辑
+
删除
+ 删除
+
@@ -112,21 +115,19 @@
label-position="right"
:rules="rule1"
>
-
-
-
-
+
+
+
-
-
-
-
+
-
-
-
-
+
+
-
-
-
取消
@@ -157,143 +153,142 @@
diff --git a/hb_client/src/views/wpm/firstCheck.vue b/hb_client/src/views/wpm/firstCheck.vue
index 0dbe011..d518f28 100644
--- a/hb_client/src/views/wpm/firstCheck.vue
+++ b/hb_client/src/views/wpm/firstCheck.vue
@@ -63,21 +63,21 @@
>
首件检验
检验
@@ -291,12 +291,14 @@
}
});
},
+
//工序转换
changeIndex(item,index) {
this.activeIndex = index;
this.listQuery.process = item.id;
this.getTableData();
},
+
//获取table数据
getTableData() {
this.listLoading = true;
@@ -309,8 +311,12 @@
this.listLoading = false;
});
},
+
//分页
- getsList(){},
+ getsList(){
+ this.getTableData
+ },
+
//第一次点击首件检验
handleTest(scope){
let that = this;
@@ -331,6 +337,7 @@
}
});
},
+
//首件审批
handleSelectclick(scope,index){
let that = this;
@@ -362,6 +369,7 @@
});
})
},
+
//选择物料检查表
recordFormChange() {
let that = this;
@@ -370,6 +378,7 @@
});
that.formName = arr[0].name;
},
+
//根据选择的表,渲染检查项目
selectedRecordForm() {
let that = this;
@@ -396,40 +405,27 @@
});
} else this.$message.error("请选择检查表!");
},
+
//第一次保存提交检查项目
recordCancel() {
this.recordVisible = false;
this.listVisible = false;
this.getTableData();
},
+
/*关闭相机*/
closeCamera () {
this.$refs.faceTracking.closeCamera();
let video = document.getElementById('video');
let stream = video.srcObject;
- console.log(stream);
+ // console.log(stream);
let tracks = stream.getTracks();
tracks.forEach(track => {
track.stop()
});
video.srcObject = null;
- /*let firstTestIndex = sessionStorage.getItem('firstTestIndex');
- let firstTestProcess = sessionStorage.getItem('firstTestProcess');
- if(firstTestIndex){
- sessionStorage.removeItem('firstTestIndex');
- sessionStorage.setItem('firstTestIndex',this.activeIndex);
- }else{
- sessionStorage.setItem('firstTestIndex',this.activeIndex);
- }
- if(firstTestProcess){
- sessionStorage.removeItem('firstTestProcess');
- sessionStorage.setItem('firstTestProcess',this.listQuery.process);
- }else{
- sessionStorage.setItem('firstTestProcess',this.listQuery.process);
- }
- this.reload();*/
- // this.thisVideo.srcObject.getTracks()[0].stop();
},
+
//保存首件检查
recordSave(value) {
let that = this;
@@ -445,10 +441,10 @@
that.$message.error(res.msg)
}
}).catch((err) => {
- // console.error(err);
that.$message.error(err)
});
},
+
//提交首件检查
recordSubmit(value) {
let that = this;
@@ -471,6 +467,7 @@
that.$message.error(err);
});
},
+
//再次点击首件检验
handleTestContinue(scope) {
let that = this;
@@ -508,11 +505,13 @@
}
});*/
},
+
//点击人脸验证
directorConfirm(index){
this.leader = index;
this.limitedPhoto = true;
},
+
//获取人脸数据
getMsgFormSon(data){
let that =this;
@@ -553,25 +552,7 @@
},
},
mounted() {
- debugger;
this.getProcessList();
- /*let that = this;
- let activeIndex = sessionStorage.getItem('firstTestIndex');
- let firstTestProcess = sessionStorage.getItem('firstTestProcess');
- if(activeIndex&&firstTestProcess){
- this.activeIndex = parseInt(activeIndex);
- this.listQuery.process = parseInt(firstTestProcess);
- sessionStorage.removeItem('firstTestIndex');
- sessionStorage.removeItem('firstTestProcess');
- this.getTableData();
- getProcessList({page: 0}).then((response) => {
- if (response.data) {
- that.processOption = response.data;
- }
- });
- }else{
- this.getProcessList();
- }*/
},
}
diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue
index 004125d..3580ef0 100644
--- a/hb_client/src/views/wpm/need.vue
+++ b/hb_client/src/views/wpm/need.vue
@@ -15,14 +15,16 @@
type="primary"
icon="el-icon-search"
@click="handleFilter1"
- >搜索
+ >
+ 搜索
重置
+ >
+ 重置
{{ scope.row.material_.name }}
-
- {{ scope.row.number }}
+
{{ scope.row.material_.specification }}
-
-
+
{{ actstate_[scope.row.act_state] }}
@@ -54,31 +53,34 @@
{{ scope.row.subproduction_plan_.number }}
-
+
{{ scope.row.step_.name }}
检验
+ >
+ 检验
检验记录
+ >
+ 检验记录
报废
+ >
+ 报废
@@ -129,22 +131,22 @@
type="primary"
icon="el-icon-search"
@click="handleFilter2"
- >搜索
+ >
+ 搜索
重置
+ >
+ 重置
{{ scope.row.material_.name }}
-
{{ scope.row.number }}
@@ -168,18 +169,16 @@
{{ scope.row.subproduction_plan_.number }}
-
+
{{ scope.row.step_.name }}
检验
@@ -217,26 +216,26 @@
type="primary"
icon="el-icon-search"
@click="handleFilter3"
- >搜索
+ >
+ 搜索
重置
+ >
+ 重置
{{ scope.row.material_.name }}
-
-
- {{ scope.row.number }}
+
{{ scope.row.material_.specification }}
@@ -261,26 +258,26 @@
{{ scope.row.subproduction_plan_.number }}
-
+
{{ scope.row.step_.name }}
-
入库
+ >
+ 入库
检验记录
+ >
+ 检验记录
@@ -308,17 +305,18 @@
type="primary"
icon="el-icon-search"
@click="handleFilter4"
- >搜索
+ >
+ 搜索
重置
+ >
+ 重置
{{ scope.row.material_.name }}
-
{{ scope.row.number }}
@@ -343,11 +340,11 @@
{{ scope.row.material_.specification }}
-
+
{{ scope.row.step_.name }}
@@ -361,14 +358,14 @@
报废
@@ -389,7 +386,6 @@
{{ scope.row.subproduction_plan_.number }}
-
+
{{ scope.row.step_.name }}
检验
@@ -458,40 +455,6 @@
>
-
-
-
diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue
index e84b356..f53197f 100644
--- a/hb_client/src/views/wpm/worktask.vue
+++ b/hb_client/src/views/wpm/worktask.vue
@@ -2,8 +2,8 @@
-
- {{ scope.row.number }}
+
@@ -58,11 +57,9 @@
-
- {{ scope.row.start_date }}
+
-
- {{ scope.row.end_date }}
+
@@ -88,20 +85,21 @@
>
领料
继续领料
@@ -124,10 +122,11 @@
半成品
报废
@@ -167,10 +167,7 @@
{{scope.row.subproduction_plan_.number}}
-
-
- {{ scope.row.number }}
-
+
@@ -192,10 +189,7 @@
{{ ng_sign_[scope.row.ng_sign] }}
-
-
- {{scope.row.update_time}}
-
+
@@ -229,11 +223,9 @@
{{scope.row.material_.unit}}
-
- {{ scope.row.batch }}
+
-
- {{ scope.row.count }}
+
@@ -249,8 +241,8 @@