BUG 29320
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
<span>与户主关系</span>
|
<span>与户主关系</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<span v-if="id">{{ $dict.getLabel('fpRelationship',form.householdRelation) }}</span>
|
<span v-if="id">{{ $dict.getLabel('fpRelationship', form.householdRelation) }}</span>
|
||||||
<AiSelect dict="fpRelationship" v-model="form.householdRelation" v-else></AiSelect>
|
<AiSelect dict="fpRelationship" v-model="form.householdRelation" v-else></AiSelect>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
<span>选择人员</span>
|
<span>选择人员</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<AiPagePicker class="select" :selected.sync="userList" householdName="1" >
|
<AiPagePicker class="select" :selected.sync="userList" householdName="1">
|
||||||
<span v-if="!userList.length">请选择</span>
|
<span v-if="!userList.length">请选择</span>
|
||||||
<span v-if="userList.length" style="color: #333;">{{ userList[0].name }}</span>
|
<span v-if="userList.length" style="color: #333;">{{ userList[0].name }}</span>
|
||||||
<u-icon name="arrow-right" color="#DDD" size="28"></u-icon>
|
<u-icon name="arrow-right" color="#DDD" size="28"></u-icon>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<input placeholder="请输入" type="text" v-model="form.name" :maxlength="8"
|
<input placeholder="请输入" type="text" v-model="form.name" :maxlength="8"
|
||||||
placeholder-style="color: #999; font-size: 30rpx;" disabled />
|
placeholder-style="color: #999; font-size: 30rpx;" disabled/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<input placeholder="请输入" type="text" v-model="form.name" :maxlength="8"
|
<input placeholder="请输入" type="text" v-model="form.name" :maxlength="8"
|
||||||
placeholder-style="color: #999; font-size: 30rpx;" :disabled="isEdit" />
|
placeholder-style="color: #999; font-size: 30rpx;" :disabled="isEdit"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="20"
|
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="20"
|
||||||
placeholder-style="color: #999; font-size: 30rpx;" @input="changeIdNumber" :disabled ="userList.length? true : false" />
|
placeholder-style="color: #999; font-size: 30rpx;" @input="changeIdNumber" :disabled="userList.length? true : false"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="20"
|
<input placeholder="请输入" type="idcard" v-model="form.idNumber" :maxlength="20"
|
||||||
placeholder-style="color: #999; font-size: 30rpx;" @input="changeIdNumber" disabled />
|
placeholder-style="color: #999; font-size: 30rpx;" @input="changeIdNumber" disabled/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
<span>性别</span>
|
<span>性别</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<span :style="form.sex === '' ? 'color:#999;' : 'color:#333;' ">{{$dict.getLabel('sex', form.sex) || '自动识别'}}</span>
|
<span :style="form.sex === '' ? 'color:#999;' : 'color:#333;' ">{{ $dict.getLabel('sex', form.sex) || '自动识别' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<input placeholder="请输入" type="number" v-model="form.phone" :maxlength="11"
|
<input placeholder="请输入" type="number" v-model="form.phone" :maxlength="11"
|
||||||
placeholder-style="color: #999; font-size: 30rpx;"/>
|
placeholder-style="color: #999; font-size: 30rpx;"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -124,12 +124,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<!-- :areaId="user.areaId" v-model="form.currentAreaId"-->
|
<!-- :areaId="user.areaId" v-model="form.currentAreaId"-->
|
||||||
<AiAreaPicker ref="address" class="aiArea" :fullName.sync="form.currentAreaName" v-model="form.currentAreaId" :root="user.areaId" @select="onAreaChange">
|
<AiAreaPicker :fullName.sync="form.currentAreaName" v-model="form.currentAreaId" :root="user.areaId">
|
||||||
<div class="aiArea">
|
<AiMore v-model="form.currentAreaName"/>
|
||||||
<span class="label" v-if="form.currentAreaName">{{ form.currentAreaName }}</span>
|
|
||||||
<i v-else>请选择</i>
|
|
||||||
<u-icon name="arrow-right" color="#ddd"/>
|
|
||||||
</div>
|
|
||||||
</AiAreaPicker>
|
</AiAreaPicker>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -196,7 +192,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group" >
|
<div class="form-group">
|
||||||
<div class="form-item">
|
<div class="form-item">
|
||||||
<div class="form-item__wrapper">
|
<div class="form-item__wrapper">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
@@ -219,7 +215,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bottoms">
|
<div class="bottoms">
|
||||||
<div class="cards" v-for="(e, index) in helthList" :key="index">
|
<div class="cards" v-for="(e, index) in helthList" :key="index">
|
||||||
<div :style="{color:e.checked == true ? '#1174FE' : '#333'}" @click="userClick(e, index)" >{{ e.dictName }}</div>
|
<div :style="{color:e.checked == true ? '#1174FE' : '#333'}" @click="userClick(e, index)">{{ e.dictName }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -262,7 +258,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bottoms">
|
<div class="bottoms">
|
||||||
<div class="cards" v-for="(e, index) in basicsCheckList" :key="index">
|
<div class="cards" v-for="(e, index) in basicsCheckList" :key="index">
|
||||||
<div :style="{color:e.checked == true ? '#1174FE' : '#333'}" @click="basicsCheck(e, index)" >{{ e.dictName }}</div>
|
<div :style="{color:e.checked == true ? '#1174FE' : '#333'}" @click="basicsCheck(e, index)">{{ e.dictName }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -279,7 +275,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bottoms">
|
<div class="bottoms">
|
||||||
<div class="cards" v-for="(e, index) in guaranteeCheckList" :key="index">
|
<div class="cards" v-for="(e, index) in guaranteeCheckList" :key="index">
|
||||||
<div :style="{color:e.checked == true ? '#1174FE' : '#333'}" @click="guaranteeCheck(e, index)" >{{ e.dictName }}</div>
|
<div :style="{color:e.checked == true ? '#1174FE' : '#333'}" @click="guaranteeCheck(e, index)">{{ e.dictName }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -306,8 +302,10 @@
|
|||||||
<span>是否会讲普通话</span>
|
<span>是否会讲普通话</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="check-item" :class="form.mandarin == '01' ? 'check-active' : '' " @click="form.mandarin='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
<div class="check-item" :class="form.mandarin == '01' ? 'check-active' : '' " @click="form.mandarin='01'">是<img
|
||||||
<div class="check-item" :class="form.mandarin != '01' ? 'check-active' : '' " @click="form.mandarin='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
src="./components/img/check-icon.png" alt=""></div>
|
||||||
|
<div class="check-item" :class="form.mandarin != '01' ? 'check-active' : '' " @click="form.mandarin='02'">否<img
|
||||||
|
src="./components/img/check-icon.png" alt=""></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -381,8 +379,10 @@
|
|||||||
<span>是否国外务工</span>
|
<span>是否国外务工</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="check-item" :class="form.foreignWorkers == '01' ? 'check-active' : '' " @click="form.foreignWorkers='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
<div class="check-item" :class="form.foreignWorkers == '01' ? 'check-active' : '' " @click="form.foreignWorkers='01'">是<img
|
||||||
<div class="check-item" :class="form.foreignWorkers != '01' ? 'check-active' : '' " @click="form.foreignWorkers='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
src="./components/img/check-icon.png" alt=""></div>
|
||||||
|
<div class="check-item" :class="form.foreignWorkers != '01' ? 'check-active' : '' " @click="form.foreignWorkers='02'">否<img
|
||||||
|
src="./components/img/check-icon.png" alt=""></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -412,7 +412,7 @@
|
|||||||
<div class="remark">
|
<div class="remark">
|
||||||
<p><span style="display: inline-block;width: 6px;"></span>备注说明</p>
|
<p><span style="display: inline-block;width: 6px;"></span>备注说明</p>
|
||||||
<div>
|
<div>
|
||||||
<u-input v-model="form.detail" type="textarea" height="150" placeholder="请输入备注说明" :maxlength='500' clearable />
|
<u-input v-model="form.detail" type="textarea" height="150" placeholder="请输入备注说明" :maxlength='500' clearable/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 8px; width: 100%;background: #f3f4f5;"></div>
|
<div style="height: 8px; width: 100%;background: #f3f4f5;"></div>
|
||||||
@@ -433,15 +433,15 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
import listVue from '../AppBuilding/list.vue';
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
numList: [
|
numList: [
|
||||||
{name: '基本信息'},
|
{name: '基本信息'},
|
||||||
{name: '情况描述'},
|
{name: '情况描述'},
|
||||||
{name: '等待审核'},
|
{name: '等待审核'},
|
||||||
],
|
],
|
||||||
current: 0,
|
current: 0,
|
||||||
form: {
|
form: {
|
||||||
name: '',
|
name: '',
|
||||||
@@ -495,15 +495,15 @@ export default {
|
|||||||
userList: [],
|
userList: [],
|
||||||
flag: false,
|
flag: false,
|
||||||
helthList: [],
|
helthList: [],
|
||||||
namelist:[],
|
namelist: [],
|
||||||
basicsCheckList: [
|
basicsCheckList: [
|
||||||
{dictName: '城乡居民基本医疗保险', checked: false},
|
{dictName: '城乡居民基本医疗保险', checked: false},
|
||||||
{dictName: '城镇职工基本医疗保险',checked: false},
|
{dictName: '城镇职工基本医疗保险', checked: false},
|
||||||
{dictName: '大病保险',checked: false},
|
{dictName: '大病保险', checked: false},
|
||||||
{dictName: '商业补充医疗保险',checked: false},
|
{dictName: '商业补充医疗保险', checked: false},
|
||||||
{dictName: '城乡居民基本养老保险',checked: false},
|
{dictName: '城乡居民基本养老保险', checked: false},
|
||||||
{dictName: '城镇职工基本养老保险',checked: false},
|
{dictName: '城镇职工基本养老保险', checked: false},
|
||||||
{dictName: '享受人身意外保险补贴',checked: false},
|
{dictName: '享受人身意外保险补贴', checked: false},
|
||||||
],
|
],
|
||||||
basicsList: [],
|
basicsList: [],
|
||||||
guaranteeCheckList: [
|
guaranteeCheckList: [
|
||||||
@@ -521,9 +521,9 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
},
|
},
|
||||||
watch:{
|
watch: {
|
||||||
userList:{
|
userList: {
|
||||||
handler: function (newValue,oldValue) {
|
handler: function (newValue, oldValue) {
|
||||||
this.isEdit = true;
|
this.isEdit = true;
|
||||||
this.form.name = newValue[0].name;
|
this.form.name = newValue[0].name;
|
||||||
this.form.idNumber = newValue[0].idNumber;
|
this.form.idNumber = newValue[0].idNumber;
|
||||||
@@ -537,10 +537,10 @@ export default {
|
|||||||
|
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
this.isGirdUser()
|
this.isGirdUser()
|
||||||
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','fpDisabilityType','fpYear','fpYesOrNo','fpEmploymentChannels']).then(() => {
|
'fpLaborSkills', 'fpPoliticalOutlook', 'sex', 'fpHealth', 'fpDisabilityType', 'fpYear', 'fpYesOrNo', 'fpEmploymentChannels']).then(() => {
|
||||||
|
|
||||||
this.$dict.getDict('fpHealth').map((item) =>{
|
this.$dict.getDict('fpHealth').map((item) => {
|
||||||
this.helthList.push({
|
this.helthList.push({
|
||||||
dictName: item.dictName,
|
dictName: item.dictName,
|
||||||
dictValue: item.dictValue,
|
dictValue: item.dictValue,
|
||||||
@@ -588,17 +588,17 @@ export default {
|
|||||||
userClick(row, i) {
|
userClick(row, i) {
|
||||||
if (!this.helthList[i].checked) {
|
if (!this.helthList[i].checked) {
|
||||||
this.helthList[i].checked = true // 确定
|
this.helthList[i].checked = true // 确定
|
||||||
this.namelist.push({ dictValue: row.dictValue, dictName: row.dictName }) // 赋值
|
this.namelist.push({dictValue: row.dictValue, dictName: row.dictName}) // 赋值
|
||||||
} else {
|
} else {
|
||||||
this.helthList[i].checked = false // 取消
|
this.helthList[i].checked = false // 取消
|
||||||
this.namelist.map((item, index) => {
|
this.namelist.map((item, index) => {
|
||||||
if (item.dictValue == row.dictValue) {
|
if (item.dictValue == row.dictValue) {
|
||||||
this.namelist.splice(index, 1)
|
this.namelist.splice(index, 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
this.form.healthyStatus = this.namelist.map(v=>v.dictValue).join(',')
|
this.form.healthyStatus = this.namelist.map(v => v.dictValue).join(',')
|
||||||
},
|
},
|
||||||
|
|
||||||
// 医疗保险
|
// 医疗保险
|
||||||
@@ -612,31 +612,29 @@ export default {
|
|||||||
|
|
||||||
nextStep() {
|
nextStep() {
|
||||||
// objectType: '请选择监测对象类型',
|
// objectType: '请选择监测对象类型',
|
||||||
// name: '请输入户主姓名',
|
// name: '请输入户主姓名',
|
||||||
// idNumber: '请输入身份证号',
|
// idNumber: '请输入身份证号',
|
||||||
// phone: '请输入联系方式',
|
// phone: '请输入联系方式',
|
||||||
// currentAreaId: '请选择现住址',
|
// currentAreaId: '请选择现住址',
|
||||||
|
|
||||||
if(!id) {
|
if (!id) {
|
||||||
if(!this.form.objectType) {
|
if (!this.form.objectType) {
|
||||||
this.$u.toast('请选择监测对象类型')
|
this.$u.toast('请选择监测对象类型')
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!this.form.idNumber) {
|
if (!this.form.idNumber) {
|
||||||
this.$u.toast('请输入身份证号')
|
this.$u.toast('请输入身份证号')
|
||||||
}
|
}
|
||||||
if(!this.form.phone) {
|
if (!this.form.phone) {
|
||||||
this.$u.toast('请输入联系方式')
|
this.$u.toast('请输入联系方式')
|
||||||
}
|
}
|
||||||
if(!this.form.currentAreaId) {
|
if (!this.form.currentAreaId) {
|
||||||
this.$u.toast('请选择现住址')
|
this.$u.toast('请选择现住址')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// const rules = this.rules()
|
// const rules = this.rules()
|
||||||
|
|
||||||
// for (let v of Object.keys(rules)) {
|
// for (let v of Object.keys(rules)) {
|
||||||
@@ -648,14 +646,14 @@ export default {
|
|||||||
if (this.form.phone.length == 11 && !regTel.test(this.form.phone)) {
|
if (this.form.phone.length == 11 && !regTel.test(this.form.phone)) {
|
||||||
return this.$u.toast('请输入正确的手机号')
|
return this.$u.toast('请输入正确的手机号')
|
||||||
}
|
}
|
||||||
if(!/[^0]0{0,2}$/.test(this.form.currentAreaId)) {
|
if (!/[^0]0{0,2}$/.test(this.form.currentAreaId)) {
|
||||||
return this.$u.toast('现住址必须选到村级')
|
return this.$u.toast('现住址必须选到村级')
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.form.files.length) {
|
if (this.form.files.length) {
|
||||||
this.form.photo = this.form.files[0].url
|
this.form.photo = this.form.files[0].url
|
||||||
}
|
}
|
||||||
if(this.photo.length) {
|
if (this.photo.length) {
|
||||||
this.form.photo = this.photo[0].accessUrl
|
this.form.photo = this.photo[0].accessUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -668,20 +666,20 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
checkInit(formName, list, index) {
|
checkInit(formName, list, index) {
|
||||||
if(list[index].checked) {
|
if (list[index].checked) {
|
||||||
this.form[formName] = '01'
|
this.form[formName] = '01'
|
||||||
}else {
|
} else {
|
||||||
this.form[formName] = '02'
|
this.form[formName] = '02'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
if(!this.form.riskType) {
|
if (!this.form.riskType) {
|
||||||
return this.$u.toast('请选择风险因素')
|
return this.$u.toast('请选择风险因素')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.basicsCheckList.map((item, index) => {
|
this.basicsCheckList.map((item, index) => {
|
||||||
if (item.checked) {
|
if (item.checked) {
|
||||||
this.basicsList.push(index)
|
this.basicsList.push(index)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -689,26 +687,26 @@ export default {
|
|||||||
this.form.basicsCheck = this.basicsList.join(',')
|
this.form.basicsCheck = this.basicsList.join(',')
|
||||||
|
|
||||||
this.guaranteeCheckList.map((item, index) => {
|
this.guaranteeCheckList.map((item, index) => {
|
||||||
if (item.checked) {
|
if (item.checked) {
|
||||||
this.guaranteeList.push(index)
|
this.guaranteeList.push(index)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.form.guaranteeCheck = this.guaranteeList.join(',')
|
this.form.guaranteeCheck = this.guaranteeList.join(',')
|
||||||
|
|
||||||
this.checkInit('jcbxCxyiliao',this.basicsCheckList, 0)
|
this.checkInit('jcbxCxyiliao', this.basicsCheckList, 0)
|
||||||
this.checkInit('jcbxCzyiliao',this.basicsCheckList, 1)
|
this.checkInit('jcbxCzyiliao', this.basicsCheckList, 1)
|
||||||
this.checkInit('jcbxDabing',this.basicsCheckList, 2)
|
this.checkInit('jcbxDabing', this.basicsCheckList, 2)
|
||||||
this.checkInit('jcbxShangye',this.basicsCheckList, 3)
|
this.checkInit('jcbxShangye', this.basicsCheckList, 3)
|
||||||
this.checkInit('jcbxCxyanglao',this.basicsCheckList, 4)
|
this.checkInit('jcbxCxyanglao', this.basicsCheckList, 4)
|
||||||
this.checkInit('jcbxCzyanglao',this.basicsCheckList, 5)
|
this.checkInit('jcbxCzyanglao', this.basicsCheckList, 5)
|
||||||
this.checkInit('jcbxRenshenyiwai',this.basicsCheckList, 6)
|
this.checkInit('jcbxRenshenyiwai', this.basicsCheckList, 6)
|
||||||
|
|
||||||
this.checkInit('bzcsNongcundibao',this.guaranteeCheckList, 0)
|
this.checkInit('bzcsNongcundibao', this.guaranteeCheckList, 0)
|
||||||
this.checkInit('bzcsTekungongyang',this.guaranteeCheckList, 1)
|
this.checkInit('bzcsTekungongyang', this.guaranteeCheckList, 1)
|
||||||
this.checkInit('bzcsWubaohu',this.guaranteeCheckList, 2)
|
this.checkInit('bzcsWubaohu', this.guaranteeCheckList, 2)
|
||||||
this.checkInit('bzcsYiliaojiuzhu',this.guaranteeCheckList, 3)
|
this.checkInit('bzcsYiliaojiuzhu', this.guaranteeCheckList, 3)
|
||||||
this.checkInit('bzcsQita',this.guaranteeCheckList, 4)
|
this.checkInit('bzcsQita', this.guaranteeCheckList, 4)
|
||||||
|
|
||||||
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
this.$http.post('/app/apppreventionreturntopoverty/addByEwechat', {
|
||||||
...this.form,
|
...this.form,
|
||||||
@@ -716,7 +714,7 @@ export default {
|
|||||||
girdId: this.user.girdId,
|
girdId: this.user.girdId,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast(this.id? '保存成功' : '提交成功')
|
this.$u.toast(this.id ? '保存成功' : '提交成功')
|
||||||
uni.$emit('reload')
|
uni.$emit('reload')
|
||||||
uni.navigateTo({url: './serviceResult'})
|
uni.navigateTo({url: './serviceResult'})
|
||||||
}
|
}
|
||||||
@@ -725,10 +723,6 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onAreaChange(e) {
|
|
||||||
this.form.currentAreaId = e
|
|
||||||
},
|
|
||||||
|
|
||||||
onChange(e) {
|
onChange(e) {
|
||||||
this.form.placeAreaId = e
|
this.form.placeAreaId = e
|
||||||
},
|
},
|
||||||
@@ -737,19 +731,19 @@ export default {
|
|||||||
this.$http.post(`/app/apppreventionreturntopoverty/queryDetailById?id=${id}`).then(res => {
|
this.$http.post(`/app/apppreventionreturntopoverty/queryDetailById?id=${id}`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
res.data.basicsCheckList = res.data.basicsCheck.split(',')
|
res.data.basicsCheckList = res.data.basicsCheck.split(',')
|
||||||
res.data.basicsCheckList.map((item,index)=> {
|
res.data.basicsCheckList.map((item, index) => {
|
||||||
this.basicsCheckList[index].checked = true
|
this.basicsCheckList[index].checked = true
|
||||||
})
|
})
|
||||||
res.data.guaranteeCheckList = res.data.guaranteeCheck.split(',')
|
res.data.guaranteeCheckList = res.data.guaranteeCheck.split(',')
|
||||||
res.data.guaranteeCheckList.map((item,index)=> {
|
res.data.guaranteeCheckList.map((item, index) => {
|
||||||
this.guaranteeCheckList[index].checked = true
|
this.guaranteeCheckList[index].checked = true
|
||||||
})
|
})
|
||||||
|
|
||||||
res.data.healthyStatusList = res.data.healthyStatus.split(',')
|
res.data.healthyStatusList = res.data.healthyStatus.split(',')
|
||||||
|
|
||||||
res.data.healthyStatusList.map((item)=>{
|
res.data.healthyStatusList.map((item) => {
|
||||||
this.helthList.map(items=>{
|
this.helthList.map(items => {
|
||||||
if(item == items.dictValue) {
|
if (item == items.dictValue) {
|
||||||
items.checked = true
|
items.checked = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -760,9 +754,9 @@ export default {
|
|||||||
...this.form,
|
...this.form,
|
||||||
...res.data
|
...res.data
|
||||||
}
|
}
|
||||||
this.photo = [{url:this.form.photo}]
|
this.photo = [{url: this.form.photo}]
|
||||||
|
|
||||||
if(this.form.photo) {
|
if (this.form.photo) {
|
||||||
this.form.files = [{url: this.form.photo}]
|
this.form.files = [{url: this.form.photo}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -801,12 +795,13 @@ export default {
|
|||||||
.add {
|
.add {
|
||||||
padding-bottom: 120px;
|
padding-bottom: 120px;
|
||||||
|
|
||||||
.isActive {
|
.isActive {
|
||||||
background: #3975C6;
|
background: #3975C6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.steps {
|
.steps {
|
||||||
height: 176px;
|
height: 176px;
|
||||||
|
|
||||||
::v-deep .u-steps {
|
::v-deep .u-steps {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
@@ -821,7 +816,7 @@ export default {
|
|||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
height: 112px;
|
height: 112px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow:ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: #303133 !important;
|
color: #303133 !important;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
@@ -861,21 +856,25 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.form-item__wrappers {
|
.form-item__wrappers {
|
||||||
padding-right:30px;
|
padding-right: 30px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.top {
|
.top {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
padding: 32px 0;
|
padding: 32px 0;
|
||||||
}
|
}
|
||||||
.bottoms{
|
|
||||||
|
.bottoms {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
.cards {
|
.cards {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
.changeActive {
|
|
||||||
|
.changeActive {
|
||||||
color: #1174FE;
|
color: #1174FE;
|
||||||
border: 1px solid #1174FE;
|
border: 1px solid #1174FE;
|
||||||
}
|
}
|
||||||
@@ -893,7 +892,8 @@ export default {
|
|||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
.check-item{
|
|
||||||
|
.check-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 140px;
|
width: 140px;
|
||||||
height: 64px;
|
height: 64px;
|
||||||
@@ -906,17 +906,21 @@ export default {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
position: relative;
|
position: relative;
|
||||||
img{
|
|
||||||
|
img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.check-item:nth-of-type(1) {
|
.check-item:nth-of-type(1) {
|
||||||
margin-right: 36px;
|
margin-right: 36px;
|
||||||
}
|
}
|
||||||
.check-active{
|
|
||||||
|
.check-active {
|
||||||
background: #E7F1FE;
|
background: #E7F1FE;
|
||||||
color: #1174FE;
|
color: #1174FE;
|
||||||
img{
|
|
||||||
|
img {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@@ -998,12 +1002,14 @@ export default {
|
|||||||
|
|
||||||
.condition {
|
.condition {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
|
|
||||||
.risk {
|
.risk {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 30px 32px;
|
padding: 30px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.remark {
|
.remark {
|
||||||
padding: 30px 32px;
|
padding: 30px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -1024,14 +1030,17 @@ export default {
|
|||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
background: #3192F4;
|
background: #3192F4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload {
|
.upload {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px 32px 32px 32px;
|
padding: 10px 32px 32px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.border-b0{
|
|
||||||
border-bottom: 0!important;
|
.border-b0 {
|
||||||
|
border-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .AiSelect .display .selectedLabel {
|
::v-deep .AiSelect .display .selectedLabel {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user