Browse Source

Merge branch 'dev-shuju' into test

shibei_master
13176889840 4 years ago
parent
commit
95d6c3d373
  1. 7
      src/views/modules/communityService/measure/index.vue
  2. 4
      src/views/modules/visual/communityParty/community.vue

7
src/views/modules/communityService/measure/index.vue

@ -663,7 +663,8 @@ export default {
}, },
handleDemandChange(val) { handleDemandChange(val) {
console.log('val', val) console.log('val', val, this.selectDemandUser)
this.selectDemandUser = val.label
this.form.demandUserName = val.demandUserName this.form.demandUserName = val.demandUserName
this.form.demandUserMobile = val.demandUserMobile this.form.demandUserMobile = val.demandUserMobile
this.form.demandUserId = val.demandUserId this.form.demandUserId = val.demandUserId
@ -727,7 +728,7 @@ export default {
this.disabled = disabled this.disabled = disabled
} }
if (addType == 'look') { if (addType == 'look') {
this.finishServiceTime = [row.serviceStartTime, row.serviceEndTime] this.finishServiceTime = row.serviceStartTime && [row.serviceStartTime, row.serviceEndTime] || ''
} }
if (addType == 'appoint' && row.serviceType) { if (addType == 'appoint' && row.serviceType) {
await this.getServiceuserList(row.serviceType) await this.getServiceuserList(row.serviceType)
@ -738,7 +739,7 @@ export default {
if (item.value === row.categoryCode) this.form.categoryCode = [row.categoryCode] if (item.value === row.categoryCode) this.form.categoryCode = [row.categoryCode]
}) })
this.demandUserList.forEach(item => { this.demandUserList.forEach(item => {
if (item.demandUserId == row.demandUserId) this.selectDemandUser = item if (item.demandUserId == row.demandUserId) this.selectDemandUser = item.label
}) })
} }

4
src/views/modules/visual/communityParty/community.vue

@ -199,11 +199,11 @@ export default {
this.visibleLoading = false this.visibleLoading = false
}, },
async loadUnit () { async loadUnit () {
const url = "/heart/icpartyunit/option" const url = "/heart/icresidemanddict/subcodelist"
// const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/option" // const url = "http://yapi.elinkservice.cn/mock/245/heart/icpartyunit/option"
let params = { let params = {
agencyId: this.agencyId parentCategoryCode: ''
} }
const { data, code, msg } = await requestPost(url, params) const { data, code, msg } = await requestPost(url, params)

Loading…
Cancel
Save