diff --git a/src/components/OrgCard/OrgCardCom copy.vue b/src/components/OrgCard/OrgCardCom copy.vue new file mode 100644 index 0000000..08792ec --- /dev/null +++ b/src/components/OrgCard/OrgCardCom copy.vue @@ -0,0 +1,107 @@ + + + + + \ No newline at end of file diff --git a/src/components/OrgCard/OrgCardCom.vue b/src/components/OrgCard/OrgCardCom.vue new file mode 100644 index 0000000..d7464a1 --- /dev/null +++ b/src/components/OrgCard/OrgCardCom.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file diff --git a/src/components/OrgCard/orgaddressbk.png b/src/components/OrgCard/orgaddressbk.png new file mode 100644 index 0000000..e8fd3dd Binary files /dev/null and b/src/components/OrgCard/orgaddressbk.png differ diff --git a/src/components/OrgCard/orgaddressbk2.png b/src/components/OrgCard/orgaddressbk2.png new file mode 100644 index 0000000..3f0256c Binary files /dev/null and b/src/components/OrgCard/orgaddressbk2.png differ diff --git a/src/views/synchronization/eldertag/canaddet/CanAddElderTag.api.ts b/src/views/synchronization/eldertag/canaddet/CanAddElderTag.api.ts new file mode 100644 index 0000000..7050d92 --- /dev/null +++ b/src/views/synchronization/eldertag/canaddet/CanAddElderTag.api.ts @@ -0,0 +1,15 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/eldertag/canAddElderTag/list', +} + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + diff --git a/src/views/synchronization/eldertag/canaddet/CanAddElderTag.data.ts b/src/views/synchronization/eldertag/canaddet/CanAddElderTag.data.ts new file mode 100644 index 0000000..6a4d999 --- /dev/null +++ b/src/views/synchronization/eldertag/canaddet/CanAddElderTag.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: 'sysOrgCode_dictText', + }, + { + title: '标签类型', + align: 'center', + dataIndex: 'type_dictText', + }, + { + title: '标签名称', + align: 'center', + dataIndex: 'tagName', + }, + { + title: '价格(元)', + align: 'center', + dataIndex: 'price', + }, +]; + +// 高级查询数据 +export const superQuerySchema = {}; diff --git a/src/views/synchronization/eldertag/canaddet/CanAddElderTagList.vue b/src/views/synchronization/eldertag/canaddet/CanAddElderTagList.vue new file mode 100644 index 0000000..18bbeed --- /dev/null +++ b/src/views/synchronization/eldertag/canaddet/CanAddElderTagList.vue @@ -0,0 +1,234 @@ + + + + + diff --git a/src/views/synchronization/eldertag/canaddet/components/CanAddElderTagForm.vue b/src/views/synchronization/eldertag/canaddet/components/CanAddElderTagForm.vue new file mode 100644 index 0000000..e582962 --- /dev/null +++ b/src/views/synchronization/eldertag/canaddet/components/CanAddElderTagForm.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/src/views/synchronization/eldertag/canaddet/components/CanAddElderTagModal.vue b/src/views/synchronization/eldertag/canaddet/components/CanAddElderTagModal.vue new file mode 100644 index 0000000..6a8c0b6 --- /dev/null +++ b/src/views/synchronization/eldertag/canaddet/components/CanAddElderTagModal.vue @@ -0,0 +1,81 @@ + + + + + + diff --git a/src/views/synchronization/eldertag/eldertag/ElderTag.api.ts b/src/views/synchronization/eldertag/eldertag/ElderTag.api.ts new file mode 100644 index 0000000..8b461fc --- /dev/null +++ b/src/views/synchronization/eldertag/eldertag/ElderTag.api.ts @@ -0,0 +1,97 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/elder/elderTag/list', + save='/elder/elderTag/add', + edit='/elder/elderTag/edit', + deleteOne = '/elder/elderTag/delete', + deleteBatch = '/elder/elderTag/deleteBatch', + importExcel = '/elder/elderTag/importExcel', + exportXls = '/elder/elderTag/exportXls', + listByDS = '/elder/elderTag/listByDS', + idListByDS = '/elder/elderTag/idListByDS', + syncElderTag = '/elder/elderTag/syncElderTag', +} + +/** + * 导出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 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 syncElderTag = (dataSourceCode: string, params: any) => { + return defHttp.post({ url: `${Api.syncElderTag}?sourceOrgCode=${encodeURIComponent(dataSourceCode)}`, params }); +}; \ No newline at end of file diff --git a/src/views/synchronization/eldertag/eldertag/ElderTag.data.ts b/src/views/synchronization/eldertag/eldertag/ElderTag.data.ts new file mode 100644 index 0000000..bb36a91 --- /dev/null +++ b/src/views/synchronization/eldertag/eldertag/ElderTag.data.ts @@ -0,0 +1,77 @@ +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: 'type_dictText', + }, + { + title: '标签名称', + align: 'center', + dataIndex: 'tagName', + }, + { + title: '价格(元)', + align: 'center', + dataIndex: 'price', + }, + { + title: '图标', + align: 'center', + dataIndex: 'pic', + customRender: render.renderImage, + }, + { + title: '排序', + align: 'center', + dataIndex: 'sort', + }, + { + title: '是否启用', + align: 'center', + dataIndex: 'izEnabled_dictText', + }, +]; + +export const columnsNoMedia: BasicColumn[] = [ + { + title: '标签类型', + align: 'center', + dataIndex: 'type_dictText', + }, + { + title: '标签名称', + align: 'center', + dataIndex: 'tagName', + }, + { + title: '价格(元)', + align: 'center', + dataIndex: 'price', + }, + { + title: '排序', + align: 'center', + dataIndex: 'sort', + }, + { + title: '是否启用', + align: 'center', + dataIndex: 'izEnabled_dictText', + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + type: { title: '标签类型', order: 0, view: 'text', type: 'string' }, + tagName: { title: '标签名称', order: 1, view: 'text', type: 'string' }, + price: { title: '价格', order: 2, view: 'number', type: 'number' }, + pic: { title: '图标', order: 3, view: 'text', type: 'string' }, + sort: { title: '排序', order: 4, view: 'number', type: 'number' }, + izEnabled: { title: '是否启用', order: 5, view: 'text', type: 'string' }, +}; diff --git a/src/views/synchronization/eldertag/eldertag/ElderTagList.vue b/src/views/synchronization/eldertag/eldertag/ElderTagList.vue new file mode 100644 index 0000000..e5f5057 --- /dev/null +++ b/src/views/synchronization/eldertag/eldertag/ElderTagList.vue @@ -0,0 +1,249 @@ + + + + + diff --git a/src/views/synchronization/eldertag/eldertag/components/ElderTagChooseCom.vue b/src/views/synchronization/eldertag/eldertag/components/ElderTagChooseCom.vue new file mode 100644 index 0000000..6009e32 --- /dev/null +++ b/src/views/synchronization/eldertag/eldertag/components/ElderTagChooseCom.vue @@ -0,0 +1,567 @@ + + + + + diff --git a/src/views/synchronization/eldertag/eldertag/components/ElderTagForm.vue b/src/views/synchronization/eldertag/eldertag/components/ElderTagForm.vue new file mode 100644 index 0000000..6c8b572 --- /dev/null +++ b/src/views/synchronization/eldertag/eldertag/components/ElderTagForm.vue @@ -0,0 +1,202 @@ + + + + + diff --git a/src/views/synchronization/eldertag/eldertag/components/ElderTagModal.vue b/src/views/synchronization/eldertag/eldertag/components/ElderTagModal.vue new file mode 100644 index 0000000..9e562d3 --- /dev/null +++ b/src/views/synchronization/eldertag/eldertag/components/ElderTagModal.vue @@ -0,0 +1,126 @@ + + + + + + diff --git a/src/views/synchronization/eldertag/orgCom/OrgListCom.vue b/src/views/synchronization/eldertag/orgCom/OrgListCom.vue new file mode 100644 index 0000000..a0799b1 --- /dev/null +++ b/src/views/synchronization/eldertag/orgCom/OrgListCom.vue @@ -0,0 +1,146 @@ + + + \ No newline at end of file diff --git a/src/views/synchronization/eldertag/syncList.vue b/src/views/synchronization/eldertag/syncList.vue new file mode 100644 index 0000000..644bcce --- /dev/null +++ b/src/views/synchronization/eldertag/syncList.vue @@ -0,0 +1,396 @@ + + + + + \ No newline at end of file diff --git a/src/views/synchronization/eldertag/syncStep/SyncStepList.vue b/src/views/synchronization/eldertag/syncStep/SyncStepList.vue new file mode 100644 index 0000000..9f766da --- /dev/null +++ b/src/views/synchronization/eldertag/syncStep/SyncStepList.vue @@ -0,0 +1,432 @@ + + + + + \ No newline at end of file diff --git a/src/views/synchronization/eldertag/syncStep/SyncStepListModal.vue b/src/views/synchronization/eldertag/syncStep/SyncStepListModal.vue new file mode 100644 index 0000000..9b43d14 --- /dev/null +++ b/src/views/synchronization/eldertag/syncStep/SyncStepListModal.vue @@ -0,0 +1,124 @@ + + + + +