管灌系统农户端微信小程序(嘉峪关应用)
pages/createIrrigation/createIrrigation.js
@@ -303,10 +303,25 @@
   * 跳转到轮灌组详情页
   */
  navigateToGroupDetail: function (e) {
    const {
      groupIndex
    } = e.currentTarget.dataset;
    // TODO: 实现跳转逻辑
    const { groupIndex } = e.currentTarget.dataset;
    const group = this.data.selectedProject.groups[groupIndex];
    // 构建URL参数
    const params = {
      projectName: this.data.selectedProject.name,
      groupName: group.name,
      groupId: group.id
    };
    // 构建URL查询字符串
    const queryString = Object.keys(params)
      .map(key => `${key}=${encodeURIComponent(params[key])}`)
      .join('&');
    // 跳转到轮灌组详情页
    wx.navigateTo({
      url: `/pages/groupDetail/groupDetail?${queryString}`
    });
  },
  /**