拆分详情按钮
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
showAction
|
||||
@onSelectChange="onSelectChange"
|
||||
@backDocument="backDocument"
|
||||
@handleDel="handleDel"
|
||||
@deleteDetail="deleteDetail"
|
||||
@detailClick="detailClick"
|
||||
></table-data>
|
||||
<!-- <a-table-->
|
||||
@@ -91,6 +91,7 @@
|
||||
import ImportResult from './modules/ImportResult'
|
||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import eventBUs from '../../../common/event'
|
||||
import axios from 'axios'
|
||||
import Vue from 'vue'
|
||||
|
||||
@@ -161,7 +162,7 @@
|
||||
}, //查看
|
||||
{
|
||||
text: this.$t('delete'),
|
||||
ClickEvent: 'handleDel'
|
||||
ClickEvent: 'deleteDetail'
|
||||
} //删除
|
||||
],
|
||||
url:{
|
||||
@@ -186,7 +187,7 @@
|
||||
|
||||
},
|
||||
mounted() {
|
||||
this.loadData()
|
||||
// this.loadData()
|
||||
},
|
||||
methods:{
|
||||
//获取列表数据
|
||||
@@ -247,7 +248,8 @@
|
||||
this.queryParams.pageNo=this.queryParams.pageNo-1
|
||||
}
|
||||
this.selectedRowKeys=[]
|
||||
this.loadData()
|
||||
eventBUs.$emit('searchReset')
|
||||
// this.loadData()
|
||||
}else{
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
@@ -272,7 +274,8 @@
|
||||
if (this.tableData && this.tableData.length == 1 && this.queryParams.pageNo != 1) {
|
||||
this.queryParams.pageNo = this.queryParams.pageNo - 1
|
||||
}
|
||||
this.loadData()
|
||||
eventBUs.$emit('searchReset')
|
||||
// this.loadData()
|
||||
} else {
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user