diff --git a/src/assets/images/a14.png b/src/assets/images/a14.png new file mode 100644 index 0000000..5d6499c Binary files /dev/null and b/src/assets/images/a14.png differ diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue index 12380db..4dd1dc8 100644 --- a/src/components/Table/src/BasicTable.vue +++ b/src/components/Table/src/BasicTable.vue @@ -501,10 +501,10 @@ padding: 10px; .ant-form { - padding: 12px 10px 6px 10px; + padding: 22px 10px 6px 10px; margin-bottom: 8px; background-color: @component-background; - border-radius: 2px; + border-radius: 8px; } } diff --git a/src/views/services/serviceDirective/ConfigServiceDirective.api.ts b/src/views/services/serviceDirective/ConfigServiceDirective.api.ts index ed1e4fd..9afa076 100644 --- a/src/views/services/serviceDirective/ConfigServiceDirective.api.ts +++ b/src/views/services/serviceDirective/ConfigServiceDirective.api.ts @@ -12,6 +12,8 @@ enum Api { importExcel = '/services/serviceDirective/configServiceDirective/importExcel', exportXls = '/services/serviceDirective/configServiceDirective/exportXls', async = '/services/serviceDirective/configServiceDirective/async', + departList = '/sys/sysDepart/list', + } /** @@ -30,6 +32,7 @@ export const getImportUrl = Api.importExcel; * @param params */ export const list = (params) => defHttp.get({ url: Api.list, params }); +export const departList = (params) => defHttp.get({ url: Api.departList, params }); /** * 删除单个 diff --git a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.api.ts b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.api.ts new file mode 100644 index 0000000..f768be0 --- /dev/null +++ b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.api.ts @@ -0,0 +1,14 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/services/serviceDirective/configServiceDirective/list', +} + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); \ No newline at end of file diff --git a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts new file mode 100644 index 0000000..ce862f7 --- /dev/null +++ b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirective.data.ts @@ -0,0 +1,138 @@ +import { BasicColumn } from '/@/components/Table'; +//列表数据 +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, + defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + }, + { + title: '情绪标签', + align: 'center', + dataIndex: 'emotionTagList', + width: 150, + ellipsis: false, + defaultHidden: true, + // format(text, record, index) { + // if (!!text) { + // return text.map((item) => item.tagName).join('、'); + // } else { + // return '-'; + // } + // }, + }, + { + title: '收费价格', + align: 'center', + dataIndex: 'tollPrice', + width: 100, + defaultHidden: true, + }, + { + title: '提成价格', + align: 'center', + dataIndex: 'comPrice', + defaultHidden: true, + }, + { + title: '医保报销', + align: 'center', + dataIndex: 'izReimbursement_dictText', + width: 100, + defaultHidden: true, + }, + { + title: '机构优惠', + align: 'center', + dataIndex: 'izPreferential_dictText', + width: 100, + defaultHidden: true, + }, + { + title: '周期类型', + align: 'center', + dataIndex: 'cycleType_dictText', + }, + { + title: '服务时长(分钟)', + align: 'center', + dataIndex: 'serviceDuration', + width: 135, + }, + { + title: '是否启用', + align: 'center', + dataIndex: 'izEnabled_dictText', + width: 100, + }, +]; + +// 高级查询数据 +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/serviceDirective/ConfigServiceDirectiveList.vue b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveList.vue new file mode 100644 index 0000000..f366403 --- /dev/null +++ b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveList.vue @@ -0,0 +1,221 @@ + + + + + + + + + + 服务指令 + + + + + + + 是否启用 + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + {{text.map((item) => + item.tagName).join('、')}} + + + {{text.map((item) => + item.tagName).join('、')}} + + + + + + + + + diff --git a/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue new file mode 100644 index 0000000..73b821f --- /dev/null +++ b/src/views/synchronization/directive/serviceDirective/ConfigServiceDirectiveListModal.vue @@ -0,0 +1,63 @@ + + + + + + + + + + diff --git a/src/views/synchronization/directive/syncList.vue b/src/views/synchronization/directive/syncList.vue new file mode 100644 index 0000000..20fb398 --- /dev/null +++ b/src/views/synchronization/directive/syncList.vue @@ -0,0 +1,214 @@ + + + + + + + + + 机构名称 + + + + + 查询 + 重置 + + + 镜像 + + + + + + + + + + + + {{item.departName}} + + + {{item.orgCode}} + + + + 加盟时间:{{item.operationStartTime.substring(0,10)}} + 机构负责人:{{item.createBy}} + 负责人电话:{{item.mobile}} + 机构地址:{{item.address}} + + + + + 详情 + + + + + + + + + + + + + 共 {{ orgTableList.total }} 条数据 + + + + + + + + + + \ No newline at end of file diff --git a/src/views/synchronization/directive/syncStep/SyncStepList.vue b/src/views/synchronization/directive/syncStep/SyncStepList.vue new file mode 100644 index 0000000..c4a96b3 --- /dev/null +++ b/src/views/synchronization/directive/syncStep/SyncStepList.vue @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + diff --git a/src/views/synchronization/directive/syncStep/SyncStepListModal.vue b/src/views/synchronization/directive/syncStep/SyncStepListModal.vue new file mode 100644 index 0000000..f83325c --- /dev/null +++ b/src/views/synchronization/directive/syncStep/SyncStepListModal.vue @@ -0,0 +1,63 @@ + + + + + + + + + +
加盟时间:{{item.operationStartTime.substring(0,10)}}
机构负责人:{{item.createBy}}
负责人电话:{{item.mobile}}
机构地址:{{item.address}}
+ + + 详情 + +