|
@@ -28,7 +28,7 @@
|
|
|
<span>储蓄卡</span>
|
|
<span>储蓄卡</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <img src="../../../../static/bankdel.png" mode="" style="width: 24px;height: 24px;" @click="bankdel(item.id)"
|
|
|
|
|
|
|
+ <img src="../../../../static/bankdel.png" mode="" style="width: 24px;height: 24px;" @click="bankdel(item)"
|
|
|
v-loading.fullscreen.lock="Loading">
|
|
v-loading.fullscreen.lock="Loading">
|
|
|
</div>
|
|
</div>
|
|
|
<div class="bank flex j-s a-c">
|
|
<div class="bank flex j-s a-c">
|
|
@@ -53,7 +53,7 @@
|
|
|
<span>储蓄卡</span>
|
|
<span>储蓄卡</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <img src="../../../../static/bankdel.png" mode="" style="width: 24px;height: 24px;" @click="bankdel(item.id)"
|
|
|
|
|
|
|
+ <img src="../../../../static/bankdel.png" mode="" style="width: 24px;height: 24px;" @click="bankdel(item)"
|
|
|
v-loading.fullscreen.lock="Loading">
|
|
v-loading.fullscreen.lock="Loading">
|
|
|
</div>
|
|
</div>
|
|
|
<div class="bank flex j-s a-c">
|
|
<div class="bank flex j-s a-c">
|
|
@@ -78,7 +78,7 @@
|
|
|
<span>储蓄卡</span>
|
|
<span>储蓄卡</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <img src="../../../../static/bankdel.png" mode="" style="width: 24px;height: 24px;" @click="bankdel(item.id)"
|
|
|
|
|
|
|
+ <img src="../../../../static/bankdel.png" mode="" style="width: 24px;height: 24px;" @click="bankdel(item)"
|
|
|
v-loading.fullscreen.lock="Loading">
|
|
v-loading.fullscreen.lock="Loading">
|
|
|
</div>
|
|
</div>
|
|
|
<div class="bank flex j-s a-c">
|
|
<div class="bank flex j-s a-c">
|
|
@@ -299,19 +299,24 @@ export default {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- bankdel(id) {
|
|
|
|
|
- this.$confirm('是否删除银行卡?', '提示', {
|
|
|
|
|
|
|
+ bankdel(item) {
|
|
|
|
|
+ this.$confirm('是否解绑银行卡?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
- this.$api.letter.Bankdelete(id).then((res) => {
|
|
|
|
|
|
|
+ // this.$api.letter.Bankdelete(id).then((res) => {
|
|
|
|
|
+ this.$api.dept.unbind({
|
|
|
|
|
+ id: item.id,
|
|
|
|
|
+ delFlag: '1',
|
|
|
|
|
+ bankNumber: item.bankNumber
|
|
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == '200') {
|
|
if (res.code == '200') {
|
|
|
this.banklist();
|
|
this.banklist();
|
|
|
this.$message({
|
|
this.$message({
|
|
|
type: 'success',
|
|
type: 'success',
|
|
|
- message: '删除成功!'
|
|
|
|
|
|
|
+ message: res.msg
|
|
|
});
|
|
});
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
} else {
|
|
} else {
|
|
@@ -324,7 +329,7 @@ export default {
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
type: 'info',
|
|
type: 'info',
|
|
|
- message: '已取消删除'
|
|
|
|
|
|
|
+ message: '已取消解绑'
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
|
|
|