From 9e7c7f13e78071b2c780e055b29fccfbfa22e352 Mon Sep 17 00:00:00 2001
From: "1378012178@qq.com" <1378012178@qq.com>
Date: Fri, 11 Jul 2025 09:24:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=8C=87=E4=BB=A4=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/midiaManage/MediaDetail.vue | 2 +-
...ckerComponent.vue => PreviewComponent.vue} | 0
.../sysBaseInfo/MediaManagePicker.api.ts | 10 +
.../directivetag/bodytag/BodyTag.api.ts | 72 +++
.../directivetag/bodytag/BodyTag.data.ts | 30 +
.../directivetag/bodytag/BodyTagList.vue | 278 +++++++++
.../bodytag/components/BodyTagForm.vue | 161 ++++++
.../bodytag/components/BodyTagModal.vue | 77 +++
.../directivetag/emotiontag/EmotionTag.api.ts | 72 +++
.../emotiontag/EmotionTag.data.ts | 30 +
.../emotiontag/EmotionTagList.vue | 278 +++++++++
.../emotiontag/components/EmotionTagForm.vue | 161 ++++++
.../emotiontag/components/EmotionTagModal.vue | 77 +++
.../instructiontag/InstructionTag.api.ts | 72 +++
.../instructiontag/InstructionTag.data.ts | 31 +
.../instructiontag/InstructionTag.vue | 274 +++++++++
.../components/InstructionTagForm.vue | 165 ++++++
.../components/InstructionTagModal.vue | 77 +++
.../ConfigServiceCategory.api.ts | 72 +++
.../ConfigServiceCategory.data.ts | 36 ++
.../ConfigServiceCategoryList.vue | 282 +++++++++
.../components/ConfigServiceCategoryForm.vue | 176 ++++++
.../components/ConfigServiceCategoryModal.vue | 77 +++
.../ConfigServiceDirective.api.ts | 9 -
.../ConfigServiceDirective.data.ts | 89 +--
.../ConfigServiceDirectiveList.vue | 547 ++++++++++++------
.../components/ConfigServiceDirectiveForm.vue | 141 +++--
.../ConfigServiceDirectiveModal.vue | 137 +++--
.../serviceType/ConfigServiceType.api.ts | 74 +++
.../serviceType/ConfigServiceType.data.ts | 42 ++
.../serviceType/ConfigServiceTypeList.vue | 290 ++++++++++
.../components/ConfigServiceTypeForm.vue | 198 +++++++
.../components/ConfigServiceTypeModal.vue | 79 +++
.../ConfigServiceDirective.api.ts | 81 +++
.../ConfigServiceDirective.data.ts | 123 ++++
.../ConfigServiceDirectiveList.vue | 300 ++++++++++
.../components/ConfigServiceDirectiveForm.vue | 369 ++++++++++++
.../ConfigServiceDirectiveModal.vue | 87 +++
src/views/synchronization/directive/index.vue | 4 +-
39 files changed, 4748 insertions(+), 332 deletions(-)
rename src/utils/midiaManage/{PreviewPickerComponent.vue => PreviewComponent.vue} (100%)
create mode 100644 src/utils/sysBaseInfo/MediaManagePicker.api.ts
create mode 100644 src/views/services/directivetag/bodytag/BodyTag.api.ts
create mode 100644 src/views/services/directivetag/bodytag/BodyTag.data.ts
create mode 100644 src/views/services/directivetag/bodytag/BodyTagList.vue
create mode 100644 src/views/services/directivetag/bodytag/components/BodyTagForm.vue
create mode 100644 src/views/services/directivetag/bodytag/components/BodyTagModal.vue
create mode 100644 src/views/services/directivetag/emotiontag/EmotionTag.api.ts
create mode 100644 src/views/services/directivetag/emotiontag/EmotionTag.data.ts
create mode 100644 src/views/services/directivetag/emotiontag/EmotionTagList.vue
create mode 100644 src/views/services/directivetag/emotiontag/components/EmotionTagForm.vue
create mode 100644 src/views/services/directivetag/emotiontag/components/EmotionTagModal.vue
create mode 100644 src/views/services/instructiontag/InstructionTag.api.ts
create mode 100644 src/views/services/instructiontag/InstructionTag.data.ts
create mode 100644 src/views/services/instructiontag/InstructionTag.vue
create mode 100644 src/views/services/instructiontag/components/InstructionTagForm.vue
create mode 100644 src/views/services/instructiontag/components/InstructionTagModal.vue
create mode 100644 src/views/services/serviceCategory/ConfigServiceCategory.api.ts
create mode 100644 src/views/services/serviceCategory/ConfigServiceCategory.data.ts
create mode 100644 src/views/services/serviceCategory/ConfigServiceCategoryList.vue
create mode 100644 src/views/services/serviceCategory/components/ConfigServiceCategoryForm.vue
create mode 100644 src/views/services/serviceCategory/components/ConfigServiceCategoryModal.vue
create mode 100644 src/views/services/serviceType/ConfigServiceType.api.ts
create mode 100644 src/views/services/serviceType/ConfigServiceType.data.ts
create mode 100644 src/views/services/serviceType/ConfigServiceTypeList.vue
create mode 100644 src/views/services/serviceType/components/ConfigServiceTypeForm.vue
create mode 100644 src/views/services/serviceType/components/ConfigServiceTypeModal.vue
create mode 100644 src/views/synchronization/directive/directiveCom/ConfigServiceDirective.api.ts
create mode 100644 src/views/synchronization/directive/directiveCom/ConfigServiceDirective.data.ts
create mode 100644 src/views/synchronization/directive/directiveCom/ConfigServiceDirectiveList.vue
create mode 100644 src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveForm.vue
create mode 100644 src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveModal.vue
diff --git a/src/utils/midiaManage/MediaDetail.vue b/src/utils/midiaManage/MediaDetail.vue
index 3a135e9..837aaa2 100644
--- a/src/utils/midiaManage/MediaDetail.vue
+++ b/src/utils/midiaManage/MediaDetail.vue
@@ -18,7 +18,7 @@
+
+
diff --git a/src/views/services/directivetag/bodytag/components/BodyTagForm.vue b/src/views/services/directivetag/bodytag/components/BodyTagForm.vue
new file mode 100644
index 0000000..0d69a4c
--- /dev/null
+++ b/src/views/services/directivetag/bodytag/components/BodyTagForm.vue
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/directivetag/bodytag/components/BodyTagModal.vue b/src/views/services/directivetag/bodytag/components/BodyTagModal.vue
new file mode 100644
index 0000000..a6de59b
--- /dev/null
+++ b/src/views/services/directivetag/bodytag/components/BodyTagModal.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/directivetag/emotiontag/EmotionTag.api.ts b/src/views/services/directivetag/emotiontag/EmotionTag.api.ts
new file mode 100644
index 0000000..56fa435
--- /dev/null
+++ b/src/views/services/directivetag/emotiontag/EmotionTag.api.ts
@@ -0,0 +1,72 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/services/directiveTag/emotionTag/list',
+ save='/services/directiveTag/emotionTag/add',
+ edit='/services/directiveTag/emotionTag/edit',
+ deleteOne = '/services/directiveTag/emotionTag/delete',
+ deleteBatch = '/services/directiveTag/emotionTag/deleteBatch',
+ importExcel = '/services/directiveTag/emotionTag/importExcel',
+ exportXls = '/services/directiveTag/emotionTag/exportXls',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
diff --git a/src/views/services/directivetag/emotiontag/EmotionTag.data.ts b/src/views/services/directivetag/emotiontag/EmotionTag.data.ts
new file mode 100644
index 0000000..24c3d93
--- /dev/null
+++ b/src/views/services/directivetag/emotiontag/EmotionTag.data.ts
@@ -0,0 +1,30 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+import { getWeekMonthQuarterYear } from '/@/utils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '情绪名称',
+ align: "center",
+ dataIndex: 'tagName'
+ },
+ {
+ title: '排序',
+ align: "center",
+ dataIndex: 'sort'
+ },
+ {
+ title: '是否启用',
+ align: "center",
+ dataIndex: 'izEnabled_dictText'
+ },
+];
+
+// 高级查询数据
+export const superQuerySchema = {
+ tagName: {title: '情绪名称',order: 0,view: 'text', type: 'string',},
+ sort: {title: '排序',order: 1,view: 'number', type: 'number',},
+ izEnabled: {title: '是否启用',order: 2,view: 'radio', type: 'string',dictCode: 'iz_enabled',},
+};
diff --git a/src/views/services/directivetag/emotiontag/EmotionTagList.vue b/src/views/services/directivetag/emotiontag/EmotionTagList.vue
new file mode 100644
index 0000000..14587b5
--- /dev/null
+++ b/src/views/services/directivetag/emotiontag/EmotionTagList.vue
@@ -0,0 +1,278 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/directivetag/emotiontag/components/EmotionTagForm.vue b/src/views/services/directivetag/emotiontag/components/EmotionTagForm.vue
new file mode 100644
index 0000000..1c24d7c
--- /dev/null
+++ b/src/views/services/directivetag/emotiontag/components/EmotionTagForm.vue
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/directivetag/emotiontag/components/EmotionTagModal.vue b/src/views/services/directivetag/emotiontag/components/EmotionTagModal.vue
new file mode 100644
index 0000000..3fe6139
--- /dev/null
+++ b/src/views/services/directivetag/emotiontag/components/EmotionTagModal.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/instructiontag/InstructionTag.api.ts b/src/views/services/instructiontag/InstructionTag.api.ts
new file mode 100644
index 0000000..dd5f6c5
--- /dev/null
+++ b/src/views/services/instructiontag/InstructionTag.api.ts
@@ -0,0 +1,72 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/services/instructionTag/list',
+ save='/services/instructionTag/add',
+ edit='/services/instructionTag/edit',
+ deleteOne = '/services/instructionTag/delete',
+ deleteBatch = '/services/instructionTag/deleteBatch',
+ importExcel = '/services/instructionTag/importExcel',
+ exportXls = '/services/instructionTag/exportXls',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
diff --git a/src/views/services/instructiontag/InstructionTag.data.ts b/src/views/services/instructiontag/InstructionTag.data.ts
new file mode 100644
index 0000000..311bf5f
--- /dev/null
+++ b/src/views/services/instructiontag/InstructionTag.data.ts
@@ -0,0 +1,31 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+import { getWeekMonthQuarterYear } from '/@/utils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '分类标签',
+ align: "center",
+ dataIndex: 'instructionName'
+ },
+ {
+ title: '排序',
+ align: "center",
+ sorter: true,
+ dataIndex: 'sort'
+ },
+ {
+ title: '是否启用',
+ align: "center",
+ dataIndex: 'izEnabled_dictText'
+ },
+];
+
+// 高级查询数据
+export const superQuerySchema = {
+ instructionTagName: {title: '分类标签',order: 0,view: 'text', type: 'string',},
+ sort: {title: '排序',order: 1,view: 'number', type: 'number',},
+ izEnabled: {title: '是否启用',order: 2,view: 'radio', type: 'string',dictCode: '',},
+};
diff --git a/src/views/services/instructiontag/InstructionTag.vue b/src/views/services/instructiontag/InstructionTag.vue
new file mode 100644
index 0000000..c52f63b
--- /dev/null
+++ b/src/views/services/instructiontag/InstructionTag.vue
@@ -0,0 +1,274 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/instructiontag/components/InstructionTagForm.vue b/src/views/services/instructiontag/components/InstructionTagForm.vue
new file mode 100644
index 0000000..814dbaa
--- /dev/null
+++ b/src/views/services/instructiontag/components/InstructionTagForm.vue
@@ -0,0 +1,165 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/instructiontag/components/InstructionTagModal.vue b/src/views/services/instructiontag/components/InstructionTagModal.vue
new file mode 100644
index 0000000..407f1af
--- /dev/null
+++ b/src/views/services/instructiontag/components/InstructionTagModal.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/serviceCategory/ConfigServiceCategory.api.ts b/src/views/services/serviceCategory/ConfigServiceCategory.api.ts
new file mode 100644
index 0000000..0b2ee7d
--- /dev/null
+++ b/src/views/services/serviceCategory/ConfigServiceCategory.api.ts
@@ -0,0 +1,72 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/services/serviceCategory/configServiceCategory/list',
+ save='/services/serviceCategory/configServiceCategory/add',
+ edit='/services/serviceCategory/configServiceCategory/edit',
+ deleteOne = '/services/serviceCategory/configServiceCategory/delete',
+ deleteBatch = '/services/serviceCategory/configServiceCategory/deleteBatch',
+ importExcel = '/services/serviceCategory/configServiceCategory/importExcel',
+ exportXls = '/services/serviceCategory/configServiceCategory/exportXls',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
diff --git a/src/views/services/serviceCategory/ConfigServiceCategory.data.ts b/src/views/services/serviceCategory/ConfigServiceCategory.data.ts
new file mode 100644
index 0000000..ce3feb0
--- /dev/null
+++ b/src/views/services/serviceCategory/ConfigServiceCategory.data.ts
@@ -0,0 +1,36 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+import { getWeekMonthQuarterYear } from '/@/utils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '分类标签',
+ align: "center",
+ dataIndex: 'instructionId_dictText'
+ },
+ {
+ title: '服务类别',
+ align: "center",
+ dataIndex: 'categoryName'
+ },
+ {
+ title: '排序',
+ align: "center",
+ sorter: true,
+ dataIndex: 'sort'
+ },
+ {
+ title: '是否启用',
+ align: "center",
+ dataIndex: 'izEnabled_dictText'
+ },
+];
+
+// 高级查询数据
+export const superQuerySchema = {
+ categoryName: {title: '服务类别',order: 0,view: 'text', type: 'string',},
+ sort: {title: '排序',order: 1,view: 'number', type: 'number',},
+ izEnabled: {title: '是否启用',order: 2,view: 'radio', type: 'string',dictCode: '',},
+};
diff --git a/src/views/services/serviceCategory/ConfigServiceCategoryList.vue b/src/views/services/serviceCategory/ConfigServiceCategoryList.vue
new file mode 100644
index 0000000..2ee8931
--- /dev/null
+++ b/src/views/services/serviceCategory/ConfigServiceCategoryList.vue
@@ -0,0 +1,282 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/serviceCategory/components/ConfigServiceCategoryForm.vue b/src/views/services/serviceCategory/components/ConfigServiceCategoryForm.vue
new file mode 100644
index 0000000..cae6e81
--- /dev/null
+++ b/src/views/services/serviceCategory/components/ConfigServiceCategoryForm.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/serviceCategory/components/ConfigServiceCategoryModal.vue b/src/views/services/serviceCategory/components/ConfigServiceCategoryModal.vue
new file mode 100644
index 0000000..c91ff3e
--- /dev/null
+++ b/src/views/services/serviceCategory/components/ConfigServiceCategoryModal.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/serviceDirective/ConfigServiceDirective.api.ts b/src/views/services/serviceDirective/ConfigServiceDirective.api.ts
index ed1e4fd..6f651d6 100644
--- a/src/views/services/serviceDirective/ConfigServiceDirective.api.ts
+++ b/src/views/services/serviceDirective/ConfigServiceDirective.api.ts
@@ -11,7 +11,6 @@ enum Api {
deleteBatch = '/services/serviceDirective/configServiceDirective/deleteBatch',
importExcel = '/services/serviceDirective/configServiceDirective/importExcel',
exportXls = '/services/serviceDirective/configServiceDirective/exportXls',
- async = '/services/serviceDirective/configServiceDirective/async',
}
/**
@@ -71,11 +70,3 @@ export const saveOrUpdate = (params, isUpdate) => {
let url = isUpdate ? Api.edit : Api.save;
return defHttp.post({ url: url, params }, { isTransformResponse: false });
}
-
-/**
- * 同步数据
- * @param params
- */
-export const asyncFunc = (params) => {
- return defHttp.post({ url: Api.async, params }, { isTransformResponse: false });
-}
\ No newline at end of file
diff --git a/src/views/services/serviceDirective/ConfigServiceDirective.data.ts b/src/views/services/serviceDirective/ConfigServiceDirective.data.ts
index 2061be8..969edcf 100644
--- a/src/views/services/serviceDirective/ConfigServiceDirective.data.ts
+++ b/src/views/services/serviceDirective/ConfigServiceDirective.data.ts
@@ -1,8 +1,4 @@
import { BasicColumn } from '/@/components/Table';
-import { FormSchema } from '/@/components/Table';
-import { rules } from '/@/utils/helper/validator';
-import { render } from '/@/utils/common/renderUtils';
-import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
{
@@ -10,34 +6,34 @@ export const columns: BasicColumn[] = [
align: 'center',
dataIndex: 'instructionTagId_dictText',
width: 100,
- // customCell: (record, index, column) => {
- // if (record.instructionRowSpan != null) {
- // return { rowSpan: record.instructionRowSpan };
- // }
- // },
+ customCell: (record, index, column) => {
+ if (record.instructionRowSpan != null) {
+ return { rowSpan: record.instructionRowSpan };
+ }
+ },
},
{
title: '服务类别',
align: 'center',
dataIndex: 'categoryId_dictText',
- // customCell: (record, index, column) => {
- // if (record.categoryRowSpan != null) {
- // return { rowSpan: record.categoryRowSpan };
- // }
- // },
+ customCell: (record, index, column) => {
+ if (record.categoryRowSpan != null) {
+ return { rowSpan: record.categoryRowSpan };
+ }
+ },
},
{
title: '服务类型',
align: 'center',
dataIndex: 'typeId_dictText',
- // customCell: (record, index, column) => {
- // if (record.typeRowSpan != null) {
- // return { rowSpan: record.typeRowSpan };
- // }
- // },
+ customCell: (record, index, column) => {
+ if (record.typeRowSpan != null) {
+ return { rowSpan: record.typeRowSpan };
+ }
+ },
},
{
- title: '服务指令名称',
+ title: '服务指令',
align: 'center',
dataIndex: 'directiveName',
},
@@ -47,13 +43,13 @@ export const columns: BasicColumn[] = [
dataIndex: 'bodyTagList',
width: 150,
ellipsis: false,
- format(text, record, index) {
- if (!!text && text.length > 0) {
- return text.map((item) => item.tagName).join('、');
- } else {
- return '-';
- }
- },
+ // format(text, record, index) {
+ // if (!!text) {
+ // return text.map((item) => item.tagName).join('、');
+ // } else {
+ // return '-';
+ // }
+ // },
},
{
title: '情绪标签',
@@ -61,13 +57,36 @@ export const columns: BasicColumn[] = [
dataIndex: 'emotionTagList',
width: 150,
ellipsis: false,
- format(text, record, index) {
- if (!!text && text.length > 0) {
- return text.map((item) => item.tagName).join('、');
- } else {
- return '-';
- }
- },
+ // format(text, record, index) {
+ // if (!!text) {
+ // return text.map((item) => item.tagName).join('、');
+ // } else {
+ // return '-';
+ // }
+ // },
+ },
+ {
+ title: '收费价格',
+ align: 'center',
+ dataIndex: 'tollPrice',
+ width: 100,
+ },
+ {
+ title: '提成价格',
+ align: 'center',
+ dataIndex: 'comPrice',
+ },
+ {
+ title: '医保报销',
+ align: 'center',
+ dataIndex: 'izReimbursement_dictText',
+ width: 100,
+ },
+ {
+ title: '机构优惠',
+ align: 'center',
+ dataIndex: 'izPreferential_dictText',
+ width: 100,
},
{
title: '周期类型',
@@ -103,7 +122,7 @@ export const superQuerySchema = {
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' },
+ directiveName: { title: '服务指令', order: 3, view: 'text', type: 'string' },
tollPrice: { title: '收费价格', order: 4, view: 'number', type: 'number' },
comPrice: { title: '提成价格', order: 5, view: 'number', type: 'number' },
izReimbursement: { title: '医保报销', order: 6, view: 'radio', type: 'string', dictCode: '' },
diff --git a/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue b/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue
index 92ab6d8..6461a5a 100644
--- a/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue
+++ b/src/views/services/serviceDirective/ConfigServiceDirectiveList.vue
@@ -1,136 +1,236 @@
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue b/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue
index 052f478..ebecf92 100644
--- a/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue
+++ b/src/views/services/serviceDirective/components/ConfigServiceDirectiveForm.vue
@@ -3,28 +3,29 @@
+ name="ConfigService2DirectiveForm">
-
+
-
+
+ :disabled="!formData.categoryId" placeholder="请选择服务类型" allowClear />
@@ -50,22 +51,22 @@
-
+
-
-
+
@@ -86,37 +87,71 @@
-
-
-
+
-
- 无文件
-
+
+ 选取图片
+
- 无文件
-
+ 选取图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选取文件
+
+
+
+
+
+ 选取文件
+
@@ -128,17 +163,17 @@
-
-
+
+
-
-
+
+
@@ -147,10 +182,14 @@
+
+
diff --git a/src/views/services/serviceType/ConfigServiceType.api.ts b/src/views/services/serviceType/ConfigServiceType.api.ts
new file mode 100644
index 0000000..a191b84
--- /dev/null
+++ b/src/views/services/serviceType/ConfigServiceType.api.ts
@@ -0,0 +1,74 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/services/ServiceType/configServiceType/list',
+ save='/services/ServiceType/configServiceType/add',
+ edit='/services/ServiceType/configServiceType/edit',
+ deleteOne = '/services/ServiceType/configServiceType/delete',
+ deleteBatch = '/services/ServiceType/configServiceType/deleteBatch',
+ importExcel = '/services/ServiceType/configServiceType/importExcel',
+ exportXls = '/services/ServiceType/configServiceType/exportXls'
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
+
+
diff --git a/src/views/services/serviceType/ConfigServiceType.data.ts b/src/views/services/serviceType/ConfigServiceType.data.ts
new file mode 100644
index 0000000..89f164d
--- /dev/null
+++ b/src/views/services/serviceType/ConfigServiceType.data.ts
@@ -0,0 +1,42 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+import { getWeekMonthQuarterYear } from '/@/utils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '分类标签',
+ align: "center",
+ dataIndex: 'instructionId_dictText'
+ },
+ {
+ title: '服务类别',
+ align: "center",
+ dataIndex: 'categoryId_dictText'
+ },
+ {
+ title: '服务类型',
+ align: "center",
+ dataIndex: 'typeName'
+ },
+ {
+ title: '排序',
+ align: "center",
+ sorter: true,
+ dataIndex: 'sort'
+ },
+ {
+ title: '是否启用',
+ align: "center",
+ dataIndex: 'izEnabled_dictText'
+ },
+];
+
+// 高级查询数据
+export const superQuerySchema = {
+ categoryId: {title: '服务类别id',order: 0,view: 'list', type: 'string',dictCode: '',},
+ typeName: {title: '服务类型名称',order: 1,view: 'text', type: 'string',},
+ sort: {title: '排序',order: 2,view: 'number', type: 'number',},
+ izEnabled: {title: '是否启用',order: 3,view: 'text', type: 'string',},
+};
diff --git a/src/views/services/serviceType/ConfigServiceTypeList.vue b/src/views/services/serviceType/ConfigServiceTypeList.vue
new file mode 100644
index 0000000..a418e6a
--- /dev/null
+++ b/src/views/services/serviceType/ConfigServiceTypeList.vue
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/services/serviceType/components/ConfigServiceTypeForm.vue b/src/views/services/serviceType/components/ConfigServiceTypeForm.vue
new file mode 100644
index 0000000..6d1ce81
--- /dev/null
+++ b/src/views/services/serviceType/components/ConfigServiceTypeForm.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/services/serviceType/components/ConfigServiceTypeModal.vue b/src/views/services/serviceType/components/ConfigServiceTypeModal.vue
new file mode 100644
index 0000000..0b17b0d
--- /dev/null
+++ b/src/views/services/serviceType/components/ConfigServiceTypeModal.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/synchronization/directive/directiveCom/ConfigServiceDirective.api.ts b/src/views/synchronization/directive/directiveCom/ConfigServiceDirective.api.ts
new file mode 100644
index 0000000..ed1e4fd
--- /dev/null
+++ b/src/views/synchronization/directive/directiveCom/ConfigServiceDirective.api.ts
@@ -0,0 +1,81 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/services/serviceDirective/configServiceDirective/list',
+ save='/services/serviceDirective/configServiceDirective/add',
+ edit='/services/serviceDirective/configServiceDirective/edit',
+ deleteOne = '/services/serviceDirective/configServiceDirective/delete',
+ deleteBatch = '/services/serviceDirective/configServiceDirective/deleteBatch',
+ importExcel = '/services/serviceDirective/configServiceDirective/importExcel',
+ exportXls = '/services/serviceDirective/configServiceDirective/exportXls',
+ async = '/services/serviceDirective/configServiceDirective/async',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
+
+/**
+ * 同步数据
+ * @param params
+ */
+export const asyncFunc = (params) => {
+ return defHttp.post({ url: Api.async, params }, { isTransformResponse: false });
+}
\ No newline at end of file
diff --git a/src/views/synchronization/directive/directiveCom/ConfigServiceDirective.data.ts b/src/views/synchronization/directive/directiveCom/ConfigServiceDirective.data.ts
new file mode 100644
index 0000000..2061be8
--- /dev/null
+++ b/src/views/synchronization/directive/directiveCom/ConfigServiceDirective.data.ts
@@ -0,0 +1,123 @@
+import { BasicColumn } from '/@/components/Table';
+import { FormSchema } from '/@/components/Table';
+import { rules } from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+import { getWeekMonthQuarterYear } from '/@/utils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '分类标签',
+ align: 'center',
+ dataIndex: 'instructionTagId_dictText',
+ width: 100,
+ // customCell: (record, index, column) => {
+ // if (record.instructionRowSpan != null) {
+ // return { rowSpan: record.instructionRowSpan };
+ // }
+ // },
+ },
+ {
+ title: '服务类别',
+ align: 'center',
+ dataIndex: 'categoryId_dictText',
+ // customCell: (record, index, column) => {
+ // if (record.categoryRowSpan != null) {
+ // return { rowSpan: record.categoryRowSpan };
+ // }
+ // },
+ },
+ {
+ title: '服务类型',
+ align: 'center',
+ dataIndex: 'typeId_dictText',
+ // customCell: (record, index, column) => {
+ // if (record.typeRowSpan != null) {
+ // return { rowSpan: record.typeRowSpan };
+ // }
+ // },
+ },
+ {
+ title: '服务指令名称',
+ align: 'center',
+ dataIndex: 'directiveName',
+ },
+ {
+ title: '体型标签',
+ align: 'center',
+ dataIndex: 'bodyTagList',
+ width: 150,
+ ellipsis: false,
+ format(text, record, index) {
+ if (!!text && text.length > 0) {
+ return text.map((item) => item.tagName).join('、');
+ } else {
+ return '-';
+ }
+ },
+ },
+ {
+ title: '情绪标签',
+ align: 'center',
+ dataIndex: 'emotionTagList',
+ width: 150,
+ ellipsis: false,
+ format(text, record, index) {
+ if (!!text && text.length > 0) {
+ return text.map((item) => item.tagName).join('、');
+ } else {
+ return '-';
+ }
+ },
+ },
+ {
+ title: '周期类型',
+ align: 'center',
+ dataIndex: 'cycleType_dictText',
+ },
+ {
+ title: '服务时长(分钟)',
+ align: 'center',
+ dataIndex: 'serviceDuration',
+ width: 135,
+ },
+ {
+ title: '是否启用',
+ align: 'center',
+ dataIndex: 'izEnabled_dictText',
+ width: 100,
+ },
+ {
+ title: '预览图片',
+ align: 'center',
+ dataIndex: 'previewFileMedia',
+ },
+ {
+ title: '即时指令图片',
+ align: 'center',
+ dataIndex: 'immediateFileMedia',
+ },
+];
+
+// 高级查询数据
+export const superQuerySchema = {
+ 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' },
+ izReimbursement: { title: '医保报销', order: 6, view: 'radio', type: 'string', dictCode: '' },
+ izPreferential: { title: '机构优惠', order: 7, view: 'radio', type: 'string', dictCode: '' },
+ chargingFrequency: { title: '收费频次', order: 8, view: 'list', type: 'string', dictCode: '' },
+ cycleType: { title: '周期类型', order: 9, view: 'list', type: 'string', dictCode: '' },
+ sort: { title: '排序', order: 10, view: 'number', type: 'number' },
+ serviceContent: { title: '服务说明', order: 11, view: 'textarea', type: 'string' },
+ serviceDuration: { title: '服务时长(分钟)', order: 12, view: 'text', type: 'string' },
+ izEnabled: { title: '是否启用', order: 13, view: 'radio', type: 'string', dictCode: '' },
+ createBy: { title: '创建人', order: 14, view: 'text', type: 'string' },
+ createTime: { title: '创建日期', order: 15, view: 'datetime', type: 'string' },
+ updateBy: { title: '更新人', order: 16, view: 'text', type: 'string' },
+ updateTime: { title: '更新日期', order: 17, view: 'datetime', type: 'string' },
+ mp3File: { title: '语音文件', order: 18, view: 'file', type: 'string' },
+ mp4File: { title: '视频文件', order: 19, view: 'file', type: 'string' },
+};
diff --git a/src/views/synchronization/directive/directiveCom/ConfigServiceDirectiveList.vue b/src/views/synchronization/directive/directiveCom/ConfigServiceDirectiveList.vue
new file mode 100644
index 0000000..92ab6d8
--- /dev/null
+++ b/src/views/synchronization/directive/directiveCom/ConfigServiceDirectiveList.vue
@@ -0,0 +1,300 @@
+
+
+
+
+
+
+
+
+
+
+
+ 无文件
+
+
+
+ 无文件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveForm.vue b/src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveForm.vue
new file mode 100644
index 0000000..052f478
--- /dev/null
+++ b/src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveForm.vue
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无文件
+
+
+
+
+
+ 无文件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveModal.vue b/src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveModal.vue
new file mode 100644
index 0000000..c569835
--- /dev/null
+++ b/src/views/synchronization/directive/directiveCom/components/ConfigServiceDirectiveModal.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/synchronization/directive/index.vue b/src/views/synchronization/directive/index.vue
index 226efea..2c11dd5 100644
--- a/src/views/synchronization/directive/index.vue
+++ b/src/views/synchronization/directive/index.vue
@@ -162,8 +162,8 @@ import JSelectMultiple from '/@/components/Form/src/jeecg/components/JSelectMult
import { useMessage } from "/@/hooks/web/useMessage";
import { getOrgInfo } from '/@/api/common/api';
// 以下为服务指令引用:
-import { list, asyncFunc } from '@/views/services/serviceDirective/ConfigServiceDirective.api';
-import ConfigServiceDirectiveList from '@/views/services/serviceDirective/ConfigServiceDirectiveList.vue'
+import { list, asyncFunc } from './directiveCom/ConfigServiceDirective.api';
+import ConfigServiceDirectiveList from './directiveCom/ConfigServiceDirectiveList.vue'
import { getFileAccessHttpUrl } from '/@/utils/common/compUtils'
import { selectedColumns } from './directive.data';