|
@@ -3,16 +3,20 @@ |
|
|
<div class="info-fill"> |
|
|
<div class="info-fill"> |
|
|
<div class="title">{{ title }}</div> |
|
|
<div class="title">{{ title }}</div> |
|
|
<div class="input"> |
|
|
<div class="input"> |
|
|
<span>请输入你的户籍人口</span> |
|
|
|
|
|
|
|
|
<span>家庭共同生活成员数</span> |
|
|
<div class="num-step"> |
|
|
<div class="num-step"> |
|
|
<img @click="reduceFamily" src="../../assets/images/reduce.png" alt=""> |
|
|
<img @click="reduceFamily" src="../../assets/images/reduce.png" alt=""> |
|
|
<input disabled v-model="population" type="text"> |
|
|
<input disabled v-model="population" type="text"> |
|
|
<img @click="addFamily" src="../../assets/images/add.png" alt=""> |
|
|
<img @click="addFamily" src="../../assets/images/add.png" alt=""> |
|
|
</div> |
|
|
</div> |
|
|
<span style="margin-left: 6.25vw">请输入你的家庭月收入</span> |
|
|
|
|
|
|
|
|
<span style="margin-left: 6.25vw">家庭月收入</span> |
|
|
<el-input v-model="income" placeholder="请输入"> |
|
|
<el-input v-model="income" placeholder="请输入"> |
|
|
<template #suffix>元</template> |
|
|
<template #suffix>元</template> |
|
|
</el-input> |
|
|
</el-input> |
|
|
|
|
|
<span style="margin-left: 6.25vw">家庭刚性支出</span> |
|
|
|
|
|
<el-input v-model="expenditure" placeholder="请输入"> |
|
|
|
|
|
<template #suffix>元</template> |
|
|
|
|
|
</el-input> |
|
|
</div> |
|
|
</div> |
|
|
<div class="family"> |
|
|
<div class="family"> |
|
|
<div class="family__title"> |
|
|
<div class="family__title"> |
|
@@ -98,6 +102,7 @@ export default { |
|
|
|
|
|
|
|
|
data () { |
|
|
data () { |
|
|
return { |
|
|
return { |
|
|
|
|
|
expenditure: 0, |
|
|
archiveType: 'BLAN_CITY', |
|
|
archiveType: 'BLAN_CITY', |
|
|
title: '城市低保测算', |
|
|
title: '城市低保测算', |
|
|
radio1: 1, |
|
|
radio1: 1, |
|
@@ -200,11 +205,12 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
async archiveAmountCalc (personList) { |
|
|
async archiveAmountCalc (personList) { |
|
|
|
|
|
const income = this.income - this.expenditure |
|
|
const params = { |
|
|
const params = { |
|
|
archive_type: this.archiveType, // 档案类型 |
|
|
archive_type: this.archiveType, // 档案类型 |
|
|
party_id: '5001560001', // 区划 : |
|
|
party_id: '5001560001', // 区划 : |
|
|
family_ensure_count: this.population, // 人口数 |
|
|
family_ensure_count: this.population, // 人口数 |
|
|
income_sum: this.income, // 收入: |
|
|
|
|
|
|
|
|
income_sum: income, // 收入: |
|
|
personList: personList |
|
|
personList: personList |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
@@ -258,7 +264,7 @@ export default { |
|
|
.input { |
|
|
.input { |
|
|
height: 4.95vw; |
|
|
height: 4.95vw; |
|
|
//background-color: pink; |
|
|
//background-color: pink; |
|
|
padding-left: 17.97vw; |
|
|
|
|
|
|
|
|
padding-left: 8.97vw; |
|
|
//border: 1px solid red; |
|
|
//border: 1px solid red; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|