Browse Source

红色志愿服务队修改

shibei
mk 2 years ago
parent
commit
f2dc1b3e2d
  1. 4
      miniprogram/project.private.config.json
  2. 11
      miniprogram/subpages/knight/pages/knight/observeResi/observeResi.js
  3. 5
      miniprogram/subpages/knight/pages/knight/observeResi/observeResi.wxml
  4. 11
      miniprogram/subpages/volunteer/components/recruitOrder/index.js
  5. 2
      miniprogram/subpages/volunteer/components/recruitOrder/index.wxml

4
miniprogram/project.private.config.json

@ -156,8 +156,8 @@
"scene": 1017
},
{
"name": "",
"pathName": "subpages/knight/pages/knight/stageMap/index",
"name": "在职党员",
"pathName": "subpages/checkIn/pages/checkIn/register/register",
"query": "",
"launchMode": "default",
"scene": null

11
miniprogram/subpages/knight/pages/knight/observeResi/observeResi.js

@ -24,6 +24,7 @@ Page({
allDeptIds:[],
courier:'',
workUnit:'',
courierText:''
},
newArr:[],
multiIds:[],
@ -217,6 +218,12 @@ Page({
})
console.log(this.data.form)
},
bindCourierTextInput(e) {
this.setData({
'form.courierText': e.detail.value
})
console.log(this.data.form)
},
handleCLickH (e) {
console.log(e);
this.setData({
@ -259,6 +266,10 @@ Page({
this.setData({
wordInput:true
})
}else{
this.setData({
['form.courierText']: '',
})
}
this.setData({
['form.courier']: e.detail.selectedValue[0],

5
miniprogram/subpages/knight/pages/knight/observeResi/observeResi.wxml

@ -78,8 +78,6 @@
<input confirm-type="next" bindblur="bindRealWorkUnitInput" bindinput="bindRealWorkUnitInput" value="{{form.workUnit}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
</view>
<view wx:else class="tip">
<view class="box">
@ -123,5 +121,6 @@
</wux-picker>
<modal hidden="{{!wordInput}}" title="请输入行业类型" confirm-text="提交" cancel-text="取消" bindcancel="cancelDlaog" bindconfirm="confirmDlaog">
<input type='text'placeholder="请输入" auto-focus/>
<!-- <input type='text'placeholder="请输入" /> -->
<input confirm-type="next" bindblur="bindCourierTextInput" bindinput="bindCourierTextInput" value="{{form.courierText}}" placeholder-class="placeholder-style" placeholder="请输入" auto-focus/>
</modal>

11
miniprogram/subpages/volunteer/components/recruitOrder/index.js

@ -50,11 +50,10 @@ Page({
})
})
this.setData({
streetArr: street
})
this.setData({
streetArr: street,
communityArr: community
})
// this.getByLoginUser()
},
@ -125,6 +124,12 @@ Page({
this.data.volunteerTypeOneInfo.allDeptIds = [];
},
bindPickerStreet: function(e) {
if(this.data.volunteerType == 1){
let temp = this.data.orgOptions.filter((item,index) => index == e.detail.value)[0].children.map(item=>item.lable)
this.setData({
communityArr:temp
})
}
this.setData({
["volunteerTypeOneInfo.street"]: this.data.streetArr[e.detail.value]
})

2
miniprogram/subpages/volunteer/components/recruitOrder/index.wxml

@ -50,7 +50,7 @@
<view class="orderName">手机号码</view>
<input type="number" style="text-align: right;" bindinput="bindphoneInput" placeholder="请输入"/>
</view>
<picker bindchange="bindPickerStreet" value="{{index}}" range="{{streetArr}}" wx:if="{{volunteerType==0}}">
<picker bindchange="bindPickerStreet" value="{{index}}" range="{{streetArr}}" >
<view class="order">
<view class="orderName">所属街道</view>
<view>{{volunteerTypeOneInfo.street?volunteerTypeOneInfo.street:"请选择"}}</view>

Loading…
Cancel
Save