|
|
|
@ -57,7 +57,7 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view style="margin-top: 20rpx;"> |
|
|
|
|
<input v-show="false" v-model="suggestType" type="text" name="suggestType" placeholder="您要投诉谁" class="ipt_sug" /> |
|
|
|
|
<input v-show="false" v-model="suggestType" type="text" name="suggestType" placeholder="投诉类型" class="ipt_sug" /> |
|
|
|
|
<uni-data-select |
|
|
|
|
class='select-l' |
|
|
|
|
:localdata="range" |
|
|
|
@ -217,6 +217,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
formSubmit: function (e) { |
|
|
|
|
var that = this; |
|
|
|
|
console.log(that.suggestType,'ppp') |
|
|
|
|
var filePath = ''; |
|
|
|
|
if (that.pics.length > 0) { |
|
|
|
|
filePath = that.pics.join(','); |
|
|
|
@ -291,7 +292,7 @@ export default { |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
if (e.detail.value.suggestType.length == 0) { |
|
|
|
|
if (this.suggestTyp==''||this.suggestType==undefined||this.suggestType==null) { |
|
|
|
|
uni.showModal({ |
|
|
|
|
title: '温馨提示', |
|
|
|
|
content: '请选择投诉类型' |
|
|
|
@ -311,7 +312,7 @@ export default { |
|
|
|
|
ctype: e.detail.value.ctype, |
|
|
|
|
linemobile: e.detail.value.linemobile, |
|
|
|
|
lineuser: e.detail.value.lineuser, |
|
|
|
|
suggsetType:e.detail.value.suggsetType, |
|
|
|
|
suggestType:e.detail.value.suggestType, |
|
|
|
|
filePath: filePath, |
|
|
|
|
unionid:uni.getStorageSync("unionid"), |
|
|
|
|
// unionid: 'unionIdewrqrfb', |
|
|
|
@ -326,12 +327,9 @@ export default { |
|
|
|
|
content: '提交成功', |
|
|
|
|
showCancel: false, |
|
|
|
|
success() { |
|
|
|
|
// uni.redirectTo({ |
|
|
|
|
// url: "/sunPackIndex/suggest/sug_list" |
|
|
|
|
// }) |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url:'/sunPackIndex/suggest/sug_list' |
|
|
|
|
}); |
|
|
|
|
uni.navigateBack({ |
|
|
|
|
delta: 1 |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|