|
|
@@ -571,7 +571,7 @@ export default {
|
|
|
}]
|
|
|
}
|
|
|
],
|
|
|
- operationWidth: '100',
|
|
|
+ operationWidth: '180',
|
|
|
loading: true,
|
|
|
isPaginationShow: true,
|
|
|
isShowIndex: true,
|
|
|
@@ -581,6 +581,11 @@ export default {
|
|
|
label: '编辑',
|
|
|
click: (row, index) => { return this.haldUpload(row) },
|
|
|
},
|
|
|
+ {
|
|
|
+ type: 'primary',
|
|
|
+ label: '删除',
|
|
|
+ click: (row, index) => { return this.haldDelete(row) },
|
|
|
+ },
|
|
|
// {
|
|
|
// type:'primary',
|
|
|
// label:'结算',
|
|
|
@@ -723,6 +728,30 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 删除
|
|
|
+ haldDelete(row) {
|
|
|
+ console.log(row)
|
|
|
+ this.$confirm('确认删除该数据?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ this.$api.task.fncplyFeeDelete({id: row.id}).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: '删除成功!'
|
|
|
+ });
|
|
|
+ this.findPage()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消删除'
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
//下拉数据匹配
|
|
|
selectDataMatching(files, name, data) {
|
|
|
files.forEach(filed => {
|