Commit 1c20918c authored by 罗成兵's avatar 罗成兵

分配记录

parent 5d4021d7
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
return fetch(`/v1/folacin-admin/folacin-resident-info/delete/${params.id}`, params, 'delete', 'json'); return fetch(`/v1/folacin-admin/folacin-resident-info/delete/${params.id}`, params, 'delete', 'json');
}, },
addFolviteDistributionByApply(params) {//对申请记录进行发放 addFolviteDistributionByApply(params) {//对申请记录进行发放
return fetch(`/v1/folacin-admin/folacin-resident-info/apply-grant/${params.applyId}`); return fetch(`/v1/folacin-admin/folacin-resident-info/apply-grant/${params.applyId}`,params,"post",'json');
} }
}, },
fyManage: { fyManage: {
......
...@@ -54,18 +54,19 @@ ...@@ -54,18 +54,19 @@
this.$api.common.fetchAreaByCode(treeNode.value).then(({code, data}) => { this.$api.common.fetchAreaByCode(treeNode.value).then(({code, data}) => {
let treeData = []; let treeData = [];
if (code === "SUCCESS") { if (code === "SUCCESS") {
console.log(data) if (this.$api.utils.isNoBlank(data)) {
data.forEach(x => { data.forEach(x => {
let item = { let item = {
id: x.areaCode, id: x.areaCode,
pId: treeNode.value, pId: treeNode.value,
value: x.areaCode, value: x.areaCode,
title: x.areaName, title: x.areaName,
isLeaf: x.areaLevel == 5 ? true : false isLeaf: x.areaLevel == 5 ? true : false
}; };
treeData.push(item); treeData.push(item);
}); });
that.treeData = that.treeData.concat(treeData); that.treeData = that.treeData.concat(treeData);
}
resolve(); resolve();
} }
}); });
......
...@@ -45,10 +45,10 @@ ...@@ -45,10 +45,10 @@
<a-form-model-item label="是否曾经怀孕" prop="oncePregnant"> <a-form-model-item label="是否曾经怀孕" prop="oncePregnant">
<a-radio-group v-model="formData.oncePregnant" @change="onChangePregnant"> <a-radio-group v-model="formData.oncePregnant" @change="onChangePregnant">
<a-radio :value="1"> <a-radio :value="1">
</a-radio> </a-radio>
<a-radio :value="2"> <a-radio :value="2">
</a-radio> </a-radio>
</a-radio-group> </a-radio-group>
</a-form-model-item> </a-form-model-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment