|
@@ -363,30 +363,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
row.isEdit = false;
|
|
|
- // row.loading = true;
|
|
|
- // const apiMethod = row.id ? update : save;
|
|
|
- // const params = {
|
|
|
- // ...row,
|
|
|
- // type: this.activeName,
|
|
|
- // projectId: this.projectId,
|
|
|
- // contractId: 0
|
|
|
- // };
|
|
|
-
|
|
|
- // apiMethod(params).then((res) => {
|
|
|
- // if (res.data.code === 200) {
|
|
|
- // this.dataNumber = res.data.data;
|
|
|
- // this.$message.success(res.data.msg);
|
|
|
- // this.getTableData();
|
|
|
- // } else {
|
|
|
- // this.dataNumber = '';
|
|
|
- // this.$message.error(res.data.msg);
|
|
|
- // }
|
|
|
- // }).catch(() => {
|
|
|
- // this.$message.error('操作失败');
|
|
|
- // }).finally(() => {
|
|
|
- // row.loading = false;
|
|
|
- // row.isEdit = false;
|
|
|
- // });
|
|
|
+
|
|
|
},
|
|
|
saveCodeSet(){
|
|
|
for (let row of this.tableData) {
|