Commit db86b855 by 姜雷

修改反馈的区域修改

parent f899d130
...@@ -61,7 +61,7 @@ Page({ ...@@ -61,7 +61,7 @@ Page({
console.log(e); console.log(e);
var value = e.detail.value; var value = e.detail.value;
this.setData({ this.setData({
areaId: this.data.areaList[value].id, areaId: value,
}, function () { }, function () {
_this.initData(); _this.initData();
}); });
...@@ -91,4 +91,4 @@ Page({ ...@@ -91,4 +91,4 @@ Page({
}); });
}, },
}); });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZWVkYmFjay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUE2RDtBQUc3RCxJQUFJLENBQUM7SUFDSCxNQUFNO1FBQ0osSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFDO1FBQ2hCLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQztJQUN2QixDQUFDO0lBSUQsSUFBSSxFQUFFO1FBQ0osUUFBUSxFQUFFLENBQUM7UUFDWCxNQUFNLEVBQUUsRUFBRTtRQUNWLEtBQUssRUFBRSxFQUFFO1FBQ1QsS0FBSyxFQUFFLEVBQUU7UUFDVCxRQUFRLEVBQUUsRUFBRTtLQUNiO0lBQ0QsUUFBUTtRQUNOLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDbEIsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUNwQixDQUFDO0lBQ0QsVUFBVSxZQUFDLENBQUM7UUFDRixJQUFBLDJDQUFRLENBQTZCO1FBQzdDLEVBQUUsQ0FBQyxDQUFDLFFBQVEsS0FBSyxJQUFJLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUM7WUFDcEMsSUFBSSxDQUFDLE9BQVEsQ0FBQztnQkFDWixRQUFRLEVBQUUsUUFBUTthQU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aXMuZmV0Y2hMaXN0KCk7XG4gIH0sXG4gIGZldGNoQXJlYUxpc3QoKSB7XG4gICAgYmFzZUZldGNoKHtcbiAgICAgIHVybDogJy9kY3h5L2Jhc2VBcmVhL3F1ZXJ5QWxsJyxcbiAgICB9KVxuICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgaWYgKHJlcy5kYXRhKSB7XG4gICAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgICBhcmVhTGlzdDogcmVzLmRhdGEsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5zZXREYXRhISh7XG4gICAgICAgICAgICBhcmVhTGlzdDogW10sXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0pXG4gICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coZXJyKTtcbiAgICAgIH0pO1xuICB9LFxufSk7XG4iXX0=
\ No newline at end of file \ No newline at end of file
{ {
"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