From cbca25d9e5f4bc6bbdf7c5576f6b54d83a7d2d31 Mon Sep 17 00:00:00 2001 From: rongchao Date: Tue, 31 Aug 2021 19:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E9=94=A6=E6=B0=B4=E4=BA=BA?= =?UTF-8?q?=E5=8F=A3=E4=BF=A1=E6=81=AF=EF=BC=9B=E4=BF=AE=E6=94=B9=E6=A0=B8?= =?UTF-8?q?=E9=85=B8=E6=A3=80=E6=B5=8B=E5=8A=9F=E8=83=BD=EF=BC=9B=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=96=AB=E8=8B=97=E7=99=BB=E8=AE=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/epidemic/epidemicuserinfo.vue | 130 ++--- .../epidemic/persontesting-add-or-update.vue | 2 +- src/views/modules/epidemic/persontesting.vue | 6 +- src/views/modules/epidemic/reader.vue | 4 +- src/views/modules/epidemic/regist.vue | 63 ++- src/views/modules/house/houseFamilyInfo.vue | 152 ++++++ src/views/modules/house/houseResidentInfo.vue | 123 +++++ .../house/housebusinessinfo-add-or-update.vue | 152 ++++++ src/views/modules/house/housebusinessinfo.vue | 117 +++++ src/views/modules/house/househeadedit.vue | 492 ++++++++++++++++++ .../modules/house/houseinfomationroute.vue | 31 ++ .../house/houserentinfo-add-or-update.vue | 145 ++++++ src/views/modules/house/houserentinfo.vue | 75 +++ .../house/houseresidentInfo-add-or-update.vue | 193 +++++++ .../housinginformation-add-or-update.vue | 251 +++++++++ .../house/housinginformation-detail.vue | 143 +++++ .../modules/house/housinginformation.vue | 270 ++++++++++ .../modules/house/populationInfoOverview.vue | 211 ++++++++ .../modules/house/populationMotorVehicle.vue | 89 ++++ .../house/populationinformation-detail.vue | 102 ++++ .../modules/house/populationinformation.vue | 220 ++++++++ src/views/modules/vim/vaccinationinfo.vue | 52 +- 22 files changed, 2890 insertions(+), 133 deletions(-) create mode 100644 src/views/modules/house/houseFamilyInfo.vue create mode 100644 src/views/modules/house/houseResidentInfo.vue create mode 100644 src/views/modules/house/housebusinessinfo-add-or-update.vue create mode 100644 src/views/modules/house/housebusinessinfo.vue create mode 100644 src/views/modules/house/househeadedit.vue create mode 100644 src/views/modules/house/houseinfomationroute.vue create mode 100644 src/views/modules/house/houserentinfo-add-or-update.vue create mode 100644 src/views/modules/house/houserentinfo.vue create mode 100644 src/views/modules/house/houseresidentInfo-add-or-update.vue create mode 100644 src/views/modules/house/housinginformation-add-or-update.vue create mode 100644 src/views/modules/house/housinginformation-detail.vue create mode 100644 src/views/modules/house/housinginformation.vue create mode 100644 src/views/modules/house/populationInfoOverview.vue create mode 100644 src/views/modules/house/populationMotorVehicle.vue create mode 100644 src/views/modules/house/populationinformation-detail.vue create mode 100644 src/views/modules/house/populationinformation.vue diff --git a/src/views/modules/epidemic/epidemicuserinfo.vue b/src/views/modules/epidemic/epidemicuserinfo.vue index 2029524..7e10cf6 100644 --- a/src/views/modules/epidemic/epidemicuserinfo.vue +++ b/src/views/modules/epidemic/epidemicuserinfo.vue @@ -6,9 +6,9 @@ :model="dataForm" @keyup.enter.native="beforeGetDataList()"> - - - + + + + + + +
+ 未接种:从未接种过疫苗
+ 接种中:接种过疫苗,但没有完成全程接种
+ 接种完成:已经完成全程接种
+ 接种过:有过接种疫苗记录,包括接种中和接种完成记录
+ 第一针:没有完成全程接种,只接种过第一针
+ 第二针:没有完成全程接种,接种过第一针和第二针
+
+ +
+
{{ $t('query') }} @@ -78,95 +100,67 @@ {{scope.$index+1}} - - + - - + - + + + + width="110"> - - + - - - - - - - + width="110"> --> + {{'查看'}} --> 接种登记 + @click="addOrUpdateHandle(scope.row.id)">接种登记 @@ -241,7 +235,7 @@ export default { return { mixinViewModuleOptions: { activatedIsNeed: false, - getDataListURL: '/custom/epidemicuserinfo/getEpidemicPage', + getDataListURL: '/custom/epidemicuserinfo/v2/getEpidemicPage', getDataListIsPage: true, deleteURL: '/custom/epidemicuserinfo', deleteIsBatch: true, @@ -265,6 +259,14 @@ export default { gender: '', birthday: '' }, + inoculateStateArr: [ + { dictValue: '0', dictName: '未接种' }, + { dictValue: '10', dictName: '接种中' }, + { dictValue: '11', dictName: '接种完成' }, + { dictValue: '12', dictName: '接种过' }, + { dictValue: '1', dictName: '第一针' }, + { dictValue: '2', dictName: '第二针' } + ], publicPath: process.env.BASE_URL, pickerBeginDateBefore: { disabledDate: (time) => { @@ -296,7 +298,7 @@ export default { } }, created: function () { - this.getOptions() + // this.getOptions() // 乡镇下拉框赋值 this.getDailyTypeArrInfo() this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/custom/vaccinationinfo/importManualScoreExcel?token=${Cookies.get('token')}` diff --git a/src/views/modules/epidemic/persontesting-add-or-update.vue b/src/views/modules/epidemic/persontesting-add-or-update.vue index 367aa1d..3345c19 100644 --- a/src/views/modules/epidemic/persontesting-add-or-update.vue +++ b/src/views/modules/epidemic/persontesting-add-or-update.vue @@ -238,7 +238,7 @@ if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/custom/persontesting/', this.dataForm).then(({data: res}) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/custom/persontesting/v2/', this.dataForm).then(({data: res}) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/epidemic/persontesting.vue b/src/views/modules/epidemic/persontesting.vue index 4583452..d01e9b0 100644 --- a/src/views/modules/epidemic/persontesting.vue +++ b/src/views/modules/epidemic/persontesting.vue @@ -98,11 +98,11 @@ export default { data () { return { mixinViewModuleOptions: { - getDataListURL: '/custom/persontesting/page', + getDataListURL: '/custom/persontesting/v2/page', getDataListIsPage: true, - deleteURL: '/custom/persontesting', + deleteURL: '/custom/persontesting/v2', deleteIsBatch: true, - exportURL: '/custom/persontesting/export' + exportURL: '/custom/persontesting/v2/export' }, dataForm: { id: '' diff --git a/src/views/modules/epidemic/reader.vue b/src/views/modules/epidemic/reader.vue index 4067e81..4dbae4b 100644 --- a/src/views/modules/epidemic/reader.vue +++ b/src/views/modules/epidemic/reader.vue @@ -211,7 +211,7 @@ export default { }) }, getMobileById (idcard) { - this.$http.get(`/custom/persontesting/getMobileByIdCard?idcard=${idcard}`).then(({ data: res }) => { + this.$http.get(`/custom/persontesting/v2/getMobileByIdCard?idcard=${idcard}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -225,7 +225,7 @@ export default { return false } this.btnAble = true - this.$http.post('/custom/persontesting/saveScanningInfo', this.dataForm).then(({ data: res }) => { + this.$http.post('/custom/persontesting/v2/saveScanningInfo', this.dataForm).then(({ data: res }) => { this.btnAble = false if (res.code !== 0) { return this.$message.error(res.msg) diff --git a/src/views/modules/epidemic/regist.vue b/src/views/modules/epidemic/regist.vue index 545734e..16009bc 100644 --- a/src/views/modules/epidemic/regist.vue +++ b/src/views/modules/epidemic/regist.vue @@ -7,41 +7,39 @@ element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" :model="dataForm" - ref="dataForm" + ref="vaccinationDataForm" :rules="dataRule" @keyup.enter.native="dataFormSubmitHandle()" :label-width="$i18n.locale === 'en-US' ? '120px' : '80px'"> - + - - + prop="vaccinationTime"> + prop="companyId"> @@ -63,8 +60,7 @@ + prop="dose"> { - this.$refs['dataForm'].resetFields() + this.$refs['vaccinationDataForm'].resetFields() if (this.dataForm.id) { this.getInfo() } @@ -302,7 +299,7 @@ export default { }, // 获取信息 getInfo () { - this.$http.get(`/custom/epidemicuserinfo/getinfo/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/custom/epidemicuserinfo/v2/getinfo/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -328,17 +325,17 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { - this.$refs['dataForm'].validate((valid) => { + this.$refs['vaccinationDataForm'].validate((valid) => { if (!valid) { return false } this.isAble = true - this.$http['post']('/custom/vaccinationinfo/', this.dataForm).then(({ data: res }) => { + this.$http['post']('/custom/v2/vaccinationinfo/', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { this.isAble = false return this.$message.error(res.msg) } - this.putReigst() + // this.putReigst() this.$message({ message: this.$t('prompt.success'), type: 'success', @@ -353,7 +350,7 @@ export default { }) }, 1000, { 'leading': true, 'trailing': false }), putReigst () { - this.$http.get(`/custom/epidemicuserinfo/updateReigst/${this.id}`).then(({ data: res }) => { + this.$http['put']('/custom/populationinformation/updatePopulationInformation', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/house/houseFamilyInfo.vue b/src/views/modules/house/houseFamilyInfo.vue new file mode 100644 index 0000000..1d8fc5f --- /dev/null +++ b/src/views/modules/house/houseFamilyInfo.vue @@ -0,0 +1,152 @@ + + + diff --git a/src/views/modules/house/houseResidentInfo.vue b/src/views/modules/house/houseResidentInfo.vue new file mode 100644 index 0000000..ad5ec16 --- /dev/null +++ b/src/views/modules/house/houseResidentInfo.vue @@ -0,0 +1,123 @@ + + + diff --git a/src/views/modules/house/housebusinessinfo-add-or-update.vue b/src/views/modules/house/housebusinessinfo-add-or-update.vue new file mode 100644 index 0000000..f3336b4 --- /dev/null +++ b/src/views/modules/house/housebusinessinfo-add-or-update.vue @@ -0,0 +1,152 @@ + + + diff --git a/src/views/modules/house/housebusinessinfo.vue b/src/views/modules/house/housebusinessinfo.vue new file mode 100644 index 0000000..35cd12d --- /dev/null +++ b/src/views/modules/house/housebusinessinfo.vue @@ -0,0 +1,117 @@ + + + diff --git a/src/views/modules/house/househeadedit.vue b/src/views/modules/house/househeadedit.vue new file mode 100644 index 0000000..7b4fc21 --- /dev/null +++ b/src/views/modules/house/househeadedit.vue @@ -0,0 +1,492 @@ + + + + diff --git a/src/views/modules/house/houseinfomationroute.vue b/src/views/modules/house/houseinfomationroute.vue new file mode 100644 index 0000000..db1b230 --- /dev/null +++ b/src/views/modules/house/houseinfomationroute.vue @@ -0,0 +1,31 @@ + + + + diff --git a/src/views/modules/house/houserentinfo-add-or-update.vue b/src/views/modules/house/houserentinfo-add-or-update.vue new file mode 100644 index 0000000..f2ec19d --- /dev/null +++ b/src/views/modules/house/houserentinfo-add-or-update.vue @@ -0,0 +1,145 @@ + + + diff --git a/src/views/modules/house/houserentinfo.vue b/src/views/modules/house/houserentinfo.vue new file mode 100644 index 0000000..614d3f8 --- /dev/null +++ b/src/views/modules/house/houserentinfo.vue @@ -0,0 +1,75 @@ + + + diff --git a/src/views/modules/house/houseresidentInfo-add-or-update.vue b/src/views/modules/house/houseresidentInfo-add-or-update.vue new file mode 100644 index 0000000..8ebcfbf --- /dev/null +++ b/src/views/modules/house/houseresidentInfo-add-or-update.vue @@ -0,0 +1,193 @@ + + + diff --git a/src/views/modules/house/housinginformation-add-or-update.vue b/src/views/modules/house/housinginformation-add-or-update.vue new file mode 100644 index 0000000..ec2a69c --- /dev/null +++ b/src/views/modules/house/housinginformation-add-or-update.vue @@ -0,0 +1,251 @@ + + + diff --git a/src/views/modules/house/housinginformation-detail.vue b/src/views/modules/house/housinginformation-detail.vue new file mode 100644 index 0000000..ec64ebd --- /dev/null +++ b/src/views/modules/house/housinginformation-detail.vue @@ -0,0 +1,143 @@ + + + diff --git a/src/views/modules/house/housinginformation.vue b/src/views/modules/house/housinginformation.vue new file mode 100644 index 0000000..d7849fd --- /dev/null +++ b/src/views/modules/house/housinginformation.vue @@ -0,0 +1,270 @@ + + + diff --git a/src/views/modules/house/populationInfoOverview.vue b/src/views/modules/house/populationInfoOverview.vue new file mode 100644 index 0000000..efee1e6 --- /dev/null +++ b/src/views/modules/house/populationInfoOverview.vue @@ -0,0 +1,211 @@ + + + + diff --git a/src/views/modules/house/populationMotorVehicle.vue b/src/views/modules/house/populationMotorVehicle.vue new file mode 100644 index 0000000..a235839 --- /dev/null +++ b/src/views/modules/house/populationMotorVehicle.vue @@ -0,0 +1,89 @@ + + + diff --git a/src/views/modules/house/populationinformation-detail.vue b/src/views/modules/house/populationinformation-detail.vue new file mode 100644 index 0000000..3a9c6b4 --- /dev/null +++ b/src/views/modules/house/populationinformation-detail.vue @@ -0,0 +1,102 @@ + + + + diff --git a/src/views/modules/house/populationinformation.vue b/src/views/modules/house/populationinformation.vue new file mode 100644 index 0000000..a6b59e9 --- /dev/null +++ b/src/views/modules/house/populationinformation.vue @@ -0,0 +1,220 @@ + + + diff --git a/src/views/modules/vim/vaccinationinfo.vue b/src/views/modules/vim/vaccinationinfo.vue index 6b5f280..925447c 100644 --- a/src/views/modules/vim/vaccinationinfo.vue +++ b/src/views/modules/vim/vaccinationinfo.vue @@ -23,14 +23,8 @@ placeholder="请输入手机号" clearable> - - -
- - - - - +
-->
@@ -80,6 +65,12 @@ + + + + align="center" + width="85"> + align="center" width="165"> + align="center" width="110"> + align="center" width="50"> - + align="center"> --> @@ -188,21 +180,21 @@ label="生产企业" :formatter="companyState" header-align="center" - align="center"> + align="center" width="100"> + align="center" width="160"> + align="center" width="110"> + width="110">