diff --git a/src/views/synchronization/directive copy/canadddirective/CanAddDirective.api.ts b/src/views/synchronization/directive copy/canadddirective/CanAddDirective.api.ts deleted file mode 100644 index 1837053..0000000 --- a/src/views/synchronization/directive copy/canadddirective/CanAddDirective.api.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/canadddirective/canAddDirective/list', - save='/canadddirective/canAddDirective/add', - edit='/canadddirective/canAddDirective/edit', - deleteOne = '/canadddirective/canAddDirective/delete', - deleteBatch = '/canadddirective/canAddDirective/deleteBatch', - importExcel = '/canadddirective/canAddDirective/importExcel', - exportXls = '/canadddirective/canAddDirective/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/synchronization/directive copy/canadddirective/CanAddDirective.data.ts b/src/views/synchronization/directive copy/canadddirective/CanAddDirective.data.ts deleted file mode 100644 index 99ba420..0000000 --- a/src/views/synchronization/directive copy/canadddirective/CanAddDirective.data.ts +++ /dev/null @@ -1,59 +0,0 @@ -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: 'orgCode_dictText', - }, - { - title: '分类标签', - align: 'center', - dataIndex: 'instructionTag', - width: 170, - }, - { - title: '服务类别', - align: 'center', - dataIndex: 'category', - width: 170, - }, - { - title: '服务类型', - align: 'center', - dataIndex: 'type', - width: 170, - }, - { - title: '服务指令', - align: 'center', - dataIndex: 'directiveName', - }, - { - title: '周期类型', - align: 'center', - dataIndex: 'cycleType', - width: 120, - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'createTime', - width: 160, - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - instructionTag: { title: '分类标签', order: 0, view: 'text', type: 'string' }, - category: { title: '服务类别', order: 1, view: 'text', type: 'string' }, - type: { title: '服务类型', order: 2, view: 'text', type: 'string' }, - directiveName: { title: '服务指令', order: 3, view: 'text', type: 'string' }, - cycleType: { title: '周期类型', order: 4, view: 'text', type: 'string' }, - createTime: { title: '创建日期', order: 5, view: 'datetime', type: 'string' }, - orgCode: { title: '所属部门', order: 6, view: 'list', type: 'string', dictTable: 'sys_depart', dictCode: 'org_code', dictText: 'depart_name' }, -}; diff --git a/src/views/synchronization/directive copy/canadddirective/CanAddDirectiveList.vue b/src/views/synchronization/directive copy/canadddirective/CanAddDirectiveList.vue deleted file mode 100644 index e46984c..0000000 --- a/src/views/synchronization/directive copy/canadddirective/CanAddDirectiveList.vue +++ /dev/null @@ -1,227 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveDetail.vue b/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveDetail.vue deleted file mode 100644 index 8430579..0000000 --- a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveDetail.vue +++ /dev/null @@ -1,315 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveDetailModal.vue b/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveDetailModal.vue deleted file mode 100644 index 5bf4c54..0000000 --- a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveDetailModal.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - diff --git a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveForm.vue b/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveForm.vue deleted file mode 100644 index a41bc2e..0000000 --- a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveForm.vue +++ /dev/null @@ -1,445 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveModal.vue b/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveModal.vue deleted file mode 100644 index 47dd7e9..0000000 --- a/src/views/synchronization/directive copy/canadddirective/components/CanAddDirectiveModal.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - diff --git a/src/views/synchronization/directive copy/directive.data.ts b/src/views/synchronization/directive copy/directive.data.ts deleted file mode 100644 index 5c6a709..0000000 --- a/src/views/synchronization/directive copy/directive.data.ts +++ /dev/null @@ -1,77 +0,0 @@ -export const selectedColumns = [ - { - title: '分类标签', - align: 'center', - dataIndex: 'instructionTagId_dictText', - width: 90, - }, - { - title: '服务类别', - align: 'center', - dataIndex: 'categoryId_dictText', - width: 100, // 添加固定宽度 - }, - { - title: '服务类型', - align: 'center', - dataIndex: 'typeId_dictText', - width: 120, // 添加固定宽度 - }, - { - title: '服务指令名称', - align: 'center', - dataIndex: 'directiveName', - width: 150, // 添加固定宽度 - }, - { - title: '体型标签', - align: 'center', - dataIndex: 'bodyTagList', - width: 150, - ellipsis: true, // 确保内容过长时显示省略号 - }, - { - title: '情绪标签', - align: 'center', - dataIndex: 'emotionTagList', - width: 150, - ellipsis: true, // 确保内容过长时显示省略号 - }, - { - title: '周期类型', - align: 'center', - dataIndex: 'cycleType_dictText', - width: 100, // 添加固定宽度 - }, - { - title: '服务时长(分钟)', - align: 'center', - dataIndex: 'serviceDuration', - width: 135, - }, - { - title: '是否启用', - align: 'center', - dataIndex: 'izEnabled_dictText', - width: 100, - }, - { - title: '预览图片', - align: 'center', - dataIndex: 'previewFileMedia', - width: 120, // 添加固定宽度 - }, - { - title: '即时指令图片', - align: 'center', - dataIndex: 'immediateFileMedia', - width: 150, // 添加固定宽度 - }, - { - title: '操作', - dataIndex: 'action', - key: 'action', - width: 60, - fixed: 'right', - }, -]; diff --git a/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirective.api.ts b/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirective.api.ts deleted file mode 100644 index 05f58a2..0000000 --- a/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirective.api.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/services/serviceDirective/list', - save='/services/serviceDirective/add', - edit='/services/serviceDirective/edit', - deleteOne = '/services/serviceDirective/delete', - deleteBatch = '/services/serviceDirective/deleteBatch', - importExcel = '/services/serviceDirective/importExcel', - exportXls = '/services/serviceDirective/exportXls', - async = '/services/serviceDirective/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 copy/directiveCom/ConfigServiceDirective.data.ts b/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirective.data.ts deleted file mode 100644 index 2061be8..0000000 --- a/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirective.data.ts +++ /dev/null @@ -1,123 +0,0 @@ -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 copy/directiveCom/ConfigServiceDirectiveList.vue b/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirectiveList.vue deleted file mode 100644 index 3651563..0000000 --- a/src/views/synchronization/directive copy/directiveCom/ConfigServiceDirectiveList.vue +++ /dev/null @@ -1,300 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/synchronization/directive copy/directiveCom/components/ConfigServiceDirectiveForm.vue b/src/views/synchronization/directive copy/directiveCom/components/ConfigServiceDirectiveForm.vue deleted file mode 100644 index 0c965ee..0000000 --- a/src/views/synchronization/directive copy/directiveCom/components/ConfigServiceDirectiveForm.vue +++ /dev/null @@ -1,369 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/directiveCom/components/ConfigServiceDirectiveModal.vue b/src/views/synchronization/directive copy/directiveCom/components/ConfigServiceDirectiveModal.vue deleted file mode 100644 index c569835..0000000 --- a/src/views/synchronization/directive copy/directiveCom/components/ConfigServiceDirectiveModal.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - diff --git a/src/views/synchronization/directive copy/index.vue b/src/views/synchronization/directive copy/index.vue deleted file mode 100644 index ce04e54..0000000 --- a/src/views/synchronization/directive copy/index.vue +++ /dev/null @@ -1,427 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/synchronization/directive copy/orgCom/OrgListCom.vue b/src/views/synchronization/directive copy/orgCom/OrgListCom.vue deleted file mode 100644 index ef42be6..0000000 --- a/src/views/synchronization/directive copy/orgCom/OrgListCom.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirective.api.ts b/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirective.api.ts deleted file mode 100644 index b580f12..0000000 --- a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirective.api.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/services/serviceDirective/list', - listByDS = '/services/serviceDirective/listByDS', - queryById = '/services/serviceDirective/queryById', - syncDirective = '/services/serviceDirective/syncDirective', - idListByDS = '/services/serviceDirective/idListByDS', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); - -/** - * 列表接口 - 变更数据源 - * @param params - */ -export const listByDS = (params) => defHttp.get({ url: Api.listByDS, params }); - -/** - * - * @param params 获取对应机构已有指令id - * @returns - */ -export const idListByDS = (params) => defHttp.get({ url: Api.idListByDS, params }); - -/** - * 同步 - * @param params - * @returns - */ -export const syncDirective = (dataSourceCode: string, params: any) => { - return defHttp.post({ url: `${Api.syncDirective}?dataSourceCode=${encodeURIComponent(dataSourceCode)}`, params }); -}; diff --git a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirective.data.ts b/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirective.data.ts deleted file mode 100644 index f182905..0000000 --- a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirective.data.ts +++ /dev/null @@ -1,444 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '分类标签', - align: 'center', - dataIndex: 'instructionTagId_dictText', - 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', - // ellipsis: false, - // defaultHidden: false, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - // { - // title: '情绪标签', - // align: 'center', - // dataIndex: 'emotionTagList', - // ellipsis: false, - // defaultHidden: false, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - { - title: '收费价格', - align: 'center', - dataIndex: 'tollPrice', - defaultHidden: true, - }, - { - title: '提成价格', - align: 'center', - dataIndex: 'comPrice', - defaultHidden: true, - }, - { - title: '医保报销', - align: 'center', - dataIndex: 'izReimbursement_dictText', - defaultHidden: true, - }, - { - title: '机构优惠', - align: 'center', - dataIndex: 'izPreferential_dictText', - defaultHidden: true, - }, - { - title: '周期类型', - align: 'center', - dataIndex: 'cycleType_dictText', - }, - { - title: '服务时长(分钟)', - align: 'center', - dataIndex: 'serviceDuration', - }, - { - title: '是否启用', - align: 'center', - dataIndex: 'izEnabled_dictText', - }, -]; - -export const sourceColumns: BasicColumn[] = [ - { - title: '状态', - align: 'center', - dataIndex: 'izExist', - width: 70, - fixed: 'left', - }, - { - title: '分类标签', - align: 'center', - dataIndex: 'instructionTagId_dictText', - 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', - // ellipsis: false, - // // defaultHidden: true, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - // { - // title: '情绪标签', - // align: 'center', - // dataIndex: 'emotionTagList', - // ellipsis: false, - // // defaultHidden: true, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - { - title: '收费价格', - align: 'center', - dataIndex: 'tollPrice', - defaultHidden: true, - }, - { - title: '提成价格', - align: 'center', - dataIndex: 'comPrice', - defaultHidden: true, - }, - { - title: '医保报销', - align: 'center', - dataIndex: 'izReimbursement_dictText', - defaultHidden: true, - }, - { - title: '机构优惠', - align: 'center', - dataIndex: 'izPreferential_dictText', - defaultHidden: true, - }, - { - title: '周期类型', - align: 'center', - dataIndex: 'cycleType_dictText', - }, - { - title: '服务时长(分钟)', - align: 'center', - dataIndex: 'serviceDuration', - }, -]; - -export const targetSourceColumns: BasicColumn[] = [ - { - title: '分类标签', - align: 'center', - dataIndex: 'instructionTagId_dictText', - 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', - // ellipsis: false, - // // defaultHidden: true, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - // { - // title: '情绪标签', - // align: 'center', - // dataIndex: 'emotionTagList', - // ellipsis: false, - // // defaultHidden: true, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - { - title: '收费价格', - align: 'center', - dataIndex: 'tollPrice', - defaultHidden: true, - }, - { - title: '提成价格', - align: 'center', - dataIndex: 'comPrice', - defaultHidden: true, - }, - { - title: '医保报销', - align: 'center', - dataIndex: 'izReimbursement_dictText', - defaultHidden: true, - }, - { - title: '机构优惠', - align: 'center', - dataIndex: 'izPreferential_dictText', - defaultHidden: true, - }, - { - title: '周期类型', - align: 'center', - dataIndex: 'cycleType_dictText', - }, - { - title: '服务时长(分钟)', - align: 'center', - dataIndex: 'serviceDuration', - }, -]; - -export const targetColumns: BasicColumn[] = [ - { - title: '分类标签', - align: 'center', - dataIndex: 'instructionTagId_dictText', - 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', - // ellipsis: false, - // // defaultHidden: true, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - // { - // title: '情绪标签', - // align: 'center', - // dataIndex: 'emotionTagList', - // ellipsis: false, - // // defaultHidden: true, - // format(text, record, index) { - // if (!!text) { - // return text.map((item) => item.tagName).join('、'); - // } else { - // return '-'; - // } - // }, - // }, - { - title: '收费价格', - align: 'center', - dataIndex: 'tollPrice', - defaultHidden: true, - }, - { - title: '提成价格', - align: 'center', - dataIndex: 'comPrice', - defaultHidden: true, - }, - { - title: '医保报销', - align: 'center', - dataIndex: 'izReimbursement_dictText', - defaultHidden: true, - }, - { - title: '机构优惠', - align: 'center', - dataIndex: 'izPreferential_dictText', - defaultHidden: true, - }, - { - title: '周期类型', - align: 'center', - dataIndex: 'cycleType_dictText', - }, - { - title: '服务时长(分钟)', - align: 'center', - dataIndex: 'serviceDuration', - }, - { - title: '同步类型', - align: 'center', - dataIndex: 'izExist', - width: 80, - fixed: 'right', - }, -]; - -// 高级查询数据 -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 copy/serviceDirective/ConfigServiceDirectiveList.vue b/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirectiveList.vue deleted file mode 100644 index ac99bc8..0000000 --- a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirectiveList.vue +++ /dev/null @@ -1,247 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirectiveListModal.vue b/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirectiveListModal.vue deleted file mode 100644 index 3f7cee3..0000000 --- a/src/views/synchronization/directive copy/serviceDirective/ConfigServiceDirectiveListModal.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - diff --git a/src/views/synchronization/directive copy/serviceDirective/DirectiveChooseCom.vue b/src/views/synchronization/directive copy/serviceDirective/DirectiveChooseCom.vue deleted file mode 100644 index eb20ee9..0000000 --- a/src/views/synchronization/directive copy/serviceDirective/DirectiveChooseCom.vue +++ /dev/null @@ -1,567 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/serviceDirective/DirectiveChooseCom分步骤版本.vue b/src/views/synchronization/directive copy/serviceDirective/DirectiveChooseCom分步骤版本.vue deleted file mode 100644 index f8fd129..0000000 --- a/src/views/synchronization/directive copy/serviceDirective/DirectiveChooseCom分步骤版本.vue +++ /dev/null @@ -1,373 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/services.api.ts b/src/views/synchronization/directive copy/services.api.ts deleted file mode 100644 index 9b05097..0000000 --- a/src/views/synchronization/directive copy/services.api.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - categoryList = '/services/serviceCategory/configServiceCategory/list', - typeList = '/services/ServiceType/configServiceType/list', - bodyTagsList = '/services/directiveTag/bodyTag/list', - emotionTagsList = '/services/directiveTag/emotionTag/list', -} - - -/** - * 服务类别 - */ -export const categoryList = () => defHttp.get({ url: Api.categoryList }); - -/** - * 服务类型 - */ -export const typeList = () => defHttp.get({ url: Api.typeList }); - -/** - * 体型标签 - */ -export const bodyTagsList = () => defHttp.get({ url: Api.bodyTagsList }); - -/** - * 指令标签 - */ -export const emotionTagsList = () => defHttp.get({ url: Api.emotionTagsList }); diff --git a/src/views/synchronization/directive copy/syncList.vue b/src/views/synchronization/directive copy/syncList.vue deleted file mode 100644 index f6286e4..0000000 --- a/src/views/synchronization/directive copy/syncList.vue +++ /dev/null @@ -1,429 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/synchronization/directive copy/syncStep/SyncStepList.vue b/src/views/synchronization/directive copy/syncStep/SyncStepList.vue deleted file mode 100644 index 359ca2e..0000000 --- a/src/views/synchronization/directive copy/syncStep/SyncStepList.vue +++ /dev/null @@ -1,450 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/synchronization/directive copy/syncStep/SyncStepListModal.vue b/src/views/synchronization/directive copy/syncStep/SyncStepListModal.vue deleted file mode 100644 index 3054499..0000000 --- a/src/views/synchronization/directive copy/syncStep/SyncStepListModal.vue +++ /dev/null @@ -1,124 +0,0 @@ - - - - - diff --git a/src/views/synchronization/directive copy/syncStep/SyncStepList分步骤源_指令_目标.vue b/src/views/synchronization/directive copy/syncStep/SyncStepList分步骤源_指令_目标.vue deleted file mode 100644 index 97448db..0000000 --- a/src/views/synchronization/directive copy/syncStep/SyncStepList分步骤源_指令_目标.vue +++ /dev/null @@ -1,255 +0,0 @@ - - - - - \ No newline at end of file