Commit aa3fdec3 authored by youjie's avatar youjie

no message

parent 0ef09c33
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
} }
}, },
getList() { //获取列表数据 getList() { //获取列表数据
this.loading = true
this.apipost("admin_get_GetEmpBankAccountPageList", this.msg, res => { this.apipost("admin_get_GetEmpBankAccountPageList", this.msg, res => {
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.list = res.data.data.pageData; this.list = res.data.data.pageData;
...@@ -386,22 +386,25 @@ ...@@ -386,22 +386,25 @@
// this.addMsg.Status = this.dataList[index].Status.toString(); // this.addMsg.Status = this.dataList[index].Status.toString();
}, },
deleteData(id){ deleteData(id){
this.$confirm(this.$t('ground.querenqiyong'), '提示', { let that = this
confirmButtonText: this.$t('pub.sureBtn'), this.$confirm(that.$t('ground.querenqiyong'), '提示', {
cancelButtonText: this.$t('pub.cancelBtn'), confirmButtonText: that.$t('pub.sureBtn'),
cancelButtonText: that.$t('pub.cancelBtn'),
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.apipost('admin_post_DelEmpBankAccount', { this.apipost('admin_post_DelEmpBankAccount', {
BAId:id BAId:id
}, res => { }, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
this.$message.success(this.$t('pub.saveYes')) that.$message.success('操作成功')
this.getList(); that.getList();
} }else{
that.$message.info('操作失败')
}
}, err => {}) }, err => {})
}).catch(() => { }).catch(() => {
this.$message.info(this.$t('ground.yiquxiao')) that.$message.info('操作失败')
}); });
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment