|
@@ -856,12 +856,10 @@ function inspectAndAssist(){
|
|
|
const state = store.getState();
|
|
|
let mainType = state.typeConfig.typeConfig
|
|
|
if(mainType == 1){return}//文本模式不放化验辅检的模板
|
|
|
-
|
|
|
let tmpAll = state.homePage.allModules;
|
|
|
let tmpInspected = state.inspect.labelList;
|
|
|
let tmpAssisted = state.assistCheck.assistLabel;
|
|
|
let tmpInspect = [],tmpAssist = [],assayArr = [],tmpDetail=[],checkArr = [];
|
|
|
-
|
|
|
for(let i = 0;i < tmpAll.length;i++){
|
|
|
let tmpItem = tmpAll[i];
|
|
|
if(tmpItem.type == 5){
|
|
@@ -877,7 +875,6 @@ function inspectAndAssist(){
|
|
|
questionId: '',
|
|
|
showType: 1,
|
|
|
}
|
|
|
- // let tmpObj = JSON.parse(JSON.stringify(obj));
|
|
|
if (tmpInspect[i].controlType == 0) {
|
|
|
tmpDetail = tmpInspect[i].questionMapping
|
|
|
}else if(tmpInspect[i].controlType == 1 || tmpInspect[i].controlType == 6){
|
|
@@ -896,7 +893,6 @@ function inspectAndAssist(){
|
|
|
time:getCurrentDate(),
|
|
|
value:''
|
|
|
}
|
|
|
- // let tmpObj = JSON.parse(JSON.stringify(obj1));
|
|
|
tmpObj.questionId = tmpAssist[i].id
|
|
|
tmpObj.name = tmpAssist[i].name
|
|
|
checkArr.push(tmpObj)
|