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