From 5ec93fec29a4ab4ffa12aeb439b4650fa5e3f636 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Fri, 28 Mar 2025 16:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4=E5=8C=85?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../directivePackage/DirectivePackageList.vue | 14 +- .../components/ConfigServiceDirective.data.ts | 143 +++------ .../components/ConfigServiceDirectiveForm.vue | 31 -- .../components/ConfigServiceDirectiveList.vue | 300 ++++-------------- .../ConfigServiceDirectiveModal.vue | 131 ++++---- .../components/DirectivePackageForm.vue | 4 +- .../components/DirectivePackageModal.vue | 152 +++++++-- .../components/PackageList.vue | 270 ++++++++++++++++ .../ConfigServiceDirectiveList.vue | 4 +- 9 files changed, 582 insertions(+), 467 deletions(-) create mode 100644 src/views/serviceDirective/directivePackage/components/PackageList.vue diff --git a/src/views/serviceDirective/directivePackage/DirectivePackageList.vue b/src/views/serviceDirective/directivePackage/DirectivePackageList.vue index 0651608..d3bf860 100644 --- a/src/views/serviceDirective/directivePackage/DirectivePackageList.vue +++ b/src/views/serviceDirective/directivePackage/DirectivePackageList.vue @@ -30,10 +30,10 @@
{{ directive.description }}
{{ directive.createTime }} - {{ directive.createBy }}
- 编辑 - 删除 + 编辑 + + 删除 +
@@ -45,7 +45,7 @@ @@ -429,7 +253,6 @@ defineExpose({ .table-page-search-submitButtons { display: block; - margin-bottom: 24px; white-space: nowrap; } @@ -444,8 +267,7 @@ defineExpose({ } .ant-form-item:not(.ant-form-item-with-help) { - margin-bottom: 16px; - height: 32px; + height: 0px; } :deep(.ant-picker), @@ -462,4 +284,8 @@ audio::-webkit-media-controls-current-time-display, audio::-webkit-media-controls-time-remaining-display { display: none; } + +:deep(.ant-table-title) { + display: none !important; +} diff --git a/src/views/serviceDirective/directivePackage/components/ConfigServiceDirectiveModal.vue b/src/views/serviceDirective/directivePackage/components/ConfigServiceDirectiveModal.vue index 0aecc0f..c22ff52 100644 --- a/src/views/serviceDirective/directivePackage/components/ConfigServiceDirectiveModal.vue +++ b/src/views/serviceDirective/directivePackage/components/ConfigServiceDirectiveModal.vue @@ -1,78 +1,81 @@ diff --git a/src/views/serviceDirective/directivePackage/components/DirectivePackageForm.vue b/src/views/serviceDirective/directivePackage/components/DirectivePackageForm.vue index 66caa4c..b6241f9 100644 --- a/src/views/serviceDirective/directivePackage/components/DirectivePackageForm.vue +++ b/src/views/serviceDirective/directivePackage/components/DirectivePackageForm.vue @@ -152,8 +152,8 @@ async function submitForm(directives) { } } } - if (directives.value.length > 0) { - model.directives = directives.value + if (directives.length > 0) { + model.directives = directives } await saveOrUpdate(model, isUpdate.value) .then((res) => { diff --git a/src/views/serviceDirective/directivePackage/components/DirectivePackageModal.vue b/src/views/serviceDirective/directivePackage/components/DirectivePackageModal.vue index 1c4e1ab..e031972 100644 --- a/src/views/serviceDirective/directivePackage/components/DirectivePackageModal.vue +++ b/src/views/serviceDirective/directivePackage/components/DirectivePackageModal.vue @@ -2,7 +2,7 @@ -
@@ -13,10 +13,13 @@
- -
+ 引用 + 新增 + +
- {{ directive.directiveName }} + {{ directive.directiveName + handleTags('(', directive, ')') }} @@ -25,18 +28,14 @@
-
分类标签:{{ derectiveInfo.instructionTagId_dictText }}
-
服务类别:{{ derectiveInfo.categoryId_dictText }}
-
服务类型:{{ derectiveInfo.typeId_dictText }}
+
分类标签:{{ filterDictTextByCache('instruction_tag', derectiveInfo.instructionTagId) }}
+
服务类别:{{ derectiveInfo.categoryName }}
+
服务类型:{{ derectiveInfo.typeName }}
服务指令名称:{{ derectiveInfo.directiveName }}
- -
周期类型:{{ derectiveInfo.cycleType }}
+
周期类型:{{ filterDictTextByCache('period_type', derectiveInfo.cycleType) }}
服务时长(分钟):{{ derectiveInfo.serviceDuration }}
服务说明:{{ derectiveInfo.serviceContent }}
-
指令标签:{{ derectiveInfo.tags }}
+
指令标签:{{ handleTags('', derectiveInfo, '') }}
语音文件: 暂无文件
- - - + + + + + + + + + +