Commit db86b855 by 姜雷

修改反馈的区域修改

parent f899d130
{ {
"navigationBarTitleText": "反馈处理", "navigationBarTitleText": "反馈处理",
"usingComponents": { "usingComponents": {
"c-select": "../components/Select/Select", "area-select": "../components/AreaSelect/AreaSelect",
"feedback-item": "../components/FeedbackItem/FeedbackItem" "feedback-item": "../components/FeedbackItem/FeedbackItem"
} }
} }
...@@ -61,7 +61,7 @@ Page({ ...@@ -61,7 +61,7 @@ Page({
const { value } = e.detail; const { value } = e.detail;
this.setData!( this.setData!(
{ {
areaId: this.data.areaList[value].id, areaId: value,
}, },
() => { () => {
this.initData(); this.initData();
......
<!-- miniprogram/pages/feedback/feedback.wxml --> <!-- miniprogram/pages/feedback/feedback.wxml -->
<view class="container feedback"> <view class="container feedback">
<view class="feedback-area"> <view class="feedback-area">
<c-select mode="selector" range="{{areaList}}" range-key="{{'areaName'}}" bindchange="bindPickerChange" placeholder="所属区域选择" /> <area-select range="{{areaList}}" range-key="{{'areaName'}}" bindchange="bindPickerChange" placeholder="所属区域选择" />
</view> </view>
<view class="feedback-tabbar"> <view class="feedback-tabbar">
<view bind:tap="toggleList" data-tabIndex="{{1}}" class="feedback-tabItem {{tabIndex===1?'checked':''}}"> <view bind:tap="toggleList" data-tabIndex="{{1}}" class="feedback-tabItem {{tabIndex===1?'checked':''}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment