From 45cecafbb0e8505a90664e2531e1b72f86e514b9 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 26 Jun 2023 15:10:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E7=9B=8A=E5=B2=97=E8=BF=98=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=81=94=E8=B0=83=E5=AE=8C,=E5=85=88=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E6=94=B9bug=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/resiForm.vue | 56 +- .../modules/shequzhili/welfare/addForm.vue | 708 ++++++++++++++++ .../modules/shequzhili/welfare/detailForm.vue | 418 +++++++++ .../modules/shequzhili/welfare/editForm.vue | 800 ++++++++++++++++++ .../modules/shequzhili/welfare/welfare.vue | 708 ++++++++++++++++ 5 files changed, 2662 insertions(+), 28 deletions(-) create mode 100644 src/views/modules/shequzhili/welfare/addForm.vue create mode 100644 src/views/modules/shequzhili/welfare/detailForm.vue create mode 100644 src/views/modules/shequzhili/welfare/editForm.vue create mode 100644 src/views/modules/shequzhili/welfare/welfare.vue diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index 5e2042cac..25d872e7b 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -1250,7 +1250,7 @@ export default { created () { this.getGridList() - this.getAllNation() + this.getAllDict() this.setNewForm() }, @@ -1276,7 +1276,7 @@ export default { await this.getHouseList() await this.residentEduInfo(this.form.resiId) }, - getAllNation(){ + getAllDict(){ // 民族字典 this.getDictList() // 关系字典 @@ -1284,21 +1284,21 @@ export default { // 学历信息 this.getEducation() //残疾类别 - this.getdisabilityNation() - this.getdisabilityNationClass() - this.getillnessNation() - this.getchronicNation() - this.getHouseholdNation() - this.getMarriageNation() - this.getResideNation() - this.getSpouseNation() + this.getdisabilityDict() + this.getdisabilityDictClass() + this.getillnessDict() + this.getchronicDict() + this.getHouseholdDict() + this.getMarriageDict() + this.getResideDict() + this.getSpouseDict() this.getBranchlist() - this.getPartyNation() - this.getResidentNation() + this.getPartyDict() + this.getResidentDict() this.getHousing() - this.getVolunteerNation() - this.gethobbyNation() - this.getWelfareNation() + this.getVolunteerDict() + this.gethobbyDict() + this.getWelfareDict() }, getGridList () { const { user } = this.$store.state @@ -1329,7 +1329,7 @@ export default { handelminzu(val){ this.newForm.nation = val }, - async getdisabilityNation(){ + async getdisabilityDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'disability_category_code'}) this.footerInputList.forEach(c => { @@ -1346,7 +1346,7 @@ export default { } }, - async getVolunteerNation(){ + async getVolunteerDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'VOLUNTEER_CATEGORY'}) this.footerInputList.forEach(c => { @@ -1362,7 +1362,7 @@ export default { } }, - async gethobbyNation(){ + async gethobbyDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'SPECIAL_SKILL'}) this.footerInputList.forEach(c => { @@ -1378,7 +1378,7 @@ export default { } }, - async getdisabilityNationClass(){ + async getdisabilityDictClass(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'disability_level'}) this.footerInputList.forEach(c => { @@ -1395,7 +1395,7 @@ export default { } }, - async getillnessNation(){ + async getillnessDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'illness_code'}) this.footerInputList.forEach(c => { @@ -1410,7 +1410,7 @@ export default { console.log(error,'获取所患大病字典'); } }, - async getchronicNation(){ + async getchronicDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'chronic_disease_code'}) this.footerInputList.forEach(c => { @@ -1425,7 +1425,7 @@ export default { console.log(error,'获取所患慢病字典'); } }, - async getWelfareNation(){ + async getWelfareDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'welfare_post'}) this.footerInputList.forEach(c => { @@ -1440,7 +1440,7 @@ export default { console.log(error,'获取公益岗位字典'); } }, - async getHouseholdNation(){ + async getHouseholdDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'household_situation'}) this.footerInputList.forEach(c => { @@ -1455,7 +1455,7 @@ export default { console.log(error,'获取人户状况字典'); } }, - async getMarriageNation(){ + async getMarriageDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'marriage'}) this.footerInputList.forEach(c => { @@ -1470,7 +1470,7 @@ export default { console.log(error,'获取婚姻状况字典'); } }, - async getResideNation(){ + async getResideDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'reside_situation'}) this.footerInputList.forEach(c => { @@ -1485,7 +1485,7 @@ export default { console.log(error,'获取居住情况字典'); } }, - async getSpouseNation(){ + async getSpouseDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'spouse_situation'}) this.footerInputList.forEach(c => { @@ -1500,7 +1500,7 @@ export default { console.log(error,'获取配偶情况字典'); } }, - async getResidentNation(){ + async getResidentDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'special_resident_category'}) console.log(data.data,'see'); @@ -1516,7 +1516,7 @@ export default { console.log(error,'获取配偶情况字典'); } }, - async getPartyNation(){ + async getPartyDict(){ try { const { data } = await this.$http.post('sys/dict/data/dictlist', {'dictType':'party_job'}) this.footerInputList.forEach(c => { diff --git a/src/views/modules/shequzhili/welfare/addForm.vue b/src/views/modules/shequzhili/welfare/addForm.vue new file mode 100644 index 000000000..7c57a9472 --- /dev/null +++ b/src/views/modules/shequzhili/welfare/addForm.vue @@ -0,0 +1,708 @@ + + + + + + \ No newline at end of file diff --git a/src/views/modules/shequzhili/welfare/detailForm.vue b/src/views/modules/shequzhili/welfare/detailForm.vue new file mode 100644 index 000000000..bbbc971e2 --- /dev/null +++ b/src/views/modules/shequzhili/welfare/detailForm.vue @@ -0,0 +1,418 @@ + + + + + diff --git a/src/views/modules/shequzhili/welfare/editForm.vue b/src/views/modules/shequzhili/welfare/editForm.vue new file mode 100644 index 000000000..25f25b830 --- /dev/null +++ b/src/views/modules/shequzhili/welfare/editForm.vue @@ -0,0 +1,800 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/modules/shequzhili/welfare/welfare.vue b/src/views/modules/shequzhili/welfare/welfare.vue new file mode 100644 index 000000000..d07a0abed --- /dev/null +++ b/src/views/modules/shequzhili/welfare/welfare.vue @@ -0,0 +1,708 @@ + + + + +