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

测试问题修改

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