forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-14 e7d382efc71d1a738a6a7c52d0978d6fdb077a8a
gz-wxparty/pages/register/index.js
@@ -485,8 +485,10 @@
  //选择纠纷类型 、跳转事项概况语音描述,跳转事项申请语音描述
  caseTypeGoPage(e) {
    let url = e.currentTarget.dataset.url;
    let type = e.currentTarget.dataset.type;
    let value = e.currentTarget.dataset.value;
    wx.navigateTo({
      url: url,
      url: url + '?type=' + type + '&value=' + value,
    });
  },
@@ -526,9 +528,9 @@
              that.setData({
                submitData: {
                  ...that.data.submitData,
                  [key]: wordsResult
                  [key]: that.data.submitData[key] + wordsResult
                },
                [keyNum]: wordsResult.length
                [keyNum]: (that.data.submitData[keyNum] + wordsResult).length
              });
            }
          },
@@ -697,7 +699,9 @@
          perTypeName: '申请方当事人',
          perClass: '09_01001-1',
          perClassName: '自然人',
          certiNo: data.idcard || ''
          certiNo: data.idcard || '',
          certiType: data.certiType || '09_00015-1',
          certiTypeName: data.certiTypeName || '身份证',
        }]
      })
    };
@@ -808,9 +812,6 @@
  onShow: function () {
    if (this.data.oneData?.trueName) {
      let list = this.data.oneList;
      console.log('list', list);
      console.log('this.data.editIndex', this.data.editIndex);
      console.log('this.data.oneData', this.data.oneData);
      if (this.data.editIndex) {
        list[this.data.editIndex] = this.data.oneData;
      } else {
@@ -823,12 +824,12 @@
      })
    }
    if (this.data.twoData?.title) {
    if (this.data.twoData?.label) {
      this.setData({
        submitData: {
          ...this.data.submitData,
          caseType: this.data.twoData.value,
          caseTypeName: this.data.twoData.title,
          caseTypeName: this.data.twoData.label,
        },
        twoData: {}
      })
@@ -839,8 +840,9 @@
      this.setData({
        submitData: {
          ...this.data.submitData,
          [this.data.twoKey]: this.data.twoValue
          [this.data.twoKey]: this.data.submitData[this.data.twoKey] + this.data.twoValue,
        },
        [this.data.twoKey + 'Num']: (this.data.submitData[this.data.twoKey] + this.data.twoValue).length,
        twoValue: '',
        twoKey: ''
      })