From f2fa634ea4dbc516a5cad4b43ef219e1139d3d15 Mon Sep 17 00:00:00 2001 From: ylj20011123 Date: Sun, 7 Dec 2025 09:16:09 +0800 Subject: [PATCH] update --- package.json | 2 +- public/static/uploadPhoto/search.html | 2 +- .../components/configAiModal.tsx | 192 +- .../components/tableData.js | 5249 +++++++++-------- src/utils/format.ts | 2 +- src/utils/request.ts | 6 +- src/utils/requestAHYD.ts | 4 +- src/utils/requestCode.ts | 2 +- src/utils/requestDashboard.ts | 24 +- src/utils/requestEncryption.ts | 2 +- src/utils/requestJava.ts | 4 +- src/utils/requestNewJava.ts | 4 +- src/utils/requestNewTest.ts | 4 +- src/utils/requestNoPrefix.ts | 2 +- src/versionEnv.ts | 6 +- 15 files changed, 3065 insertions(+), 2440 deletions(-) diff --git a/package.json b/package.json index 8e197a9..9b66c52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-pro", - "version": "4.5.73", + "version": "4.5.75", "private": true, "description": "An out-of-box UI solution for enterprise applications", "scripts": { diff --git a/public/static/uploadPhoto/search.html b/public/static/uploadPhoto/search.html index 34d8008..487213a 100644 --- a/public/static/uploadPhoto/search.html +++ b/public/static/uploadPhoto/search.html @@ -84,7 +84,7 @@ const tableName = getreqstr('tablename'); const tableType = getreqstr('tabletype'); const readonly = getreqstr('readonly') ? true : false; - const actions = 'https://api.eshangtech.com/EShangApiMain' + const actions = 'https://eshangtech.com:18900/EShangApiMain' let uploadRef = ref(null) let showPreviewRef = ref(null) let filename = ref('') diff --git a/src/pages/Setting/semanticParsingRulesConfig/components/configAiModal.tsx b/src/pages/Setting/semanticParsingRulesConfig/components/configAiModal.tsx index 446517e..6155805 100644 --- a/src/pages/Setting/semanticParsingRulesConfig/components/configAiModal.tsx +++ b/src/pages/Setting/semanticParsingRulesConfig/components/configAiModal.tsx @@ -24,6 +24,7 @@ const configAiModal = ({ onRef, configType, interfaceName, parentFormRef }: Deta const [selectedModalOrderRowKeys, setSelectedModalOrderRowKeys] = useState() // 勾选的行的详情数据 const [selectModalRowList, setSelectModalRowList] = useState() + const [childRowKeys, setChildRowKeys] = useState() const columns: any = [ { @@ -31,25 +32,15 @@ const configAiModal = ({ onRef, configType, interfaceName, parentFormRef }: Deta dataIndex: 'title', readonly: true, }, + { + title: '字段类型', + dataIndex: 'dataType', + readonly: true, + }, { title: '字段说明', dataIndex: 'content', }, - // { - // title: '操作', - // valueType: 'option', - // width: 200, - // render: (text, record, _, action) => { - // return { - // action?.startEditable?.(record.id); - // }} - // > - // 编辑 - // - // } - // } ] useEffect(() => { @@ -62,89 +53,101 @@ const configAiModal = ({ onRef, configType, interfaceName, parentFormRef }: Deta if (configType === 1) { let list: any = obj && obj.req && obj.req.length > 0 ? obj.req : [] - let keyList: any = [] - let disableList: any = [] - let disableDetail: any = [] + + let uniqueIdCounter = 0; + const listWithIds = list.map((item: any) => { + const id = `${item.title}-${uniqueIdCounter++}`; + return { ...item, id: id }; + }); + + let keyList: any = [] // Will store IDs for editableKeys + let disableList: any = [] // Will store IDs for selected items + let disableDetail: any = [] // Will store actual item objects for selected items let defaultObj: any = formDetail?.PARAM_FIELD ? JSON.parse(formDetail?.PARAM_FIELD) : '' console.log('defaultObj', defaultObj); - // disableList 为默认勾选起来的字段 - // 有两种 一种是必填项 那么默认勾选好的 一种是之前的勾选记录 - if (list && list.length > 0) { - list.forEach((item: any) => { - keyList.push(item.title) + // Populate keyList, initial disableList based on isRequired + if (listWithIds && listWithIds.length > 0) { + listWithIds.forEach((item: any) => { + keyList.push(item.id) // Use item.id for editableKeys if (item.isRequired) { - disableList.push(item.title) + disableList.push(item.id) // Use item.id for selection disableDetail.push(item) } }) } console.log('disableList', disableList); - + // Handle default selections from formDetail if (defaultObj) { - for (let key in defaultObj) { - list.forEach((item: any) => { - if (item.title === key) { - item.content = defaultObj[key] - } - }) - if (disableList.indexOf(key) === -1) { - list.forEach((item: any) => { - if (item.title === key) { - disableList.push(item.title) - disableDetail.push(item) - } - }) - } - } - } + listWithIds.forEach((item: any) => { + if (defaultObj[item.title]) { // Check if this item's title exists in defaultObj + item.content = defaultObj[item.title]; // Update content + + // If not already in disableList (e.g., from isRequired), add it + if (disableList.indexOf(item.id) === -1) { + disableList.push(item.id); + disableDetail.push(item); + } + } + }); + } + setSelectedModalOrderRowKeys(disableList) // disableList now contains IDs + setSelectModalRowList(disableDetail) // disableDetail now contains objects with IDs + setEditableKeys(keyList) // keyList now contains IDs + setTableData(listWithIds) // tableData now contains objects with IDs - setSelectedModalOrderRowKeys(disableList) - setSelectModalRowList(disableDetail) - setEditableKeys(keyList) - setTableData(list) } else if (configType === 2) { - let list: any = obj && obj.data && obj.data.length > 0 ? obj.data : '' - let keyList: any = [] + let list: any = obj?.data && obj.data.length > 0 ? obj.data : []; + + let uniqueIdCounter = 0; + const listWithIds = list.map((item: any) => { + const parentId = `${item.title}-${uniqueIdCounter++}`; + const newItem = { ...item, id: parentId }; + if (newItem.children) { + newItem.children = newItem.children.map((child: any) => { + const childId = `${child.title}-${uniqueIdCounter++}`; + return { ...child, id: childId }; + }); + } + return newItem; + }); + let disableList: any = [] let disableDetail: any = [] let defaultObj: any = formDetail?.RESPONSE_FIELD ? JSON.parse(formDetail?.RESPONSE_FIELD) : '' console.log('defaultObj', defaultObj); - - if (list && list.length > 0) { - list.forEach((item: any) => { - keyList.push(item.title) - if (item.isRequired) { - disableList.push(item.title) - disableDetail.push(item) + const childrenKeys: any[] = []; + if (listWithIds && listWithIds.length > 0) { + listWithIds.forEach((item: any) => { + if (item.children && item.children.length > 0) { + item.children.forEach((child: any) => { + childrenKeys.push(child.id); + }); } }) } + setChildRowKeys(childrenKeys); if (defaultObj) { - for (let key in defaultObj) { - list.forEach((item: any) => { - if (item.title === key) { - item.content = defaultObj[key] + const allRowsWithIds = listWithIds.flatMap((item: any) => [item, ...(item.children || [])]); + for (const key in defaultObj) { + const matchingRows = allRowsWithIds.filter((row: any) => row.title === key); + matchingRows.forEach((row: any) => { + row.content = defaultObj[key]; + if (disableList.indexOf(row.id) === -1) { + disableList.push(row.id); + disableDetail.push(row); } - }) - if (disableList.indexOf(key) === -1) { - list.forEach((item: any) => { - if (item.title === key) { - disableList.push(item.title) - disableDetail.push(item) - } - }) - } + }); } } setSelectedModalOrderRowKeys(disableList) setSelectModalRowList(disableDetail) - setEditableKeys(keyList) - setTableData(list) + setEditableKeys(listWithIds.map((item: any) => item.id)) + setTableData(listWithIds) } } }, []) @@ -156,9 +159,7 @@ const configAiModal = ({ onRef, configType, interfaceName, parentFormRef }: Deta return (
{ - return `${record?.title}` - }} + rowKey={'id'} className={"configAiModalTable"} actionRef={actionRef} formRef={formRef} @@ -181,7 +182,7 @@ const configAiModal = ({ onRef, configType, interfaceName, parentFormRef }: Deta let detailList: any = [] if (recordList && recordList.length > 0 && selectedModalOrderRowKeys && selectedModalOrderRowKeys.length > 0) { recordList.forEach((item: any) => { - if (selectedModalOrderRowKeys.indexOf(item.title) !== -1) { + if (selectedModalOrderRowKeys.indexOf(item.id) !== -1) { // Changed item.title to item.id detailList.push(item) } }) @@ -194,13 +195,48 @@ const configAiModal = ({ onRef, configType, interfaceName, parentFormRef }: Deta type: 'checkbox', selectedRowKeys: selectedModalOrderRowKeys, onChange: (selectedRowKeys: any, selectedRows: any) => { - console.log('selectedRowKeys', selectedRowKeys); - console.log('selectedRows', selectedRows); - setSelectModalRowList(selectedRows) - setSelectedModalOrderRowKeys(selectedRowKeys) + const newSelectedKeys = new Set(selectedRowKeys); + const oldSelectedKeys = new Set(selectedModalOrderRowKeys || []); + + // Only apply parent-child logic for configType === 2 + if (configType === 2) { + tableData.forEach((parent: any) => { + if (parent.children) { + const parentKey = parent.id; + const childKeys = parent.children.map((child: any) => child.id); + + // if parent was just selected + if (newSelectedKeys.has(parentKey) && !oldSelectedKeys.has(parentKey)) { + childKeys.forEach((key: any) => newSelectedKeys.add(key)); + } + + // if parent was just deselected + if (!newSelectedKeys.has(parentKey) && oldSelectedKeys.has(parentKey)) { + childKeys.forEach((key: any) => newSelectedKeys.delete(key)); + } + } + }); + } + + const finalKeys = Array.from(newSelectedKeys); + + const allRowsForSelection: any[] = []; + if (tableData) { + tableData.forEach((item: any) => { + allRowsForSelection.push(item); + if (item.children) { + allRowsForSelection.push(...item.children); + } + }); + } + + const finalRows = allRowsForSelection.filter((row: any) => newSelectedKeys.has(row.id)); + + setSelectModalRowList(finalRows); + setSelectedModalOrderRowKeys(finalKeys); }, getCheckboxProps: (record: any) => ({ - disabled: record.isRequired, + disabled: (configType === 2 && childRowKeys && childRowKeys.includes(record.id)), // Only disable children for configType 2 }), }} recordCreatorProps={false} diff --git a/src/pages/Setting/semanticParsingRulesConfig/components/tableData.js b/src/pages/Setting/semanticParsingRulesConfig/components/tableData.js index ddb49b3..2c1c357 100644 --- a/src/pages/Setting/semanticParsingRulesConfig/components/tableData.js +++ b/src/pages/Setting/semanticParsingRulesConfig/components/tableData.js @@ -2,2782 +2,3371 @@ export default { // 节日对客销售 "CommercialApi/Revenue/GetServerpartINCAnalysis": { req: [{ - title: 'calcType', - content: "计算方式:1【当日】,2【累计】", - isRequired: true - }, - { - title: 'pushProvinceCode', - content: "省份编码", - isRequired: true - }, - { - title: 'curYear', - content: "本年年份", - isRequired: true - }, - { - title: 'HolidayType', - content: `节日类型:1【元旦】2【春运】3【清明】4【五一】5【端午】6【暑期】7【中秋】8【国庆】`, - isRequired: true - }, - { - title: 'StatisticsDate', - content: "统计日期", - isRequired: true - }, - { - title: 'compareYear', - content: "历年年份", - isRequired: false - }, - { - title: 'CurStartDate', - content: "统计开始日期", - isRequired: false - }, - { - title: 'ServerpartId', - content: "服务区内码", - isRequired: false - }, - { - title: 'businessRegion', - content: `经营区域:1【服务区】2【城市店】`, - isRequired: false - }, - { - title: 'SortStr', - content: "排序字段:营业额:revenue驿达收入:account车流量:bayonet正序:asc,倒序:desc示例:revenue desc,bayonet desc", - isRequired: false - }, + title: 'calcType', + dataType: "integer", + content: "计算方式:1【当日】,2【累计】", + isRequired: true + }, + { + title: 'pushProvinceCode', + dataType: "string", + content: "省份编码", + isRequired: true + }, + { + title: 'curYear', + dataType: "integer", + content: "本年年份", + isRequired: true + }, + { + title: 'HolidayType', + dataType: "integer", + content: `节日类型:1【元旦】2【春运】3【清明】4【五一】5【端午】6【暑期】7【中秋】8【国庆】`, + isRequired: true + }, + { + title: 'StatisticsDate', + dataType: "string", + content: "统计日期", + isRequired: true + }, + { + title: 'compareYear', + dataType: "integer", + content: "历年年份", + isRequired: false + }, + { + title: 'CurStartDate', + dataType: "string", + content: "统计开始日期", + isRequired: false + }, + { + title: 'ServerpartId', + dataType: "string", + content: "服务区内码", + isRequired: false + }, + { + title: 'businessRegion', + dataType: "integer", + content: `经营区域:1【服务区】2【城市店】`, + isRequired: false + }, + { + title: 'SortStr', + dataType: "string", + content: "排序字段:营业额:revenue驿达收入:account车流量:bayonet正序:asc,倒序:desc示例:revenue desc,bayonet desc", + isRequired: false + }, + { + title: 'IsYOYCompare', + dataType: "boolean", + content: `是否对比同期数据`, + isRequired: false + }, ], - data: [{ + data: [ + { title: 'SPRegionTypeId', + dataType: "integer", content: "片区内码", }, { title: 'SPRegionTypeName', - content: "管理中心" + dataType: "string", + content: "片区名称", }, { title: 'ServerpartId', - content: "服务区内码" + dataType: "integer", + content: "服务区内码", }, { title: 'ServerpartName', - content: "服务区名称" + dataType: "string", + content: "服务区名称", }, { - title: 'RevenueINCcurYearData', - content: "营收数据本年度数值" + title: "RevenueINC", + dataType: "object", + content: "营收数据", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINClYearData', - content: "营收数据历年同期数值" + title: "AccountINC", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseData', - content: "营收数据同比增长值" + title: "BayonetINC", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseRate', - content: "营收数据同比增长率" + title: "SectionFlowINC", + content: "断面流量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCQOQData', - content: "营收数据环比同期数值" + title: "BayonetINC_ORI", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseDataQOQ', - content: "营收数据环比增长值" + title: "TicketINC", + content: "客单数量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseRateQOQ', - content: "营收数据环比增长率" + title: "AvgTicketINC", + content: "客单均价", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCrankNum', - content: "营收数据排名" + title: 'ShopINCList', + content: "门店数据", + dataType: "list", + children: [ + { title: 'ServerpartId', dataType: "integer", content: '服务区内码' }, + { title: 'ServerpartName', dataType: "string", content: '服务区名称' }, + { title: 'ServerpartShopId', dataType: "string", content: '门店内码' }, + { title: 'ServerpartShopName', dataType: "string", content: '门店名称' }, + { title: 'Brand_Id', dataType: "integer", content: '品牌内码' }, + { title: 'Brand_Name', dataType: "string", content: '品牌名称' }, + { title: 'BrandType_Name', dataType: "string", content: '品牌类型' }, + { title: 'Brand_ICO', dataType: "string", content: '品牌图片' }, + { title: 'ShopTrade', dataType: "integer", content: '商品业态' }, + { title: 'BusinessTradeName', dataType: "string", content: '经营业态名称' }, + { title: 'BusinessTradeType', dataType: "string", content: '经营业态大类 1:自营便利店 2:自营餐饮客房 3:商铺租赁' }, + { title: 'BusinessProjectId', dataType: "integer", content: '经营项目内码' }, + { title: 'CompactStartDate', dataType: "string", content: '合同开始日期' }, + { title: 'CompactEndDate', dataType: "string", content: '合同结束日期' }, + { title: 'BusinessType', dataType: "integer", content: '经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销)' }, + { title: 'SettlementModes', dataType: "integer", content: '结算模式' }, + { title: 'MERCHANTS_ID', dataType: "number", content: '经营商户Id' }, + { title: 'MERCHANTS_ID_Encrypted', dataType: "string", content: '经营商户Id(加密后的)' }, + { title: 'MERCHANTS_NAME', dataType: "string", content: '经营商户' }, + { title: 'RevenueINC', dataType: "object", content: '营收数据对比' }, + { title: 'AccountINC', dataType: "object", content: '驿达收入对比' }, + { title: 'TicketINC', dataType: "object", content: '客单数量对比' }, + { title: 'AvgTicketINC', dataType: "object", content: '客单均价对比' }, + { title: 'CurTransaction', dataType: "number", content: '即时营收数据' }, + { title: 'Profit_Amount', dataType: "number", content: '盈利金额' }, + { title: 'Cost_Amount', dataType: "number", content: '预估成本' }, + { title: 'Ca_Cost', dataType: "number", content: '获客成本' } + ] }, { title: 'Profit_Amount', - content: "盈利金额" + dataType: "number", + content: "盈利金额", }, { title: 'Cost_Amount', - content: "预估成本" + dataType: "number", + content: "预估成本", }, { title: 'Ca_Cost', - content: "获客成本" + dataType: "number", + content: "获客成本", }, { title: 'RankDiff', - content: "排名差异" - }, - { - title: 'ServerpartShopId', - content: "门店内码" - }, - { - title: 'ServerpartShopName', - content: "门店名称" - }, - { - title: 'Brand_Id', - content: "品牌内码" - }, - { - title: 'Brand_Name', - content: "品牌名称" - }, - { - title: 'BrandType_Name', - content: "品牌类型" - }, - { - title: 'Brand_ICO', - content: "品牌图片" - }, - { - title: 'ShopTrade', - content: "商品业态" - }, - { - title: 'BusinessTradeType', - content: "经营业态大类 1:自营便利店2:自营餐饮客房 3:商铺租赁" - }, - { - title: 'CompactStartDate', - content: "合同开始日期" - }, - { - title: 'CompactEndDate', - content: "合同结束日期" - }, - { - title: 'BusinessType', - content: "经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销)" - }, - { - title: 'SettlementModes', - content: "结算模式" - }, - { - title: 'MERCHANTS_ID', - content: "经营商户Id" - }, - { - title: 'MERCHANTS_ID_Encrypted', - content: "经营商户Id(加密后的) " - }, - { - title: 'MERCHANTS_NAME', - content: "经营商户" - }, - { - title: 'AccountINCcurYearData', - content: "驿达收入本年度数值" - }, - { - title: 'AccountINClYearData', - content: "驿达收入历年同期数值" - }, - { - title: 'AccountINCincreaseData', - content: "驿达收入同比增长值" - }, - { - title: 'AccountINCincreaseRate', - content: "驿达收入同比增长率" - }, - { - title: 'AccountINCQOQData', - content: "驿达收入环比同期数值" - }, - { - title: 'AccountINCincreaseDataQOQ', - content: "驿达收入环比增长值" - }, - { - title: 'AccountINCincreaseRateQOQ', - content: "驿达收入环比增长率" - }, - { - title: 'AccountINCrankNum', - content: "驿达收入排名" - }, - { - title: 'BayonetINCcurYearData', - content: "车流数据本年度数值" - }, - { - title: 'BayonetINClYearData', - content: "车流数据历年同期数值" - }, - { - title: 'BayonetINCincreaseData', - content: "车流数据同比增长值" - }, - { - title: 'BayonetINCincreaseRate', - content: "车流数据同比增长率" - }, - { - title: 'BayonetINCQOQData', - content: "车流数据环比同期数值" - }, - { - title: 'BayonetINCincreaseDataQOQ', - content: "车流数据环比增长值" - }, - { - title: 'BayonetINCincreaseRateQOQ', - content: "车流数据环比增长率" - }, - { - title: 'BayonetINCrankNum', - content: "车流数据排名" - } - - , - { - title: 'BayonetINC_ORIcurYearData', - content: "车流数据初始值本年度数值" - }, - { - title: 'BayonetINC_ORIlYearData', - content: "车流数据初始值历年同期数值" - }, - { - title: 'BayonetINC_ORIincreaseData', - content: "车流数据初始值同比增长值" - }, - { - title: 'BayonetINC_ORIincreaseRate', - content: "车流数据初始值同比增长率" - }, - { - title: 'BayonetINC_ORIQOQData', - content: "车流数据初始值环比同期数值" - }, - { - title: 'BayonetINC_ORIincreaseDataQOQ', - content: "车流数据初始值环比增长值" - }, - { - title: 'BayonetINC_ORIincreaseRateQOQ', - content: "车流数据初始值环比增长率" - }, - { - title: 'BayonetINC_ORIrankNum', - content: "车流数据初始值排名" - } - - , - { - title: 'TicketINCcurYearData', - content: "客单数量本年度数值" - }, - { - title: 'TicketINClYearData', - content: "客单数量历年同期数值" - }, - { - title: 'TicketINCincreaseData', - content: "客单数量同比增长值" - }, - { - title: 'TicketINCincreaseRate', - content: "客单数量同比增长率" - }, - { - title: 'TicketINCQOQData', - content: "客单数量环比同期数值" - }, - { - title: 'TicketINCincreaseDataQOQ', - content: "客单数量环比增长值" - }, - { - title: 'TicketINCincreaseRateQOQ', - content: "客单数量环比增长率" - }, - { - title: 'TicketINCrankNum', - content: "客单数量排名" - } - - , - { - title: 'AvgTicketINCcurYearData', - content: "客单均价本年度数值" - }, - { - title: 'AvgTicketINClYearData', - content: "客单均价历年同期数值" - }, - { - title: 'AvgTicketINCincreaseData', - content: "客单均价同比增长值" - }, - { - title: 'AvgTicketINCincreaseRate', - content: "客单均价同比增长率" - }, - { - title: 'AvgTicketINCQOQData', - content: "客单均价环比同期数值" - }, - { - title: 'AvgTicketINCincreaseDataQOQ', - content: "客单均价环比增长值" - }, - { - title: 'AvgTicketINCincreaseRateQOQ', - content: "客单均价环比增长率" - }, - { - title: 'AvgTicketINCrankNum', - content: "客单均价排名" + dataType: "integer", + content: "排名差异", } ] }, // 预警情况 "EShangApiMain/BusinessProject/GetAccountWarningList": { req: [{ - title: 'ServerpartId', - content: "服务区内码", - isRequired: true - }, - { - title: 'BusinessTrade', - content: "经营业态", - isRequired: false - }, - { - title: 'Business_Type', - content: "经营模式", - isRequired: false - }, - { - title: 'SettlementMode', - content: "结算模式", - isRequired: false - }, - { - title: 'BusinessState', - content: "经营状态", - isRequired: false - }, - { - title: 'WarningType', - content: `预警类型 1:项目未有营业(项目周期开始至今没有营收) + title: 'ServerpartId', + dataType: "string", + content: "服务区内码", + isRequired: true + }, + { + title: 'BusinessTrade', + dataType: "string", + content: "经营业态", + isRequired: false + }, + { + title: 'Business_Type', + dataType: "string", + content: "经营模式", + isRequired: false + }, + { + title: 'SettlementMode', + dataType: "string", + content: "结算模式", + isRequired: false + }, + { + title: 'BusinessState', + dataType: "string", + content: "经营状态", + isRequired: false + }, + { + title: 'WarningType', + dataType: "string", + content: `预警类型 1:项目未有营业(项目周期开始至今没有营收) 2:项目利润过低(项目周期结束,利润未达20W) 3:商家退场告警(项目营业过,门店关闭超过30天) 4:项目预亏预警(项目周期过半,利润未达10W) 5:商家退场预警(项目周期75%,利润为负数) 6:租金提成偏低(商家利润超过100W) 7:租金提成过高(商家真实提成比例高于建议提成15%以上)`, - isRequired: false - }, + isRequired: false + }, + { + title: 'ProjectId', + dataType: "string", + content: `经营项目内码`, + isRequired: false + }, + { + title: 'ShowMulti', + dataType: "boolean", + content: `显示多个预警类型`, + isRequired: false + }, + { + title: 'ShowNormal', + dataType: "boolean", + content: `显示正常项目,默认不显示`, + isRequired: false + }, + { + title: 'Format', + dataType: "integer", + content: `返参格式: 1【门店列表】 2【片区嵌套】`, + isRequired: false + }, + { + title: 'BusinessBrand', + dataType: "string", + content: `经营品牌`, + isRequired: false + }, + { + title: 'MerchantName', + dataType: "string", + content: `经营商户`, + isRequired: false + }, + { + title: 'ShopName', + dataType: "string", + content: `门店名称`, + isRequired: false + } ], - data: [{ - title: 'BUSINESSPROJECT_ID', - content: "经营项目内码", - }, - { - title: 'BUSINESSPROJECT_NAME', - content: "项目名称", - }, - { - title: 'SPREGIONTYPE_ID', - content: "片区内码", - }, - { - title: 'SPREGIONTYPE_NAME', - content: "管理中心", - }, - { - title: 'SERVERPART_ID', - content: "服务区内码", - }, - { - title: 'SERVERPART_NAME', - content: "服务区名称", - }, - { - title: 'SERVERPARTSHOP_ID', - content: "门店内码", - }, - { - title: 'SERVERPARTSHOP_NAME', - content: "门店名称", - }, - { - title: 'BUSINESS_STATE', - content: "经营状态", - }, - { - title: 'BUSINESS_TRADE', - content: "经营业态", - }, - { - title: 'MERCHANTS_ID', - content: "商户内码", - }, - { - title: 'MERCHANTS_NAME', - content: "经营商户", - }, - { - title: 'PROJECT_STARTDATE', - content: "开始日期", - }, - { - title: 'PROJECT_ENDDATE', - content: "结束日期", - }, - { - title: 'GUARANTEE_PRICE', - content: "项目金额", - }, - { - title: 'BUSINESS_TYPE', - content: "结算模式", - }, - { - title: 'SETTLEMENT_MODES', - content: "结算模式", - }, - { - title: 'BUSINESS_PERIOD', - content: "经营期数", - }, - { - title: 'PERIOD_INDEX', - content: "第几期", - }, - { - title: 'STARTDATE', - content: "开始日期", - }, - { - title: 'ENDDATE', - content: "结束日期", - }, - { - title: 'RENTFEE', - content: "固定租金", - }, - { - title: 'MINTURNOVER', - content: "保底营业额", - }, - { - title: 'GUARANTEERATIO', - content: "保底比例", - }, - { - title: 'ACTUAL_RATIO', - content: "真实提成比例", - }, - { - title: 'COMMISSION_RATIO', - content: "标准提成比例", - }, - { - title: 'REVENUE_AMOUNT', - content: "营收金额", - }, - { - title: 'COST_AMOUNT', - content: "商家预估成本", - }, - { - title: 'ROYALTY_PRICE', - content: "业主到账", - }, - { - title: 'ROYALTY_THEORY', - content: "业主收入", - }, - { - title: 'SUBROYALTY_THEORY', - content: "商家入账", - }, - { - title: 'PROFIT_AMOUNT', - content: "盈利金额", - }, - { - title: 'PROFIT_RATE', - content: "利润率(%)", - }, - { - title: 'PROFIT_SD', - content: "商家盈利标准差", - }, - { - title: 'PROFIT_AVG', - content: "商家盈利标准差", - }, - { - title: 'COST_RATE', - content: "采购成本比例", - }, - { - title: 'MONTH_COUNT', - content: "结算月数", - }, - { - title: 'LABOURS_COUNT', - content: "员工人数", - }, - { - title: 'LABOURS_WAGE', - content: "人均工资(元/月)", - }, - { - title: 'DEPRECIATION_EXPENSE', - content: "折旧费用(三年费用)", - }, - { - title: 'DEPRECIATION_YEAR', - content: "折旧年限", - }, - { - title: 'OTHER_EXPENSE', - content: "其他费用", - }, - { - title: 'WARNING_TYPE', - content: `预警类型1:项目未有营业(项目周期开始至今没有营收) - 2:项目利润过低(项目周期结束,利润未达20W) - 3:商家退场告警(项目营业过,门店关闭超过15天) - 4:项目预亏预警(项目周期过半,利润未达10W) - 5:商家退场预警(项目周期75%,利润为负数) - 6:租金提成偏低(商家利润超过100W) - 7:租金提成过高(商家真实提成比例高于建议提成15%以上) - 8:业态缺失告警(项目结束后,超过一个月没有相同业态进场)`, - }, - { - title: 'WARNING_CONTENT', - content: "预警条件", - }, - { - title: 'TICKET_COUNT', - content: "客单数量", - }, - { - title: 'CA_COST', - content: "获客成本", - }, - { - title: 'BUSINESS_STARTDATE', - content: "经营开始日期", - }, - { - title: 'BUSINESS_ENDDATE', - content: "经营结束日期", - }, - { - title: 'Brand_ICO', - content: "图标", - }, - { - title: 'MERCHANTS_ID_Encrypted', - content: "经营商户Id(加密后的)", - }, - { - title: 'ProjectProgress', - content: "项目进度", - }, - { - title: 'PaymentProgress', - content: "保底进度", - } + data: [ + { title: 'BUSINESSPROJECT_ID', dataType: 'integer', content: '经营项目内码' }, + { title: 'BUSINESSPROJECT_NAME', dataType: 'string', content: '项目名称' }, + { title: 'SPREGIONTYPE_ID', dataType: 'integer', content: '片区内码' }, + { title: 'SPREGIONTYPE_NAME', dataType: 'string', content: '片区名称' }, + { title: 'SERVERPART_ID', dataType: 'integer', content: '服务区内码' }, + { title: 'SERVERPART_NAME', dataType: 'string', content: '服务区名称' }, + { title: 'SERVERPARTSHOP_ID', dataType: 'string', content: '门店内码' }, + { title: 'SERVERPARTSHOP_NAME', dataType: 'string', content: '门店名称' }, + { title: 'BUSINESS_STATE', dataType: 'integer', content: '经营状态' }, + { title: 'BUSINESS_TRADE', dataType: 'integer', content: '经营业态' }, + { title: 'MERCHANTS_ID', dataType: 'integer', content: '商户内码' }, + { title: 'MERCHANTS_NAME', dataType: 'string', content: '经营商户' }, + { title: 'PROJECT_STARTDATE', dataType: 'string', content: '开始日期' }, + { title: 'PROJECT_ENDDATE', dataType: 'string', content: '结束日期' }, + { title: 'GUARANTEE_PRICE', dataType: 'number', content: '项目金额' }, + { title: 'BUSINESS_TYPE', dataType: 'integer', content: '结算模式' }, + { title: 'SETTLEMENT_MODES', dataType: 'integer', content: '结算模式' }, + { title: 'BUSINESS_PERIOD', dataType: 'string', content: '经营期数' }, + { title: 'PERIOD_INDEX', dataType: 'integer', content: '第几期' }, + { title: 'STARTDATE', dataType: 'string', content: '开始日期' }, + { title: 'ENDDATE', dataType: 'string', content: '结束日期' }, + { title: 'RENTFEE', dataType: 'number', content: '固定租金' }, + { title: 'MINTURNOVER', dataType: 'number', content: '保底营业额' }, + { title: 'GUARANTEERATIO', dataType: 'number', content: '保底比例' }, + { title: 'ACTUAL_RATIO', dataType: 'number', content: '真实提成比例' }, + { title: 'COMMISSION_RATIO', dataType: 'number', content: '标准提成比例' }, + { title: 'REVENUE_AMOUNT', dataType: 'number', content: '营收金额' }, + { title: 'COST_AMOUNT', dataType: 'number', content: '商家预估成本' }, + { title: 'ROYALTY_PRICE', dataType: 'number', content: '业主到账' }, + { title: 'ROYALTY_THEORY', dataType: 'number', content: '业主收入' }, + { title: 'SUBROYALTY_THEORY', dataType: 'number', content: '商家入账' }, + { title: 'PROFIT_AMOUNT', dataType: 'number', content: '盈利金额' }, + { title: 'PROFIT_RATE', dataType: 'number', content: '利润率(%)' }, + { title: 'PROFIT_SD', dataType: 'number', content: '商家盈利标准差' }, + { title: 'PROFIT_AVG', dataType: 'number', content: '商家盈利标准差' }, + { title: 'COST_RATE', dataType: 'number', content: '采购成本比例' }, + { title: 'MONTH_COUNT', dataType: 'number', content: '结算月数' }, + { title: 'LABOURS_COUNT', dataType: 'number', content: '员工人数' }, + { title: 'LABOURS_WAGE', dataType: 'number', content: '人均工资(元/月)' }, + { title: 'DEPRECIATION_EXPENSE', dataType: 'number', content: '折旧费用(三年费用)' }, + { title: 'DEPRECIATION_YEAR', dataType: 'integer', content: '折旧年限' }, + { title: 'OTHER_EXPENSE', dataType: 'number', content: '其他费用' }, + { title: 'WARNING_TYPE', dataType: 'integer', content: '预警类型' }, + { title: 'WARNING_CONTENT', dataType: 'string', content: '预警条件' }, + { title: 'TICKET_COUNT', dataType: 'integer', content: '客单数量' }, + { title: 'CA_COST', dataType: 'number', content: '获客成本' }, + { title: 'BUSINESS_STARTDATE', dataType: 'string', content: '经营开始日期' }, + { title: 'BUSINESS_ENDDATE', dataType: 'string', content: '经营结束日期' }, + { title: 'Brand_ICO', dataType: 'string', content: '图标' }, + { title: 'MERCHANTS_ID_Encrypted', dataType: 'string', content: '经营商户Id(加密后的)' }, + { title: 'ProjectProgress', dataType: 'number', content: '项目进度' }, + { title: 'PaymentProgress', dataType: 'number', content: '保底进度' } ] }, // 经营数据 "CommercialApi/Revenue/GetMonthlyBusinessAnalysis": { - - }, - // 车流|入区 - "CommercialApi/Revenue/GetMonthINCAnalysis": { req: [{ - title: 'pushProvinceCode', - content: "省份编码", - isRequired: true - }, + "title": "calcType", + "dataType": "integer", + "content": "计算方式:1【当月】,2【累计】", + "isRequired": true + }, + { + "title": "pushProvinceCode", + "dataType": "string", + "content": "省份编码", + "isRequired": true + }, + { + "title": "curYear", + "dataType": "integer", + "content": "本年年份", + "isRequired": true + }, + { + "title": "compareYear", + "dataType": "integer", + "content": "历年年份", + "isRequired": true + }, + { + "title": "StatisticsMonth", + "dataType": "integer", + "content": "结算结束月份", + "isRequired": true + }, + { + "title": "StatisticsStartMonth", + "dataType": "integer", + "content": "结算开始月份,格式yyyyMM", + "isRequired": true + }, + { + "title": "StatisticsDate", + "dataType": "string", + "content": "统计日期", + "isRequired": false + }, + { + "title": "SPRegionTypeId", + "dataType": "string", + "content": "片区内码,多个用,隔开", + "isRequired": false + }, + { + "title": "ServerpartId", + "dataType": "string", + "content": "服务区内码,多个用,隔开", + "isRequired": false + }, + { + "title": "businessType", + "dataType": "string", + "content": "经营模式:1000【合作分成】2000【固定租金】3000【自营提成】4000【业主自营】", + "isRequired": false + }, + { + "title": "businessTrade", + "dataType": "string", + "content": "经营业态:1【餐饮】2【便利店】3【加盟餐饮】4【客房及其他】", + "isRequired": false + }, + { + "title": "businessRegion", + "dataType": "string", + "content": "经营区域:1【服务区】2【城市店】", + "isRequired": false + }], + data: [ { - title: 'StatisticsStartMonth', - content: "统计开始月份", - isRequired: true - }, - { - title: 'StatisticsEndMonth', - content: "统计结束月份", - isRequired: true - }, - { - title: 'ServerpartId', - content: "服务区内码", - isRequired: false - }, - { - title: 'businessRegion', - content: "经营区域:1:服务区 2:城市店", - isRequired: false - }, - { - title: 'BusinessTradeType', - content: "经营业态大类:1:自营便利店2:自营餐饮客房3:商铺租赁", - isRequired: false - }, - { - title: 'shopTrade', - content: "商品业态", - isRequired: false - }, - { - title: 'compactStartDate', - content: "合同开始日期", - isRequired: false - }, - { - title: 'compactEndDate', - content: "合同结束日期", - isRequired: false - }, - { - title: 'calcQOQ', - content: "是否计算环比", - isRequired: false - }, - { - title: 'calcYOY', - content: "是否计算同比", - isRequired: false - }, - { - title: 'calcBayonet', - content: "是否计算车流量", - isRequired: false - }, - { - title: 'hasAnalog', - content: "是否包含模拟车流", - isRequired: false - }, - { - title: 'statisticsType', - content: "统计类型:1:门店2:业态分类3:服务区类型", - isRequired: false - }, - { - title: 'accountType', - content: "收入结算类型:0【标准算法】1【自营的按照商超25%,餐饮20%计算】", - isRequired: false - }, - { - title: 'showRevenue', - content: "经营数据:0:全部1:增长2:降低", - isRequired: false - }, - { - title: 'showBayonet', - content: "车流数据:0:全部1:增长2:降低", - isRequired: false - }, - { - title: 'showLevel', - content: "显示层级:1:服务区2:门店", - isRequired: false - }, - { - title: 'solidType', - content: "是否查询固化数据", - isRequired: false - }, - { - title: 'showWarning', - content: "显示预警:true:预警数据false:正常数据", - isRequired: false - }, - { - title: 'warningType', - content: "预警类型:1:车流增加,服务区营收减少2:车流增加,门店的营收减少3:车流增加,营收增长不匹配4:车流减少,营收减低不匹配", - isRequired: false - } - ], - data: [{ title: 'SPRegionTypeId', + dataType: "integer", content: "片区内码", }, { title: 'SPRegionTypeName', - content: "管理中心", + dataType: "string", + content: "片区名称", }, { title: 'ServerpartId', + dataType: "integer", content: "服务区内码", }, { title: 'ServerpartName', + dataType: "string", content: "服务区名称", }, { - title: 'BusinessTradeName', - content: "经营业态名称", - }, - - { - title: 'RevenueINCcurYearData', - content: "营收数据本年度数值", + title: "RevenueINC", + dataType: "object", + content: "营收数据", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINClYearData', - content: "营收数据历年同期数值", + title: "AccountINC", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseData', - content: "营收数据历年同比增长值", + title: "BayonetINC", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseRate', - content: "营收数据历年同比增长率", + title: "SectionFlowINC", + content: "断面流量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCQOQData', - content: "营收数据环比同期数值", + title: "BayonetINC_ORI", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseDataQOQ', - content: "营收数据环比增长值", + title: "TicketINC", + content: "客单数量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCincreaseRateQOQ', - content: "营收数据环比增长率", + title: "AvgTicketINC", + content: "客单均价", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'RevenueINCrankNum', - content: "营收数据排名", - }, - - { - title: 'AccountINCcurYearData', - content: "驿达收入本年度数值", - }, - { - title: 'AccountINClYearData', - content: "驿达收入历年同期数值", - }, - { - title: 'AccountINCincreaseData', - content: "驿达收入历年同比增长值", - }, - { - title: 'AccountINCincreaseRate', - content: "驿达收入历年同比增长率", - }, - { - title: 'AccountINCQOQData', - content: "驿达收入环比同期数值", - }, - { - title: 'AccountINCincreaseDataQOQ', - content: "驿达收入环比增长值", - }, - { - title: 'AccountINCincreaseRateQOQ', - content: "驿达收入环比增长率", - }, - { - title: 'AccountINCrankNum', - content: "驿达收入排名", - }, - - { - title: 'BayonetINCcurYearData', - content: "车流数据本年度数值", - }, - { - title: 'BayonetINClYearData', - content: "车流数据历年同期数值", - }, - { - title: 'BayonetINCincreaseData', - content: "车流数据历年同比增长值", - }, - { - title: 'BayonetINCincreaseRate', - content: "车流数据历年同比增长率", - }, - { - title: 'BayonetINCQOQData', - content: "车流数据环比同期数值", - }, - { - title: 'BayonetINCincreaseDataQOQ', - content: "车流数据环比增长值", - }, - { - title: 'BayonetINCincreaseRateQOQ', - content: "车流数据环比增长率", - }, - { - title: 'BayonetINCrankNum', - content: "车流数据排名", - }, - - { - title: 'BayonetINC_ORIcurYearData', - content: "车流数据初始值本年度数值", - }, - { - title: 'BayonetINC_ORIlYearData', - content: "车流数据初始值历年同期数值", - }, - { - title: 'BayonetINC_ORIincreaseData', - content: "车流数据初始值历年同比增长值", - }, - { - title: 'BayonetINC_ORIincreaseRate', - content: "车流数据初始值历年同比增长率", - }, - { - title: 'BayonetINC_ORIQOQData', - content: "车流数据初始值环比同期数值", - }, - { - title: 'BayonetINC_ORIincreaseDataQOQ', - content: "车流数据初始值环比增长值", - }, - { - title: 'BayonetINC_ORIincreaseRateQOQ', - content: "车流数据初始值环比增长率", - }, - { - title: 'BayonetINC_ORIrankNum', - content: "车流数据初始值排名", - }, - - { - title: 'TicketINCcurYearData', - content: "客单数量本年度数值", - }, - { - title: 'TicketINClYearData', - content: "客单数量历年同期数值", - }, - { - title: 'TicketINCincreaseData', - content: "客单数量历年同比增长值", - }, - { - title: 'TicketINCincreaseRate', - content: "客单数量历年同比增长率", - }, - { - title: 'TicketINCQOQData', - content: "客单数量环比同期数值", - }, - { - title: 'TicketINCincreaseDataQOQ', - content: "客单数量环比增长值", - }, - { - title: 'TicketINCincreaseRateQOQ', - content: "客单数量环比增长率", - }, - { - title: 'TicketINCrankNum', - content: "客单数量排名", - }, - - { - title: 'AvgTicketINCcurYearData', - content: "客单均价本年度数值", - }, - { - title: 'AvgTicketINClYearData', - content: "客单均价历年同期数值", - }, - { - title: 'AvgTicketINCincreaseData', - content: "客单均价历年同比增长值", - }, - { - title: 'AvgTicketINCincreaseRate', - content: "客单均价历年同比增长率", - }, - { - title: 'AvgTicketINCQOQData', - content: "客单均价环比同期数值", - }, - { - title: 'AvgTicketINCincreaseDataQOQ', - content: "客单均价环比增长值", - }, - { - title: 'AvgTicketINCincreaseRateQOQ', - content: "客单均价环比增长率", - }, - { - title: 'AvgTicketINCrankNum', - content: "客单均价排名", + title: 'ShopINCList', + content: "门店数据", + dataType: "list", + children: [ + { title: 'ServerpartId', dataType: "integer", content: '服务区内码' }, + { title: 'ServerpartName', dataType: "string", content: '服务区名称' }, + { title: 'ServerpartShopId', dataType: "string", content: '门店内码' }, + { title: 'ServerpartShopName', dataType: "string", content: '门店名称' }, + { title: 'Brand_Id', dataType: "integer", content: '品牌内码' }, + { title: 'Brand_Name', dataType: "string", content: '品牌名称' }, + { title: 'BrandType_Name', dataType: "string", content: '品牌类型' }, + { title: 'Brand_ICO', dataType: "string", content: '品牌图片' }, + { title: 'ShopTrade', dataType: "integer", content: '商品业态' }, + { title: 'BusinessTradeName', dataType: "string", content: '经营业态名称' }, + { title: 'BusinessTradeType', dataType: "string", content: '经营业态大类 1:自营便利店 2:自营餐饮客房 3:商铺租赁' }, + { title: 'BusinessProjectId', dataType: "integer", content: '经营项目内码' }, + { title: 'CompactStartDate', dataType: "string", content: '合同开始日期' }, + { title: 'CompactEndDate', dataType: "string", content: '合同结束日期' }, + { title: 'BusinessType', dataType: "integer", content: '经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销)' }, + { title: 'SettlementModes', dataType: "integer", content: '结算模式' }, + { title: 'MERCHANTS_ID', dataType: "number", content: '经营商户Id' }, + { title: 'MERCHANTS_ID_Encrypted', dataType: "string", content: '经营商户Id(加密后的)' }, + { title: 'MERCHANTS_NAME', dataType: "string", content: '经营商户' }, + { title: 'RevenueINC', dataType: "object", content: '营收数据对比' }, + { title: 'AccountINC', dataType: "object", content: '驿达收入对比' }, + { title: 'TicketINC', dataType: "object", content: '客单数量对比' }, + { title: 'AvgTicketINC', dataType: "object", content: '客单均价对比' }, + { title: 'CurTransaction', dataType: "number", content: '即时营收数据' }, + { title: 'Profit_Amount', dataType: "number", content: '盈利金额' }, + { title: 'Cost_Amount', dataType: "number", content: '预估成本' }, + { title: 'Ca_Cost', dataType: "number", content: '获客成本' } + ] }, { title: 'Profit_Amount', + dataType: "number", content: "盈利金额", }, { title: 'Cost_Amount', + dataType: "number", content: "预估成本", }, { title: 'Ca_Cost', + dataType: "number", content: "获客成本", }, { title: 'RankDiff', - content: "排名差异(车流排行-营收排行)", + dataType: "integer", + content: "排名差异", + } + ] + }, + // 车流|入区 + "CommercialApi/Revenue/GetMonthINCAnalysis": { + req: [ + { + "title": "pushProvinceCode", + "dataType": "string", + "content": "省份编码", + "isRequired": true }, { - title: 'ServerpartShopId', - content: "门店内码", + "title": "StatisticsStartMonth", + "dataType": "string", + "content": "统计开始月份", + "isRequired": true }, { - title: 'ServerpartShopName', - content: "门店名称", + "title": "StatisticsEndMonth", + "dataType": "string", + "content": "统计结束月份", + "isRequired": true }, { - title: 'Brand_Id', - content: "品牌内码", + "title": "ServerpartId", + "dataType": "string", + "content": "服务区内码,多个用,隔开", + "isRequired": false }, { - title: 'Brand_Name', - content: "品牌名称", + "title": "businessRegion", + "dataType": "integer", + "content": "经营区域:1:服务区,2:城市店", + "isRequired": false }, { - title: 'BrandType_Name', - content: "品牌类型", + "title": "BusinessTradeType", + "dataType": "string", + "content": "经营业态大类:1:自营便利店,2:自营餐饮客房,3:商铺租赁", + "isRequired": false }, { - title: 'Brand_ICO', - content: "品牌图片", + "title": "shopTrade", + "dataType": "string", + "content": "商品业态", + "isRequired": false }, { - title: 'ShopTrade', - content: "商品业态", + "title": "compactStartDate", + "dataType": "string", + "content": "合同开始日期", + "isRequired": false }, { - title: 'BusinessTradeType', - content: "经营业态大类1:自营便利店 2:自营餐饮客房 3:商铺租赁", + "title": "compactEndDate", + "dataType": "string", + "content": "合同结束日期", + "isRequired": false }, { - title: 'BusinessProjectId', - content: "经营项目内码", + "title": "calcQOQ", + "dataType": "boolean", + "content": "是否计算环比", + "isRequired": false }, { - title: 'CompactStartDate', - content: "合同开始日期", + "title": "calcYOY", + "dataType": "boolean", + "content": "是否计算同比", + "isRequired": false }, { - title: 'CompactEndDate', - content: "合同结束日期", + "title": "calcBayonet", + "dataType": "boolean", + "content": "是否计算车流量", + "isRequired": false }, { - title: 'BusinessType', - content: "经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销) ", + "title": "hasAnalog", + "dataType": "boolean", + "content": "是否包含模拟车流", + "isRequired": false }, { - title: 'SettlementModes', - content: "结算模式", + "title": "statisticsType", + "dataType": "integer", + "content": "统计类型:1:门店,2:业态分类,3:服务区类型", + "isRequired": false }, { - title: 'MERCHANTS_ID', - content: "经营商户Id", + "title": "accountType", + "dataType": "integer", + "content": "收入结算类型:0【标准算法】,1【自营的按照商超25%,餐饮20%计算】", + "isRequired": false }, { - title: 'MERCHANTS_ID_Encrypted', - content: "经营商户Id(加密后的)", + "title": "showRevenue", + "dataType": "integer", + "content": "经营数据:0:全部,1:增长,2:降低", + "isRequired": false }, { - title: 'MERCHANTS_NAME', - content: "经营商户", + "title": "showBayonet", + "dataType": "integer", + "content": "车流数据:0:全部,1:增长,2:降低", + "isRequired": false }, { - title: 'CurTransactionServerpart_ID', - content: "即时营收数据服务区内码", + "title": "showLevel", + "dataType": "integer", + "content": "显示层级:1:服务区,2:门店", + "isRequired": false }, { - title: 'CurTransactionServerpart_Name', - content: "即时营收数据服务区名称", + "title": "solidType", + "dataType": "boolean", + "content": "是否查询固化数据", + "isRequired": false }, { - title: 'CurTransactionServerpartShop_ID', - content: "即时营收数据门店内码", + "title": "showWarning", + "dataType": "boolean", + "content": "显示预警:true:预警数据,false:正常数据", + "isRequired": false }, { - title: 'CurTransactionServerpartShop_Name', - content: "即时营收数据门店名称", + "title": "warningType", + "dataType": "integer", + "content": "预警类型:1:车流增加,服务区营收减少,2:车流增加,门店的营收减少,3:车流增加,营收增长不匹配,4:车流减少,营收减低不匹配", + "isRequired": false + } + ], + data: [ + { + title: 'SPRegionTypeId', + dataType: "integer", + content: "片区内码", }, { - title: 'CurTransactionShopTrade', - content: "即时营收数据商品业态", + title: 'SPRegionTypeName', + dataType: "string", + content: "片区名称", }, { - title: 'CurTransactionCurRevenueAmount', - content: "即时营收数据实时营收金额", + title: 'ServerpartId', + dataType: "integer", + content: "服务区内码", }, { - title: 'CurTransactionCurTicketCount', - content: "即时营收数据实时司乘人数", + title: 'ServerpartName', + dataType: "string", + content: "服务区名称", }, { - title: 'CurTransactionCurTotalCount', - content: "即时营收数据实时交易件数", + title: "RevenueINC", + dataType: "object", + content: "营收数据", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'CurTransactionCurAvgTicketAmount', - content: "即时营收数据实时客单均价", + title: "AccountINC", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'CurTransactionCurAvgSellAmount', - content: "即时营收数据实时销售均价", + title: "BayonetINC", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, { - title: 'CurTransactionLastTradeTime', - content: "即时营收数据交易时间 ", + title: "SectionFlowINC", + content: "断面流量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] }, + { + title: "BayonetINC_ORI", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "TicketINC", + content: "客单数量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "AvgTicketINC", + content: "客单均价", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: 'ShopINCList', + content: "门店数据", + dataType: "list", + children: [ + { title: 'ServerpartId', dataType: "integer", content: '服务区内码' }, + { title: 'ServerpartName', dataType: "string", content: '服务区名称' }, + { title: 'ServerpartShopId', dataType: "string", content: '门店内码' }, + { title: 'ServerpartShopName', dataType: "string", content: '门店名称' }, + { title: 'Brand_Id', dataType: "integer", content: '品牌内码' }, + { title: 'Brand_Name', dataType: "string", content: '品牌名称' }, + { title: 'BrandType_Name', dataType: "string", content: '品牌类型' }, + { title: 'Brand_ICO', dataType: "string", content: '品牌图片' }, + { title: 'ShopTrade', dataType: "integer", content: '商品业态' }, + { title: 'BusinessTradeName', dataType: "string", content: '经营业态名称' }, + { title: 'BusinessTradeType', dataType: "string", content: '经营业态大类 1:自营便利店 2:自营餐饮客房 3:商铺租赁' }, + { title: 'BusinessProjectId', dataType: "integer", content: '经营项目内码' }, + { title: 'CompactStartDate', dataType: "string", content: '合同开始日期' }, + { title: 'CompactEndDate', dataType: "string", content: '合同结束日期' }, + { title: 'BusinessType', dataType: "integer", content: '经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销)' }, + { title: 'SettlementModes', dataType: "integer", content: '结算模式' }, + { title: 'MERCHANTS_ID', dataType: "number", content: '经营商户Id' }, + { title: 'MERCHANTS_ID_Encrypted', dataType: "string", content: '经营商户Id(加密后的)' }, + { title: 'MERCHANTS_NAME', dataType: "string", content: '经营商户' }, + { title: 'RevenueINC', dataType: "object", content: '营收数据对比' }, + { title: 'AccountINC', dataType: "object", content: '驿达收入对比' }, + { title: 'TicketINC', dataType: "object", content: '客单数量对比' }, + { title: 'AvgTicketINC', dataType: "object", content: '客单均价对比' }, + { title: 'CurTransaction', dataType: "number", content: '即时营收数据' }, + { title: 'Profit_Amount', dataType: "number", content: '盈利金额' }, + { title: 'Cost_Amount', dataType: "number", content: '预估成本' }, + { title: 'Ca_Cost', dataType: "number", content: '获客成本' } + ] + }, + { + title: 'Profit_Amount', + dataType: "number", + content: "盈利金额", + }, + { + title: 'Cost_Amount', + dataType: "number", + content: "预估成本", + }, + { + title: 'Ca_Cost', + dataType: "number", + content: "获客成本", + }, + { + title: 'RankDiff', + dataType: "integer", + content: "排名差异", + } ] }, // 销售|营收|收入|经营情况 "EShangApiMain/Revenue/GetRevenueReport": { - req: [{ - title: 'DataType', - content: "统计方式:1【日报】2【月报】", - isRequired: true + req: [ + { + "title": "DataType", + "dataType": "integer", + "content": "统计方式:1【日报】,2【月报】", + "isRequired": true }, { - title: 'ServerpartIds', - content: "服务区内码集合", - isRequired: false + "title": "ServerpartIds", + "dataType": "string", + "content": "服务区内码集合", + "isRequired": false }, { - title: 'ServerpartShopIds', - content: "门店内码集合", - isRequired: false + "title": "ServerpartShopIds", + "dataType": "string", + "content": "门店内码集合", + "isRequired": false }, { - title: 'StartDate', - content: "统计开始日期", - isRequired: false + "title": "StartDate", + "dataType": "string", + "content": "统计开始日期", + "isRequired": false }, { - title: 'EndDate', - content: "统计结束日期", - isRequired: false + "title": "EndDate", + "dataType": "string", + "content": "统计结束日期", + "isRequired": false }, { - title: 'DataSourceType', - content: "数据来源类型,1为日结营收,2为自然日营收", - isRequired: false + "title": "DataSourceType", + "dataType": "integer", + "content": "数据来源类型,1为日结营收,2为自然日营收", + "isRequired": false }, { - title: 'ShowShop', - content: "是否显示门店", - isRequired: false + "title": "ShowShop", + "dataType": "boolean", + "content": "是否显示门店", + "isRequired": false }, { - title: 'GroupByDaily', - content: "是否按日做数据分组", - isRequired: false + "title": "GroupByDaily", + "dataType": "boolean", + "content": "是否按日做数据分组", + "isRequired": false }, { - title: 'shopNames', - content: "自营业态", - isRequired: false + "title": "shopNames", + "dataType": "string", + "content": "自营业态", + "isRequired": false }, { - title: 'shopTrade', - content: "商品业态", - isRequired: false + "title": "shopTrade", + "dataType": "string", + "content": "商品业态", + "isRequired": false }, { - title: 'businessType', - content: "经营模式", - isRequired: false + "title": "businessType", + "dataType": "string", + "content": "经营模式", + "isRequired": false }, { - title: 'targetSystem', - content: "外部系统 1是,0否", - isRequired: false + "title": "targetSystem", + "dataType": "integer", + "content": "外部系统 1是,0否", + "isRequired": false }, { - title: 'SearchKeyName', - content: "搜索项: MerchantName 商户,Brand 品牌 ,Shop 门店 Serverpart,服务区 多个用 , 连接 例如 MerchantName,Brand,Shop,Serverpart", - isRequired: false + "title": "SearchKeyName", + "dataType": "string", + "content": "搜索项:MerchantName 商户,Brand 品牌 ,Shop 门店 Serverpart,服务区 多个用 , 连接 例如 MerchantName,Brand,Shop,Serverpart", + "isRequired": false }, { - title: 'SearchKeyValue', - content: "搜索值", - isRequired: false + "title": "SearchKeyValue", + "dataType": "string", + "content": "搜索值", + "isRequired": false } ], - data: [{ - title: 'LineIndex', - content: "索引", - }, - { - title: 'Serverpart_ID', - content: "服务区内码", - }, - { - title: 'Serverpart_Name', - content: "服务区名称", - }, - { - title: 'ServerpartShop_Id', - content: "门店ID", - }, - { - title: 'ServerpartShop_Name', - content: "门店名称", - }, - { - title: 'Shop_Count', - content: "门店数量", - }, - { - title: 'Business_Type', - content: "经营模式 ", - }, - { - title: 'Business_Type_Text', - content: "经营模式(中文)", - }, - { - title: 'Transfer_Type', - content: "传输方式(0:收银系统;1:扫码传输;2:接口传输)", - }, - { - title: 'Statistics_Date', - content: "统计日期", - }, - { - title: 'ShopTrade', - content: "商品业态", - }, - { - title: 'MERCHANTS_ID', - content: "经营商户Id", - }, - { - title: 'MERCHANTS_NAME', - content: "经营商户", - }, - - { - title: 'TotalRevenueTicket_Count', - content: "合计客单数量", - }, - { - title: 'TotalRevenueTotal_Count', - content: "合计总数量", - }, - { - title: 'TotalRevenueTotal_OffAmount', - content: "合计优惠金额", - }, - { - title: 'TotalRevenueRevenue_Amount', - content: "合计实收金额", - }, - { - title: 'TotalRevenueDifferent_Price_Less', - content: "合计短款金额", - }, - { - title: 'TotalRevenueDifferent_Price_More', - content: "合计长款金额", - }, - { - title: 'TotalRevenueCashPay_Amount', - content: "合计现金支付金额", - }, - { - title: 'TotalRevenueMobilePay_Amount', - content: "合计移动支付金额", - }, - { - title: 'TotalRevenueCostBill_Amount', - content: "合计大巴优惠券金额", - }, - { - title: 'TotalRevenueInternalPay_Amount', - content: "合计企业会员金额", - }, - { - title: 'TotalRevenueYFHD_Amount', - content: "合计油非互动金额", - }, - { - title: 'TotalRevenueBankAccount_Amount', - content: "合计银行到账金额", - }, - { - title: 'TotalRevenueCorrect_Amount', - content: "合计日结冲正金额", - }, - { - title: 'TotalRevenueMobile_Correct', - content: "合计移动支付冲正", - }, - { - title: 'TotalRevenueCash_Correct', - content: "合计现金支付冲正", - }, - { - title: 'TotalRevenueSupplement_State', - content: "合计营收补录标识", - }, - { - title: 'TotalRevenueSupplement_Amount', - content: "合计现金支付冲正", - }, - { - title: 'TotalRevenueCigarette_Amount', - content: "合计香烟金额", - }, - - - { - title: 'RegionARevenueTicket_Count', - content: "东(南)区客单数量", - }, - { - title: 'RegionARevenueTotal_Count', - content: "东(南)区总数量", - }, - { - title: 'RegionARevenueTotal_OffAmount', - content: "东(南)区优惠金额", - }, - { - title: 'RegionARevenueRevenue_Amount', - content: "东(南)区实收金额", - }, - { - title: 'RegionARevenueDifferent_Price_Less', - content: "东(南)区短款金额", - }, - { - title: 'RegionARevenueDifferent_Price_More', - content: "东(南)区长款金额", - }, - { - title: 'RegionARevenueCashPay_Amount', - content: "东(南)区现金支付金额", - }, - { - title: 'RegionARevenueMobilePay_Amount', - content: "东(南)区移动支付金额", - }, - { - title: 'RegionARevenueCostBill_Amount', - content: "东(南)区大巴优惠券金额", - }, - { - title: 'RegionARevenueInternalPay_Amount', - content: "东(南)区企业会员金额", - }, - { - title: 'RegionARevenueYFHD_Amount', - content: "东(南)区油非互动金额", - }, - { - title: 'RegionARevenueBankAccount_Amount', - content: "东(南)区银行到账金额", - }, - { - title: 'RegionARevenueCorrect_Amount', - content: "东(南)区日结冲正金额", - }, - { - title: 'RegionARevenueMobile_Correct', - content: "东(南)区移动支付冲正", - }, - { - title: 'RegionARevenueCash_Correct', - content: "东(南)区现金支付冲正", - }, - { - title: 'RegionARevenueSupplement_State', - content: "东(南)区营收补录标识", - }, - { - title: 'RegionARevenueSupplement_Amount', - content: "东(南)区现金支付冲正", - }, - { - title: 'RegionARevenueCigarette_Amount', - content: "东(南)区香烟金额", - }, - - - { - title: 'RegionBRevenueTicket_Count', - content: "西(北)区客单数量", - }, - { - title: 'RegionBRevenueTotal_Count', - content: "西(北)区总数量", - }, - { - title: 'RegionBRevenueTotal_OffAmount', - content: "西(北)区优惠金额", - }, - { - title: 'RegionBRevenueRevenue_Amount', - content: "西(北)区实收金额", - }, - { - title: 'RegionBRevenueDifferent_Price_Less', - content: "西(北)区短款金额", - }, - { - title: 'RegionBRevenueDifferent_Price_More', - content: "西(北)区长款金额", - }, - { - title: 'RegionBRevenueCashPay_Amount', - content: "西(北)区现金支付金额", - }, - { - title: 'RegionBRevenueMobilePay_Amount', - content: "西(北)区移动支付金额", - }, - { - title: 'RegionBRevenueCostBill_Amount', - content: "西(北)区大巴优惠券金额", - }, - { - title: 'RegionBRevenueInternalPay_Amount', - content: "西(北)区企业会员金额", - }, - { - title: 'RegionBRevenueYFHD_Amount', - content: "西(北)区油非互动金额", - }, - { - title: 'RegionBRevenueBankAccount_Amount', - content: "西(北)区银行到账金额", - }, - { - title: 'RegionBRevenueCorrect_Amount', - content: "西(北)区日结冲正金额", - }, - { - title: 'RegionBRevenueMobile_Correct', - content: "西(北)区移动支付冲正", - }, - { - title: 'RegionBRevenueCash_Correct', - content: "西(北)区现金支付冲正", - }, - { - title: 'RegionBRevenueSupplement_State', - content: "西(北)区营收补录标识", - }, - { - title: 'RegionBRevenueSupplement_Amount', - content: "西(北)区现金支付冲正", - }, - { - title: 'RegionBRevenueCigarette_Amount', - content: "西(北)区香烟金额", + data: [ + { title: 'LineIndex', dataType: 'string', content: '索引' }, + { title: 'Serverpart_ID', dataType: 'integer', content: '服务区内码' }, + { title: 'Serverpart_Name', dataType: 'string', content: '服务区名称' }, + { title: 'ServerpartShop_Id', dataType: 'string', content: '门店ID' }, + { title: 'ServerpartShop_Name', dataType: 'string', content: '门店名称' }, + { title: 'Shop_Count', dataType: 'integer', content: '门店数量' }, + { title: 'Business_Type', dataType: 'integer', content: '经营模式' }, + { title: 'Business_Type_Text', dataType: 'string', content: '经营模式(中文)' }, + { title: 'Transfer_Type', dataType: 'integer', content: '传输方式(0:收银系统;1:扫码传输;2:接口传输)' }, + { title: 'Statistics_Date', dataType: 'string', content: '统计日期' }, + { title: 'ShopTrade', dataType: 'number', content: '商品业态' }, + { title: 'MERCHANTS_ID', dataType: 'number', content: '经营商户Id' }, + { title: 'MERCHANTS_NAME', dataType: 'string', content: '经营商户' }, + { + title: "TotalRevenue", + dataType: 'object', + children: [ + [ + { title: 'Ticket_Count', dataType: 'integer', content: '客单数量' }, + { title: 'Total_Count', dataType: 'number', content: '总数量' }, + { title: 'Total_OffAmount', dataType: 'number', content: '优惠金额' }, + { title: 'Revenue_Amount', dataType: 'number', content: '实收金额' }, + { title: 'Different_Price_Less', dataType: 'number', content: '短款金额' }, + { title: 'Different_Price_More', dataType: 'number', content: '长款金额' }, + { title: 'CashPay_Amount', dataType: 'number', content: '现金支付金额' }, + { title: 'MobilePay_Amount', dataType: 'number', content: '移动支付金额' }, + { title: 'CostBill_Amount', dataType: 'number', content: '大巴优惠券金额' }, + { title: 'InternalPay_Amount', dataType: 'number', content: '企业会员金额' }, + { title: 'YFHD_Amount', dataType: 'number', content: '油非互动金额' }, + { title: 'BankAccount_Amount', dataType: 'number', content: '银行到账金额' }, + { title: 'Correct_Amount', dataType: 'number', content: '日结冲正金额' }, + { title: 'Mobile_Correct', dataType: 'number', content: '移动支付冲正' }, + { title: 'Cash_Correct', dataType: 'number', content: '现金支付冲正' }, + { title: 'Supplement_State', dataType: 'integer', content: '营收补录标识(0:纯自然日营收, 1:包含从日结表复制的数据)' }, + { title: 'Supplement_Amount', dataType: 'number', content: '现金支付冲正' }, + { title: 'Cigarette_Amount', dataType: 'number', content: '香烟金额' } + ] + ] + }, + { + title: "RegionARevenue", + dataType: 'object', + children: [ + [ + { title: 'Ticket_Count', dataType: 'integer', content: '客单数量' }, + { title: 'Total_Count', dataType: 'number', content: '总数量' }, + { title: 'Total_OffAmount', dataType: 'number', content: '优惠金额' }, + { title: 'Revenue_Amount', dataType: 'number', content: '实收金额' }, + { title: 'Different_Price_Less', dataType: 'number', content: '短款金额' }, + { title: 'Different_Price_More', dataType: 'number', content: '长款金额' }, + { title: 'CashPay_Amount', dataType: 'number', content: '现金支付金额' }, + { title: 'MobilePay_Amount', dataType: 'number', content: '移动支付金额' }, + { title: 'CostBill_Amount', dataType: 'number', content: '大巴优惠券金额' }, + { title: 'InternalPay_Amount', dataType: 'number', content: '企业会员金额' }, + { title: 'YFHD_Amount', dataType: 'number', content: '油非互动金额' }, + { title: 'BankAccount_Amount', dataType: 'number', content: '银行到账金额' }, + { title: 'Correct_Amount', dataType: 'number', content: '日结冲正金额' }, + { title: 'Mobile_Correct', dataType: 'number', content: '移动支付冲正' }, + { title: 'Cash_Correct', dataType: 'number', content: '现金支付冲正' }, + { title: 'Supplement_State', dataType: 'integer', content: '营收补录标识(0:纯自然日营收, 1:包含从日结表复制的数据)' }, + { title: 'Supplement_Amount', dataType: 'number', content: '现金支付冲正' }, + { title: 'Cigarette_Amount', dataType: 'number', content: '香烟金额' } + ] + ] + }, + { + title: "RegionBRevenue", + dataType: 'object', + children: [ + [ + { title: 'Ticket_Count', dataType: 'integer', content: '客单数量' }, + { title: 'Total_Count', dataType: 'number', content: '总数量' }, + { title: 'Total_OffAmount', dataType: 'number', content: '优惠金额' }, + { title: 'Revenue_Amount', dataType: 'number', content: '实收金额' }, + { title: 'Different_Price_Less', dataType: 'number', content: '短款金额' }, + { title: 'Different_Price_More', dataType: 'number', content: '长款金额' }, + { title: 'CashPay_Amount', dataType: 'number', content: '现金支付金额' }, + { title: 'MobilePay_Amount', dataType: 'number', content: '移动支付金额' }, + { title: 'CostBill_Amount', dataType: 'number', content: '大巴优惠券金额' }, + { title: 'InternalPay_Amount', dataType: 'number', content: '企业会员金额' }, + { title: 'YFHD_Amount', dataType: 'number', content: '油非互动金额' }, + { title: 'BankAccount_Amount', dataType: 'number', content: '银行到账金额' }, + { title: 'Correct_Amount', dataType: 'number', content: '日结冲正金额' }, + { title: 'Mobile_Correct', dataType: 'number', content: '移动支付冲正' }, + { title: 'Cash_Correct', dataType: 'number', content: '现金支付冲正' }, + { title: 'Supplement_State', dataType: 'integer', content: '营收补录标识(0:纯自然日营收, 1:包含从日结表复制的数据)' }, + { title: 'Supplement_Amount', dataType: 'number', content: '现金支付冲正' }, + { title: 'Cigarette_Amount', dataType: 'number', content: '香烟金额' } + ] + ] } ] }, // 车辆归属 "CommercialApi/BigData/GetProvinceVehicleTreeList": { - req: [], - data: [{ - title: 'Index', - content: "显示顺序", + req: [ + { + "title": "serverPartId", + "dataType": "string", + "content": "服务区内码集合,示例:416,417", + "isRequired": false }, { - title: 'ProvinceOrCityName', - content: "省份/城市名称", + "title": "statisticsStartMonth", + "dataType": "integer", + "content": "开始日期(yyyyMM),示例:202511", + "isRequired": false }, { - title: 'ProvinceOrCityPName', - content: "上级省份/城市名称", + "title": "statisticsEndMonth", + "dataType": "integer", + "content": "结束日期(yyyyMM),示例:202511", + "isRequired": false }, { - title: 'TotalCount', - content: "总量", + "title": "rankNum", + "dataType": "integer", + "content": "城市top", + "isRequired": false }, { - title: 'SPRegionTypeIndex', - content: "片区索引", + "title": "pageIndex", + "dataType": "integer", + "content": "页码索引", + "isRequired": false }, { - title: 'SPRegionTypeId', - content: "中心内码", - }, + "title": "pageSize", + "dataType": "integer", + "content": "每页条数", + "isRequired": false + } + ], + data: [ + { title: 'Index', dataType: 'integer', content: '显示顺序' }, + { title: 'ProvinceOrCityName', dataType: 'string', content: '省份/城市名称' }, + { title: 'ProvinceOrCityPName', dataType: 'string', content: '上级省份/城市名称' }, + { title: 'TotalCount', dataType: 'integer', content: '总量' }, { - title: 'SPRegionTypeName', - content: "中心名称", - }, - { - title: 'ServerPartId', - content: "服务区内码", - }, - { - title: 'ServerPartIds', - content: "服务区内码", - }, - { - title: 'ServerPartName', - content: "服务区名称", - }, - { - title: 'IsOther', - content: "是否属于其他,默认为否", - }, - { - title: 'CityName', - content: "城市名称", - }, - { - title: 'ProvinceName', - content: "省份名称", - }, - { - title: 'VehicleCount', - content: "车辆数量", - }, + title: "SPRegionTypeList ", dataType: "list", content: "中心,服务区车辆记录表相关类" + , children: [ + { title: 'SPRegionTypeIndex', dataType: 'integer', content: '片区索引' }, + { title: 'SPRegionTypeId', dataType: 'integer', content: '中心内码' }, + { title: 'SPRegionTypeName', dataType: 'string', content: '中心名称' }, + { title: 'ServerPartId', dataType: 'integer', content: '服务区内码' }, + { title: 'ServerPartIds', dataType: 'array', content: '服务区内码' }, + { title: 'ServerPartName', dataType: 'string', content: '服务区名称' }, + { title: 'IsOther', dataType: 'boolean', content: '是否属于其他,默认为否' }, + { title: 'CityName', dataType: 'string', content: '城市名称' }, + { title: 'ProvinceName', dataType: 'string', content: '省份名称' }, + { title: 'VehicleCount', dataType: 'integer', content: '车辆数量' } + ] + } ] }, // 招商 "EShangApiMain/Revenue/GetBusinessAnalysisReport": { - req: [], - data: [{ - title: 'BUSINESSANALYSIS_ID', - content: "内码", + req: [ + { + "title": "ServerpartId", + "dataType": "string", + "content": "服务区内码", + "isRequired": true }, { - title: 'SERVERPART_ID', - content: "服务区内码", + "title": "ContainHoliday", + "dataType": "integer", + "content": "是否计算节日:0【全部】,1【节假日】,2【非节假日】", + "isRequired": false }, { - title: 'SERVERPART_NAME', - content: "服务区名称", + "title": "ServerpartType", + "dataType": "string", + "content": "服务区类型", + "isRequired": false }, { - title: 'SERVERPART_TYPE', - content: "服务区类型", + "title": "BusinessTrade", + "dataType": "string", + "content": "经营业态", + "isRequired": false }, { - title: 'EXPRESSWAY_NAME', - content: "所在高速路", + "title": "BusinessTradeType", + "dataType": "string", + "content": "经营业态大类:1:自营便利店,2:自营餐饮客房,3:商铺租赁", + "isRequired": false }, { - title: 'BUSINESS_TRADE', - content: "经营业态", + "title": "StartMonth", + "dataType": "string", + "content": "统计开始月份,格式yyyyMM", + "isRequired": false }, { - title: 'BUSINESS_PTRADE', - content: "父级业态", + "title": "EndMonth", + "dataType": "string", + "content": "统计结束月份,格式yyyyMM", + "isRequired": false }, { - title: 'BUSINESS_TRADECOUNT', - content: "在营业态数量", + "title": "DueStartDate", + "dataType": "string", + "content": "合同到期开始日期", + "isRequired": false }, { - title: 'BUSINESS_SHOPCOUNT', - content: "在营门店数量", + "title": "DueEndDate", + "dataType": "string", + "content": "合同到期结束日期", + "isRequired": false }, { - title: 'BUSINESS_TRADETYPE', - content: "经营业态大类:1:自营便利店2:自营餐饮客房3:商铺租赁", + "title": "SearchKeyName", + "dataType": "string", + "content": "模糊查询字段,多个字段用,隔开,例如:REVENUE_AMOUNT,SERVERPART_AVGFLOW", + "isRequired": false }, { - title: 'SHOPSHORTNAME', - content: "门店名称", - }, - { - title: 'BUSINESS_UNIT', - content: "经营单位", - }, - { - title: 'REVENUE_AMOUNT', - content: "累计营收", - }, - { - title: 'TICKET_AMOUNT', - content: "客单均价", - }, - { - title: 'MINIMART_REVENUE', - content: "月均商超营收", - }, - { - title: 'SERVERPART_REVENUE', - content: "月均服务区营收", - }, - { - title: 'MINTURNOVER', - content: "保底租金", - }, - { - title: 'GUARANTEERATIO', - content: "提成比例", - }, - { - title: 'SERVERPART_AVGAMOUNT', - content: "服务区客单均价", - }, - { - title: 'MINIMART_AVGAMOUNT', - content: "商超客单均价", - }, - { - title: 'STATISTICS_DAYS', - content: "有效天数", - }, - { - title: 'BUSINESS_STARTDATE', - content: "经营开始日期", - }, - { - title: 'BUSINESS_ENDDATE', - content: "最近经营日期", - }, - { - title: 'BUSINESSPROJECT_ID', - content: "经营项目内码", - }, - { - title: 'PROJECT_STARTDATE', - content: "项目开始日期", - }, - { - title: 'PROJECT_ENDDATE', - content: "项目结束日期", - }, - { - title: 'SERVERPARTSHOP_ID', - content: "门店内码", - }, - { - title: 'STATISTICS_STARTDATE', - content: "统计开始日期", - }, - { - title: 'STATISTICS_ENDDATE', - content: "统计结束日期", - }, - { - title: 'ACCOUNT_AMOUNT', - content: "业主入账(含税)", - }, - { - title: 'ACCOUNT_AMOUNTNOTAX', - content: "业主入账(除税)", - }, - { - title: 'ACCOUNT_DAYS', - content: "入账结算天数", - }, - { - title: 'TRANSFER_TYPE', - content: "传输类型(0:收银系统;1:扫码传输;2:接口传输)", - }, - { - title: 'RECORD_DATE', - content: "记录时间", - }, - { - title: 'SPREGIONTYPE_ID', - content: "归属区域内码", - }, - { - title: 'SPREGIONTYPE_NAME', - content: "归属区域名字", - }, - { - title: 'SPREGIONTYPE_INDEX', - content: "归属区域索引", - }, - { - title: 'VEHICLE_DAYS', - content: "车流天数", - }, - { - title: 'SECTIONFLOW_NUM', - content: "断面流量", - }, - { - title: 'SERVERPART_FLOW', - content: "服务区流量", - }, - { - title: 'SECTIONFLOW_AVGNUM', - content: "断面流量", - }, - { - title: 'SERVERPART_AVGFLOW', - content: "日均服务区流量", - }, - { - title: 'MINVEHICLE_COUNT', - content: "小型车流量", - }, - { - title: 'MINVEHICLE_AVGCOUNT', - content: "日均小型车流量", - }, - { - title: 'ACCOUNT_AMOUNT_OT', - content: "自营结算后的营业收入", - }, - { - title: 'PROFIT_AMOUNT', - content: "盈利金额", - }, + "title": "SearchKeyValue", + "dataType": "string", + "content": "模糊查询内容,多个字段用,隔开,区间值用|隔开,例如:2|,2|4", + "isRequired": false + } + ], + data: [ + { title: 'SPREGIONTYPE_ID', dataType: 'integer', content: '片区内码' }, + { title: 'SPREGIONTYPE_NAME', dataType: 'string', content: '片区名称' }, + { title: 'REVENUE_DIFF', dataType: 'number', content: '营收差异' }, + { title: 'DIFFERENCE_RATE', dataType: 'number', content: '误差率' }, + { title: 'VEHICLEAMOUNT_ID', dataType: 'integer', content: '内码' }, + { title: 'STATISTICS_MONTH', dataType: 'string', content: '统计月份' }, + { title: 'STATISTICS_MONTH_Start', dataType: 'string', content: '统计月份(查询条件)' }, + { title: 'STATISTICS_MONTH_End', dataType: 'string', content: '统计月份(查询条件)' }, + { title: 'SERVERPART_ID', dataType: 'integer', content: '服务区内码' }, + { title: 'SERVERPART_IDS', dataType: 'string', content: '服务区内码(查询条件)' }, + { title: 'SERVERPART_NAME', dataType: 'string', content: '服务区名称' }, + { title: 'SERVERPART_REGION', dataType: 'string', content: '服务区方位' }, + { title: 'SERVERPART_REGIONS', dataType: 'string', content: '服务区方位(查询条件)' }, + { title: 'VEHICLE_TYPE', dataType: 'string', content: '车辆类型' }, + { title: 'VEHICLE_TYPES', dataType: 'string', content: '车辆类型(查询条件)' }, + { title: 'VEHICLE_COUNT', dataType: 'integer', content: '车流数量' }, + { title: 'PROVINCE_NAME', dataType: 'string', content: '省份名称' }, + { title: 'PROVINCE_NAMES', dataType: 'string', content: '省份名称(查询条件)' }, + { title: 'PERCAPITA_INCOME', dataType: 'number', content: '人均收入' }, + { title: 'CONSUMPTION_COEFFICIENT', dataType: 'number', content: '消费系数' }, + { title: 'VEHICLE_AMOUNT', dataType: 'number', content: '初始单车价值' }, + { title: 'ADJUST_COUNT', dataType: 'number', content: '调整量' }, + { title: 'VEHICLE_ADJAMOUNT', dataType: 'number', content: '调整后单车价值' }, + { title: 'REVENUE_ADJAMOUNT', dataType: 'number', content: '营收贡献' }, + { title: 'REVENUE_ACTAMOUNT', dataType: 'number', content: '服务区营收' }, + { title: 'VEHICLE_TOTALCOUNT', dataType: 'integer', content: '服务区车流量' }, + { title: 'VEHICLEAMOUNT_STATE', dataType: 'integer', content: '有效状态' }, + { title: 'RECORD_DATE', dataType: 'string', content: '记录时间' } ] + }, // 单车价值 "EShangApiMain/Analysis/GetRevenueEstimateList": { - req: [], - data: [{ - title: 'SPREGIONTYPE_ID', - content: "片区内码", + req: [ + { + "title": "StatisticsMonth", + "dataType": "string", + "content": "统计月份,格式yyyyMM", + "isRequired": true }, { - title: 'SPREGIONTYPE_NAME', - content: "管理中心", + "title": "ServerpartId", + "dataType": "string", + "content": "服务区内码", + "isRequired": false }, { - title: 'REVENUE_DIFF', - content: "营收差异", - }, - { - title: 'DIFFERENCE_RATE', - content: "误差率", - }, - { - title: 'VEHICLEAMOUNT_ID', - content: "内码", - }, - { - title: 'STATISTICS_MONTH', - content: "统计月份", - }, - { - title: 'SERVERPART_ID', - content: "服务区内码", - }, - { - title: 'SERVERPART_NAME', - content: "服务区名称", - }, - { - title: 'SERVERPART_REGION', - content: "服务区方位", - }, - { - title: 'VEHICLE_TYPE', - content: "车辆类型", - }, - { - title: 'VEHICLE_COUNT', - content: "车流数量", - }, - { - title: 'PROVINCE_NAME', - content: "省份名称", - }, - { - title: 'PERCAPITA_INCOME', - content: "人均收入", - }, - { - title: 'CONSUMPTION_COEFFICIENT', - content: "消费系数", - }, - { - title: 'VEHICLE_AMOUNT', - content: "初始单车价值", - }, - { - title: 'ADJUST_COUNT', - content: "调整量", - }, - { - title: 'VEHICLE_ADJAMOUNT', - content: "调整后单车价值", - }, - { - title: 'REVENUE_ADJAMOUNT', - content: "营收贡献", - }, - { - title: 'REVENUE_ACTAMOUNT', - content: "服务区营收", - }, - { - title: 'VEHICLE_TOTALCOUNT', - content: "服务区车流量", - }, - { - title: 'VEHICLEAMOUNT_STATE', - content: "有效状态", - }, - { - title: 'RECORD_DATE', - content: "记录时间", + "title": "ProvinceName", + "dataType": "string", + "content": "车辆归属省份", + "isRequired": false } + ], + data: [{ + title: 'SPREGIONTYPE_ID', + content: "片区内码", + }, + { + title: 'SPREGIONTYPE_NAME', + content: "管理中心", + }, + { + title: 'REVENUE_DIFF', + content: "营收差异", + }, + { + title: 'DIFFERENCE_RATE', + content: "误差率", + }, + { + title: 'VEHICLEAMOUNT_ID', + content: "内码", + }, + { + title: 'STATISTICS_MONTH', + content: "统计月份", + }, + { + title: 'SERVERPART_ID', + content: "服务区内码", + }, + { + title: 'SERVERPART_NAME', + content: "服务区名称", + }, + { + title: 'SERVERPART_REGION', + content: "服务区方位", + }, + { + title: 'VEHICLE_TYPE', + content: "车辆类型", + }, + { + title: 'VEHICLE_COUNT', + content: "车流数量", + }, + { + title: 'PROVINCE_NAME', + content: "省份名称", + }, + { + title: 'PERCAPITA_INCOME', + content: "人均收入", + }, + { + title: 'CONSUMPTION_COEFFICIENT', + content: "消费系数", + }, + { + title: 'VEHICLE_AMOUNT', + content: "初始单车价值", + }, + { + title: 'ADJUST_COUNT', + content: "调整量", + }, + { + title: 'VEHICLE_ADJAMOUNT', + content: "调整后单车价值", + }, + { + title: 'REVENUE_ADJAMOUNT', + content: "营收贡献", + }, + { + title: 'REVENUE_ACTAMOUNT', + content: "服务区营收", + }, + { + title: 'VEHICLE_TOTALCOUNT', + content: "服务区车流量", + }, + { + title: 'VEHICLEAMOUNT_STATE', + content: "有效状态", + }, + { + title: 'RECORD_DATE', + content: "记录时间", + } ] }, // 同比|环比|同环比 "EShangApiMain/Revenue/GetRevenueYOYQOQ": { - req: [], - data: [{ - title: 'Id', - content: "门店内码/服务区内码/片区内码", + req: [ + { + "title": "ServerpartIds", + "dataType": "string", + "content": "服务区内码集合", + "isRequired": true }, { - title: 'Name', - content: "门店名称/服务区名称/管理中心", + "title": "startDate", + "dataType": "string", + "content": "开始时间", + "isRequired": true }, { - title: 'SPREGIONTYPE_NAME', - content: "管理中心", + "title": "endDate", + "dataType": "string", + "content": "结束时间", + "isRequired": true }, { - title: 'SERVERPART_ID', - content: "服务区ID", + "title": "ShowShop", + "dataType": "boolean", + "content": "true 代表 门店, false 代表服务区", + "isRequired": false }, { - title: 'SERVERPART_NAME', - content: "服务区名称", + "title": "shopNames", + "dataType": "string", + "content": "自营业态", + "isRequired": false }, { - title: 'SHOPID', - content: "门店ID", + "title": "shopTrade", + "dataType": "string", + "content": "商品业态", + "isRequired": false }, { - title: 'SHOPNAME', - content: "门店名称", + "title": "businessType", + "dataType": "string", + "content": "经营模式", + "isRequired": false }, { - title: 'MERCHANTS_ID', - content: "经营商户Id", + "title": "targetSystem", + "dataType": "integer", + "content": "外部系统 1是,0否", + "isRequired": false }, { - title: 'MERCHANTS_NAME', - content: "经营商户", + "title": "SearchKeyName", + "dataType": "string", + "content": "搜索项,【 MerchantName 商户,Brand 品牌 ,Shop 门店 Serverpart,服务区 】,多个用 , 连接 例如 MerchantName,Brand,Shop,Serverpart", + "isRequired": false }, { - title: 'ShopCount', - content: "门店数量", - }, - { - title: 'BUSINESS_TYPE', - content: "经营模式", - }, - { - title: 'ShopTrade', - content: "商品业态", - }, - { - title: 'CASHPAY_CURR', - content: "本期实收总额", - }, - { - title: 'CASHPAY_MONTH', - content: "环比实收总额", - }, - { - title: 'CASHPAY_YEAR', - content: "同比实收总额", - }, - { - title: 'MOM_YEARASHPAY_MONTH', - content: "环比", - }, - { - title: 'MOM_YEARASHPAY_YEAR', - content: "同比", - }, - { - title: 'TOTALCOUNT_CURR', - content: "本期销售数量", - }, - { - title: 'TOTALCOUNT_MONTH', - content: "环比销售数量", - }, - { - title: 'TOTALCOUNT_YEAR', - content: "同比销售数量", - }, - { - title: 'MOM_TOTALCOUNT_MONTH', - content: "环比(TOTAL 2)", - }, - { - title: 'MOM_TOTALCOUNT_YEAR', - content: "同比(TOTAL 2)", - }, - { - title: 'TICKETCOUNT_CURR', - content: "本期客单数量", - }, - { - title: 'TICKETCOUNT_MONTH', - content: "环比客单数量", - }, - { - title: 'TICKETCOUNT_YEAR', - content: "同比客单数量", - }, - { - title: 'MOM_TICKETCOUNT_MONTH', - content: "环比(TICKET 3)", - }, - { - title: 'MOM_TICKETCOUNT_YEAR', - content: "同比(TICKET 3)", + "title": "SearchKeyValue", + "dataType": "string", + "content": "搜索值", + "isRequired": false } + ], + data: [ + { title: 'Id', dataType: 'string', content: '内码' }, + { title: 'Name', dataType: 'string', content: '名称' }, + { title: 'SPREGIONTYPE_NAME', dataType: 'string', content: '片区名称' }, + { title: 'SERVERPART_ID', dataType: 'number', content: '服务区ID' }, + { title: 'SERVERPART_NAME', dataType: 'string', content: '服务区名' }, + { title: 'SHOPID', dataType: 'string', content: '门店ID' }, + { title: 'SHOPNAME', dataType: 'string', content: '门店名' }, + { title: 'MERCHANTS_ID', dataType: 'number', content: '经营商户Id' }, + { title: 'MERCHANTS_NAME', dataType: 'string', content: '经营商户' }, + { title: 'ShopCount', dataType: 'number', content: '门店数量' }, + { title: 'BUSINESS_TYPE', dataType: 'number', content: '经营模式' }, + { title: 'ShopTrade', dataType: 'number', content: '商品业态' }, + { title: 'CASHPAY_CURR', dataType: 'number', content: '本期实收总额' }, + { title: 'CASHPAY_MONTH', dataType: 'number', content: '环比实收总额' }, + { title: 'CASHPAY_YEAR', dataType: 'number', content: '同比实收总额' }, + { title: 'MOM_YEARASHPAY_MONTH', dataType: 'number', content: '环比(YEARASHPAY 1)' }, + { title: 'MOM_YEARASHPAY_YEAR', dataType: 'number', content: '同比(YEARASHPAY 1)' }, + { title: 'TOTALCOUNT_CURR', dataType: 'number', content: '本期销售数量' }, + { title: 'TOTALCOUNT_MONTH', dataType: 'number', content: '环比销售数量' }, + { title: 'TOTALCOUNT_YEAR', dataType: 'number', content: '同比销售数量' }, + { title: 'MOM_TOTALCOUNT_MONTH', dataType: 'number', content: '环比(TOTAL 2)' }, + { title: 'MOM_TOTALCOUNT_YEAR', dataType: 'number', content: '同比(TOTAL 2)' }, + { title: 'TICKETCOUNT_CURR', dataType: 'number', content: '本期客单数量' }, + { title: 'TICKETCOUNT_MONTH', dataType: 'number', content: '环比客单数量' }, + { title: 'TICKETCOUNT_YEAR', dataType: 'number', content: '同比客单数量' }, + { title: 'MOM_TICKETCOUNT_MONTH', dataType: 'number', content: '环比(TICKET 3)' }, + { title: 'MOM_TICKETCOUNT_YEAR', dataType: 'number', content: '同比(TICKET 3)' } ] }, // 商家情况|商家盈利 "EShangApiMain/BusinessProject/GetPeriodWarningList": { - req: [], - data: [{ - title: 'BUSINESSPROJECT_ID', - content: "经营项目内码", + req: [ + { + "title": "ServerpartId", + "dataType": "string", + "content": "服务区内码", + "isRequired": false }, { - title: 'BUSINESSPROJECT_NAME', - content: "项目名称", + "title": "ServerpartShopId", + "dataType": "string", + "content": "门店内码", + "isRequired": false }, { - title: 'SPREGIONTYPE_ID', - content: "片区内码", + "title": "DataType", + "dataType": "integer", + "content": "数据格式:1【业主】,2【商家】,3【经营业态】", + "isRequired": false }, { - title: 'SPREGIONTYPE_NAME', - content: "管理中心", + "title": "Business_Type", + "dataType": "string", + "content": "经营模式", + "isRequired": false }, { - title: 'SERVERPART_ID', - content: "服务区内码", + "title": "SettlementMode", + "dataType": "string", + "content": "结算模式", + "isRequired": false }, { - title: 'SERVERPART_NAME', - content: "服务区名称", + "title": "PeriodState", + "dataType": "integer", + "content": "经营周期:1【当前周期】,0【历史周期】", + "isRequired": false }, { - title: 'SERVERPARTSHOP_ID', - content: "门店内码", + "title": "ProfitState", + "dataType": "integer", + "content": "盈利情况:1【盈利】,0【亏损】", + "isRequired": false }, { - title: 'SERVERPARTSHOP_NAME', - content: "门店名称", + "title": "BusinessState", + "dataType": "string", + "content": "经营状态", + "isRequired": false }, { - title: 'BUSINESS_STATE', - content: "经营状态", + "title": "BusinessTrade", + "dataType": "string", + "content": "经营业态", + "isRequired": false }, { - title: 'BUSINESS_TRADE', - content: "经营业态", + "title": "ProjectId", + "dataType": "string", + "content": "经营项目内码", + "isRequired": false }, { - title: 'MERCHANTS_ID', - content: "商户内码", + "title": "WarningType", + "dataType": "string", + "content": "预警类型:1:项目未有营业(项目周期开始至今没有营收),2:项目利润过低(项目周期结束,利润未达20W),3:商家退场告警(项目营业过,门店关闭超过30天),4:项目预亏预警(项目周期过半,利润未达10W),5:商家退场预警(项目周期75%,利润为负数),6:租金提成偏低(商家利润超过100W),7:租金提成过高(商家真实提成比例高于建议提成15%以上)", + "isRequired": false }, { - title: 'MERCHANTS_NAME', - content: "经营商户", + "title": "SearchKeyName", + "dataType": "string", + "content": "模糊查询字段", + "isRequired": false }, { - title: 'PROJECT_STARTDATE', - content: "开始日期", + "title": "SearchKeyValue", + "dataType": "string", + "content": "模糊查询内容", + "isRequired": false }, { - title: 'PROJECT_ENDDATE', - content: "结束日期", + "title": "ShowNormal", + "dataType": "boolean", + "content": "显示正常项目,默认不显示", + "isRequired": false }, { - title: 'GUARANTEE_PRICE', - content: "项目金额", + "title": "ShowSelf", + "dataType": "boolean", + "content": "显示自营门店", + "isRequired": false }, { - title: 'BUSINESS_TYPE', - content: "结算模式", + "title": "BusinessBrand", + "dataType": "string", + "content": "经营品牌", + "isRequired": false }, { - title: 'SETTLEMENT_MODES', - content: "结算模式", + "title": "MerchantName", + "dataType": "string", + "content": "经营商户", + "isRequired": false }, { - title: 'BUSINESS_PERIOD', - content: "经营期数", - }, - { - title: 'PERIOD_INDEX', - content: "第几期", - }, - { - title: 'STARTDATE', - content: "开始日期", - }, - { - title: 'ENDDATE', - content: "结束日期", - }, - { - title: 'RENTFEE', - content: "固定租金", - }, - { - title: 'MINTURNOVER', - content: "保底营业额", - }, - { - title: 'GUARANTEERATIO', - content: "保底比例", - }, - { - title: 'ACTUAL_RATIO', - content: "真实提成比例", - }, - { - title: 'COMMISSION_RATIO', - content: "标准提成比例", - }, - { - title: 'REVENUE_AMOUNT', - content: "营收金额", - }, - { - title: 'COST_AMOUNT', - content: "商家预估成本", - }, - { - title: 'ROYALTY_PRICE', - content: "业主到账", - }, - { - title: 'ROYALTY_THEORY', - content: "业主收入", - }, - { - title: 'SUBROYALTY_THEORY', - content: "商家入账", - }, - { - title: 'PROFIT_AMOUNT', - content: "盈利金额", - }, - { - title: 'PROFIT_RATE', - content: "利润率(%)", - }, - { - title: 'PROFIT_SD', - content: "商家盈利标准差", - }, - { - title: 'PROFIT_AVG', - content: "商家盈利标准差", - }, - { - title: 'COST_RATE', - content: "采购成本比例", - }, - { - title: 'MONTH_COUNT', - content: "结算月数", - }, - { - title: 'LABOURS_COUNT', - content: "员工人数", - }, - { - title: 'LABOURS_WAGE', - content: "人均工资(元/月)", - }, - { - title: 'DEPRECIATION_EXPENSE', - content: "折旧费用(三年费用)", - }, - { - title: 'DEPRECIATION_YEAR', - content: "折旧年限", - }, - { - title: 'OTHER_EXPENSE', - content: "预警类型", - }, - { - title: 'WARNING_CONTENT', - content: "预警条件", - }, - { - title: 'TICKET_COUNT', - content: "客单数量", - }, - { - title: 'CA_COST', - content: "获客成本", - }, - { - title: 'BUSINESS_STARTDATE', - content: "经营开始日期", - }, - { - title: 'BUSINESS_ENDDATE', - content: "经营结束日期", - }, - { - title: 'Brand_ICO', - content: "图标", - }, - { - title: 'MERCHANTS_ID_Encrypted', - content: "经营商户Id(加密后的)", - }, - { - title: 'ProjectProgress', - content: "项目进度", - }, - { - title: 'PaymentProgress', - content: "保底进度", + "title": "ShopName", + "dataType": "string", + "content": "门店名称", + "isRequired": false } + ], + data: [ + { title: 'BUSINESSPROJECT_ID', dataType: 'integer', content: '经营项目内码' }, + { title: 'BUSINESSPROJECT_NAME', dataType: 'string', content: '项目名称' }, + { title: 'SPREGIONTYPE_ID', dataType: 'integer', content: '片区内码' }, + { title: 'SPREGIONTYPE_NAME', dataType: 'string', content: '片区名称' }, + { title: 'SERVERPART_ID', dataType: 'integer', content: '服务区内码' }, + { title: 'SERVERPART_NAME', dataType: 'string', content: '服务区名称' }, + { title: 'SERVERPARTSHOP_ID', dataType: 'string', content: '门店内码' }, + { title: 'SERVERPARTSHOP_NAME', dataType: 'string', content: '门店名称' }, + { title: 'BUSINESS_STATE', dataType: 'integer', content: '经营状态' }, + { title: 'BUSINESS_TRADE', dataType: 'integer', content: '经营业态' }, + { title: 'MERCHANTS_ID', dataType: 'integer', content: '商户内码' }, + { title: 'MERCHANTS_NAME', dataType: 'string', content: '经营商户' }, + { title: 'PROJECT_STARTDATE', dataType: 'string', content: '开始日期' }, + { title: 'PROJECT_ENDDATE', dataType: 'string', content: '结束日期' }, + { title: 'GUARANTEE_PRICE', dataType: 'number', content: '项目金额' }, + { title: 'BUSINESS_TYPE', dataType: 'integer', content: '结算模式' }, + { title: 'SETTLEMENT_MODES', dataType: 'integer', content: '结算模式' }, + { title: 'BUSINESS_PERIOD', dataType: 'string', content: '经营期数' }, + { title: 'PERIOD_INDEX', dataType: 'integer', content: '第几期' }, + { title: 'STARTDATE', dataType: 'string', content: '开始日期' }, + { title: 'ENDDATE', dataType: 'string', content: '结束日期' }, + { title: 'RENTFEE', dataType: 'number', content: '固定租金' }, + { title: 'MINTURNOVER', dataType: 'number', content: '保底营业额' }, + { title: 'GUARANTEERATIO', dataType: 'number', content: '保底比例' }, + { title: 'ACTUAL_RATIO', dataType: 'number', content: '真实提成比例' }, + { title: 'COMMISSION_RATIO', dataType: 'number', content: '标准提成比例' }, + { title: 'REVENUE_AMOUNT', dataType: 'number', content: '营收金额' }, + { title: 'COST_AMOUNT', dataType: 'number', content: '商家预估成本' }, + { title: 'ROYALTY_PRICE', dataType: 'number', content: '业主到账' }, + { title: 'ROYALTY_THEORY', dataType: 'number', content: '业主收入' }, + { title: 'SUBROYALTY_THEORY', dataType: 'number', content: '商家入账' }, + { title: 'PROFIT_AMOUNT', dataType: 'number', content: '盈利金额' }, + { title: 'PROFIT_RATE', dataType: 'number', content: '利润率(%)' }, + { title: 'PROFIT_SD', dataType: 'number', content: '商家盈利标准差' }, + { title: 'PROFIT_AVG', dataType: 'number', content: '商家盈利标准差' }, + { title: 'COST_RATE', dataType: 'number', content: '采购成本比例' }, + { title: 'MONTH_COUNT', dataType: 'number', content: '结算月数' }, + { title: 'LABOURS_COUNT', dataType: 'number', content: '员工人数' }, + { title: 'LABOURS_WAGE', dataType: 'number', content: '人均工资(元/月)' }, + { title: 'DEPRECIATION_EXPENSE', dataType: 'number', content: '折旧费用(三年费用)' }, + { title: 'DEPRECIATION_YEAR', dataType: 'integer', content: '折旧年限' }, + { title: 'OTHER_EXPENSE', dataType: 'number', content: '其他费用' }, + { title: 'WARNING_TYPE', dataType: 'integer', content: '预警类型(1:项目未有营业,2:项目利润过低,3:商家退场告警,4:项目预亏预警,5:商家退场预警,6:租金提成偏低,7:租金提成过高,8:业态缺失告警)' }, + { title: 'WARNING_CONTENT', dataType: 'string', content: '预警条件' }, + { title: 'TICKET_COUNT', dataType: 'integer', content: '客单数量' }, + { title: 'CA_COST', dataType: 'number', content: '获客成本' }, + { title: 'BUSINESS_STARTDATE', dataType: 'string', content: '经营开始日期' }, + { title: 'BUSINESS_ENDDATE', dataType: 'string', content: '经营结束日期' }, + { title: 'Brand_ICO', dataType: 'string', content: '图标' }, + { title: 'MERCHANTS_ID_Encrypted', dataType: 'string', content: '经营商户Id(加密后的)' }, + { title: 'ProjectProgress', dataType: 'number', content: '项目进度' }, + { title: 'PaymentProgress', dataType: 'number', content: '保底进度' } ] }, // SABFI|商业适配指数 "CommercialApi/Revenue/GetShopSABFIList": { - req: [], - data: [{ - title: 'SABFI_Score', - content: "SABFI总分", + req: [ + { + "title": "pushProvinceCode", + "dataType": "string", + "content": "省份编码", + "isRequired": true }, + { + "title": "StatisticsMonth", + "dataType": "string", + "content": "统计月份", + "isRequired": true + }, + { + "title": "ServerpartId", + "dataType": "string", + "content": "服务区内码,多个用,隔开", + "isRequired": true + }, + { + "title": "BusinessTradeType", + "dataType": "string", + "content": "经营业态大类:1:自营便利店,2:自营餐饮客房,3:商铺租赁", + "isRequired": false + }, + { + "title": "BusinessTrade", + "dataType": "string", + "content": "经营业态", + "isRequired": false + }, + { + "title": "accountType", + "dataType": "integer", + "content": "结算方式:0:自营100%,1:自营按商超25%,餐饮20%计算", + "isRequired": false + } + ], + data: [ { title: 'SPRegionTypeId', + dataType: "integer", content: "片区内码", }, { title: 'SPRegionTypeName', - content: "管理中心", + dataType: "string", + content: "片区名称", }, { title: 'ServerpartId', + dataType: "integer", content: "服务区内码", }, { title: 'ServerpartName', + dataType: "string", content: "服务区名称", }, + { + title: "RevenueINC", + dataType: "object", + content: "营收数据", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "AccountINC", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "BayonetINC", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "SectionFlowINC", + content: "断面流量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "BayonetINC_ORI", + content: "车流数据", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "TicketINC", + content: "客单数量", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: "AvgTicketINC", + content: "客单均价", + dataType: "object", + children: [ + { + title: "curYearData", + dataType: "number", + content: "本年度数值", + }, + { + title: "lYearData", + dataType: "number", + content: "历年同期数值", + }, + { + title: "increaseData", + dataType: "number", + content: "同比增长值", + }, + { + title: "increaseRate", + dataType: "number", + content: "同比增长率", + }, + { + title: "QOQData", + dataType: "number", + content: "环比同期数值", + }, + { + title: "increaseDataQOQ", + dataType: "number", + content: "环比增长值", + }, + { + title: "increaseRateQOQ", + dataType: "number", + content: "环比增长率", + }, + { + title: "rankNum", + dataType: "integer", + content: "排名", + } + ] + }, + { + title: 'ShopINCList', + content: "门店数据", + dataType: "list", + children: [ + { title: 'ServerpartId', dataType: "integer", content: '服务区内码' }, + { title: 'ServerpartName', dataType: "string", content: '服务区名称' }, + { title: 'ServerpartShopId', dataType: "string", content: '门店内码' }, + { title: 'ServerpartShopName', dataType: "string", content: '门店名称' }, + { title: 'Brand_Id', dataType: "integer", content: '品牌内码' }, + { title: 'Brand_Name', dataType: "string", content: '品牌名称' }, + { title: 'BrandType_Name', dataType: "string", content: '品牌类型' }, + { title: 'Brand_ICO', dataType: "string", content: '品牌图片' }, + { title: 'ShopTrade', dataType: "integer", content: '商品业态' }, + { title: 'BusinessTradeName', dataType: "string", content: '经营业态名称' }, + { title: 'BusinessTradeType', dataType: "string", content: '经营业态大类 1:自营便利店 2:自营餐饮客房 3:商铺租赁' }, + { title: 'BusinessProjectId', dataType: "integer", content: '经营项目内码' }, + { title: 'CompactStartDate', dataType: "string", content: '合同开始日期' }, + { title: 'CompactEndDate', dataType: "string", content: '合同结束日期' }, + { title: 'BusinessType', dataType: "integer", content: '经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销)' }, + { title: 'SettlementModes', dataType: "integer", content: '结算模式' }, + { title: 'MERCHANTS_ID', dataType: "number", content: '经营商户Id' }, + { title: 'MERCHANTS_ID_Encrypted', dataType: "string", content: '经营商户Id(加密后的)' }, + { title: 'MERCHANTS_NAME', dataType: "string", content: '经营商户' }, + { title: 'RevenueINC', dataType: "object", content: '营收数据对比' }, + { title: 'AccountINC', dataType: "object", content: '驿达收入对比' }, + { title: 'TicketINC', dataType: "object", content: '客单数量对比' }, + { title: 'AvgTicketINC', dataType: "object", content: '客单均价对比' }, + { title: 'CurTransaction', dataType: "number", content: '即时营收数据' }, + { title: 'Profit_Amount', dataType: "number", content: '盈利金额' }, + { title: 'Cost_Amount', dataType: "number", content: '预估成本' }, + { title: 'Ca_Cost', dataType: "number", content: '获客成本' } + ] + }, { title: 'Profit_Amount', + dataType: "number", content: "盈利金额", }, { title: 'Cost_Amount', + dataType: "number", content: "预估成本", }, { title: 'Ca_Cost', + dataType: "number", content: "获客成本", }, { title: 'RankDiff', + dataType: "integer", content: "排名差异", - }, - { - title: 'ServerpartShopId', - content: "门店内码", - }, - { - title: 'ServerpartShopName', - content: "门店名称", - }, - { - title: 'Brand_Id', - content: "品牌内码", - }, - { - title: 'Brand_Name', - content: "品牌名称", - }, - { - title: 'BrandType_Name', - content: "品牌类型", - }, - { - title: 'Brand_ICO', - content: "品牌图片", - }, - { - title: 'ShopTrade', - content: "商品业态", - }, - { - title: 'BusinessTradeType', - content: "经营业态大类1:自营便利店 2:自营餐饮客房 3:商铺租赁", - }, - { - title: 'BusinessProjectId', - content: "经营项目内码", - }, - { - title: 'CompactStartDate', - content: "合同开始日期", - }, - { - title: 'CompactEndDate', - content: "合同结束日期", - }, - { - title: 'BusinessType', - content: "经营模式(1000:自营,2000:合作经营,3000:固定租金,4000:展销) ", - }, - { - title: 'SettlementModes', - content: "结算模式", - }, - { - title: 'MERCHANTS_ID', - content: "经营商户Id", - }, - { - title: 'MERCHANTS_ID_Encrypted', - content: "经营商户Id(加密后的)", - }, - { - title: 'MERCHANTS_NAME', - content: "经营商户", - }, - { - title: 'CurTransactionServerpart_ID', - content: "即时营收数据服务区内码", - }, - { - title: 'CurTransactionServerpart_Name', - content: "即时营收数据服务区名称", - }, - { - title: 'CurTransactionServerpartShop_ID', - content: "即时营收数据门店内码", - }, - { - title: 'CurTransactionServerpartShop_Name', - content: "即时营收数据门店名称", - }, - { - title: 'CurTransactionShopTrade', - content: "即时营收数据商品业态", - }, - { - title: 'CurTransactionCurRevenueAmount', - content: "即时营收数据实时营收金额", - }, - { - title: 'CurTransactionCurTicketCount', - content: "即时营收数据实时司乘人数", - }, - { - title: 'CurTransactionCurTotalCount', - content: "即时营收数据实时交易件数", - }, - { - title: 'CurTransactionCurAvgTicketAmount', - content: "即时营收数据实时客单均价", - }, - { - title: 'CurTransactionCurAvgSellAmount', - content: "即时营收数据实时销售均价", - }, - { - title: 'CurTransactionLastTradeTime', - content: "即时营收数据交易时间 ", - }, - - { - title: 'RevenueINCcurYearData', - content: "营收数据本年度数值", - }, - { - title: 'RevenueINClYearData', - content: "营收数据历年同期数值", - }, - { - title: 'RevenueINCincreaseData', - content: "营收数据历年同比增长值", - }, - { - title: 'RevenueINCincreaseRate', - content: "营收数据历年同比增长率", - }, - { - title: 'RevenueINCQOQData', - content: "营收数据环比同期数值", - }, - { - title: 'RevenueINCincreaseDataQOQ', - content: "营收数据环比增长值", - }, - { - title: 'RevenueINCincreaseRateQOQ', - content: "营收数据环比增长率", - }, - { - title: 'RevenueINCrankNum', - content: "营收数据排名", - }, - - { - title: 'AccountINCcurYearData', - content: "驿达收入本年度数值", - }, - { - title: 'AccountINClYearData', - content: "驿达收入历年同期数值", - }, - { - title: 'AccountINCincreaseData', - content: "驿达收入历年同比增长值", - }, - { - title: 'AccountINCincreaseRate', - content: "驿达收入历年同比增长率", - }, - { - title: 'AccountINCQOQData', - content: "驿达收入环比同期数值", - }, - { - title: 'AccountINCincreaseDataQOQ', - content: "驿达收入环比增长值", - }, - { - title: 'AccountINCincreaseRateQOQ', - content: "驿达收入环比增长率", - }, - { - title: 'AccountINCrankNum', - content: "驿达收入排名", - }, - - { - title: 'BayonetINCcurYearData', - content: "车流数据本年度数值", - }, - { - title: 'BayonetINClYearData', - content: "车流数据历年同期数值", - }, - { - title: 'BayonetINCincreaseData', - content: "车流数据历年同比增长值", - }, - { - title: 'BayonetINCincreaseRate', - content: "车流数据历年同比增长率", - }, - { - title: 'BayonetINCQOQData', - content: "车流数据环比同期数值", - }, - { - title: 'BayonetINCincreaseDataQOQ', - content: "车流数据环比增长值", - }, - { - title: 'BayonetINCincreaseRateQOQ', - content: "车流数据环比增长率", - }, - { - title: 'BayonetINCrankNum', - content: "车流数据排名", - }, - - { - title: 'BayonetINC_ORIcurYearData', - content: "车流数据初始值本年度数值", - }, - { - title: 'BayonetINC_ORIlYearData', - content: "车流数据初始值历年同期数值", - }, - { - title: 'BayonetINC_ORIincreaseData', - content: "车流数据初始值历年同比增长值", - }, - { - title: 'BayonetINC_ORIincreaseRate', - content: "车流数据初始值历年同比增长率", - }, - { - title: 'BayonetINC_ORIQOQData', - content: "车流数据初始值环比同期数值", - }, - { - title: 'BayonetINC_ORIincreaseDataQOQ', - content: "车流数据初始值环比增长值", - }, - { - title: 'BayonetINC_ORIincreaseRateQOQ', - content: "车流数据初始值环比增长率", - }, - { - title: 'BayonetINC_ORIrankNum', - content: "车流数据初始值排名", - }, - - { - title: 'TicketINCcurYearData', - content: "客单数量本年度数值", - }, - { - title: 'TicketINClYearData', - content: "客单数量历年同期数值", - }, - { - title: 'TicketINCincreaseData', - content: "客单数量历年同比增长值", - }, - { - title: 'TicketINCincreaseRate', - content: "客单数量历年同比增长率", - }, - { - title: 'TicketINCQOQData', - content: "客单数量环比同期数值", - }, - { - title: 'TicketINCincreaseDataQOQ', - content: "客单数量环比增长值", - }, - { - title: 'TicketINCincreaseRateQOQ', - content: "客单数量环比增长率", - }, - { - title: 'TicketINCrankNum', - content: "客单数量排名", - }, - - { - title: 'AvgTicketINCcurYearData', - content: "客单均价本年度数值", - }, - { - title: 'AvgTicketINClYearData', - content: "客单均价历年同期数值", - }, - { - title: 'AvgTicketINCincreaseData', - content: "客单均价历年同比增长值", - }, - { - title: 'AvgTicketINCincreaseRate', - content: "客单均价历年同比增长率", - }, - { - title: 'AvgTicketINCQOQData', - content: "客单均价环比同期数值", - }, - { - title: 'AvgTicketINCincreaseDataQOQ', - content: "客单均价环比增长值", - }, - { - title: 'AvgTicketINCincreaseRateQOQ', - content: "客单均价环比增长率", - }, - { - title: 'AvgTicketINCrankNum', - content: "客单均价排名", - }, - - + } ] }, // 资产坪效 "EShangApiMain/Analysis/GetASSETSPROFITSTreeList": { - req: [], - data: [{ - title: 'Start_DATE', - content: "统计开始年月", + req: [ + { + "title": "Start_DATE", + "dataType": "integer", + "content": "统计开始年月:YYYYMM", + "isRequired": false }, { - title: 'End_DATE', - content: "统计结束年月", + "title": "End_DATE", + "dataType": "integer", + "content": "统计结束年月:YYYYMM", + "isRequired": false }, { - title: 'PROPERTYASSETS_CODE', - content: "资产编码", + "title": "PROPERTYASSETS_CODE", + "dataType": "string", + "content": "资产编码", + "isRequired": false }, { - title: 'PROPERTYASSETS_TYPE', - content: "资产类型", + "title": "PROPERTYASSETS_TYPE", + "dataType": "integer", + "content": "资产类型(1综合楼,子类型[1000:商铺,2000:仓库,3000:餐饮区,4000:开水间,5000:公共区,6000:厕所]) 小于100为父类", + "isRequired": false }, { - title: 'HOLIDAY_TYPE_IDS', - content: "节日类型", + "title": "HOLIDAY_TYPE_IDS", + "dataType": "string", + "content": "节日类型(0非节假日,1【元旦】,2【春运】,3【清明】,4【五一】,5【端午】,6【暑期】,7【中秋】,8【国庆】)", + "isRequired": false }, { - title: 'SERVERPART_NAME', - content: "服务区名称", + "title": "SERVERPART_NAME", + "dataType": "string", + "content": "服务区名称", + "isRequired": false }, { - title: 'SERVERPARTSHOP_NAME', - content: "门店名称", + "title": "SERVERPARTSHOP_NAME", + "dataType": "string", + "content": "门店名称", + "isRequired": false }, { - title: 'BUSINESS_TRADENAME', - content: "业态名称", + "title": "BUSINESS_TRADENAME", + "dataType": "string", + "content": "业态名称", + "isRequired": false }, { - title: 'TOTAL_AREA', - content: "总面积", + "title": "TOTAL_AREA", + "dataType": "number", + "content": "总面积", + "isRequired": false }, { - title: 'AVG_PROFIT', - content: "月平均每平米效益", + "title": "AVG_PROFIT", + "dataType": "number", + "content": "月平均每平米效益", + "isRequired": false }, { - title: 'BUSINESSPROJECT_ID', - content: "经营项目内码", + "title": "BUSINESSPROJECT_ID", + "dataType": "integer", + "content": "经营项目内码", + "isRequired": false }, { - title: 'BUSINESSPROJECT_NAME', - content: "项目名称", + "title": "BUSINESSPROJECT_NAME", + "dataType": "string", + "content": "项目名称", + "isRequired": false }, { - title: 'PROJECT_STARTDATE', - content: "开始日期", + "title": "PROJECT_STARTDATE", + "dataType": "string", + "content": "开始日期", + "isRequired": false }, { - title: 'PROJECT_ENDDATE', - content: "结束日期", + "title": "PROJECT_ENDDATE", + "dataType": "string", + "content": "结束日期", + "isRequired": false }, { - title: 'ASSETSPROFITS_ID', - content: "资产效益内码", + "title": "ASSETSPROFITS_ID", + "dataType": "integer", + "content": "资产效益内码", + "isRequired": false }, { - title: 'ASSETSPROFITS_ID', - content: "资产效益内码", + "title": "STATISTICS_DATE", + "dataType": "integer", + "content": "统计年月:YYYYMM", + "isRequired": false }, { - title: 'STATISTICS_DATE', - content: "统计年月", + "title": "SPREGIONTYPE_ID", + "dataType": "integer", + "content": "区域内码", + "isRequired": false }, { - title: 'SPREGIONTYPE_ID', - content: "区域内码", + "title": "SPREGIONTYPE_IDS", + "dataType": "string", + "content": "区域内码(查询条件)", + "isRequired": false }, { - title: 'SPREGIONTYPE_IDS', - content: "区域内码", + "title": "SPREGIONTYPE_NAME", + "dataType": "string", + "content": "片区名称", + "isRequired": false }, { - title: 'SPREGIONTYPE_NAME', - content: "管理中心", + "title": "SERVERPART_IDS", + "dataType": "string", + "content": "服务区内码IDS(查询条件)", + "isRequired": false }, { - title: 'SERVERPART_ID', - content: "服务区内码", + "title": "SERVERPART_ID", + "dataType": "integer", + "content": "服务区内码", + "isRequired": false }, { - title: 'SERVERPART_CODE', - content: "服务区编码", + "title": "SERVERPART_CODE", + "dataType": "string", + "content": "服务区编码", + "isRequired": false }, { - title: 'PROPERTYASSETS_ID', - content: "资产内码ID", + "title": "PROPERTYASSETS_ID", + "dataType": "integer", + "content": "资产内码ID", + "isRequired": false }, { - title: 'PROPERTYASSETS_REGION', - content: "区域方位", + "title": "PROPERTYASSETS_IDS", + "dataType": "string", + "content": "资产内码ID(查询条件)", + "isRequired": false }, { - title: 'PROPERTYASSETS_AREA', - content: "资产面积大小", + "title": "PROPERTYASSETS_REGION", + "dataType": "integer", + "content": "区域方位", + "isRequired": false }, { - title: 'SERVERPARTSHOP_ID', - content: "门店内码集合", + "title": "PROPERTYASSETS_AREA", + "dataType": "number", + "content": "资产面积大小", + "isRequired": false }, { - title: 'BUSINESS_TRADE', - content: "经营业态", + "title": "SERVERPARTSHOP_ID", + "dataType": "string", + "content": "门店内码集合", + "isRequired": false }, { - title: 'MONTHDAYS', - content: "天数", + "title": "BUSINESS_TRADE", + "dataType": "string", + "content": "经营业态", + "isRequired": false }, { - title: 'ASSETSPROFITS_DAY', - content: "月营业天数", + "title": "MONTHDAYS", + "dataType": "integer", + "content": "天数", + "isRequired": false }, { - title: 'ASSETSPROFITS_CLOSEDAY', - content: "资产未运营天数", + "title": "ASSETSPROFITS_DAY", + "dataType": "integer", + "content": "月营业天数", + "isRequired": false }, { - title: 'SERVERPART_FLOWDAYS', - content: "服务区车流量天数", + "title": "ASSETSPROFITS_CLOSEDAY", + "dataType": "integer", + "content": "资产未运营天数", + "isRequired": false }, { - title: 'SERVERPART_FLOW', - content: "服务区车流量", + "title": "SERVERPART_FLOWDAYS", + "dataType": "integer", + "content": "服务区车流量天数", + "isRequired": false }, { - title: 'REVENUE_AMOUNT', - content: "月营收金额", + "title": "SERVERPART_FLOW", + "dataType": "integer", + "content": "服务区车流量", + "isRequired": false }, { - title: 'WEEKDAY_AMOUNT', - content: "工作日营收金额", + "title": "REVENUE_AMOUNT", + "dataType": "number", + "content": "月营收金额", + "isRequired": false }, { - title: 'WEEKEND_DAYS', - content: "周末假日天数", + "title": "WEEKDAY_AMOUNT", + "dataType": "number", + "content": "工作日营收金额", + "isRequired": false }, { - title: 'WEEKEND_AMOUNT', - content: "周末高峰营收金额", + "title": "WEEKEND_DAYS", + "dataType": "integer", + "content": "周末假日天数,如果是假日,则不算为周末", + "isRequired": false }, { - title: 'HOLIDAY_TYPE', - content: "节日类型(0非节假日,1【元旦】,2【春运】,3【清明】,4【五一】,5【端午】,6【暑期】,7【中秋】,8【国庆】) ", + "title": "WEEKEND_AMOUNT", + "dataType": "number", + "content": "周末高峰营收金额", + "isRequired": false }, { - title: 'ASSETSPROFITS_STATE', - content: "数据状态", + "title": "HOLIDAY_TYPE", + "dataType": "integer", + "content": "节日类型(0非节假日,1【元旦】,2【春运】,3【清明】,4【五一】,5【端午】,6【暑期】,7【中秋】,8【国庆】)", + "isRequired": false }, { - title: 'ASSETSPROFITS_DESC', - content: "说明", + "title": "ASSETSPROFITS_STATE", + "dataType": "integer", + "content": "数据状态", + "isRequired": false }, { - title: 'WEEKDAY_AVG', - content: "工作日平均效益", + "title": "ASSETSPROFITS_DESC", + "dataType": "string", + "content": "说明", + "isRequired": false }, { - title: 'WEEKEND_AVG', - content: "周末节假日平均效益", + "title": "WEEKDAY_AVG", + "dataType": "number", + "content": "工作日平均效益", + "isRequired": false }, { - title: 'LOSS_AMOUNT', - content: "未营业损失参考金额", + "title": "WEEKEND_AVG", + "dataType": "number", + "content": "周末节假日平均效益", + "isRequired": false }, { - title: 'DETAIL_DATA', - content: "每日信息", + "title": "LOSS_AMOUNT", + "dataType": "number", + "content": "未营业损失参考金额", + "isRequired": false }, { - title: 'STAFF_ID', - content: "操作人ID", + "title": "DETAIL_DATA", + "dataType": "string", + "content": "每日信息(日期,星期节日,金额)", + "isRequired": false }, { - title: 'STAFF_NAME', - content: "操作人", + "title": "STAFF_ID", + "dataType": "integer", + "content": "操作人ID", + "isRequired": false }, { - title: 'OPRATE_DATE', - content: "操作时间", + "title": "STAFF_NAME", + "dataType": "string", + "content": "操作人", + "isRequired": false + }, + { + "title": "OPRATE_DATE", + "dataType": "string", + "content": "操作时间", + "isRequired": false } + ], + data: [ + { title: 'Start_DATE', dataType: 'integer', content: '统计开始年月:YYYYMM' }, + { title: 'End_DATE', dataType: 'integer', content: '统计结束年月:YYYYMM' }, + { title: 'PROPERTYASSETS_CODE', dataType: 'string', content: '资产编码' }, + { title: 'PROPERTYASSETS_TYPE', dataType: 'integer', content: '资产类型(1综合楼,子类型[1000:商铺,2000:仓库,3000:餐饮区,4000:开水间,5000:公共区,6000:厕所]) 小于100为父类' }, + { title: 'HOLIDAY_TYPE_IDS', dataType: 'string', content: '节日类型(0非节假日,1【元旦】,2【春运】,3【清明】,4【五一】,5【端午】,6【暑期】,7【中秋】,8【国庆】)' }, + { title: 'SERVERPART_NAME', dataType: 'string', content: '服务区名称' }, + { title: 'SERVERPARTSHOP_NAME', dataType: 'string', content: '门店名称' }, + { title: 'BUSINESS_TRADENAME', dataType: 'string', content: '业态名称' }, + { title: 'TOTAL_AREA', dataType: 'number', content: '总面积' }, + { title: 'AVG_PROFIT', dataType: 'number', content: '月平均每平米效益' }, + { title: 'BUSINESSPROJECT_ID', dataType: 'integer', content: '经营项目内码' }, + { title: 'BUSINESSPROJECT_NAME', dataType: 'string', content: '项目名称' }, + { title: 'PROJECT_STARTDATE', dataType: 'string', content: '开始日期' }, + { title: 'PROJECT_ENDDATE', dataType: 'string', content: '结束日期' }, + { title: 'ASSETSPROFITS_ID', dataType: 'integer', content: '资产效益内码' }, + { title: 'STATISTICS_DATE', dataType: 'integer', content: '统计年月:YYYYMM' }, + { title: 'SPREGIONTYPE_ID', dataType: 'integer', content: '区域内码' }, + { title: 'SPREGIONTYPE_IDS', dataType: 'string', content: '区域内码(查询条件)' }, + { title: 'SPREGIONTYPE_NAME', dataType: 'string', content: '片区名称' }, + { title: 'SERVERPART_IDS', dataType: 'string', content: '服务区内码IDS(查询条件)' }, + { title: 'SERVERPART_ID', dataType: 'integer', content: '服务区内码' }, + { title: 'SERVERPART_CODE', dataType: 'string', content: '服务区编码' }, + { title: 'PROPERTYASSETS_ID', dataType: 'integer', content: '资产内码ID' }, + { title: 'PROPERTYASSETS_IDS', dataType: 'string', content: '资产内码ID(查询条件)' }, + { title: 'PROPERTYASSETS_REGION', dataType: 'integer', content: '区域方位' }, + { title: 'PROPERTYASSETS_AREA', dataType: 'number', content: '资产面积大小' }, + { title: 'SERVERPARTSHOP_ID', dataType: 'string', content: '门店内码集合' }, + { title: 'BUSINESS_TRADE', dataType: 'string', content: '经营业态' }, + { title: 'MONTHDAYS', dataType: 'integer', content: '天数' }, + { title: 'ASSETSPROFITS_DAY', dataType: 'integer', content: '月营业天数' }, + { title: 'ASSETSPROFITS_CLOSEDAY', dataType: 'integer', content: '资产未运营天数' }, + { title: 'SERVERPART_FLOWDAYS', dataType: 'integer', content: '服务区车流量天数' }, + { title: 'SERVERPART_FLOW', dataType: 'integer', content: '服务区车流量' }, + { title: 'REVENUE_AMOUNT', dataType: 'number', content: '月营收金额' }, + { title: 'WEEKDAY_AMOUNT', dataType: 'number', content: '工作日营收金额' }, + { title: 'WEEKEND_DAYS', dataType: 'integer', content: '周末假日天数,如果是假日,则不算为周末' }, + { title: 'WEEKEND_AMOUNT', dataType: 'number', content: '周末高峰营收金额' }, + { title: 'HOLIDAY_TYPE', dataType: 'integer', content: '节日类型(0非节假日,1【元旦】,2【春运】,3【清明】,4【五一】,5【端午】,6【暑期】,7【中秋】,8【国庆】)' }, + { title: 'ASSETSPROFITS_STATE', dataType: 'integer', content: '数据状态' }, + { title: 'ASSETSPROFITS_DESC', dataType: 'string', content: '说明' }, + { title: 'WEEKDAY_AVG', dataType: 'number', content: '工作日平均效益' }, + { title: 'WEEKEND_AVG', dataType: 'number', content: '周末节假日平均效益' }, + { title: 'LOSS_AMOUNT', dataType: 'number', content: '未营业损失参考金额' }, + { title: 'DETAIL_DATA', dataType: 'string', content: '每日信息(日期,星期节日,金额)' }, + { title: 'STAFF_ID', dataType: 'integer', content: '操作人ID' }, + { title: 'STAFF_NAME', dataType: 'string', content: '操作人' }, + { title: 'OPRATE_DATE', dataType: 'string', content: '操作时间' } ] }, // 财务状况 "EShangApiMain/Finance/GetContractExcuteAnalysis": { - req: [], - data: [{ - title: 'STATISTICS_MONTH', - content: "统计月份", + req: [ + { + "title": "ServerpartIds", + "dataType": "string", + "content": "服务区内码,示例:520,521", + "isRequired": false }, { - title: 'SPREGIONTYPE_ID', - content: "片区内码", + "title": "StatisticsMonth", + "dataType": "string", + "content": "统计月份", + "isRequired": false }, { - title: 'SPREGIONTYPE_NAME', - content: "管理中心", + "title": "Settlement_Modes", + "dataType": "string", + "content": "结算模式", + "isRequired": false }, { - title: 'SERVERPART_ID', - content: "服务区内码", + "title": "keyword", + "dataType": "string", + "content": "搜索经营商户", + "isRequired": false }, { - title: 'SERVERPART_NAME', - content: "服务区名称", + "title": "SolidType", + "dataType": "boolean", + "content": "是否查询固化数据", + "isRequired": false }, { - title: 'SERVERPARTSHOP_ID', - content: "门店内码", - }, - { - title: 'SERVERPARTSHOP_NAME', - content: "门店名称", - }, - { - title: 'BUSINESSPROJECT_ID', - content: "项目内码", - }, - { - title: 'BUSINESSPROJECT_NAME', - content: "项目名称", - }, - { - title: 'REGISTERCOMPACT_ID', - content: "合同备案内码内码", - }, - { - title: 'MERCHANTS_ID', - content: "经营商户内码", - }, - { - title: 'MERCHANTS_NAME', - content: "经营商户", - }, - { - title: 'COMPACT_STARTDATE', - content: "合同开始时间", - }, - { - title: 'COMPACT_ENDDATE', - content: "合同结束时间", - }, - { - title: 'COMPACT_DESC', - content: "合同时间描述", - }, - { - title: 'SHOPROYALTY_ID', - content: "门店拆分表内码", - }, - { - title: 'SETTLEMENT_MODES', - content: "结算模式", - }, - { - title: 'SWITCH_DATE', - content: "结算模式切换时间", - }, - { - title: 'BUSINESS_TYPE', - content: "经营模式", - }, - { - title: 'PERIOD_INDEX', - content: "期数(数字)", - }, - { - title: 'PERIOD_INDEXSTR', - content: "期数(第几期)", - }, - { - title: 'PERIOD_INDEXDESC', - content: "期限(时间范围)", - }, - { - title: 'SECURITYDEPOSIT', - content: "履约保证金", - }, - { - title: 'DECORATE_STARTDATE', - content: "装修期开始时间", - }, - { - title: 'DECORATE_ENDDATE', - content: "装修期结束时间", - }, - { - title: 'DECORATE_DESC', - content: "装修期", - }, - { - title: 'GUARANTEERATIO', - content: "提成比率", - }, - { - title: 'TAX_RATE', - content: "税率", - }, - { - title: 'MINTURNOVER', - content: "年保底租金(期收入)", - }, - { - title: 'RENTFEE', - content: "固定租金", - }, - { - title: 'REVENUE_AMOUNT', - content: "累计营业额", - }, - { - title: 'CONFIRM_INCOME', - content: "累计应确认收入", - }, - { - title: 'BANKACCOUNT_AMOUNT', - content: "驿达收款_金额(业主到账)", - }, - { - title: 'REFUND_SUPPLEMENT', - content: "退补款(包含自营提成)", - }, - { - title: 'REFUND_SUPPLEMENT_NOSC', - content: "退补款(不包含自营提成)", - }, - { - title: 'CURNATURAL_REVENUE', - content: "本月自然日营业额", - }, - { - title: 'CMONTH_COMINCOME', - content: "本月应确认收入", - }, - { - title: 'CURBANKACCOUNT_AMOUNT', - content: "本月银行到账", - }, - { - title: 'ANNUALNATURAL_REVENUE', - content: "自然年累计营业额", - }, - { - title: 'ANNUALMONTH_COMINCOME', - content: "自然年累计应确认收入", - }, - { - title: 'ANNUALBANKACCOUNT_AMOUNT', - content: "自然年累计银行到账", - }, - { - title: 'ANNUALREFUND_SUPPLEMENT', - content: "自然年累计退补款", + "title": "ShowProjectNode", + "dataType": "boolean", + "content": "是否显示项目节点数据", + "isRequired": false } + ], + data: [ + { title: 'STATISTICS_MONTH', dataType: 'string', content: '统计月份' }, + { title: 'SPREGIONTYPE_ID', dataType: 'integer', content: '片区内码' }, + { title: 'SPREGIONTYPE_NAME', dataType: 'string', content: '片区名称' }, + { title: 'SERVERPART_ID', dataType: 'integer', content: '服务区内码' }, + { title: 'SERVERPART_IDS', dataType: 'string', content: '服务区内码(片区节点显示有多少个服务区)' }, + { title: 'SERVERPART_NAME', dataType: 'string', content: '服务区名称' }, + { title: 'SERVERPARTSHOP_ID', dataType: 'string', content: '门店内码' }, + { title: 'SERVERPARTSHOP_NAME', dataType: 'string', content: '门店名称' }, + { title: 'BUSINESSPROJECT_ID', dataType: 'integer', content: '项目内码' }, + { title: 'BUSINESSPROJECT_NAME', dataType: 'string', content: '项目名称' }, + { title: 'REGISTERCOMPACT_ID', dataType: 'integer', content: '合同备案内码内码' }, + { title: 'MERCHANTS_ID', dataType: 'integer', content: '经营商户内码' }, + { title: 'MERCHANTS_NAME', dataType: 'string', content: '经营商户' }, + { title: 'COMPACT_STARTDATE', dataType: 'string', content: '合同开始时间' }, + { title: 'COMPACT_ENDDATE', dataType: 'string', content: '合同结束时间' }, + { title: 'COMPACT_DESC', dataType: 'string', content: '合同时间描述' }, + { title: 'SHOPROYALTY_ID', dataType: 'integer', content: '门店拆分表内码' }, + { title: 'SETTLEMENT_MODES', dataType: 'integer', content: '结算模式' }, + { title: 'SWITCH_DATE', dataType: 'string', content: '结算模式切换时间' }, + { title: 'BUSINESS_TYPE', dataType: 'number', content: '经营模式' }, + { title: 'PERIOD_INDEX', dataType: 'integer', content: '期数(数字)' }, + { title: 'PERIOD_INDEXSTR', dataType: 'string', content: '期数(第几期)' }, + { title: 'PERIOD_INDEXDESC', dataType: 'string', content: '期限(时间范围)' }, + { title: 'SECURITYDEPOSIT', dataType: 'number', content: '履约保证金' }, + { title: 'DECORATE_STARTDATE', dataType: 'string', content: '装修期开始时间' }, + { title: 'DECORATE_ENDDATE', dataType: 'string', content: '装修期结束时间' }, + { title: 'DECORATE_DESC', dataType: 'string', content: '装修期' }, + { title: 'GUARANTEERATIO', dataType: 'number', content: '提成比率' }, + { title: 'TAX_RATE', dataType: 'number', content: '税率' }, + { title: 'MINTURNOVER', dataType: 'number', content: '年保底租金(期收入)' }, + { title: 'RENTFEE', dataType: 'number', content: '固定租金' }, + { title: 'REVENUE_AMOUNT', dataType: 'number', content: '累计营业额' }, + { title: 'CONFIRM_INCOME', dataType: 'number', content: '累计应确认收入' }, + { title: 'BANKACCOUNT_AMOUNT', dataType: 'number', content: '驿达收款_金额(业主到账)' }, + { title: 'REFUND_SUPPLEMENT', dataType: 'number', content: '退补款(包含自营提成)' }, + { title: 'REFUND_SUPPLEMENT_NOSC', dataType: 'number', content: '退补款(不包含自营提成)' }, + { title: 'CURNATURAL_REVENUE', dataType: 'number', content: '本月自然日营业额' }, + { title: 'CMONTH_COMINCOME', dataType: 'number', content: '本月应确认收入' }, + { title: 'CURBANKACCOUNT_AMOUNT', dataType: 'number', content: '本月银行到账' }, + { title: 'ANNUALNATURAL_REVENUE', dataType: 'number', content: '自然年累计营业额' }, + { title: 'ANNUALMONTH_COMINCOME', dataType: 'number', content: '自然年累计应确认收入' }, + { title: 'ANNUALBANKACCOUNT_AMOUNT', dataType: 'number', content: '自然年累计银行到账' }, + { title: 'ANNUALREFUND_SUPPLEMENT', dataType: 'number', content: '自然年累计退补款' } + ] + }, + // 基础数据 + "CommercialApi/BaseInfo/GetServerpartInfo": { + req: [ + { + "title": "ServerpartId", + "dataType": "integer", + "content": "服务区内码", + "isRequired": true + }, + { + "title": "longitude", + "dataType": "string", + "content": "经度", + "isRequired": false + }, + { + "title": "latitude", + "dataType": "string", + "content": "纬度", + "isRequired": false + }, + { + "title": "excludeProperty", + "dataType": "boolean", + "content": "是否排除资产图片", + "isRequired": false + } + ], + data: [ + { "title": "SERVERPART_ID", "dataType": "integer", "content": "内码" }, + { "title": "SERVERPART_NAME", "dataType": "string", "content": "服务区名称" }, + { "title": "SERVERPART_INDEX", "dataType": "integer", "content": "服务区索引" }, + { "title": "PROVINCE_CODE", "dataType": "integer", "content": "省份编码" }, + { "title": "SERVERPART_CODE", "dataType": "string", "content": "服务区编码" }, + { "title": "SERVERPART_TYPE", "dataType": "integer", "content": "服务区类型" }, + { "title": "SPREGIONTYPE_ID", "dataType": "integer", "content": "归属区域内码" }, + { "title": "SPREGIONTYPE_NAME", "dataType": "string", "content": "归属区域名字" }, + { "title": "SPREGIONTYPE_INDEX", "dataType": "integer", "content": "归属区域索引" }, + { "title": "STATISTICS_TYPE", "dataType": "string", "content": "站点类型(服务区、加油站、单位部门)" }, + { "title": "OWNERUNIT_ID", "dataType": "integer", "content": "业主单位内码" }, + { "title": "OWNERUNIT_NAME", "dataType": "string", "content": "业主单位名称" }, + { "title": "SERVERPART_ADDRESS", "dataType": "string", "content": "服务区地址" }, + { "title": "SERVERPART_X", "dataType": "number", "content": "服务区坐标X" }, + { "title": "SERVERPART_Y", "dataType": "number", "content": "服务区坐标Y" }, + { "title": "STARTDATE", "dataType": "string", "content": "开业时间" }, + { "title": "SERVERPART_TEL", "dataType": "string", "content": "联系电话" }, + { "title": "OPERATE_DATE", "dataType": "string", "content": "操作时间" }, + { "title": "HASMOTHER", "dataType": "boolean", "content": "是否有母婴室" }, + { "title": "HASPILOTLOUNGE", "dataType": "boolean", "content": "是否有司机之家" }, + { "title": "HASCHARGE", "dataType": "boolean", "content": "是否有充电桩" }, + { "title": "HASGUESTROOM", "dataType": "boolean", "content": "是否有客房" }, + { "title": "SERVERPART_DISTANCE", "dataType": "number", "content": "服务区距离" }, + { "title": "ISCUR_SERVERPART", "dataType": "integer", "content": "是否当前服务区" }, + { + "title": "ServerpartInfo", "dataType": "object", "content": "服务区附属信息", children: [ + { "title": "RTSERVERPART_ID", "dataType": "integer", "content": "内码" }, + { "title": "SERVERPART_ID", "dataType": "integer", "content": "服务区内码" }, + { "title": "SERVERPART_ADDRESS", "dataType": "string", "content": "服务区地址" }, + { "title": "EXPRESSWAY_NAME", "dataType": "string", "content": "服务区所在高速路" }, + { "title": "SELLERCOUNT", "dataType": "integer", "content": "商家服务数" }, + { "title": "SERVERPART_X", "dataType": "number", "content": "服务区坐标X" }, + { "title": "SERVERPART_Y", "dataType": "number", "content": "服务区坐标Y" }, + { "title": "SERVERPART_TEL", "dataType": "string", "content": "联系电话" }, + { "title": "STARTDATE", "dataType": "string", "content": "开业时间" }, + { "title": "SERVERPART_AREA", "dataType": "number", "content": "服务区面积" }, + { "title": "FLOORAREA", "dataType": "number", "content": "占地面积" }, + { "title": "BUSINESSAREA", "dataType": "number", "content": "经营面积" }, + { "title": "SHAREAREA", "dataType": "number", "content": "公共区域面积" }, + { "title": "OWNEDCOMPANY", "dataType": "string", "content": "所属公司" }, + { "title": "MANAGERCOMPANY", "dataType": "string", "content": "管理公司" }, + { "title": "CENTERSTAKE_NUM", "dataType": "string", "content": "中心桩号" }, + { "title": "TAXPAYER_IDENTIFYCODE", "dataType": "string", "content": "统一信用代码" }, + { "title": "WATERINTAKE_TYPE", "dataType": "integer", "content": "取水形式(1:自来水;2:井水)" }, + { "title": "SEWAGEDISPOSAL_TYPE", "dataType": "integer", "content": "污水处理形式(1:市政;2:污水处理设备)" }, + { "title": "BUSINESS_REGION", "dataType": "integer", "content": "分区形式(1000:服务区双侧;1010:服务区单侧;2000:加油站双侧;2010:加油站单侧)" }, + { "title": "SERVERPART_TARGET", "dataType": "string", "content": "服务区标签(参照枚举SERVERPART_TARGET)" }, + { "title": "SERVERPART_INFO", "dataType": "string", "content": "备注说明" } + ] + }, + { + "title": "RegionInfo", "dataType": "Array", "content": "服务区服务信息", children: + [ + { "title": "SERVERPARTINFO_ID", "dataType": "integer", "content": "内码" }, + { "title": "SERVERPART_ID", "dataType": "integer", "content": "服务区内码" }, + { "title": "SMALLPARKING", "dataType": "integer", "content": "轿车车位" }, + { "title": "PACKING", "dataType": "integer", "content": "客车车位" }, + { "title": "TRUCKPACKING", "dataType": "integer", "content": "货车车位" }, + { "title": "LONGPACKING", "dataType": "integer", "content": "超长车位" }, + { "title": "DANPACKING", "dataType": "integer", "content": "危化品车位" }, + { "title": "LIVESTOCKPACKING", "dataType": "integer", "content": "禽畜车位(充电桩数)" }, + { "title": "TOILETCOUNT", "dataType": "integer", "content": "厕位数(潮汐厕位数量)" }, + { "title": "BUSINESSTYPE", "dataType": "string", "content": "业态布局(餐饮模式)" }, + { "title": "DININGROOMCOUNT", "dataType": "integer", "content": "餐厅餐位(具备餐饮)" }, + { "title": "DININGBXCOUNT", "dataType": "integer", "content": "餐厅包厢数(商铺数量)" }, + { "title": "HASMOTHER", "dataType": "integer", "content": "母婴室是否有" }, + { "title": "HASCHILD", "dataType": "integer", "content": "儿童游乐场是否有(具有车辆维修)" }, + { "title": "HASSHOWERROOM", "dataType": "integer", "content": "淋浴房" }, + { "title": "VEHICLEWATERFILLING", "dataType": "integer", "content": "是否具有车辆加水" }, + { "title": "HASRESTROOM", "dataType": "integer", "content": "有无卫生间" }, + { "title": "HASTHIRDTOILETS", "dataType": "integer", "content": "第三卫生间是否" }, + { "title": "HASWATERROOM", "dataType": "integer", "content": "开水间是否有(开水器数量)" }, + { "title": "HASPILOTLOUNGE", "dataType": "integer", "content": "驾驶员休息室(司机之家)" }, + { "title": "GREENSPACEAREA", "dataType": "number", "content": "绿化面积" }, + { "title": "POINTCONTROLCOUNT", "dataType": "integer", "content": "监控点位位数(客房数量)" }, + { "title": "HASBACKGROUNDRADIO", "dataType": "integer", "content": "有没有背景广播(具备便利店)" }, + { "title": "HASWIFI", "dataType": "integer", "content": "WIFI是否有(女厕数量)" }, + { "title": "HASMESSAGESEARCH", "dataType": "integer", "content": "信息查询屏(具备住宿)" }, + { "title": "HASPANTRY", "dataType": "integer", "content": "冷菜间(男厕数量)" }, + { "title": "SCENICAREA", "dataType": "string", "content": "周边景点" }, + { "title": "SERVERPART_REGION", "dataType": "integer", "content": "服务区方位" }, + { "title": "SERVERPART_REGIONNAME", "dataType": "string", "content": "服务区方位名称" }, + { "title": "MICROWAVEOVEN", "dataType": "integer", "content": "微波炉数量" }, + { "title": "WASHERCOUNT", "dataType": "integer", "content": "洗衣机数量" }, + { "title": "SLEEPINGPODS", "dataType": "integer", "content": "睡眠舱数量" }, + { "title": "HASGASSTATION", "dataType": "integer", "content": "有无加油站" }, + { "title": "REFUELINGGUN92", "dataType": "integer", "content": "加油枪92号" }, + { "title": "REFUELINGGUN95", "dataType": "integer", "content": "加油枪95号" }, + { "title": "REFUELINGGUN0", "dataType": "integer", "content": "加油枪0号" }, + { "title": "STATEGRIDCHARGE", "dataType": "integer", "content": "国网充电桩数量" }, + { "title": "LIAUTOCHARGE", "dataType": "integer", "content": "理想5C充电桩数量" }, + { "title": "GACENERGYCHARGE", "dataType": "integer", "content": "广汽能源充电桩数量" }, + { "title": "OTHERCHARGE", "dataType": "integer", "content": "其他充电桩数量" }, + { "title": "FLOORAREA", "dataType": "number", "content": "占地面积" }, + { "title": "PARKINGAREA", "dataType": "number", "content": "停车场面积" }, + { "title": "BUILDINGAREA", "dataType": "number", "content": "建筑面积" }, + { "title": "TOILET_PAPER", "dataType": "integer", "content": "厕纸巾" }, + { "title": "MABROOMWATER_DISPENSER", "dataType": "integer", "content": "母婴室饮水机" }, + { "title": "NURSING_TABLE", "dataType": "integer", "content": "哺乳桌" }, + { "title": "BABY_COT", "dataType": "integer", "content": "婴儿床" }, + { "title": "CHANGING_TABLE", "dataType": "integer", "content": "尿布台" }, + { "title": "DROOMWATER_DISPENSER", "dataType": "integer", "content": "司机之家饮水机" }, + { "title": "WASHER_PRICE", "dataType": "string", "content": "洗衣机价格" }, + { "title": "SLEEPCABIN_PRICE", "dataType": "string", "content": "睡眠舱价格" }, + { "title": "SHOWERROOM", "dataType": "integer", "content": "司机之家淋浴房(0:无,1:有,2:热水)" }, + { "title": "REPAIR_TEL", "dataType": "string", "content": "汽修电话" }, + { "title": "REPAIR_TIME", "dataType": "string", "content": "营业时长" }, + { "title": "UREA_COUNT", "dataType": "integer", "content": "尿素台数" }, + { "title": "REFUELINGGUN98", "dataType": "integer", "content": "加油枪98号" }, + { "title": "TreeNodeName", "dataType": "string", "content": "节点名称" }, + { "title": "TreeNodePName", "dataType": "string", "content": "上级节点名称" }, + { "title": "SPRegionTypeId", "dataType": "integer", "content": "片区内码" }, + { "title": "SPRegionTypeIndex", "dataType": "integer", "content": "片区索引" }, + { "title": "ServerPartIndex", "dataType": "integer", "content": "服务区索引" } + ] + }, + { + "title": "ImageLits", "dataType": "Array", "content": "服务区图片列表" + }, + { "title": "weatherModel", "dataType": "WEATHERModel", "content": "今日天气情况" }, + { "title": "tmwWeatherModel", "dataType": "WEATHERModel", "content": "明天天气情况" }, + { "title": "LoadBearing_Id", "dataType": "integer", "content": "服务区承载内码" }, + { "title": "LoadBearing_State", "dataType": "integer", "content": "服务区承载状态,枚举:LOAD_BEARING" } ] } } diff --git a/src/utils/format.ts b/src/utils/format.ts index 84ace0c..dbbd269 100644 --- a/src/utils/format.ts +++ b/src/utils/format.ts @@ -644,7 +644,7 @@ export const handleSetPublicLog = (obj: any) => { let browserVersion = session.get("browserVersion") if (obj.desc && obj.desc.length > 0) { obj.desc.forEach((item: any) => { - item.url = 'https://api.eshangtech.com' + item.url + item.url = 'https://eshangtech.com:18900' + item.url }) } diff --git a/src/utils/request.ts b/src/utils/request.ts index a4e9f2f..f7ae8a0 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -59,7 +59,7 @@ const errorHandler = (error: { response: Response }): Response => { const request = extend({ errorHandler, // default error handling // prefix: '/EShangApiMain',// 开发 - prefix: 'https://api.eshangtech.com/EShangApiMain', // 正式 + prefix: 'https://eshangtech.com:18900/EShangApiMain', // 正式 headers: { token: '', ProvinceCode: '', @@ -189,7 +189,7 @@ request.interceptors.response.use((response, option) => { // USER_ID: userbeHaviObj.currentUser.ID, // USER_NAME: userbeHaviObj.currentUser.Name, // BEHAVIORRECORD_TYPE: "2000", // 1000 浏览页面 2000 行为记录 - // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://api.eshangtech.com')[1]}`, + // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://eshangtech.com:18900')[1]}`, // BEHAVIORRECORD_TIME: moment(new Date(userbeHaviObj.startTime)).format('YYYY-MM-DD HH:mm:ss'), // BEHAVIORRECORD_ROUT: nowMenu.pathname, // BEHAVIORRECORD_ROUTNAME: nowMenu.name, @@ -207,7 +207,7 @@ request.interceptors.response.use((response, option) => { // OPERATING_SYSTEM: systemBasin // } // console.log('reqreqreqreqreq', req); - // // fetch('https://api.eshangtech.com/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { + // // fetch('https://eshangtech.com:18900/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { // // method: 'POST', // // headers: { // // 'Content-Type': 'application/json', diff --git a/src/utils/requestAHYD.ts b/src/utils/requestAHYD.ts index b2e11e1..119ce62 100644 --- a/src/utils/requestAHYD.ts +++ b/src/utils/requestAHYD.ts @@ -189,7 +189,7 @@ request.interceptors.response.use((response, option) => { // USER_ID: userbeHaviObj.currentUser.ID, // USER_NAME: userbeHaviObj.currentUser.Name, // BEHAVIORRECORD_TYPE: "2000", // 1000 浏览页面 2000 行为记录 - // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://api.eshangtech.com')[1]}`, + // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://eshangtech.com:18900')[1]}`, // BEHAVIORRECORD_TIME: moment(new Date(userbeHaviObj.startTime)).format('YYYY-MM-DD HH:mm:ss'), // BEHAVIORRECORD_ROUT: nowMenu.pathname, // BEHAVIORRECORD_ROUTNAME: nowMenu.name, @@ -207,7 +207,7 @@ request.interceptors.response.use((response, option) => { // OPERATING_SYSTEM: systemBasin // } // console.log('reqreqreqreqreq', req); - // // fetch('https://api.eshangtech.com/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { + // // fetch('https://eshangtech.com:18900/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { // // method: 'POST', // // headers: { // // 'Content-Type': 'application/json', diff --git a/src/utils/requestCode.ts b/src/utils/requestCode.ts index 757e577..2d5efd7 100644 --- a/src/utils/requestCode.ts +++ b/src/utils/requestCode.ts @@ -57,7 +57,7 @@ const errorHandler = (error: { response: Response }): Response => { const request = extend({ errorHandler, // default error handling // prefix: '/EShangApiMain',// 开发 - prefix: 'https://api.eshangtech.com/CommercialApi', // 正式 + prefix: 'https://eshangtech.com:18900/CommercialApi', // 正式 headers: { token: '', ProvinceCode: '', diff --git a/src/utils/requestDashboard.ts b/src/utils/requestDashboard.ts index afcca67..7f0056e 100644 --- a/src/utils/requestDashboard.ts +++ b/src/utils/requestDashboard.ts @@ -57,7 +57,7 @@ const errorHandler = (error: { response: Response }): Response => { const request = extend({ errorHandler, // default error handling // prefix: '/EShangApiMain',// 开发 - prefix: 'https://api.eshangtech.com/EshangApiDashboard', // 正式 + prefix: 'https://eshangtech.com:18900/EshangApiDashboard', // 正式 headers: { token: '', ProvinceCode: '', @@ -85,18 +85,18 @@ request.interceptors.request.use((url, opt) => { } } if ((url.indexOf('Synchro') > -1 || url.indexOf('Save') > -1) && - url.indexOf('Picture/SaveImgFile') === -1 ) { - // 添加操作人和业主单位信息 - options.data = { - ...options.data, - STAFF_ID: currentUser.ID, - STAFF_NAME: currentUser.Name, - OWNERUNIT_ID: options.data.OWNERUNIT_ID || currentUser.OwnerUnitId, - OWNERUNIT_NAME: options.data.OWNERUNIT_NAME || currentUser.ProvinceUnit, - PROVINCE_CODE: options.data.PROVINCE_CODE || currentUser.ProvinceCode, + url.indexOf('Picture/SaveImgFile') === -1) { + // 添加操作人和业主单位信息 + options.data = { + ...options.data, + STAFF_ID: currentUser.ID, + STAFF_NAME: currentUser.Name, + OWNERUNIT_ID: options.data.OWNERUNIT_ID || currentUser.OwnerUnitId, + OWNERUNIT_NAME: options.data.OWNERUNIT_NAME || currentUser.ProvinceUnit, + PROVINCE_CODE: options.data.PROVINCE_CODE || currentUser.ProvinceCode, - OPERATE_DATE: moment().format('YYYY-MM-DD HH:mm:ss') - } + OPERATE_DATE: moment().format('YYYY-MM-DD HH:mm:ss') + } if (currentUser?.UserPattern === 2000) { options.data = { ...options.data, diff --git a/src/utils/requestEncryption.ts b/src/utils/requestEncryption.ts index d67265e..936f6f3 100644 --- a/src/utils/requestEncryption.ts +++ b/src/utils/requestEncryption.ts @@ -52,7 +52,7 @@ const errorHandler = (error: { response: Response }): Response => { const requestEncryption = extend({ errorHandler, // default error handling // prefix: '/EShangApiMain',// 开发 - prefix: 'https://api.eshangtech.com/MemberApi', // 正式 + prefix: 'https://eshangtech.com:18900/MemberApi', // 正式 headers: { token: '', ProvinceCode: '', diff --git a/src/utils/requestJava.ts b/src/utils/requestJava.ts index 8c1a5fc..81cdfbb 100644 --- a/src/utils/requestJava.ts +++ b/src/utils/requestJava.ts @@ -183,7 +183,7 @@ request.interceptors.response.use((response, option) => { // USER_ID: userbeHaviObj.currentUser.ID, // USER_NAME: userbeHaviObj.currentUser.Name, // BEHAVIORRECORD_TYPE: "2000", // 1000 浏览页面 2000 行为记录 - // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://api.eshangtech.com')[1]}`, + // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://eshangtech.com:18900')[1]}`, // BEHAVIORRECORD_TIME: moment(new Date(userbeHaviObj.startTime)).format('YYYY-MM-DD HH:mm:ss'), // BEHAVIORRECORD_ROUT: nowMenu.pathname, // BEHAVIORRECORD_ROUTNAME: nowMenu.name, @@ -201,7 +201,7 @@ request.interceptors.response.use((response, option) => { // OPERATING_SYSTEM: systemBasin // } // console.log('reqreqreqreqreq', req); - // // fetch('https://api.eshangtech.com/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { + // // fetch('https://eshangtech.com:18900/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { // // method: 'POST', // // headers: { // // 'Content-Type': 'application/json', diff --git a/src/utils/requestNewJava.ts b/src/utils/requestNewJava.ts index f92663d..f336314 100644 --- a/src/utils/requestNewJava.ts +++ b/src/utils/requestNewJava.ts @@ -183,7 +183,7 @@ request.interceptors.response.use((response, option) => { // USER_ID: userbeHaviObj.currentUser.ID, // USER_NAME: userbeHaviObj.currentUser.Name, // BEHAVIORRECORD_TYPE: "2000", // 1000 浏览页面 2000 行为记录 - // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://api.eshangtech.com')[1]}`, + // BEHAVIORRECORD_EXPLAIN: `在页面${nowMenu.name}调用接口${userbeHaviObj.url.split('https://eshangtech.com:18900')[1]}`, // BEHAVIORRECORD_TIME: moment(new Date(userbeHaviObj.startTime)).format('YYYY-MM-DD HH:mm:ss'), // BEHAVIORRECORD_ROUT: nowMenu.pathname, // BEHAVIORRECORD_ROUTNAME: nowMenu.name, @@ -201,7 +201,7 @@ request.interceptors.response.use((response, option) => { // OPERATING_SYSTEM: systemBasin // } // console.log('reqreqreqreqreq', req); - // // fetch('https://api.eshangtech.com/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { + // // fetch('https://eshangtech.com:18900/EShangApiMain/Platform/SynchroBEHAVIORRECORD', { // // method: 'POST', // // headers: { // // 'Content-Type': 'application/json', diff --git a/src/utils/requestNewTest.ts b/src/utils/requestNewTest.ts index 627d301..5249e23 100644 --- a/src/utils/requestNewTest.ts +++ b/src/utils/requestNewTest.ts @@ -59,9 +59,9 @@ const requestTest = extend({ // prefix: '/EShangApiMain',// 开发 // 'http://192.168.56.1/EShangApiMain' - // "https://api.eshangtech.com/EShangApiMain" // 正式 + // "https://eshangtech.com:18900/EShangApiMain" // 正式 // "http://192.168.56.1/EShangApiMain" - prefix: "https://api.eshangtech.com/EShangApiMain", // 正式 + prefix: "https://eshangtech.com:18900/EShangApiMain", // 正式 // prefix: "http://10.104.1.186:8080", // 正式 headers: { token: '', diff --git a/src/utils/requestNoPrefix.ts b/src/utils/requestNoPrefix.ts index e404dd5..2d2dbde 100644 --- a/src/utils/requestNoPrefix.ts +++ b/src/utils/requestNoPrefix.ts @@ -57,7 +57,7 @@ const errorHandler = (error: { response: Response }): Response => { const request = extend({ errorHandler, // default error handling // prefix: '/EShangApiMain',// 开发 - prefix: 'https://api.eshangtech.com/', // 正式 + prefix: 'https://eshangtech.com:18900/', // 正式 headers: { token: '', ProvinceCode: '', diff --git a/src/versionEnv.ts b/src/versionEnv.ts index 791f454..f0194d8 100644 --- a/src/versionEnv.ts +++ b/src/versionEnv.ts @@ -1,4 +1,4 @@ // 由 scripts/writeVersion.js 自动生成 -export const VERSION = "4.5.73"; -export const GIT_HASH = "dde90fb"; -export const BUILD_TIME = "2025-12-03T10:27:22.507Z"; +export const VERSION = "4.5.75"; +export const GIT_HASH = "4b17ea4"; +export const BUILD_TIME = "2025-12-05T03:57:31.975Z";