diff --git a/hb_client/src/components/customForm/index.vue b/hb_client/src/components/customForm/index.vue
index b108647..fc336cf 100644
--- a/hb_client/src/components/customForm/index.vue
+++ b/hb_client/src/components/customForm/index.vue
@@ -123,7 +123,7 @@
- 说明:{{item.help_text}}
+ 说明:{{item.help_text}}
合格
不合格
@@ -144,7 +144,7 @@
标记
文字
回退
- 保存
+
@@ -196,11 +196,13 @@
isDisabled:{
type:Boolean,
default:false
+ },
+ isMidTesting:{
+ type:Boolean,
+ default:false
}
},
mounted() {
- debugger;
- debugger;
let that = this;
that.checkForm = {};
this.form = this.formID;
@@ -725,7 +727,7 @@
that.testrecord.record_data = that.field;//检查项列表
that.testrecord.is_testok = that.is_testok;//检查表检查结果
that.testrecord.id = that.recordId;//记录id
- if(submit){//提交
+ if(submit&&that.isMidTesting!==true){//提交
this.$emit('recordSubmit',that.testrecord);
}else {//保存
this.$emit('recordSave',that.testrecord);
diff --git a/hb_client/src/components/customForm/review.vue b/hb_client/src/components/customForm/review.vue
index 6beb304..dd598af 100644
--- a/hb_client/src/components/customForm/review.vue
+++ b/hb_client/src/components/customForm/review.vue
@@ -282,6 +282,10 @@
hasPicture:{
type:Boolean,
default:false
+ },
+ isMidTesting:{
+ type:Boolean,
+ default:false
}
},
mounted() {
@@ -299,7 +303,7 @@
});
that.formData=[...that.formData];
// debugger;
- console.log(that.formData);
+ // console.log(that.formData);
//当前表的数据存储
for(let i=0;i {
return item.field_type === 'draw';
@@ -814,7 +818,7 @@
that.testrecord.is_testok = that.is_testok;//检查表检查结果
that.testrecord.id = that.recordId;
// debugger;
- if(submit){//提交
+ if(submit&&that.isMidTesting!==true){//提交
this.$emit('recordSubmit',that.testrecord);
}else {//保存
this.$emit('recordSave',that.testrecord);
diff --git a/hb_client/src/components/faceLogin/tracking.vue b/hb_client/src/components/faceLogin/tracking.vue
index bb11c75..d9869c1 100644
--- a/hb_client/src/components/faceLogin/tracking.vue
+++ b/hb_client/src/components/faceLogin/tracking.vue
@@ -2,10 +2,10 @@
@@ -147,8 +147,8 @@
.video-box {
margin: auto;
position: relative;
- width: 960px;
- height: 640px;
+ /*width: 90%;
+ height: 90%;*/
}
video, canvas {
diff --git a/hb_client/src/views/login/index.vue b/hb_client/src/views/login/index.vue
index 53da72e..e86cde5 100644
--- a/hb_client/src/views/login/index.vue
+++ b/hb_client/src/views/login/index.vue
@@ -307,4 +307,8 @@
.login-code-img {
height: 38px;
}
+ .testTracking{
+ width:100%;
+ height: 700px;
+ }
diff --git a/hb_client/src/views/wpm/need.vue b/hb_client/src/views/wpm/need.vue
index 0a4b2b0..fec2f23 100644
--- a/hb_client/src/views/wpm/need.vue
+++ b/hb_client/src/views/wpm/need.vue
@@ -406,6 +406,7 @@
:hasPicture="hasPicture"
:wproduct="wproduct"
:recordId="recordId"
+ :isMidTesting="is_midtesting"
@recordSave="recordSave"
@recordSubmit="recordSubmit"
@recordCancel="recordCancel"
@@ -427,6 +428,7 @@
:wproduct="wproduct"
:recordId="recordId"
:isDisabled="isDisabled"
+ :isMidTesting="is_midtesting"
@recordSubmit="recordSubmit"
@recordSave="recordSave"
@recordCancel="recordCancel"
@@ -788,6 +790,7 @@
mutipID: [],
wproduct: null,
isPost: false,
+ is_midtesting: false,
isDisabled: false,
origin_test: null,
hasPicture: false,
@@ -1008,7 +1011,7 @@
this.innerIndex = index;
// this.outerVisible = true;
this.wproduct = scope.row.id;//半成品ID
- this.listQueryrecordform.material = scope.row.material_.id;//
+ this.listQueryrecordform.material = scope.row.material_check!==null ? scope.row.material_check :scope.row.material_.id;//
this.listQueryrecordform.type = 2;
this.listQueryrecordform.enabled = true;
this.recordform = null;
@@ -1073,6 +1076,7 @@
getTestRecordItem(scope.row.id).then((res) => {
let arr = [];
let fieldList = res.data.record_data;
+ that.is_midtesting = res.data.is_midtesting;
for (let i = 0; i < that.fieldList.length; i++) {
let obj = that.fieldList[i];
obj.is_testok = null;