+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+ 关闭
+
+
+
diff --git a/src/views/config/serviceDirective/components/ConfigServiceDirectiveForm.vue b/src/views/config/serviceDirective/components/ConfigServiceDirectiveForm.vue
index be88a5e..bdca6c3 100644
--- a/src/views/config/serviceDirective/components/ConfigServiceDirectiveForm.vue
+++ b/src/views/config/serviceDirective/components/ConfigServiceDirectiveForm.vue
@@ -2,108 +2,136 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -112,163 +140,163 @@
diff --git a/src/views/config/serviceDirective/components/ConfigServiceDirectiveModal.vue b/src/views/config/serviceDirective/components/ConfigServiceDirectiveModal.vue
index 4373246..9762086 100644
--- a/src/views/config/serviceDirective/components/ConfigServiceDirectiveModal.vue
+++ b/src/views/config/serviceDirective/components/ConfigServiceDirectiveModal.vue
@@ -8,6 +8,7 @@
import { ref, nextTick, defineExpose } from 'vue';
import ConfigServiceDirectiveForm from './ConfigServiceDirectiveForm.vue'
import JModal from '/@/components/Modal/src/JModal/JModal.vue';
+import { array } from 'vue-types';
const title = ref('');
const width = ref(800);
@@ -16,6 +17,7 @@
const registerForm = ref();
const emit = defineEmits(['register', 'success']);
+
/**
* 新增
*/
diff --git a/src/views/config/serviceType/ConfigServiceDirective.data.ts b/src/views/config/serviceType/ConfigServiceDirective.data.ts
deleted file mode 100644
index 659e09b..0000000
--- a/src/views/config/serviceType/ConfigServiceDirective.data.ts
+++ /dev/null
@@ -1,137 +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: '服务类别id',
- align: "center",
- sorter: true,
- dataIndex: 'categoryId_dictText'
- },
- {
- title: '服务类型id',
- align: "center",
- sorter: true,
- dataIndex: 'typeId_dictText'
- },
- {
- title: '指令标签id',
- align: "center",
- dataIndex: 'instructionTagId_dictText'
- },
- {
- title: '服务指令名称',
- align: "center",
- dataIndex: 'directiveName'
- },
- {
- title: '收费价格',
- align: "center",
- dataIndex: 'tollPrice'
- },
- {
- title: '提成价格',
- align: "center",
- dataIndex: 'comPrice'
- },
- {
- title: '是否参与医保报销 0不报销 1报销',
- align: "center",
- dataIndex: 'izReimbursement_dictText'
- },
- {
- title: '是否参与机构优惠 0不参与 1参与',
- align: "center",
- dataIndex: 'izPreferential_dictText'
- },
- {
- title: '收费频次 1按次收费 2按天收费',
- align: "center",
- dataIndex: 'chargingFrequency_dictText'
- },
- {
- title: '周期类型 1日常护理 2周期护理 3即时护理',
- align: "center",
- dataIndex: 'cycleType_dictText'
- },
- {
- title: '排序',
- align: "center",
- sorter: true,
- dataIndex: 'sort'
- },
- {
- title: '服务说明',
- align: "center",
- dataIndex: 'serviceContent'
- },
- {
- title: '服务时长(分钟)',
- align: "center",
- dataIndex: 'serviceDuration'
- },
- {
- title: '是否启用 0启用 1未启用',
- align: "center",
- dataIndex: 'izEnabled_dictText'
- },
- {
- title: '创建人',
- align: "center",
- dataIndex: 'createBy'
- },
- {
- title: '创建日期',
- align: "center",
- sorter: true,
- dataIndex: 'createTime'
- },
- {
- title: '更新人',
- align: "center",
- dataIndex: 'updateBy'
- },
- {
- title: '更新日期',
- align: "center",
- sorter: true,
- dataIndex: 'updateTime'
- },
- {
- title: '语音文件',
- align: "center",
- dataIndex: 'mp3File',
- },
- {
- title: '视频文件',
- align: "center",
- dataIndex: 'mp4File',
- },
-];
-
-// 高级查询数据
-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: '',},
- 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: '是否参与医保报销 0不报销 1报销',order: 6,view: 'radio', type: 'string',dictCode: '',},
- izPreferential: {title: '是否参与机构优惠 0不参与 1参与',order: 7,view: 'radio', type: 'string',dictCode: '',},
- chargingFrequency: {title: '收费频次 1按次收费 2按天收费',order: 8,view: 'list', type: 'string',dictCode: '',},
- cycleType: {title: '周期类型 1日常护理 2周期护理 3即时护理',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: '是否启用 0启用 1未启用',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/config/serviceType/ConfigServiceDirectiveList.vue b/src/views/config/serviceType/ConfigServiceDirectiveList.vue
deleted file mode 100644
index 0b11106..0000000
--- a/src/views/config/serviceType/ConfigServiceDirectiveList.vue
+++ /dev/null
@@ -1,353 +0,0 @@
-
-
-
-
-
-
-
-
- 新增
- 导出
- 导入
-
-
-
-
-
- 删除
-
-
-
- 批量操作
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无文件
- 下载
-
-
-
- 无文件
- 下载
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/config/serviceType/ConfigServiceDirective.api.ts b/src/views/config/serviceType/ConfigServiceType.api.ts
similarity index 75%
rename from src/views/config/serviceType/ConfigServiceDirective.api.ts
rename to src/views/config/serviceType/ConfigServiceType.api.ts
index 2f2fcec..1af3d97 100644
--- a/src/views/config/serviceType/ConfigServiceDirective.api.ts
+++ b/src/views/config/serviceType/ConfigServiceType.api.ts
@@ -4,13 +4,13 @@ import { useMessage } from "/@/hooks/web/useMessage";
const { createConfirm } = useMessage();
enum Api {
- list = '/serviceDirective/configServiceDirective/list',
- save='/serviceDirective/configServiceDirective/add',
- edit='/serviceDirective/configServiceDirective/edit',
- deleteOne = '/serviceDirective/configServiceDirective/delete',
- deleteBatch = '/serviceDirective/configServiceDirective/deleteBatch',
- importExcel = '/serviceDirective/configServiceDirective/importExcel',
- exportXls = '/serviceDirective/configServiceDirective/exportXls',
+ list = '/ServiceType/configServiceType/list',
+ save='/ServiceType/configServiceType/add',
+ edit='/ServiceType/configServiceType/edit',
+ deleteOne = '/ServiceType/configServiceType/delete',
+ deleteBatch = '/ServiceType/configServiceType/deleteBatch',
+ importExcel = '/ServiceType/configServiceType/importExcel',
+ exportXls = '/ServiceType/configServiceType/exportXls'
}
/**
@@ -70,3 +70,5 @@ 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/config/serviceType/ConfigServiceType.data.ts b/src/views/config/serviceType/ConfigServiceType.data.ts
new file mode 100644
index 0000000..01db948
--- /dev/null
+++ b/src/views/config/serviceType/ConfigServiceType.data.ts
@@ -0,0 +1,37 @@
+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: '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/config/serviceType/ConfigServiceTypeList.vue b/src/views/config/serviceType/ConfigServiceTypeList.vue
new file mode 100644
index 0000000..076f4fa
--- /dev/null
+++ b/src/views/config/serviceType/ConfigServiceTypeList.vue
@@ -0,0 +1,282 @@
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+ 删除
+
+
+
+ 批量操作
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/config/serviceType/components/ConfigServiceDirectiveForm.vue b/src/views/config/serviceType/components/ConfigServiceDirectiveForm.vue
deleted file mode 100644
index be88a5e..0000000
--- a/src/views/config/serviceType/components/ConfigServiceDirectiveForm.vue
+++ /dev/null
@@ -1,274 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/config/serviceType/components/ConfigServiceDirectiveModal.vue b/src/views/config/serviceType/components/ConfigServiceDirectiveModal.vue
deleted file mode 100644
index 4373246..0000000
--- a/src/views/config/serviceType/components/ConfigServiceDirectiveModal.vue
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/config/serviceType/components/ConfigServiceTypeForm.vue b/src/views/config/serviceType/components/ConfigServiceTypeForm.vue
new file mode 100644
index 0000000..998b498
--- /dev/null
+++ b/src/views/config/serviceType/components/ConfigServiceTypeForm.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/config/serviceType/components/ConfigServiceTypeModal.vue b/src/views/config/serviceType/components/ConfigServiceTypeModal.vue
new file mode 100644
index 0000000..0b17b0d
--- /dev/null
+++ b/src/views/config/serviceType/components/ConfigServiceTypeModal.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+