diff --git a/src/project/pingchang/AppCheckpointRegistration/ManagementHistory.vue b/src/project/pingchang/AppCheckpointRegistration/ManagementHistory.vue index 8cc2593b..c4fb02d3 100644 --- a/src/project/pingchang/AppCheckpointRegistration/ManagementHistory.vue +++ b/src/project/pingchang/AppCheckpointRegistration/ManagementHistory.vue @@ -2,91 +2,89 @@
最近处置历史
-
+
处置意见
-
{{info.name}}
+
{{ $dict.getLabel('EP_handleType', item.handleType) }}
集中隔离地
-
{{info.idNumber}}
+
{{ $dict.getLabel('EP_quarantineAddress', item.quarantineAddress) }}
隔离时间
-
{{info.idNumber}}
+
{{item.quarantineBeginTime}}至{{item.quarantineEndTime}}
隔离策略
-
{{info.idNumber}}
+
{{ $dict.getLabel('EP_quarantineStrategy', item.quarantineStrategy) }}
-
+
处置意见
-
{{info.name}}
+
{{ $dict.getLabel('EP_handleType', item.handleType) }}
-
集中隔离地
-
{{info.idNumber}}
+
居家状态
+
{{ $dict.getLabel('EP_homeStatus', item.homeStatus) }}
隔离时间
-
{{info.idNumber}}
+
{{item.quarantineBeginTime}}至{{item.quarantineEndTime}}
隔离策略
-
{{info.idNumber}}
+
{{ $dict.getLabel('EP_quarantineStrategy', item.quarantineStrategy) }}
管控方式
-
{{info.idNumber}}
+
{{ $dict.getLabel('EP_controlMethod', item.controlMethod) }}
-
附件
-
-
- +
备注
+

{{item.remarks}}

-
+
处置意见
-
{{info.name}}
+
{{ $dict.getLabel('EP_handleType', item.handleType) }}
移交对象
-
{{info.name}}
+
{{ $dict.getLabel('EP_handoverObject', item.handoverObject) }}
移交方式
-
{{info.name}}
+
{{ $dict.getLabel('EP_handoverMethod', item.handoverMethod) }}
交接人姓名
-
{{info.name}}
+
{{item.handoverPersonName}}
手机号
-
+
- {{info.phone}}
+ {{item.handoverPersonPhone}}
-
+
交接图片
- +
- @@ -109,7 +107,7 @@ export default { }, onLoad(option) { this.form = uni.getStorageSync('checkPointContent') - this.$dict.load('EP_handleType', 'EP_quarantineStrategy', 'EP_homeStatus', 'EP_controlMethod', 'EP_handoverObject', 'EP_handoverMethod').then(() => { + this.$dict.load('EP_handleType', 'EP_quarantineAddress', 'EP_quarantineStrategy', 'EP_homeStatus', 'EP_controlMethod', 'EP_handoverObject', 'EP_handoverMethod').then(() => { this.id = option.id this.getDetail() }) @@ -117,7 +115,7 @@ export default { methods: { submit(status) { this.form.homeQuarantineOperation = status - this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal`, this.form).then((res) => { + this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=${this.form.homeQuarantineOperation}`, this.form).then((res) => { if (res.code == 0) { this.$u.toast('提交成功') uni.$emit('updateDetail') @@ -160,6 +158,7 @@ export default { .info{ background-color: #fff; padding: 0 32px; + margin-bottom: 24px; .item-flex{ padding: 34px 0; border-bottom: 1px solid #ddd; diff --git a/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue b/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue index 96f0f11f..16480f75 100644 --- a/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue +++ b/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue @@ -118,6 +118,7 @@ export default { return { id: '', info: {}, + // haveHomeQuarantineBtn: false, // 是否重新处置 true屏蔽居家两种隔离 } }, computed: { ...mapState(['user']) }, @@ -127,6 +128,7 @@ export default { onLoad(option) { this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType').then(() => { this.id = option.id + // this.haveHomeQuarantineBtn = option.operation == 'reDisposal' ? true : false this.getDetail() }) uni.$on('updateDetail', () => { @@ -137,9 +139,6 @@ export default { getDetail() { this.$http.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${this.id}`).then((res) => { if (res.code == 0) { - if(res.data.checkTime) { - res.data.checkTime = res.data.checkTime.substring(0, 10) - } this.info = res.data this.info.travelTypeList = this.info.travelType.split(',') this.info.idNumberText = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2") diff --git a/src/project/pingchang/AppCommunityManagement/Add.vue b/src/project/pingchang/AppCommunityManagement/Add.vue index d4e07dbf..7eb97d55 100644 --- a/src/project/pingchang/AppCommunityManagement/Add.vue +++ b/src/project/pingchang/AppCommunityManagement/Add.vue @@ -6,7 +6,7 @@
- {{ form.areaName }} + {{ form.areaName }} 请选择 @@ -17,19 +17,19 @@
*管控对象
-
{{form.name}}
+
{{form.name}}
*手机号
-
{{form.phone}}
+
{{form.phone}}
*身份证号
-
{{form.idNumber}}
+
{{form.idNumber}}
@@ -66,7 +66,7 @@ *管控人
- +
@@ -74,7 +74,7 @@ *联系方式
- +
@@ -82,7 +82,9 @@ 管控内容
- +
+ +
@@ -97,7 +99,7 @@
@@ -165,7 +167,7 @@ export default { this.form.status = status this.form.id = this.id - this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal`, this.form).then((res) => { + this.$http.post(`/app/appepidemicpreventioncommunitymanagement/troubleshooting`, this.form).then((res) => { if (res.code == 0) { this.$u.toast('提交成功') uni.$emit('updateDetail') @@ -180,6 +182,9 @@ export default { this.$http.post(`/app/appepidemicpreventioncommunitymanagement/queryDetailById?id=${this.id}`).then((res) => { if (res.code == 0) { this.form = res.data + if(this.form.homeStatus === null) { + this.form.homeStatus = '' + } } }) }, @@ -207,6 +212,7 @@ export default { background-color: #F3F6F9; padding-top: 16px; .item { + width: 100%; background-color: #fff; display: flex; padding: 40px 0 40px 32px; @@ -234,16 +240,12 @@ export default { font-family: PingFangSC-Regular; font-size: 34px; color: #333; - .color-999 { - color: #999; - font-size: 30px; - } } - textarea { - width: 100%; + .color-999 { + color: #999; } } - ::v-deep uni-textarea{ + .item-textarea { width: calc(100% - 32px); } .info { diff --git a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue index 2e364019..c8b30f99 100644 --- a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue +++ b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue @@ -32,15 +32,15 @@ {{item.name}} {{$dict.getLabel('EP_registerInfoType', item.infoType)}}
-
+
- 核酸采样{{item.nucleicAcidSamplingCount}}次 + 核酸采样{{item.nucleicAcidSamplingCount}}次 核酸未采样

{{item.idNumberText}}

{{item.phone}}

-
排查
+
排查
@@ -113,7 +113,7 @@ export default { this.getList() }, getList() { - this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, { + this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, { params: { size: 10, current: this.current, status: this.currentTabs, areaId: this.areaId, name: this.keyword, infoType: this.infoType }, }).then((res) => { if (res.code == 0) { diff --git a/src/project/pingchang/AppCommunityManagement/Detail.vue b/src/project/pingchang/AppCommunityManagement/Detail.vue index 005256bd..8ae421cc 100644 --- a/src/project/pingchang/AppCommunityManagement/Detail.vue +++ b/src/project/pingchang/AppCommunityManagement/Detail.vue @@ -1,7 +1,7 @@ @@ -71,13 +75,16 @@ export default { name: 'Statistics', data() { return { - toadyText: '', - totalInfo: {}, + info: {}, echartData: null, echartDataClrcle: null, areaId: '', areaName: '', - + beginDate: '', + endDate: '', + showDateSelect: false, + backVal: 0, + pointVal: 0 } }, computed: { ...mapState(['user']) }, @@ -85,33 +92,49 @@ export default { document.title = '排查统计' }, onLoad() { - var date = new Date(); - this.toadyText = date.getFullYear() + '-' + date.getMonth()+1 + '-' + date.getDate() - this.getTotal() + this.areaId = this.user.areaId + this.areaName = this.user.areaName + this.getData() }, methods: { areaSelect(e) { this.areaId = e + this.getData() }, - getTotal() { - this.$http.post(`/app/appepidemicbackhomerecord/statisticForQW`).then((res) => { + dateConfirm(e) { + console.log(11) + this.beginDate = e.startDate + this.endDate = e.endDate + this.getData() + }, + clearDate() { + this.beginDate = '' + this.endDate = '' + this.getData() + }, + getData() { + this.$http.post(`/app/appepidemicpreventioncommunitymanagement/statistics?areaId=${this.areaId}&beginTime=${this.beginDate}&endTime=${this.endDate}`).then((res) => { if (res.code == 0) { - this.totalInfo = res.data.map - var xData = [], yDataBack = [], yDataError = [] - for(let key in res.data.fiveTotal){ - xData.push(key) - yDataBack.push(res.data.fiveTotal[key]) - } - for(let key in res.data.fiveUnusual){ - yDataError.push(res.data.fiveUnusual[key]) - } - this.chartInit(xData, yDataBack, yDataError) - this.chartInitCircle() + this.info = res.data + var xData = [], yDataScreening = [], yDataNucleicAcid = [] + res.data.trend.map((item) => { + xData.push(item.ymd) + yDataScreening.push(item['排查人数']) + yDataNucleicAcid.push(item['已采核酸']) + }) + res.data.sourceMap.map((item) => { + if(item.type == 1) { + this.backVal = item.c + }else { + this.pointVal = item.c + } + }) + this.chartInit(xData, yDataScreening, yDataNucleicAcid) + this.chartInitCircle(this.backVal, this.pointVal) } }) }, chartInit(xData, yDataBack, yDataError) { - console.log(xData) this.echartData = echarts.init(document.getElementById('statistic')) var option = { grid: { @@ -161,7 +184,7 @@ export default { }; this.echartData.setOption(option) }, - chartInitCircle() { + chartInitCircle(backVal, pointVal) { this.echartDataCircle = echarts.init(document.getElementById('statisticCircle')) var option = { color: ['#4185F5', '#5AAD6A'], @@ -174,14 +197,14 @@ export default { position: 'center' }, data: [ - { value: 1048, name: '返乡登记' }, - { value: 735, name: '卡口登记' }, + { value: backVal, name: '返乡登记' }, + { value: pointVal, name: '卡口登记' }, ], } ] }; this.echartDataCircle.setOption(option) - } + }, }, } @@ -207,7 +230,7 @@ export default { .title { display: flex; justify-content: space-between; - padding: 32px 32px 32px 48px; + padding: 32px; h2 { font-size: 36px; font-family: PingFang-SC-Heavy, PingFang-SC; @@ -256,6 +279,14 @@ export default { } } } + .area-name { + display: inline-block; + width: calc(100% - 64px); + vertical-align: bottom; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; + } .mar-t160 { margin-top: 160px; } diff --git a/src/project/pingchang/AppNucleicAcidSampling/Add.vue b/src/project/pingchang/AppNucleicAcidSampling/Add.vue index 7e8a5f8a..0a46ba2a 100644 --- a/src/project/pingchang/AppNucleicAcidSampling/Add.vue +++ b/src/project/pingchang/AppNucleicAcidSampling/Add.vue @@ -5,44 +5,44 @@
*管理区域
-
{{info.areaName}}
+
{{info.areaName}}
*管理对象
-
{{info.name}}
+
{{info.name}}
*身份证号
-
{{info.idNumber}}
+
{{info.idNumber}}
*手机号码
-
{{info.phone}}
+
{{info.phone}}
*居家状态
-
{{ $dict.getLabel('EP_homeStatus2', info.homeStatus)}}
+
{{ $dict.getLabel('EP_homeStatus2', info.homeStatus)}}
*隔离时间
-
{{info.quarantineBeginTime}}至{{info.quarantineEndTime}}
+
{{info.quarantineBeginTime.substring(0, 10)}}至{{info.quarantineEndTime.substring(0, 10)}}
*隔离策略
-
{{ $dict.getLabel('EP_quarantineStrategy', info.quarantineStrategy)}}
+
{{ $dict.getLabel('EP_quarantineStrategy', info.quarantineStrategy)}}
@@ -51,7 +51,7 @@ *采样人员
- +
@@ -59,7 +59,7 @@ *联系方式
- +
@@ -107,7 +107,13 @@ export default { this.getDetail() }) var myDate = new Date(); - this.form.createTime = `${myDate.getFullYear()}-${myDate.getMonth()+1}-${myDate.getDate()} ${myDate.getHours()}:${myDate.getMinutes()}:${myDate.getSeconds()}` + var month = myDate.getMonth()+1 + if(month < 10) { + month = '0'+`${month}` + } + this.form.createUserName = this.user.name + this.form.createUserPhone = this.user.phone + this.form.createTime = `${myDate.getFullYear()}-${month}-${myDate.getDate()} ${myDate.getHours()}:${myDate.getMinutes()}:${myDate.getSeconds()}` }, onShow() { document.title = '核酸采样' @@ -127,7 +133,7 @@ export default { return this.$u.toast('请输入采样时间') } this.form.cmId = this.id - + this.form.registerId = this.info.registerId this.$http.post(`/app/appepidemicpreventioncommunitymanagement/nucleicAcidSamplin`, this.form).then((res) => { if (res.code == 0) { this.$u.toast('提交成功') @@ -197,13 +203,13 @@ export default { font-family: PingFangSC-Regular; font-size: 34px; color: #333; - .color-999 { - color: #999; - font-size: 30px; - } + } - textarea { - width: 100%; + .color-999 { + color: #999; + } + .item-textarea { + width: calc(100% - 32px); } } ::v-deep uni-textarea{ diff --git a/src/project/pingchang/AppNucleicAcidSampling/AppNucleicAcidSampling.vue b/src/project/pingchang/AppNucleicAcidSampling/AppNucleicAcidSampling.vue index 76d54686..245e893a 100644 --- a/src/project/pingchang/AppNucleicAcidSampling/AppNucleicAcidSampling.vue +++ b/src/project/pingchang/AppNucleicAcidSampling/AppNucleicAcidSampling.vue @@ -34,7 +34,7 @@

{{item.idNumberText}}

{{item.phone}}

-
采样
+
采样
@@ -205,7 +205,7 @@ export default { background-color: #FFA938; } } - .status0 { + .status1 { color: #1CCEB0; .cir { background-color: #1CCEB0; diff --git a/src/project/pingchang/AppNucleicAcidSampling/Detail.vue b/src/project/pingchang/AppNucleicAcidSampling/Detail.vue index a4b77cdd..852b29b9 100644 --- a/src/project/pingchang/AppNucleicAcidSampling/Detail.vue +++ b/src/project/pingchang/AppNucleicAcidSampling/Detail.vue @@ -46,7 +46,8 @@ - +
+ @@ -189,6 +190,9 @@ export default { height: 24px; background-color: #F3F6F9; } + .btn-height{ + height: 130px; + } .footer{ width: 100%; height: 112px;