|
@@ -64,7 +64,7 @@
|
|
{{ }}
|
|
{{ }}
|
|
</el-checkbox>
|
|
</el-checkbox>
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
- <myRichText type="textarea" style="width:calc(100% - 10px);" autosize v-model="scope.row.content"></myRichText>
|
|
|
|
|
|
+ <myRichText type="textarea" style="width:calc(100% - 10px);" autosize @change="(val)=>changeFeature(val,scope)" v-model="scope.row.content"></myRichText>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="isResult == 9">
|
|
<div v-else-if="isResult == 9">
|
|
<el-checkbox-group v-model="checkList">
|
|
<el-checkbox-group v-model="checkList">
|
|
@@ -186,13 +186,19 @@ export default {
|
|
scopeRow: this.checkData || [],
|
|
scopeRow: this.checkData || [],
|
|
//权要列表
|
|
//权要列表
|
|
rightList: [],
|
|
rightList: [],
|
|
-
|
|
|
|
|
|
+ //启用监听
|
|
|
|
+ enableListening:true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
tableData: {
|
|
tableData: {
|
|
handler(newVal, oldVal) {
|
|
handler(newVal, oldVal) {
|
|
- this.typeSelect(this.showType)
|
|
|
|
|
|
+ if(this.enableListening){
|
|
|
|
+ this.typeSelect(this.showType)
|
|
|
|
+ }else{
|
|
|
|
+ this.enableListening = true
|
|
|
|
+ }
|
|
|
|
+
|
|
},
|
|
},
|
|
deep: true
|
|
deep: true
|
|
},
|
|
},
|
|
@@ -413,6 +419,17 @@ export default {
|
|
}
|
|
}
|
|
return arr
|
|
return arr
|
|
},
|
|
},
|
|
|
|
+ //手动修改特征
|
|
|
|
+ changeFeature(val,scope){
|
|
|
|
+ this.enableListening = false
|
|
|
|
+ let index = this.tableData.findIndex(item => { return scope.row.featureId == item.featureId })
|
|
|
|
+ if(index!=-1){
|
|
|
|
+ this.tableData[index].content = val
|
|
|
|
+ this.tableData[index].ifChange = true
|
|
|
|
+ }else{
|
|
|
|
+ this.enableListening = true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
// 特征等合并
|
|
// 特征等合并
|
|
merge() {
|
|
merge() {
|
|
if (this.scopeRow.length > 1) {
|
|
if (this.scopeRow.length > 1) {
|