diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue
index ad0eac8..57cdb90 100644
--- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue
+++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue
@@ -467,7 +467,7 @@ export default {
})
// 所有删除的id
- params.processAllDelIds = compData.processAllDelIds
+ params.processAllDelIds = compData.processAllDelIds.filter(id => id)
// 保存草稿信息
params.infoJsonStr = JSON.stringify({
// 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了)
diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue
index 2ed89c6..81733e3 100644
--- a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue
+++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue
@@ -529,7 +529,14 @@ export default {
methods: {
// 设置组件内数据
setData (data = []) {
- this.dataSource = data
+ this.dataSource = data.map(item => {
+ // 没有id就添加uuid,和标记,最后返回的时候去掉
+ if (!item.id) {
+ item.id = randomUUID()
+ item[uuidFlag] = true
+ }
+ return item
+ })
},
// 获取组件内数据
getData () {
@@ -765,9 +772,9 @@ export default {
if (that.ipagination.current > 1 && ((that.ipagination.current - 1) * that.ipagination.pageSize) + 1 === that.ipagination.total) {
that.ipagination.current -= 1
}
+ this.ipagination.total = this.dataSource.length
}
})
- this.ipagination.total = this.dataSource.length
},
/**
* 批量删除
@@ -806,6 +813,10 @@ export default {
if (currentIndex < this.ipagination.current) {
this.ipagination.current = currentIndex
}
+ // 当前页数小于1
+ if (this.ipagination.current < 1) {
+ this.ipagination.current = 1
+ }
},
/**
* 显示条款内容、条文解读弹框
diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue
index 2b330c5..6aaba92 100644
--- a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue
+++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue
@@ -45,7 +45,7 @@
-
+
@@ -61,7 +61,6 @@