29319
This commit is contained in:
@@ -87,7 +87,8 @@
|
|||||||
<span>现住址</span>
|
<span>现住址</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<AiAreaPicker ref="address" class="aiArea" :fullName.sync="form.currentAreaName" v-model="form.currentAreaId" :areaId="user.areaId" :root="user.areaId" @select="onAreaChange">
|
<!-- :areaId="user.areaId" v-model="form.currentAreaId"-->
|
||||||
|
<AiAreaPicker ref="address" class="aiArea" :fullName.sync="form.currentAreaName" :root="user.areaId" @select="onAreaChange">
|
||||||
<div class="aiArea">
|
<div class="aiArea">
|
||||||
<span class="label" v-if="form.currentAreaName">{{ form.currentAreaName }}</span>
|
<span class="label" v-if="form.currentAreaName">{{ form.currentAreaName }}</span>
|
||||||
<i v-else>请选择</i>
|
<i v-else>请选择</i>
|
||||||
@@ -173,13 +174,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<div class="form-item__wrapper">
|
<div class="form-item__wrapper checkbox">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<i style="opacity: 0;">*</i>
|
<i style="opacity: 0;">*</i>
|
||||||
<span>健康状况</span>
|
<span>健康状况</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<AiSelect dict="fpHealth" v-model="form.healthyStatus"></AiSelect>
|
|
||||||
|
<!-- <AiSelect dict="fpHealth" v-model="form.healthyStatus"></AiSelect> -->
|
||||||
|
<u-checkbox-group>
|
||||||
|
<u-checkbox
|
||||||
|
v-model="e.checked"
|
||||||
|
v-for="(e, i) in fpHealth" :key="i"
|
||||||
|
:name="item.dictValue"
|
||||||
|
@change="checkboxChange(indexs, index, i)"
|
||||||
|
>{{ e.dictName }}
|
||||||
|
</u-checkbox>
|
||||||
|
</u-checkbox-group>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -362,7 +373,8 @@ export default {
|
|||||||
girdInfo: {},
|
girdInfo: {},
|
||||||
photo: [],
|
photo: [],
|
||||||
userList: [],
|
userList: [],
|
||||||
flag:false,
|
flag: false,
|
||||||
|
helthList: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -389,13 +401,21 @@ export default {
|
|||||||
this.$dict.load(['fpType','fpRiskType', 'riskEliminationMethod', 'fpRiskType', 'fpYesOrNo', 'fpNation', 'fpEducation', 'fpStudentsInSchool', 'fpHealth',
|
this.$dict.load(['fpType','fpRiskType', 'riskEliminationMethod', 'fpRiskType', 'fpYesOrNo', 'fpNation', 'fpEducation', 'fpStudentsInSchool', 'fpHealth',
|
||||||
'fpLaborSkills', 'fpPoliticalOutlook', 'sex', 'fpHealth']).then(() => {
|
'fpLaborSkills', 'fpPoliticalOutlook', 'sex', 'fpHealth']).then(() => {
|
||||||
if (query.id) {
|
if (query.id) {
|
||||||
this.isEdit = true
|
this.flag = true
|
||||||
this.id = query.id
|
this.id = query.id
|
||||||
this.getInfo(this.id)
|
this.getInfo(this.id)
|
||||||
}else {
|
}else {
|
||||||
this.form.currentAreaId = this.user.areaId
|
this.form.currentAreaId = this.user.areaId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// var dictList = []
|
||||||
|
// console.log(this.$dict.getDict('fpHealth'));
|
||||||
|
// this.$dict.getDict('fpHealth').map((item) => {
|
||||||
|
// dictList.push(item.dictValue)
|
||||||
|
// })
|
||||||
|
// return helthList = dictList.join(',')
|
||||||
|
// console.log(dictList.join(','));
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -414,12 +434,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getResidentList() {
|
|
||||||
this.$http.post('').then(res => {
|
|
||||||
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
getResidentList() {
|
getResidentList() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: './residentList'
|
url: './residentList'
|
||||||
@@ -462,10 +476,6 @@ export default {
|
|||||||
return this.$u.toast('请选择风险因素')
|
return this.$u.toast('请选择风险因素')
|
||||||
}
|
}
|
||||||
|
|
||||||
// if(!this.form.detail) {
|
|
||||||
// return this.$u.toast('请输入备注说明')
|
|
||||||
// }
|
|
||||||
|
|
||||||
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
||||||
...this.form,
|
...this.form,
|
||||||
id: this.isEdit ? this.id : ''
|
id: this.isEdit ? this.id : ''
|
||||||
@@ -589,6 +599,11 @@ export default {
|
|||||||
border-bottom: 1px solid #E4E5E6;
|
border-bottom: 1px solid #E4E5E6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.checkbox {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
height: 112px;
|
height: 112px;
|
||||||
line-height: 112px;
|
line-height: 112px;
|
||||||
@@ -653,12 +668,6 @@ export default {
|
|||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// &:last-child {
|
|
||||||
// .form-item__wrapper {
|
|
||||||
// border: none;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export default {
|
|||||||
this.filesList = files.join(',')
|
this.filesList = files.join(',')
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.status == 0) {
|
if(this.status == 0) { // 纳入监测
|
||||||
this.$http.post(`/app/apppreventionreturntopoverty/examine`, null,{
|
this.$http.post(`/app/apppreventionreturntopoverty/examine`, null,{
|
||||||
params: {
|
params: {
|
||||||
pass: this.pass,
|
pass: this.pass,
|
||||||
@@ -85,7 +85,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$u.toast('操作成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
@@ -94,7 +94,7 @@ export default {
|
|||||||
},600)
|
},600)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else { // 驳回
|
||||||
this.$http.post(`/app/apppreventionreturntopoverty/relieve`, null,{
|
this.$http.post(`/app/apppreventionreturntopoverty/relieve`, null,{
|
||||||
params: {
|
params: {
|
||||||
pass: this.pass,
|
pass: this.pass,
|
||||||
@@ -105,7 +105,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$u.toast('操作成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$u.toast('操作成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() =>{
|
setTimeout(() =>{
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
@@ -140,7 +140,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$u.toast('操作成功')
|
this.$u.toast('提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
setTimeout(() =>{
|
setTimeout(() =>{
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
|
|||||||
Reference in New Issue
Block a user