diff --git a/packageIndex/report/report.vue b/packageIndex/report/report.vue index f0c6d10..80c4629 100644 --- a/packageIndex/report/report.vue +++ b/packageIndex/report/report.vue @@ -344,11 +344,12 @@ typeMap: { web: '网站类型举报', special: '专项举报', - other: '其他类型举报', + others: '其他类型举报', }, typeMapDict: { web: 0, special: 5, + others: 1, }, tabList: [ { @@ -586,7 +587,7 @@ }, { id: 'other', - label: '其他', + label: '其他类', key: '5' }, ]], @@ -647,11 +648,6 @@ this.typeLabel = this.typeMap[ this.form.type ] this.reportIcon = decodeURIComponent(getLocationParams('icon')); this.label = decodeURIComponent(getLocationParams('label')); - // if(this.label === '其他类') { - // this.label = '其他' - // } - console.log(this.form.reportType, '-', this.form.type, 'p', this.reportType) - console.log(getLocationParams('reportType'), 'getLocationParams') //在这里先获取举报人信息,有举报人正常,没有举报人提示去注册 // 自动填充举报人信息 const userinfo = wx.getStorageSync('userInfoxj') @@ -672,7 +668,7 @@ }, onLoad(options) { console.log(options, 'options') - // 专项举报 + // 专项举报infoSource if (options.reportType === 'special') { // console.log(options.index, 'index') this.specialIndex = options.index @@ -897,6 +893,7 @@ let infoSource if (this.reportType === 'other') { infoSource = this.infoSourceColumns[0].filter(item => item.label == this.form.source)[0].key + // infoSource = 1 } else { infoSource = this.typeMapDict[this.reportType] }