Commit 0cdc8dca authored by 耿迪迪's avatar 耿迪迪

测试问题修改

parent 0e9db96e
...@@ -145,6 +145,7 @@ public class TProductInspectDetailServiceImpl implements ITProductInspectDetailS ...@@ -145,6 +145,7 @@ public class TProductInspectDetailServiceImpl implements ITProductInspectDetailS
for(TProductInspectDetail detail :detailList){ for(TProductInspectDetail detail :detailList){
TProductInspectDetail tProductInspectDetail = new TProductInspectDetail(); TProductInspectDetail tProductInspectDetail = new TProductInspectDetail();
tProductInspectDetail.setTypeId(detail.getTypeId()); tProductInspectDetail.setTypeId(detail.getTypeId());
tProductInspectDetail.setInspectId(detail.getInspectId());
tProductInspectDetail.setType(detail.getType()); tProductInspectDetail.setType(detail.getType());
List<TProductInspectDetail> detailInfo = tProductInspectDetailMapper.selectTProductInspectDetailList(tProductInspectDetail); List<TProductInspectDetail> detailInfo = tProductInspectDetailMapper.selectTProductInspectDetailList(tProductInspectDetail);
if(3 == detail.getType() && detailInfo.size() > 0) throw new CustomException("装配模版已存在不能添加多个"); if(3 == detail.getType() && detailInfo.size() > 0) throw new CustomException("装配模版已存在不能添加多个");
......
...@@ -432,7 +432,7 @@ export default { ...@@ -432,7 +432,7 @@ export default {
this.operateOpen = true; this.operateOpen = true;
}, },
handleTest(row){ handleTest(row){
this.operateTitle = "测试详情"; this.operateTitle = "检测详情";
this.operateParam = {deviceId: row.id}; this.operateParam = {deviceId: row.id};
this.operateComponent = DeviceTest; this.operateComponent = DeviceTest;
this.operateOpen = true; this.operateOpen = true;
......
...@@ -74,7 +74,6 @@ ...@@ -74,7 +74,6 @@
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table-column>
<el-table-column label="创建时间" align="center" prop="createTime" /> <el-table-column label="创建时间" align="center" prop="createTime" />
<el-table-column label="创建人" align="center" prop="createBy" /> <el-table-column label="创建人" align="center" prop="createBy" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
...@@ -218,6 +217,7 @@ export default { ...@@ -218,6 +217,7 @@ export default {
}; };
}, },
created() { created() {
this.queryParams.inspectId = this.$route.query.id;
this.getList(); this.getList();
}, },
methods: { methods: {
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
this.queryParams.pageNum = 1; this.queryParams.pageNum = 1;
this.queryParams.inspectId = this.$route.query.id; //this.queryParams.inspectId = this.$route.query.id;
this.getList(); this.getList();
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment