| | |
| | | |
| | | <view class="input-card"> |
| | | <view class="title mb-27"> |
| | | 上报说明 |
| | | 下派说明 |
| | | </view> |
| | | <u--textarea style="background-color:rgba(248, 248, 248, 1);border: unset;padding:25rpx 30.77rpx;" |
| | | height="365.38rpx" v-model="content" placeholder="请输入内容"></u--textarea> |
| | |
| | | <view class="popup-content"> |
| | | <view class="title-pop">请选择下派单位</view> |
| | | <view class="pop-label">社区:</view> |
| | | <uni-data-select v-model="value" :localdata="range" @change="change"></uni-data-select> |
| | | <uni-data-select :disabled="false" v-model="value" :localdata="range" |
| | | @change="change"></uni-data-select> |
| | | |
| | | <view class="botton-btn"> |
| | | <view class="cancle" @tap="close">取消</view> |
| | |
| | | }; |
| | | }, |
| | | onLoad(option) { |
| | | option.id = 1 |
| | | if (option.id) { |
| | | this.id = option.id |
| | | getDetail({ |
| | |
| | | this.range = res.data.map(item => { |
| | | item.text = item.name |
| | | item.value = item.id |
| | | item.disable = false |
| | | return item |
| | | }) |
| | | } |
| | | }) |
| | |
| | | 提交后会由上级部门进行审核,请留意审核结果 |
| | | </view> |
| | | |
| | | <view class="btn">提交至上级部门</view> |
| | | <view class="btn" @tap="problemReports">提交至上级部门</view> |
| | | |
| | | </view> |
| | | </template> |
| | |
| | | }; |
| | | }, |
| | | onLoad(option) { |
| | | option.id = 1 |
| | | if (option.id) { |
| | | this.id = option.id |
| | | getDetail({ |
| | |
| | | icon: 'none', |
| | | title: '上报成功' |
| | | }) |
| | | uni.navigateBack() |
| | | |
| | | setTimeout(() => { |
| | | uni.navigateBack() |
| | | }, 1500) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | export const getDetail = (params) => { |
| | | return request.get(`/api/huacheng-sangeshenbian/applet/complaint/detail`, params) |
| | | } |
| | | export const problemReport = (params) => { |
| | | return request.get(`/api/huacheng-sangeshenbian/applet/complaint/report`, params) |
| | | export const problemReport = (data) => { |
| | | return request.post(`/api/huacheng-sangeshenbian/applet/complaint/report`, data) |
| | | } |