From f99e7c18140a7c45d0fb39cbf99b722f3c21d271 Mon Sep 17 00:00:00 2001
From: "1378012178@qq.com" <1378012178@qq.com>
Date: Wed, 19 Mar 2025 09:47:28 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E3=80=81=E8=B0=83=E6=95=B4=E7=B3=BB?=
=?UTF-8?q?=E7=BB=9F=E5=AD=97=E5=85=B8=E8=A1=A8=201=E3=80=81=E5=90=AF?=
=?UTF-8?q?=E7=94=A8=E5=81=9C=E7=94=A8=E7=9A=84=E5=80=BC=202=E3=80=81?=
=?UTF-8?q?=E5=81=9C=E7=94=A8=E5=90=8E=E4=BE=9D=E6=97=A7=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=EF=BC=88=E5=8E=9F=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=89=E4=BD=86?=
=?UTF-8?q?=E6=98=AF=E5=B0=86=E4=B8=8B=E6=8B=89=E9=80=89=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=E4=B8=BA=E7=A6=81=E7=94=A8=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/jeecg/components/JDictSelectTag.vue | 366 +++++++++---------
.../config/directiveTag/DirectiveTagList.vue | 29 +-
.../ConfigServiceCategoryList.vue | 26 +-
.../ConfigServiceDirective.data.ts | 8 +-
.../ConfigServiceDirectiveList.vue | 34 +-
.../components/ConfigServiceDirectiveForm.vue | 98 ++---
.../ConfigServiceDirectiveModal.vue | 3 +-
.../serviceType/ConfigServiceTypeList.vue | 24 +-
.../components/ConfigServiceTypeForm.vue | 2 +-
.../system/dict/components/DictItemList.vue | 2 +-
src/views/system/dict/dict.data.ts | 2 +-
11 files changed, 299 insertions(+), 295 deletions(-)
diff --git a/src/components/Form/src/jeecg/components/JDictSelectTag.vue b/src/components/Form/src/jeecg/components/JDictSelectTag.vue
index 8ca4988..ffbb017 100644
--- a/src/components/Form/src/jeecg/components/JDictSelectTag.vue
+++ b/src/components/Form/src/jeecg/components/JDictSelectTag.vue
@@ -1,21 +1,18 @@
-
+
-
+
{{ item.label }}
-
+
{{ item.label }}
@@ -30,24 +27,13 @@
-
+
请选择…
-
-
+
+
{{ item.label }}
@@ -56,182 +42,184 @@
+// update-begin--author:liaozhiyang---date:20230110---for:【QQYUN-7799】字典组件(原生组件除外)加上颜色配置
+.colorText {
+ display: inline-block;
+ height: 20px;
+ line-height: 20px;
+ padding: 0 6px;
+ border-radius: 8px;
+ background-color: red;
+ color: #fff;
+ font-size: 12px;
+}
+
+// update-begin--author:liaozhiyang---date:20230110---for:【QQYUN-7799】字典组件(原生组件除外)加上颜色配置
diff --git a/src/views/config/directiveTag/DirectiveTagList.vue b/src/views/config/directiveTag/DirectiveTagList.vue
index d193bcc..839c86a 100644
--- a/src/views/config/directiveTag/DirectiveTagList.vue
+++ b/src/views/config/directiveTag/DirectiveTagList.vue
@@ -8,7 +8,7 @@
标签名称
-
+
@@ -95,8 +95,13 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
columns,
canResize: false,
useSearchForm: false,
+ pagination: {
+ current: 1,
+ pageSize: 50,
+ pageSizeOptions: ['50', '70', '100'],
+ },
actionColumn: {
- width: 120,
+ width: 160,
fixed: 'right',
},
beforeFetch: async (params) => {
@@ -195,16 +200,7 @@ function getTableAction(record) {
{
label: '编辑',
onClick: handleEdit.bind(null, record)
- },
- ];
-}
-
-/**
- * 下拉操作栏
- */
-function getDropDownAction(record) {
- return [
- {
+ }, {
label: '详情',
onClick: handleDetail.bind(null, record),
}, {
@@ -215,6 +211,15 @@ function getDropDownAction(record) {
placement: 'topLeft',
}
}
+ ];
+}
+
+/**
+ * 下拉操作栏
+ */
+function getDropDownAction(record) {
+ return [
+
]
}
diff --git a/src/views/config/serviceCategory/ConfigServiceCategoryList.vue b/src/views/config/serviceCategory/ConfigServiceCategoryList.vue
index 211609f..8028233 100644
--- a/src/views/config/serviceCategory/ConfigServiceCategoryList.vue
+++ b/src/views/config/serviceCategory/ConfigServiceCategoryList.vue
@@ -95,7 +95,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
canResize: false,
useSearchForm: false,
actionColumn: {
- width: 120,
+ width: 160,
fixed: 'right',
},
beforeFetch: async (params) => {
@@ -195,6 +195,18 @@ function getTableAction(record) {
label: '编辑',
onClick: handleEdit.bind(null, record)
},
+ {
+ label: '详情',
+ onClick: handleDetail.bind(null, record),
+ },
+ {
+ label: '删除',
+ popConfirm: {
+ title: '是否确认删除',
+ confirm: handleDelete.bind(null, record),
+ placement: 'topLeft',
+ }
+ }
];
}
@@ -203,17 +215,7 @@ function getTableAction(record) {
*/
function getDropDownAction(record) {
return [
- {
- label: '详情',
- onClick: handleDetail.bind(null, record),
- }, {
- label: '删除',
- popConfirm: {
- title: '是否确认删除',
- confirm: handleDelete.bind(null, record),
- placement: 'topLeft',
- }
- }
+
]
}
diff --git a/src/views/config/serviceDirective/ConfigServiceDirective.data.ts b/src/views/config/serviceDirective/ConfigServiceDirective.data.ts
index 612d117..0140b46 100644
--- a/src/views/config/serviceDirective/ConfigServiceDirective.data.ts
+++ b/src/views/config/serviceDirective/ConfigServiceDirective.data.ts
@@ -26,7 +26,7 @@ export const columns: BasicColumn[] = [
},
},
{
- title: '指令标签',
+ title: '分类标签',
align: 'center',
dataIndex: 'instructionTagId_dictText',
width: 100,
@@ -133,9 +133,9 @@ export const columns: BasicColumn[] = [
// 高级查询数据
export const superQuerySchema = {
- categoryId: { title: '服务类别id', order: 0, view: 'list', type: 'string', dictCode: '' },
- typeId: { title: '服务类型id', order: 1, view: 'list', type: 'string', dictCode: '' },
- instructionTagId: { title: '指令标签id', order: 2, view: 'list', type: 'string', dictCode: 'instruction_tag' },
+ categoryId: { title: '服务类别', order: 0, view: 'list', type: 'string', dictCode: '' },
+ typeId: { title: '服务类型', order: 1, view: 'list', type: 'string', dictCode: '' },
+ instructionTagId: { title: '分类标签', order: 2, view: 'list', type: 'string', dictCode: 'instruction_tag' },
directiveName: { title: '服务指令名称', order: 3, view: 'text', type: 'string' },
tollPrice: { title: '收费价格', order: 4, view: 'number', type: 'number' },
comPrice: { title: '提成价格', order: 5, view: 'number', type: 'number' },
diff --git a/src/views/config/serviceDirective/ConfigServiceDirectiveList.vue b/src/views/config/serviceDirective/ConfigServiceDirectiveList.vue
index c360aa1..b2ee88e 100644
--- a/src/views/config/serviceDirective/ConfigServiceDirectiveList.vue
+++ b/src/views/config/serviceDirective/ConfigServiceDirectiveList.vue
@@ -9,7 +9,7 @@
服务类别
@@ -17,7 +17,7 @@
服务类型
@@ -32,7 +32,7 @@
服务指令
-
+