|
@@ -777,6 +777,13 @@ export default {
|
|
var url = CORE_API + "/student/unbindStudentCode?" + params;
|
|
var url = CORE_API + "/student/unbindStudentCode?" + params;
|
|
this.$httpWithMsg.post(url).then(response => {
|
|
this.$httpWithMsg.post(url).then(response => {
|
|
console.log(response);
|
|
console.log(response);
|
|
|
|
+ let newTableData = [];
|
|
|
|
+ for (let cur of this.unbindStudentCodeData.tableData) {
|
|
|
|
+ if (row.studentCode != cur.studentCode) {
|
|
|
|
+ newTableData.push(cur);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.unbindStudentCodeData.tableData = newTableData;
|
|
this.$notify({
|
|
this.$notify({
|
|
type: "success",
|
|
type: "success",
|
|
message: "解绑成功"
|
|
message: "解绑成功"
|