bmc-common-resource 1.1.129 → 1.1.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/package.json +52 -52
  2. package/dist/constants/assign-business-type-options.constant.d.ts +0 -11
  3. package/dist/constants/contract-status-options.constant.d.ts +0 -15
  4. package/dist/constants/currency-unit-options.constant.d.ts +0 -15
  5. package/dist/constants/design-type-options.constant.d.ts +0 -15
  6. package/dist/constants/dictionary-attribute-options.constant.d.ts +0 -6
  7. package/dist/constants/dictionary-business-scope-options.constant.d.ts +0 -6
  8. package/dist/constants/dictionary-business-work-phase-options.constant.d.ts +0 -6
  9. package/dist/constants/dictionary-customer-label-options.constant.d.ts +0 -6
  10. package/dist/constants/dictionary-customer-source-options.constant.d.ts +0 -5
  11. package/dist/constants/dictionary-identify-options.constant.d.ts +0 -11
  12. package/dist/constants/dictionary-process-stage-options.constant.d.ts +0 -5
  13. package/dist/constants/house-status-options.constant.d.ts +0 -15
  14. package/dist/constants/house-type-options.constant.d.ts +0 -15
  15. package/dist/constants/index.d.ts +0 -24
  16. package/dist/constants/order-status-options.constant.d.ts +0 -15
  17. package/dist/constants/price-flag-options.constant.d.ts +0 -41
  18. package/dist/constants/privilege-status-options.constant.d.ts +0 -15
  19. package/dist/constants/pro_series_type_enum.constant.d.ts +0 -15
  20. package/dist/constants/recommendation-type-options.constant.d.ts +0 -15
  21. package/dist/constants/rounding-rule-options.constant.d.ts +0 -15
  22. package/dist/constants/sales-end-app-tag.constant.d.ts +0 -15
  23. package/dist/constants/sign-style-options.constant.d.ts +0 -15
  24. package/dist/constants/solution-status-options.constant.d.ts +0 -15
  25. package/dist/constants/spatial-category-options.constant.d.ts +0 -15
  26. package/dist/constants/supply-mode-options.constant.d.ts +0 -15
  27. package/dist/enums/assign-business-type.enum.d.ts +0 -7
  28. package/dist/enums/assign-type.enum.d.ts +0 -7
  29. package/dist/enums/business-scope.enum.d.ts +0 -13
  30. package/dist/enums/business-work-phase.enum.d.ts +0 -15
  31. package/dist/enums/contract-cancel-type.enum.d.ts +0 -9
  32. package/dist/enums/contract-state.enum.d.ts +0 -33
  33. package/dist/enums/currency-unit.enum.d.ts +0 -15
  34. package/dist/enums/customer-label.enum.d.ts +0 -11
  35. package/dist/enums/customer-source.enum.d.ts +0 -87
  36. package/dist/enums/design-type.enum.d.ts +0 -17
  37. package/dist/enums/dictionary-identify.enum.d.ts +0 -47
  38. package/dist/enums/house-status.enum.d.ts +0 -11
  39. package/dist/enums/house-type.enum.d.ts +0 -13
  40. package/dist/enums/index.d.ts +0 -23
  41. package/dist/enums/mq-consumer-group-enum.d.ts +0 -6
  42. package/dist/enums/mq-receipt-type-enum.d.ts +0 -177
  43. package/dist/enums/order-status.enum.d.ts +0 -11
  44. package/dist/enums/place-order-type.enum.d.ts +0 -9
  45. package/dist/enums/price-flag.enum.d.ts +0 -35
  46. package/dist/enums/privilege-status.enum.d.ts +0 -17
  47. package/dist/enums/pro_series_type.enum.d.ts +0 -9
  48. package/dist/enums/process-stage.enum.d.ts +0 -45
  49. package/dist/enums/recommendation-type.enum.d.ts +0 -19
  50. package/dist/enums/rounding-rule.enum.d.ts +0 -19
  51. package/dist/enums/sales_end_app_tag.enum.d.ts +0 -13
  52. package/dist/enums/sign-style.enum.d.ts +0 -9
  53. package/dist/enums/solution-status.enum.d.ts +0 -25
  54. package/dist/enums/solution_price_type.enum.d.ts +0 -11
  55. package/dist/enums/spatial-category.enum.d.ts +0 -33
  56. package/dist/enums/supply-mode.enum.d.ts +0 -19
  57. package/dist/index.d.ts +0 -118
  58. package/dist/index.esm.js +0 -2
  59. package/dist/index.esm.js.map +0 -1
  60. package/dist/index.js +0 -2
  61. package/dist/index.js.map +0 -1
  62. package/dist/interfaces/dictionary.interface.d.ts +0 -55
  63. package/dist/interfaces/index.d.ts +0 -4
  64. package/dist/modules/index.d.ts +0 -4
  65. package/dist/modules/solution/categoryFormMap.d.ts +0 -36
  66. package/dist/modules/solution/classifyRoomGroupMap.d.ts +0 -48
  67. package/dist/modules/solution/groupTypes.d.ts +0 -39
  68. package/dist/modules/solution/index.d.ts +0 -41
  69. package/dist/modules/solution/mappings/group-item-mapping.d.ts +0 -24
  70. package/dist/modules/solution/mappings/index.d.ts +0 -5
  71. package/dist/modules/solution/mappings/room-group-mapping.d.ts +0 -31
  72. package/dist/modules/solution/models/QuotationItem.d.ts +0 -266
  73. package/dist/modules/solution/models/index.d.ts +0 -4
  74. package/dist/modules/solution/productCategories.d.ts +0 -26
  75. package/dist/modules/solution/roomTypes.d.ts +0 -18
  76. package/dist/modules/solution/types/index.d.ts +0 -56
  77. package/dist/modules/solution/types.d.ts +0 -10
  78. package/dist/utils/common.util.d.ts +0 -84
  79. package/dist/utils/index.d.ts +0 -5
  80. package/dist/utils/solution.util.d.ts +0 -50
package/package.json CHANGED
@@ -1,52 +1,52 @@
1
- {
2
- "name": "bmc-common-resource",
3
- "version": "1.1.129",
4
- "description": "通用枚举、常量和资源的npm包",
5
- "main": "dist/index.js",
6
- "module": "dist/index.esm.js",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "sideEffects": false,
12
- "exports": {
13
- ".": {
14
- "import": "./dist/index.esm.js",
15
- "require": "./dist/index.js",
16
- "types": "./dist/index.d.ts"
17
- }
18
- },
19
- "scripts": {
20
- "clean": "rimraf dist",
21
- "build": "npm run clean && npm run generate-exports && npm run build:types && npm run build:js",
22
- "build:types": "tsc --emitDeclarationOnly",
23
- "build:js": "rollup -c",
24
- "generate-exports": "node scripts/generate-exports.js",
25
- "prepublishOnly": "npm run build",
26
- "test": "echo \"Error: no test specified\" && exit 1"
27
- },
28
- "keywords": [
29
- "enum",
30
- "constant",
31
- "resource",
32
- "common"
33
- ],
34
- "author": "bmc",
35
- "license": "MIT",
36
- "devDependencies": {
37
- "@rollup/plugin-commonjs": "^22.0.0",
38
- "@rollup/plugin-node-resolve": "^13.3.0",
39
- "@rollup/plugin-typescript": "^8.3.2",
40
- "@types/node": "^18.15.0",
41
- "rimraf": "^3.0.2",
42
- "rollup": "^2.75.6",
43
- "rollup-plugin-terser": "^7.0.2",
44
- "tslib": "^2.6.2",
45
- "typescript": "^4.9.5"
46
- },
47
- "dependencies": {},
48
- "repository": {
49
- "type": "git",
50
- "url": ""
51
- }
52
- }
1
+ {
2
+ "name": "bmc-common-resource",
3
+ "version": "1.1.130",
4
+ "description": "通用枚举、常量和资源的npm包",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "sideEffects": false,
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.esm.js",
15
+ "require": "./dist/index.js",
16
+ "types": "./dist/index.d.ts"
17
+ }
18
+ },
19
+ "scripts": {
20
+ "clean": "rimraf dist",
21
+ "build": "npm run clean && npm run generate-exports && npm run build:types && npm run build:js",
22
+ "build:types": "tsc --emitDeclarationOnly",
23
+ "build:js": "rollup -c",
24
+ "generate-exports": "node scripts/generate-exports.js",
25
+ "prepublishOnly": "npm run build",
26
+ "test": "echo \"Error: no test specified\" && exit 1"
27
+ },
28
+ "keywords": [
29
+ "enum",
30
+ "constant",
31
+ "resource",
32
+ "common"
33
+ ],
34
+ "author": "bmc",
35
+ "license": "MIT",
36
+ "devDependencies": {
37
+ "@rollup/plugin-commonjs": "^22.0.0",
38
+ "@rollup/plugin-node-resolve": "^13.3.0",
39
+ "@rollup/plugin-typescript": "^8.3.2",
40
+ "@types/node": "^18.15.0",
41
+ "rimraf": "^3.0.2",
42
+ "rollup": "^2.75.6",
43
+ "rollup-plugin-terser": "^7.0.2",
44
+ "tslib": "^2.6.2",
45
+ "typescript": "^4.9.5"
46
+ },
47
+ "dependencies": {},
48
+ "repository": {
49
+ "type": "git",
50
+ "url": ""
51
+ }
52
+ }
@@ -1,11 +0,0 @@
1
- import { assign_business_type } from '../enums/assign-business-type.enum';
2
- export interface assignBusinessTypeOption {
3
- /** 业务名称 */
4
- name: string;
5
- /** 业务值 */
6
- value: assign_business_type;
7
- }
8
- /**
9
- * 数组
10
- */
11
- export declare const assign_business_type_options: assignBusinessTypeOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 销售合同状态选项数组
3
- * 提供 {name: '状态名称', value: '状态代码'} 格式的数据
4
- */
5
- import { CONTRACT_STATE_ENUM } from '../enums/contract-state.enum';
6
- export interface ContractStatusOption {
7
- /** 状态名称 */
8
- name: string;
9
- /** 状态代码 */
10
- value: CONTRACT_STATE_ENUM;
11
- }
12
- /**
13
- * 销售合同状态选项数组
14
- */
15
- export declare const CONTRACT_STATUS_OPTIONS: ContractStatusOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 货币单位选项数组
3
- * 提供 {name: '货币名称', value: '货币代码'} 格式的数据
4
- */
5
- import { CURRENCY_UNIT_ENUM } from '../enums/currency-unit.enum';
6
- export interface CurrencyOption {
7
- /** 货币名称 */
8
- name: string;
9
- /** 货币代码 */
10
- value: CURRENCY_UNIT_ENUM;
11
- }
12
- /**
13
- * 货币单位选项数组
14
- */
15
- export declare const CURRENCY_UNIT_OPTIONS: CurrencyOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 方案类型选项数组
3
- * 提供 {name: '状态名称', value: '状态值'} 格式的数据
4
- */
5
- import { design_type } from '../enums/design-type.enum';
6
- export interface designTypeOption {
7
- /** 状态名称 */
8
- name: string;
9
- /** 状态值 */
10
- value: design_type;
11
- }
12
- /**
13
- * 方案类型选项数组
14
- */
15
- export declare const design_type_options: designTypeOption[];
@@ -1,6 +0,0 @@
1
- import { DictionaryOptionsMap } from '../interfaces/dictionary.interface';
2
- /**
3
- * 字典属性选项映射
4
- * 用于存储所有字典类型的选项
5
- */
6
- export declare const DICTIONARY_ATTRIBUTE_OPTIONS_MAP: DictionaryOptionsMap;
@@ -1,6 +0,0 @@
1
- import { BUSINESS_SCOPE_ENUM } from '../enums/business-scope.enum';
2
- import { DictionaryOption } from '../interfaces/dictionary.interface';
3
- /**
4
- * 业务范围分类选项
5
- */
6
- export declare const DICTIONARY_BUSINESS_SCOPE_OPTIONS: DictionaryOption<BUSINESS_SCOPE_ENUM>[];
@@ -1,6 +0,0 @@
1
- import { BUSINESS_WORK_PHASE_ENUM } from '../enums/business-work-phase.enum';
2
- import { DictionaryOption } from '../interfaces/dictionary.interface';
3
- /**
4
- * 业务工作选项
5
- */
6
- export declare const DICTIONARY_BUSINESS_WORK_PHASE_OPTIONS: DictionaryOption<BUSINESS_WORK_PHASE_ENUM>[];
@@ -1,6 +0,0 @@
1
- import { CUSTOMER_LABEL_ENUM } from '../enums/customer-label.enum';
2
- import { DictionaryOption } from '../interfaces/dictionary.interface';
3
- /**
4
- * 客户标签选项
5
- */
6
- export declare const DICTIONARY_CUSTOMER_LABEL_OPTIONS: DictionaryOption<CUSTOMER_LABEL_ENUM>[];
@@ -1,5 +0,0 @@
1
- import { CustomerSourceOption } from '../interfaces/dictionary.interface';
2
- /**
3
- * 客户来源选项
4
- */
5
- export declare const DICTIONARY_CUSTOMER_SOURCE_OPTIONS: CustomerSourceOption[];
@@ -1,11 +0,0 @@
1
- /**
2
- * 字典项标识选项
3
- * 提供 {label: '字典项名称', value: '字典项标识'} 格式的数据
4
- */
5
- import { DICTIONARY_IDENTIFY_ENUM } from "../enums/dictionary-identify.enum";
6
- import { DictionaryOption } from "../interfaces/dictionary.interface";
7
- /**
8
- * 字典标识选项
9
- * 包含所有字典标识
10
- */
11
- export declare const DICTIONARY_IDENTIFY_OPTIONS: DictionaryOption<DICTIONARY_IDENTIFY_ENUM>[];
@@ -1,5 +0,0 @@
1
- import { ProcessStageOption } from '../interfaces/dictionary.interface';
2
- /**
3
- * 进程阶段选项
4
- */
5
- export declare const DICTIONARY_PROCESS_STAGE_OPTIONS: ProcessStageOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 房屋交期选项数组
3
- * 提供 {name: '交期名称', value: '交期值'} 格式的数据
4
- */
5
- import { house_status } from '../enums/house-status.enum';
6
- export interface houseStatusOption {
7
- /** 交期名称 */
8
- name: string;
9
- /** 交期值 */
10
- value: house_status;
11
- }
12
- /**
13
- * 房屋交期选项数组
14
- */
15
- export declare const house_status_options: houseStatusOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 户型选项数组
3
- * 提供 {name: '户型名称', value: '户型值'} 格式的数据
4
- */
5
- import { house_type } from '../enums/house-type.enum';
6
- export interface houseTypeOption {
7
- /** 户型名称 */
8
- name: string;
9
- /** 户型值 */
10
- value: house_type;
11
- }
12
- /**
13
- * 户型选项数组
14
- */
15
- export declare const house_type_options: houseTypeOption[];
@@ -1,24 +0,0 @@
1
- /**
2
- * 常量的统一导出
3
- */
4
- export declare const __constantsPlaceholder: {};
5
- export * from './solution-status-options.constant';
6
- export * from './design-type-options.constant';
7
- export * from './order-status-options.constant';
8
- export * from './currency-unit-options.constant';
9
- export * from './supply-mode-options.constant';
10
- export * from './dictionary-attribute-options.constant';
11
- export * from './dictionary-identify-options.constant';
12
- export * from './recommendation-type-options.constant';
13
- export * from './pro_series_type_enum.constant';
14
- export * from './spatial-category-options.constant';
15
- export * from './house-status-options.constant';
16
- export * from './house-type-options.constant';
17
- export * from './price-flag-options.constant';
18
- export * from './rounding-rule-options.constant';
19
- export * from './assign-business-type-options.constant';
20
- export * from './dictionary-business-scope-options.constant';
21
- export * from './dictionary-business-work-phase-options.constant';
22
- export * from './contract-status-options.constant';
23
- export * from './sign-style-options.constant';
24
- export * from './sales-end-app-tag.constant';
@@ -1,15 +0,0 @@
1
- /**
2
- * 订单状态选项数组
3
- * 提供 {name: '状态名称', value: '状态值'} 格式的数据
4
- */
5
- import { order_status } from '../enums/order-status.enum';
6
- export interface orderStatusOption {
7
- /** 状态名称 */
8
- name: string;
9
- /** 状态值 */
10
- value: order_status;
11
- }
12
- /**
13
- * 订单状态选项数组
14
- */
15
- export declare const order_status_options: orderStatusOption[];
@@ -1,41 +0,0 @@
1
- /**
2
- * 价格标识选项数组
3
- * 提供 {name: '标识名称', value: '标识值'} 格式的数据
4
- */
5
- import { price_flag } from '../enums/price-flag.enum';
6
- export interface PriceFlagOption {
7
- /** 价格标识名称 */
8
- name: string;
9
- /** 价格标识值 */
10
- value: price_flag;
11
- }
12
- /**
13
- * 清单类型枚举
14
- * 根据实际业务需求可以替换为真实的清单类型枚举
15
- */
16
- export declare enum ListType {
17
- /** 报价清单 */
18
- QUOTATION_SOLUTION = "QUOTATION_SOLUTION"
19
- }
20
- /**
21
- * 完整的价格标识选项数组
22
- */
23
- export declare const price_flag_options: PriceFlagOption[];
24
- /**
25
- * 清单类型与价格标识的关联映射
26
- * 定义不同清单类型可以使用的价格标识
27
- */
28
- export declare const PRICE_FLAG_LIST_TYPE_MAP: Record<ListType, price_flag[]>;
29
- /**
30
- * 根据清单类型获取可用的价格标识选项
31
- * @param listType 清单类型
32
- * @returns 过滤后的价格标识选项数组
33
- */
34
- export declare function getPriceFlagOptionsByListType(listType: ListType): PriceFlagOption[];
35
- /**
36
- * 检查指定价格标识是否适用于给定的清单类型
37
- * @param flag 价格标识
38
- * @param listType 清单类型
39
- * @returns 是否适用
40
- */
41
- export declare function isPriceFlagValidForListType(flag: price_flag, listType: ListType): boolean;
@@ -1,15 +0,0 @@
1
- /**
2
- * 特权状态选项数组
3
- * 提供 {name: '状态名称', value: '状态代码'} 格式的数据
4
- */
5
- import { PRIVILEGE_STATE_ENUM } from '../enums/privilege-status.enum';
6
- export interface PrivilegeStatusOption {
7
- /** 状态名称 */
8
- name: string;
9
- /** 状态代码 */
10
- value: PRIVILEGE_STATE_ENUM;
11
- }
12
- /**
13
- * 销售合同状态选项数组
14
- */
15
- export declare const PRIVILEGE_STATUS_OPTIONS: PrivilegeStatusOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 产品系列款式分类选项数组
3
- * 提供 {name: '分类名称', value: '分类值'} 格式的数据
4
- */
5
- import { pro_series_type_enum } from '../enums/pro_series_type.enum';
6
- export interface SeriesTypeOption {
7
- /** 状态名称 */
8
- name: string;
9
- /** 状态值 */
10
- value: pro_series_type_enum;
11
- }
12
- /**
13
- * 报价清单状态选项数组
14
- */
15
- export declare const pro_series_type_options: SeriesTypeOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 推荐类型选项数组
3
- * 提供 {name: '推荐类型名称', value: '推荐类型值'} 格式的数据
4
- */
5
- import { RECOMMENDATION_TYPE_ENUM } from '../enums/recommendation-type.enum';
6
- export interface RecommendationTypeOption {
7
- /** 推荐类型名称 */
8
- name: string;
9
- /** 推荐类型值 */
10
- value: RECOMMENDATION_TYPE_ENUM;
11
- }
12
- /**
13
- * 推荐类型选项数组
14
- */
15
- export declare const recommendation_type_options: RecommendationTypeOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 舍入规则选项数组
3
- * 提供 {name: '规则名称', value: '规则值'} 格式的数据
4
- */
5
- import { rounding_rule } from '../enums/rounding-rule.enum';
6
- export interface roundingRuleOption {
7
- /** 规则名称 */
8
- name: string;
9
- /** 规则值 */
10
- value: rounding_rule;
11
- }
12
- /**
13
- * 舍入规则选项数组
14
- */
15
- export declare const rounding_rule_options: roundingRuleOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 零售终端价格使用类型选项数组
3
- * 提供 {name: '零售终端价格使用类型名称', value: '零售终端价格使用类型值'} 格式的数据
4
- */
5
- import { sales_end_app_tag } from '../enums/sales_end_app_tag.enum';
6
- export interface SalesEndAppTagOption {
7
- /** 零售终端价格使用类型名称 */
8
- name: string;
9
- /** 零售终端价格使用类型值 */
10
- value: sales_end_app_tag;
11
- }
12
- /**
13
- * 合同签约方式选项数组
14
- */
15
- export declare const SALES_END_APP_TAG_OPTIONS: SalesEndAppTagOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 合同签约方式选项数组
3
- * 提供 {name: '签署方式名称', value: '签署方式值'} 格式的数据
4
- */
5
- import { SIGN_STYLE } from '../enums/sign-style.enum';
6
- export interface SignStyleOption {
7
- /** 签约方式名称 */
8
- name: string;
9
- /** 签约方式值 */
10
- value: SIGN_STYLE;
11
- }
12
- /**
13
- * 合同签约方式选项数组
14
- */
15
- export declare const SIGN_STYLE_OPTIONS: SignStyleOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 报价清单状态选项数组
3
- * 提供 {name: '状态名称', value: '状态值'} 格式的数据
4
- */
5
- import { solution_status } from '../enums/solution-status.enum';
6
- export interface StatusOption {
7
- /** 状态名称 */
8
- name: string;
9
- /** 状态值 */
10
- value: solution_status;
11
- }
12
- /**
13
- * 报价清单状态选项数组
14
- */
15
- export declare const solution_status_options: StatusOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 空间类别选项数组
3
- * 提供 {name: '类别名称', value: '类别值'} 格式的数据
4
- */
5
- import { spatial_category } from '../enums/spatial-category.enum';
6
- export interface spatialCategoryOption {
7
- /** 类别名称 */
8
- name: string;
9
- /** 类别值 */
10
- value: spatial_category;
11
- }
12
- /**
13
- * 空间类别选项数组
14
- */
15
- export declare const spatial_category_options: spatialCategoryOption[];
@@ -1,15 +0,0 @@
1
- /**
2
- * 产品供货模式选项数组
3
- * 提供 {name: '模式名称', value: '模式值'} 格式的数据
4
- */
5
- import { supply_mode } from '../enums/supply-mode.enum';
6
- export interface SupplyModeOption {
7
- /** 供货模式名称 */
8
- name: string;
9
- /** 供货模式值 */
10
- value: supply_mode;
11
- }
12
- /**
13
- * 产品供货模式选项数组
14
- */
15
- export declare const supply_mode_options: SupplyModeOption[];
@@ -1,7 +0,0 @@
1
- /**
2
- * 分派-业务类型枚举
3
- */
4
- export declare enum assign_business_type {
5
- /** 房产 */
6
- ESTATE = "ESTATE"
7
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * 分派-类型枚举
3
- */
4
- export declare enum assign_business_type {
5
- /** 房产 */
6
- ESTATE = "ESTATE"
7
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * 业务范围分类枚举
3
- */
4
- export declare enum BUSINESS_SCOPE_ENUM {
5
- /** 自营产品 */
6
- SELF_OPERATED_PRODUCT = "SELF_OPERATED_PRODUCT",
7
- /** 代购代销 */
8
- AGENCY_PURCHASE_SALES = "AGENCY_PURCHASE_SALES",
9
- /** 室内设计 */
10
- INTERIOR_DESIGN = "INTERIOR_DESIGN",
11
- /** 工程施工 */
12
- ENGINEERING_CONSTRUCTION = "ENGINEERING_CONSTRUCTION"
13
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * 业务工作枚举
3
- */
4
- export declare enum BUSINESS_WORK_PHASE_ENUM {
5
- /** 营销 */
6
- MARKETING = "MARKETING",
7
- /** 销售 */
8
- SALES = "SALES",
9
- /** 设计 */
10
- DESIGN = "DESIGN",
11
- /** 安装 */
12
- INSTALLATION = "INSTALLATION",
13
- /** 售后 */
14
- AFTER_SALES = "AFTER_SALES"
15
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * 合同驳回类型枚举
3
- */
4
- export declare enum CONTRACT_CANCEL_TYPE {
5
- /** 合同内审驳回 */
6
- INTERNAL_AUDIT_CANCEL = "INTERNAL_AUDIT_CANCE",
7
- /** 合同整体作废 */
8
- WHOLE_CANCEL = "WHOLE_CANCEL"
9
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * 销售合同状态
3
- */
4
- export declare enum CONTRACT_STATE_ENUM {
5
- /** 草稿 */
6
- DRAFT = "DRAFT",
7
- /** 待我签 */
8
- SIGN_STAY_FOR_ME = "SIGN_STAY_FOR_ME",
9
- /** 待客签 */
10
- SIGN_STAY_CUSTOMER = "SIGN_STAY_CUSTOMER",
11
- /** 待提报 */
12
- STAY_REPORTED = "STAY_REPORTED",
13
- /** 待审核 */
14
- STAY_AUDIT = "STAY_AUDIT",
15
- /** 审核中 */
16
- UNDER_REVIEW = "UNDER_REVIEW",
17
- /** 已驳回 */
18
- REJECTED = "REJECTED",
19
- /** 已完成 */
20
- COMPLETED = "COMPLETED",
21
- /** 待下单 */
22
- STAY_SCALE = "STAY_SCALE",
23
- /** 下单待提报 */
24
- STAY_SCALE_REPORTED = "STAY_SCALE_REPORTED",
25
- /** 下单审核 */
26
- SCALE_UNDER_REVIEW = "SCALE_UNDER_REVIEW",
27
- /** 下单驳回 */
28
- SCALE_REJECTED = "SCALE_REJECTED",
29
- /** 下单完成 */
30
- SCALE_COMPLETED = "SCALE_COMPLETED",
31
- /** 已作废 */
32
- VOIDED = "VOIDED"
33
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * 货币单位枚举
3
- */
4
- export declare enum CURRENCY_UNIT_ENUM {
5
- /** 人民币 */
6
- CNY = "CNY",
7
- /** 美元 */
8
- USD = "USD",
9
- /** 欧元 */
10
- EUR = "EUR",
11
- /** 英镑 */
12
- GBP = "GBP",
13
- /** 港币 */
14
- HKD = "HKD"
15
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * 客户标签枚举
3
- */
4
- export declare enum CUSTOMER_LABEL_ENUM {
5
- /** 未分组 */
6
- UNGROUPED = "UNGROUPED"
7
- }
8
- /**
9
- * 客户标签类型
10
- */
11
- export type CustomerLabelType = keyof typeof CUSTOMER_LABEL_ENUM;