fix 80768

This commit is contained in:
danshihao
2024-01-19 11:11:02 +08:00
parent 4eb648aa04
commit 18e764b4d8
7 changed files with 12 additions and 0 deletions
@@ -335,6 +335,7 @@ export default {
},
// 添加或编辑回调
handleAddOrEditCallback (row, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log('添加或编辑回调', row, index)
// index -1就是添加
if (index === undefined || index === -1) {
@@ -388,6 +389,7 @@ export default {
},
// 填写意见回调
handleWriteOpinionCallback (data, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log(data, index)
this.dataSource.splice(index, 1, {
...this.dataSource[index],
@@ -166,6 +166,7 @@ export default {
},
// 意见新增编辑完成
modalFormOk (row, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log(row, index)
// 根据下标判断是添加还是编辑
if (index === undefined || index === -1) {
@@ -218,6 +218,7 @@ export default {
},
// 新增编辑完成
modalFormOk (row, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log(row, index)
// 根据下标判断是添加还是编辑
if (index === undefined || index === -1) {
@@ -202,6 +202,7 @@ export default {
},
// 表单回调
modalFormOk (row, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log(row, index)
// 根据下标判断是添加还是编辑
if (index === undefined || index === -1) {
@@ -271,6 +271,7 @@ export default {
},
// 稽查内容回调
handleContentCallback (data, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log('稽查内容回调', data, index)
this.dataSource.splice(index, 1, {
...this.dataSource[index],
@@ -280,6 +281,7 @@ export default {
},
// 稽查报告回调
handleReportCallback (data, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log('稽查报告回调', data, index)
this.dataSource.splice(index, 1, {
...this.dataSource[index],
@@ -288,6 +290,7 @@ export default {
},
// 整改计划回调
handleRectificationCallback (data, index) {
this.$message.success(this.$t('operationSuccessful'))
console.log('整改计划回调', data, index)
this.dataSource.splice(index, 1, {
...this.dataSource[index],
@@ -301,6 +304,7 @@ export default {
},
// 添加稽查计划回调
handleAddPlanCallback (list) {
this.$message.success(this.$t('operationSuccessful'))
this.dataSource.push(...list)
},
// 跳转详情
@@ -239,6 +239,7 @@ export default {
},
// 添加回调
handleAddCallback (rows) {
this.$message.success(this.$t('operationSuccessful'))
this.dataSource.push(...rows)
},
// 设置表格数据
@@ -267,6 +268,7 @@ export default {
},
// 申请延期回调
requestExtensionCallback (row, index) {
this.$message.success(this.$t('operationSuccessful'))
this.dataSource.splice(index, 1, row)
},
// 跳转详情
@@ -121,6 +121,7 @@ export default {
},
// 添加标准回调
changeStandardSelect (val) {
this.$message.success(this.$t('operationSuccessful'))
this.dataSource = [...this.dataSource, ...val]
},
// 跳转详情