|
@@ -68,7 +68,17 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="address" label="创建时间" align="center">
|
|
|
+ <el-table-column prop="errDesc" label="异常信息" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div v-if="scope.row.isEditing">
|
|
|
+ <el-input v-model="scope.row.errDesc"></el-input>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ {{ scope.row.errDesc }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <!-- <el-table-column prop="address" label="创建时间" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.isEditing">
|
|
|
{{ scope.row.createTime ? scope.row.createTime : "/" }}
|
|
@@ -77,7 +87,7 @@
|
|
|
{{ scope.row.createTime ? scope.row.createTime : "/" }}
|
|
|
</div>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column prop="address" label="更新时间" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.isEditing">
|
|
@@ -224,11 +234,12 @@ export default {
|
|
|
if (this.setDataState === "add") {
|
|
|
this.loading = true;
|
|
|
try {
|
|
|
- const response = await analysisErrAdd({
|
|
|
+ await analysisErrAdd({
|
|
|
batchCode: this.batchCode,
|
|
|
engineCode: this.tableData[0].engineCode,
|
|
|
analysisTypeCode: this.tableData[0].analysisTypeCode,
|
|
|
errCount: this.tableData[0].errCount,
|
|
|
+ errDesc: this.tableData[index].errDesc,
|
|
|
handleErrCount: this.tableData[0].handleErrCount,
|
|
|
});
|
|
|
this.$set(this.tableData[index], "isEditing", false);
|
|
@@ -248,6 +259,7 @@ export default {
|
|
|
await analysisErrEdit({
|
|
|
id: this.tableData[index].id,
|
|
|
errCount: this.tableData[index].errCount,
|
|
|
+ errDesc: this.tableData[index].errDesc,
|
|
|
handleErrCount: this.tableData[index].handleErrCount,
|
|
|
});
|
|
|
this.$set(this.tableData[index], "isEditing", false);
|