From 255445feb5cfad0bae8d4f6e6cecc7b0d8127246 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Mon, 19 Jan 2026 16:47:46 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E8=B0=83=E6=95=B4=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E7=B1=BB=E6=8A=A4=E7=90=86=E7=9F=A9=E9=98=B5=E7=BC=96=E6=8E=92?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=9A=E6=8F=92=E5=85=A5=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=202=E3=80=81=E8=B0=83=E6=95=B4=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E7=B1=BB=E6=8A=A4=E7=90=86=E7=9F=A9=E9=98=B5=E7=BC=96?= =?UTF-8?q?=E6=8E=92=E6=8E=A5=E5=8F=A3=EF=BC=9A=E5=8F=98=E6=9B=B4=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=8C=87=E4=BB=A4=203=E3=80=81=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E7=B1=BB=E6=8A=A4=E7=90=86=E7=9F=A9=E9=98=B5?= =?UTF-8?q?=E7=BC=96=E6=8E=92=E6=8E=A5=E5=8F=A3=EF=BC=9A=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4=204=E3=80=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=BB=93=E5=BA=93=E7=B1=BB=E6=8A=A4=E7=90=86=E7=9F=A9?= =?UTF-8?q?=E9=98=B5=E7=BC=96=E6=8E=92=E6=8E=A5=E5=8F=A3=EF=BC=9A=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4=E7=9F=A9=E9=98=B5?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=205=E3=80=81=E8=A7=A3=E5=86=B3=E4=BE=9B?= =?UTF-8?q?=E5=BA=94=E5=95=86=E7=94=B3=E8=AF=B7=E6=8F=90=E4=BA=A4=E5=90=8E?= =?UTF-8?q?=E7=9C=8B=E4=B8=8D=E5=88=B0=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= =?UTF-8?q?=206=E3=80=81=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4=E5=8C=85?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B6=85=E6=97=B6=E6=97=B6=E9=95=BF=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=207=E3=80=81=E8=B0=83=E6=95=B4=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E5=8C=85=E4=B8=BB=E7=95=8C=E9=9D=A2=E3=80=81?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E6=8C=87=E4=BB=A4=E5=8C=85=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8C=E8=A7=A3=E5=86=B3=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=E6=97=B6=E6=98=BE=E7=A4=BA=E8=A2=AB=E9=81=AE?= =?UTF-8?q?=E6=8C=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../directivePackage/DirectivePackageList.vue | 186 +++++++++--------- .../components/ConfigServiceDirective.data.ts | 12 ++ .../components/ConfigServiceDirectiveList.vue | 1 - .../components/DirectivePackageForm.vue | 22 ++- .../components/DirectivePackageModal.vue | 1 + .../components/PackageList.vue | 115 ++++++----- .../components/ConfigServiceDirectiveForm.vue | 22 ++- 7 files changed, 202 insertions(+), 157 deletions(-) diff --git a/src/views/services/directivePackage/DirectivePackageList.vue b/src/views/services/directivePackage/DirectivePackageList.vue index c0a9db4..a93bfac 100644 --- a/src/views/services/directivePackage/DirectivePackageList.vue +++ b/src/views/services/directivePackage/DirectivePackageList.vue @@ -24,77 +24,40 @@ - - - - -
- -

服务时长:{{directive.totalDuration}} 分钟

-

创建时间:{{directive.createTime.substring(0,10)}}

-

说明:{{directive.description}}

-
+
+ + + + +
+ +

服务时长:{{ directive.totalDuration }} 分钟

+

超时时长:{{ directive.timeoutDuration }} 分钟

+

创建时间:{{ directive.createTime.substring(0, 10) }}

+

+ 说明:{{ directive.description }} +

+
编辑 +
+
+ +
-
- -
-
- - - - + + + +
共 {{ tableData.total }} 条数据 @@ -118,30 +81,30 @@ const registerModal = ref(); const searchForm = ref({}) const tableData = ref({}) const labelCol = reactive({ - xs:24, - sm:6, - xl:6, - xxl:6 - }); - const wrapperCol = reactive({ - xs: 24, - sm: 24, - }); + xs: 24, + sm: 6, + xl: 6, + xxl: 6 +}); +const wrapperCol = reactive({ + xs: 24, + sm: 24, +}); const pageParams = ref({ pageNo: 1, pageSize: 12 }) //启用停用 -function handleChangeIzEnabled(record){ +function handleChangeIzEnabled(record) { var izEnabled = record.izEnabled == 'Y' ? 'N' : 'Y'; - var params = {id:record.id,izEnabled}; + var params = { id: record.id, izEnabled }; defHttp.post({ url: '/services/directivePackage/directivePackage/edit', params }).then((res) => { searchQuery() }); } -function getHHMM(value){ - if(value){ -return dayjs(value).format('HH:mm') - }else{ +function getHHMM(value) { + if (value) { + return dayjs(value).format('HH:mm') + } else { return '未配置' } } @@ -211,7 +174,7 @@ onMounted(() => {