| | |
| | | const index = this.groupTableData.findIndex( |
| | | (item) => item.id === form.id |
| | | ); |
| | | console.log('groupTableData',this.groupTableData,'form',form) |
| | | if (index > -1) { |
| | | this.groupTableData.splice(index, 1, form); |
| | | } else { |
| | |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | console.error("获取方案列表失败:", error); |
| | | this.$message.error("获取方案列表失败"); |
| | | // console.error("获取方案列表失败:", error); |
| | | // this.$message.error("获取方案列表失败"); |
| | | } finally { |
| | | this.projectLoading = false; |
| | | } |
| | |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | console.error("获取方案列表失败:", error); |
| | | this.$message.error("获取方案列表失败"); |
| | | // console.error("获取方案列表失败:", error); |
| | | // this.$message.error("获取方案列表失败"); |
| | | } finally { |
| | | this.projectLoading = false; |
| | | } |