From d8ba5ddd41e2eb3152145fff3ace81cedecc0ea5 Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 19 Jun 2024 09:11:52 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=BE=85=E5=8A=9E=20?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/followupdetails/index.vue | 5 ++++ src/views/system/followupsee/index.vue | 33 +++++++++++----------- src/views/system/record/record.vue | 5 ++++ 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/src/views/system/followupdetails/index.vue b/src/views/system/followupdetails/index.vue index cbe7a75..c3f2b52 100644 --- a/src/views/system/followupdetails/index.vue +++ b/src/views/system/followupdetails/index.vue @@ -338,6 +338,11 @@ export default { selectPhonePush(this.$route.query.manageRouteNodeId).then(response => { if (response.data) { this.formlist = response.data; + if(this.formlist.phonePushSign==0){ + this.formlist.phonePushSign='0' + }else if(this.formlist.phonePushSign==1){ + this.formlist.phonePushSign='1' + } } }); } diff --git a/src/views/system/followupsee/index.vue b/src/views/system/followupsee/index.vue index 37ed23c..420ab49 100644 --- a/src/views/system/followupsee/index.vue +++ b/src/views/system/followupsee/index.vue @@ -197,28 +197,17 @@
- + -
- - - - -
- - @@ -283,12 +272,12 @@ export default { }, rules: { routeHandleRemark: [ - { required: true, message: "请输入任务处理信息", trigger: "change" }, + { required: true, message: "请输入任务处理信息", trigger: "blur" }, ], }, rulesphone: { routeHandleRemark: [ - { required: true, message: "请输入任务处理信息", trigger: "change" }, + { required: true, message: "请输入任务处理信息", trigger: "blur" }, ], }, radio: "B", @@ -304,9 +293,10 @@ export default { }; }, created() { - this.infolistword(); + this.id = this.$route.query.manageRouteId; this.info(); + this.infolistword() this.infolistMESSAGE(); if ( this.$route.query.taskType == "QUESTIONNAIRE_SCALE" || @@ -314,11 +304,19 @@ export default { ) { this.questioninfo(); } else { - selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => { + selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => { if (response.data) { this.formlist = response.data; + if(this.formlist.phonePushSign==0){ + this.formlist.phonePushSign='0' + }else if(this.formlist.phonePushSign==1){ + this.formlist.phonePushSign='1' + } } }); + + + } }, methods: { @@ -385,6 +383,7 @@ export default { info() { selectFollowPatientInfo(this.id).then((res) => { this.list = res.data; + }); }, questioninfo() { diff --git a/src/views/system/record/record.vue b/src/views/system/record/record.vue index 7c6c141..fde51c4 100644 --- a/src/views/system/record/record.vue +++ b/src/views/system/record/record.vue @@ -460,6 +460,11 @@ export default { selectPhonePush(this.$route.query.manageRouteNodeId).then((response) => { if (response.data) { this.formlist = response.data; + if(this.formlist.phonePushSign==0){ + this.formlist.phonePushSign='0' + }else if(this.formlist.phonePushSign==1){ + this.formlist.phonePushSign='1' + } } }); } From 95cd5d9e6f11381d2c4897f1ee8cd733b89d95a2 Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 19 Jun 2024 09:14:49 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/followupdetails/index.vue | 2 +- src/views/system/record/record.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/followupdetails/index.vue b/src/views/system/followupdetails/index.vue index c3f2b52..0d6798c 100644 --- a/src/views/system/followupdetails/index.vue +++ b/src/views/system/followupdetails/index.vue @@ -243,7 +243,7 @@
- + diff --git a/src/views/system/record/record.vue b/src/views/system/record/record.vue index fde51c4..6d0d597 100644 --- a/src/views/system/record/record.vue +++ b/src/views/system/record/record.vue @@ -307,7 +307,7 @@
- + Date: Wed, 19 Jun 2024 09:48:07 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E5=BC=B9=E6=A1=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/message/index.vue | 10 ++++++++-- src/views/manage/propaganda/index.vue | 11 ++++++----- src/views/manage/script/index.vue | 10 ++++++++-- src/views/manage/template/index.vue | 10 ++++++++-- src/views/operationInfo/operationInfo/index.vue | 8 +++++++- 5 files changed, 37 insertions(+), 12 deletions(-) diff --git a/src/views/manage/message/index.vue b/src/views/manage/message/index.vue index cc7f468..badfd1b 100644 --- a/src/views/manage/message/index.vue +++ b/src/views/manage/message/index.vue @@ -219,7 +219,7 @@ + :limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" class="pag"/> @@ -247,7 +247,7 @@ + :limit.sync="querydisease.pageSize" @pagination="infodisease" class="pag"/> @@ -733,6 +733,12 @@ export default { }; \ No newline at end of file From 63a9fa25392e0de0198e27a4d711e866b8371468 Mon Sep 17 00:00:00 2001 From: shidongli Date: Wed, 19 Jun 2024 16:51:29 +0800 Subject: [PATCH 8/9] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/projectdevice/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/manage/projectdevice/index.vue b/src/views/manage/projectdevice/index.vue index 4155f4f..9d054a5 100644 --- a/src/views/manage/projectdevice/index.vue +++ b/src/views/manage/projectdevice/index.vue @@ -190,7 +190,7 @@ patientPhone + :limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" class="pag"/> @@ -486,3 +486,11 @@ export default { }, }; + From 3024fa65c8d3aa6df955aba811bfab2b80c094b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Wed, 19 Jun 2024 17:33:05 +0800 Subject: [PATCH 9/9] =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=99=A8=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../myPagination}/index.vue | 61 +++++++++++++++++-- src/main.js | 2 + src/views/monitor/logininfor/index.vue | 11 +++- src/views/monitor/operlog/index.vue | 8 +-- 4 files changed, 69 insertions(+), 13 deletions(-) rename src/{views/components/Pagination => components/myPagination}/index.vue (79%) diff --git a/src/views/components/Pagination/index.vue b/src/components/myPagination/index.vue similarity index 79% rename from src/views/components/Pagination/index.vue rename to src/components/myPagination/index.vue index 0a25749..abb1a51 100644 --- a/src/views/components/Pagination/index.vue +++ b/src/components/myPagination/index.vue @@ -1,7 +1,8 @@ @@ -43,6 +50,7 @@ export default { return { lxyms: 7, currentPage: this.indexFromWrap, + page: this.indexFromWrap, quickprevIconClass: "el-icon-more", quicknextIconClass: 'el-icon-more', options: [{ @@ -102,7 +110,19 @@ export default { } }, methods: { + foucus() { }, + blur() { + if (!this.page) { + this.page = 1 + } + if (this.page > this.totalPage) { + this.page = this.totalPage + } + this.updateCPage(Number(this.page)) + }, changesize() { + this.currentPage = 1 + this.page = 1 this.$emit("updateCPage", this.currentPage, this.currentpageSize) }, onMouseenter(direction) { @@ -128,6 +148,13 @@ export default { } }, watch: { + currentPage: { + handler(val) { + this.page = val + }, + deep: true, + immediate: true + }, //监听当前页下标 indexFromWrap: { handler(val) { @@ -148,14 +175,38 @@ export default { height: 40px; margin: 0 !important; padding: 0 !important; + display: flex; + align-items: center; + + ::v-deep .el-input__inner { + padding: 0 !important; + font-size: 13px; + text-align: center; + } + + ::v-deep .el-input--suffix { + .el-input__inner { + padding-right: 20px !important; + } + } + + span { + display: inline-block; + font-size: 13px; + min-width: 35.5px; + height: 28px; + line-height: 28px; + vertical-align: top; + -webkit-box-sizing: border-box; + box-sizing: border-box; + } button { margin: 0 5px; background-color: #f4f4f5; - color: #606266; + color: black; outline: none; border-radius: 2px; - padding: 0 8px; vertical-align: top; display: inline-block; font-size: 13px; diff --git a/src/main.js b/src/main.js index 6530909..6d56a84 100644 --- a/src/main.js +++ b/src/main.js @@ -26,6 +26,7 @@ import { getConfigKey } from "@/api/system/config"; import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from "@/utils/xinelu"; // 分页组件 import Pagination from "@/components/Pagination"; +import myPagination from "@/components/myPagination"; // 自定义表格工具组件 import RightToolbar from "@/components/RightToolbar" // 富文本组件 @@ -63,6 +64,7 @@ Vue.prototype.handleTree = handleTree Vue.component('font-awesome-icon', FontAwesomeIcon) Vue.component('DictTag', DictTag) Vue.component('Pagination', Pagination) +Vue.component('myPagination', myPagination) Vue.component('RightToolbar', RightToolbar) Vue.component('Editor', Editor) Vue.component('FileUpload', FileUpload) diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index efe4150..0218c59 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -68,8 +68,10 @@ - + + @@ -116,6 +118,11 @@ export default { this.screenChange() }, methods: { + updateCPage(index, size) { + this.queryParams.pageNum = index + this.queryParams.pageSize = size + this.getList(); + }, /** 查询登录日志列表 */ getList() { this.loading = true; diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index 4f99045..a034257 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -84,8 +84,8 @@ - + @@ -132,11 +132,7 @@