From e3848c892b0e4538f6ed998a43d45197bed0ad0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Mon, 26 Feb 2024 10:39:47 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E7=AE=A1=E8=BE=96=E8=B7=AF=E6=AE=B5,?= =?UTF-8?q?=E8=B7=AF=E6=AE=B5=E9=87=8C=E7=A8=8B=E5=8A=A0km=E5=8D=95?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/JiHeExpressway/components/Card1/index.vue | 2 +- .../views/jurisdictionalManagement/index.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue index dc21c63a..fe136d79 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Card1/index.vue @@ -6,7 +6,7 @@ {{ item.label }}: - {{ getValue(item.key) }} + {{ getValue(item.key) }}{{ item.suffix }}

diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/index.vue index d5e86e10..ccf5c1e6 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/index.vue @@ -101,7 +101,8 @@ export default { }, { key: "mileage", - label: "路段里程" + label: "路段里程", + suffix: "km" } ], // data: Array.from({ length: 20 }).map(() => ({ @@ -213,11 +214,11 @@ export default { line-height: 16px; span:first-child { - color: rgba(0, 179, 204, 1)#000; + color: #FFDB82; } span:last-child { - color: rgba(217, 0, 27, 1) + color: #00EBC1; } } } From bd98f65045e0ab7ed9358485bc5e60f84021044c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Mon, 26 Feb 2024 10:40:53 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=9C=BA=E6=9E=84=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../businessDataManagement/views/emergencyAgencies/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue index d3352520..ac0da082 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue @@ -121,7 +121,7 @@ export default { await confirm({ message: "是否要删除该机构?" }); request({ - url: `/business/shifts/${data.id}`, + url: `/business/organization/${data.dcOrganizations.id}`, method: "DELETE", data: {} }) @@ -168,7 +168,7 @@ export default { } }).then(result => { if (result.code != 200) return; - + this.data = result.rows; this.setTotal(result.total) }).finally(() => { From 27febc35efeb5268e2b46a06acf371863a504fd2 Mon Sep 17 00:00:00 2001 From: zhangzhang <1747194829@qq.com> Date: Mon, 26 Feb 2024 15:53:31 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E6=80=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JiHeExpressway/components/Pagination.vue | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue index f4070358..97dcbe14 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue @@ -1,61 +1,67 @@ - - \ No newline at end of file From bf358d31fed6bc8206c22fd7c0a5be379bb35d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=9C=8B?= Date: Mon, 26 Feb 2024 17:18:21 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=9C=BA=E6=9E=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=BB=A5=E5=8F=8A=E6=A1=A9=E5=8F=B7=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=8F=90=E4=BA=A4=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AddNEditDialog.vue | 64 ++++++++++--------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/components/AddNEditDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/components/AddNEditDialog.vue index 02f494fa..d5ece2e0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/components/AddNEditDialog.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/components/AddNEditDialog.vue @@ -57,35 +57,35 @@ export default { options: [] } }, - { - label: "机构类型:", - key: "organizationType", - required: true, - type: 'select', - ons: { - change: (value, { data }) => { - if (value == 1) { - data.parentId = null; - } - - this.formList[0].options.options.forEach((item, index) => { - item.disabled = value == 1 - }) - } - }, - options: { - options: [ - { - key: 1, - label: "路管中心" - }, - { - key: 2, - label: "驻点" - }, - ] - } - }, + // { + // label: "机构类型2233:", + // key: "organizationType", + // required: true, + // type: 'select', + // ons: { + // change: (value, { data }) => { + // if (value == 1) { + // data.parentId = null; + // } + + // this.formList[0].options.options.forEach((item, index) => { + // item.disabled = value == 1 + // }) + // } + // }, + // options: { + // options: [ + // { + // key: 1, + // label: "路管中心" + // }, + // { + // key: 2, + // label: "驻点" + // }, + // ] + // } + // }, { label: "机构名称:", key: "organizationName", @@ -199,7 +199,11 @@ export default { if (this.data) data.id = this.data.dcOrganizations.id; if (typeof data.parentId != 'number') data.parentId = 0; - if (data.stakeMark[0]) data.stakeMark = `K${data.stakeMark[0]}+${data.stakeMark[1]}`; + if (data.stakeMark[0]) { + data.stakeMark = `K${data.stakeMark[0]}+${data.stakeMark[1]}` + }else{ + data.stakeMark = '' + } request({ url: `/business/organization`,