|
@@ -57,7 +57,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-checkbox-group v-model="checkList">
|
|
|
<el-checkbox :label="scope.row.id" @change="getRow(scope)" style="display: flex;align-items: center;">
|
|
|
- <el-input type="textarea" style="width:250px" autosize v-model="scope.row.content"> {{scope.row.content}}</el-input>
|
|
|
+ <el-input type="textarea" style="width:250px" autosize v-model="scope.row.content"> {{scope.row.content.trim()}}</el-input>
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</template>
|
|
@@ -433,14 +433,14 @@ export default {
|
|
|
keepArr[j].features.push({
|
|
|
signPatentNo: this.tableData1[i].signPatentNo,
|
|
|
patentId: this.tableData1[i].patentId,
|
|
|
- content: this.tableData1[i].content,
|
|
|
+ content: this.tableData1[i].content.trim(),
|
|
|
type: this.tableData1[i].type,
|
|
|
littleDirection: this.tableData1[i].littleDirection ? this.tableData1[i].littleDirection : '',
|
|
|
// littleDirection:
|
|
|
// reportId: this.tableData1[i].pReportId,
|
|
|
reportId: this.tableData1[i].reportId,
|
|
|
explainText: this.tableData1[i].explainText?this.tableData1[i].explainText:'',
|
|
|
- contentOut: this.tableData1[i].contentOut,
|
|
|
+ contentOut: this.tableData1[i].contentOut.trim(),
|
|
|
splitBy: this.tableData1[i].splitBy,
|
|
|
splitType: this.tableData1[i].splitType,
|
|
|
featuresOrder: this.tableData1[i].featuresOrder,
|
|
@@ -516,8 +516,8 @@ export default {
|
|
|
this.row.forEach((rowItem, rowIndex) => {
|
|
|
// console.log(rowItem,rowIndex);
|
|
|
if (rowIndex<this.row.length-1) {
|
|
|
- str = str + rowItem.content
|
|
|
- str1 = str1 + rowItem.contentOut
|
|
|
+ str = str + rowItem.content.trim()
|
|
|
+ str1 = str1 + rowItem.contentOut.trim()
|
|
|
str2 = str2 + rowItem.littleDirection
|
|
|
str3 = str3 + rowItem.explainText
|
|
|
let Index1 = this.tableData1.findIndex(item => { return rowItem.id==item.id })
|
|
@@ -526,8 +526,8 @@ export default {
|
|
|
}
|
|
|
// console.log(Index1, this.tableData1);
|
|
|
}else if(rowIndex==this.row.length-1){
|
|
|
- str=str+rowItem.content
|
|
|
- str1=str1+rowItem.contentOut
|
|
|
+ str=str+rowItem.content.trim()
|
|
|
+ str1=str1+rowItem.contentOut.trim()
|
|
|
str2=str2+rowItem.littleDirection
|
|
|
str3=str3+rowItem.explainText
|
|
|
}
|