Sfoglia il codice sorgente

Merge branch '2025年初运营活动_cl'

chenlei 1 anno fa
parent
commit
64fef33b8e

+ 1 - 1
src/manifest.json

@@ -83,7 +83,7 @@
   },
   "quickapp": {},
   "mp-weixin": {
-    "appid": "wx72ba78af2cf68cf0",
+    "appid": "wxf69daeba7aec5be4",
     "setting": {
       "urlCheck": false,
       "minified": true

+ 27 - 1
src/pages.json

@@ -31,6 +31,10 @@
       "type": "page"
     },
     {
+      "path": "pages/activity/2025start",
+      "type": "page"
+    },
+    {
       "path": "pages/cards/detail",
       "type": "page"
     },
@@ -116,5 +120,27 @@
       "type": "page"
     }
   ],
-  "subPackages": []
+  "subPackages": [
+    {
+      "root": "pagesSubExample",
+      "pages": [
+        {
+          "path": "index",
+          "type": "page"
+        },
+        {
+          "path": "list/index",
+          "type": "page"
+        },
+        {
+          "path": "login/index",
+          "type": "page"
+        },
+        {
+          "path": "webview/index",
+          "type": "page"
+        }
+      ]
+    }
+  ]
 }

+ 83 - 0
src/pages/activity/2025start.vue

@@ -0,0 +1,83 @@
+<template>
+  <ay-container v-show="store.webapi.strategy.get_by_Name.success">
+    <div v-if="data.activity2025.open">
+      <div class="whitespace-pre-wrap mb-spac" v-html="data.activity2025.desc"></div>
+      <div class="flex justify-between font-bold mb-spac row">
+        <div>排名</div>
+        <div>驾驶员信息</div>
+        <div>累计加气量</div>
+      </div>
+      <div
+        class="center justify-between s-fz row item-row"
+        :class="{ even: i % 2 === 0 }"
+        v-for="(dr, i) in data.driverRank"
+        :key="i"
+      >
+        <div>{{ dr.rank }}</div>
+        <div>{{ dr.driverName }}</div>
+        <div>{{ dr.gasQty }}</div>
+      </div>
+    </div>
+    <div v-else class="font-bold text-center">活动已结束</div>
+  </ay-container>
+</template>
+
+<script lang="ts" setup>
+const methods = {}
+const data = ay.initData({
+  /** 2025年初运营活动信息 */
+  activity2025: { open: 0 } as { open: number; title: string; bannerImg: string; desc: string },
+  driverRank: [] as DriverRankVO[],
+})
+
+ay.entrance((args) => {
+  // #ifdef MP
+  uni.showShareMenu({
+    // path: config.pages.activity_2025start._url,
+    withShareTicket: true,
+    menus: ['shareAppMessage', 'shareTimeline'],
+  })
+  // #endif
+  webapi.strategy
+    .get_by_Name<null, SystemConfig对象>({
+      //
+      name: 'activity2025',
+    })
+    .then((res) => {
+      if (res?.value) {
+        try {
+          data.activity2025 = JSON.parse(res.value)
+          uni.setNavigationBarTitle({ title: data.activity2025.title })
+        } catch (e) {}
+      }
+    })
+
+  webapi.settle.driver_rank<null, DriverRankVO[]>().then((res) => {
+    data.driverRank = res
+  })
+})
+</script>
+<style lang="scss" scoped>
+.row {
+  & > div,
+  > view {
+    // margin-bottom: $p-spac;
+    text-align: center;
+  }
+  & > div:first-child,
+  > view:first-child {
+    width: 15%;
+  }
+  & > div:last-child,
+  > view:last-child {
+    width: 25%;
+  }
+}
+.item-row {
+  min-height: 80rpx;
+  background-color: #0084f433;
+  &.even {
+    background-color: #ec808d1a;
+  }
+}
+</style>

+ 19 - 1
src/pages/index/index.vue

@@ -99,6 +99,14 @@
         <div>{{ m.name }}</div>
       </div>
     </div>
+    <div v-if="data.activity2025.open">
+      <image
+        class="mt-spacm2 banner"
+        :src="data.activity2025.bannerImg"
+        mode="scaleToFill"
+        @click="methods.goActivity"
+      />
+    </div>
     <div class="chuck list-app">
       <ay-sticky
         :top="0"
@@ -226,6 +234,8 @@ const data = ay.initData({
   firstUnload: true,
   /** 存在未支付完成订单 */
   hasnopayfordriver: true,
+  /** 2025年初运营活动信息 */
+  activity2025: {} as { open: number; title: string; bannerImg: string; desc: string },
   invite: {} as 预添加司机详情,
   truckInfo: [] as PersonDriver对象[],
   accountInfo: {} as IAccountInfo,
@@ -268,7 +278,7 @@ const data = ay.initData({
     stickyed: false,
     cityList: [] /** 附近加气站列表 */,
     curCity: staticData.defCity,
-    listApp: [],
+    listApp: [] as GasstationVO[],
     indexedListShow: false,
   },
   hiddenDoor: [],
@@ -313,6 +323,9 @@ const methods = ay.initMethods(
     stickChange(e: any) {
       data.station.stickyed = e.stickyed
     },
+    goActivity() {
+      ay.goPage(config.pages.activity_2025start, { params: data.activity2025 })
+    },
     phone(num) {
       uni.makePhoneCall({
         phoneNumber: num,
@@ -859,4 +872,9 @@ $bgc: rgba($p-color, 0.4);
   width: 50rpx;
   height: 50rpx;
 }
+.banner {
+  width: 100%;
+  height: 246rpx;
+  border-radius: $p-spacd2;
+}
 </style>

+ 7 - 1
src/types/schemas/strategy.d.ts

@@ -4664,7 +4664,7 @@ interface 大象线上订单数据表实体类 {
   updateDate?: string
 }
 interface 待支付订单_可选支付方式个人支付实体类 {
-  /** 结算价 */
+  /** 结算价(元/公斤) */
   actualPrice?: number
   /** 订单总金额 */
   allAmount?: number
@@ -4674,10 +4674,14 @@ interface 待支付订单_可选支付方式个人支付实体类 {
   buttonEnable?: boolean
   /** 按钮提示文字 */
   buttonMsg?: string
+  /** 选择无优惠的按钮提示文字 */
+  buttonMsgNoRebate?: string
   /** 总优惠额 */
   carrierRebate?: number
   /** 支付方式(0:所属物流/大象余额 1:所属物流/微信 2:所属物流/大象余额+微信 3:个人支付/微信 11:组合支付 ) */
   payType?: number
+  /** 平台价(元/公斤) */
+  platformPrice?: number
   /** 优惠明细 */
   rebateDetail?: 待支付订单_可选支付方式优惠明细实体类[]
   /** 微信支付金额 */
@@ -5576,6 +5580,8 @@ interface 订单详情 {
   carrierRebateHand?: number
   /** 收银员id(user.user.user_id) */
   cashierId?: string
+  /** 收银员联系方式 */
+  cashierMobile?: string
   /** 收银员名称(user.user.user_name) */
   cashierName?: string
   /** 创建日期时间 */

+ 2 - 2
src/utils/config/interFaces/allinpay.ts

@@ -341,11 +341,11 @@ export default {
 
     resType: {} as ResponseEntity,
   },
-  /** 微信充值通联单边账处理 */
+  /**  B2B充值回调 */
   recharge: {
     realUrl: '/allinpay/pay/callback/recharge',
 
-    resType: {} as boolean,
+
   },
   /** 分账退款申请回调 */
   splitRefund_1: {

+ 12 - 12
src/utils/config/interFaces/index.ts

@@ -1,30 +1,30 @@
+import account from './account'
+import pay from './pay'
 import websocket from './websocket'
+import tms from './tms'
 import message from './message'
 import allinpay from './allinpay'
-import account from './account'
-import tms from './tms'
-import settle from './settle'
-import pay from './pay'
 import user from './user'
+import settle from './settle'
 import strategy from './strategy'
 
 export default {
+  /** 账户中心 */
+  account,
+  /** 支付中心 */
+  pay,
   /** websocket打印中心 */
   websocket,
+  /** 运力中心 */
+  tms,
   /** 消息中心 */
   message,
   /** 通联支付 */
   allinpay,
-  /** 账户中心 */
-  account,
-  /** 运力中心 */
-  tms,
-  /** 结算中心 */
-  settle,
-  /** 支付中心 */
-  pay,
   /** 用户中心 */
   user,
+  /** 结算中心 */
+  settle,
   /** 运营策略中心 */
   strategy,
 }

+ 10 - 9
src/utils/config/interFaces/pay.ts

@@ -1,49 +1,49 @@
 export default {
   /** 按日查询毛利估算(元) */
   profit_day: {
-    realUrl: '/pay/data/profit_day' as const,
+    realUrl: '/pay/data/profit_day',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<长城毛利返回的实体类日统计>,
   },
   /** 按月查询毛利估算(元) */
   profit_month: {
-    realUrl: '/pay/data/profit_month' as const,
+    realUrl: '/pay/data/profit_month',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<长城毛利返回的实体类日统计>,
   },
   /** 按日查询优惠金额(元) */
   rebate_amount_day: {
-    realUrl: '/pay/data/rebate_amount_day' as const,
+    realUrl: '/pay/data/rebate_amount_day',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<优惠金额_元_返回的实体类日统计>,
   },
   /** 按月查询优惠金额(元) */
   rebate_amount_month: {
-    realUrl: '/pay/data/rebate_amount_month' as const,
+    realUrl: '/pay/data/rebate_amount_month',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<优惠金额_元_返回的实体类月统计>,
   },
   /** 按日查询优惠平均差价(元/公斤) */
   rebate_price_day: {
-    realUrl: '/pay/data/rebate_price_day' as const,
+    realUrl: '/pay/data/rebate_price_day',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<优惠平均差价返回的实体类月统计日统计>,
   },
   /** 按月查询优惠平均差价(元/公斤) */
   rebate_price_month: {
-    realUrl: '/pay/data/rebate_price_month' as const,
+    realUrl: '/pay/data/rebate_price_month',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<优惠平均差价返回的实体类月统计日统计>,
   },
   /** 按日查询销量优惠分布(公斤) */
   rebate_qty_day: {
-    realUrl: '/pay/data/rebate_qty_day' as const,
+    realUrl: '/pay/data/rebate_qty_day',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<销量优惠分布返回的实体类日统计>,
   },
   /** 按月查询销量优惠分布(公斤) */
   rebate_qty_month: {
-    realUrl: '/pay/data/rebate_qty_month' as const,
+    realUrl: '/pay/data/rebate_qty_month',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as Array<销量优惠分布返回的实体类日统计>,
   },
@@ -87,6 +87,7 @@ export default {
   export: {
     realUrl: '/pay/gas_order/export',
     reqType: {} as ExcelExportParam,
+
   },
   /** 查找gas_order */
   find: {
@@ -258,7 +259,7 @@ export default {
   },
   /** 修改加气订单价格信息 */
   ch_order_createdate: {
-    realUrl: '/pay/handle/ch_order_createdate' as const,
+    realUrl: '/pay/handle/ch_order_createdate',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },

+ 1 - 1
src/utils/config/interFaces/settle.ts

@@ -685,7 +685,7 @@ export default {
   },
   /** 获取某个时间段驾驶员加气排名 */
   driver_rank: {
-    realUrl: '/settle/statistics/driver_rank' as const,
+    realUrl: '/settle/statistics/driver_rank',
 
     resType: {} as DriverRankVO,
   },

+ 65 - 64
src/utils/config/interFaces/strategy.ts

@@ -448,7 +448,7 @@ export default {
   },
   /** 物流管理端资金管理-专享优惠,物流id必传 */
   get_carrier_rebates: {
-    realUrl: '/strategy/flag/price/get_carrier_rebates' as const,
+    realUrl: '/strategy/flag/price/get_carrier_rebates',
     reqType: {} as IPageParams<CarrierRebatesQryParam>,
     resType: {} as 物流管理端专享优惠VO实体类,
   },
@@ -544,7 +544,7 @@ export default {
   },
   /** 查询站的历史概况汇总信息(运营销量监控) */
   get_overview_gway: {
-    realUrl: '/strategy/flag_station_info/get_overview_gway' as const,
+    realUrl: '/strategy/flag_station_info/get_overview_gway',
     reqType: {} as 加气站运营管理查询实体类,
     resType: {} as 站当日概况信息实体类,
   },
@@ -1042,7 +1042,7 @@ export default {
   },
   /** 根据创建订单日期重新计算gasOrder价格 */
   recalculate: {
-    realUrl: '/strategy/handle/recalculate' as const,
+    realUrl: '/strategy/handle/recalculate',
     reqType: {} as GasOrder对象,
     resType: {} as GasOrder对象,
   },
@@ -1279,13 +1279,13 @@ export default {
   },
   /** 优惠叠加配置 */
   adjust: {
-    realUrl: '/strategy/man/carrier_config/adjust' as const,
+    realUrl: '/strategy/man/carrier_config/adjust',
     reqType: {} as CarrierRebateVO,
     resType: {} as any,
   },
   /** 物流优惠参与配置查询 */
   list_30: {
-    realUrl: '/strategy/man/carrier_config/list' as const,
+    realUrl: '/strategy/man/carrier_config/list',
     reqType: {} as IPageParams<CarrierRebateVO>,
     resType: {} as CarrierRebateVO,
   },
@@ -1297,7 +1297,7 @@ export default {
   },
   /** 调价物流线上特价 */
   adjust_1: {
-    realUrl: '/strategy/man/carrier_rebate/adjust' as const,
+    realUrl: '/strategy/man/carrier_rebate/adjust',
     reqType: {} as MManPriceCarrierRebateAdjust对象,
     resType: {} as any,
   },
@@ -1333,7 +1333,7 @@ export default {
   },
   /** 获取物流线上特价列表 */
   list_31: {
-    realUrl: '/strategy/man/carrier_rebate/list' as const,
+    realUrl: '/strategy/man/carrier_rebate/list',
     reqType: {} as IPageParams<ManPriceCarrierRebate对象>,
     resType: {} as ManPriceCarrierRebateVO对象,
   },
@@ -1363,7 +1363,7 @@ export default {
   },
   /** 获取加气站清分列表 */
   list_32: {
-    realUrl: '/strategy/man/profit/list' as const,
+    realUrl: '/strategy/man/profit/list',
     reqType: {} as IPageParams<GasstationDateParam>,
     resType: {} as 站收益结算规则信息表实体VO类,
   },
@@ -1375,13 +1375,13 @@ export default {
   },
   /** 调价加气订单满减 */
   adjust_2: {
-    realUrl: '/strategy/man/reduce_rebate/adjust' as const,
+    realUrl: '/strategy/man/reduce_rebate/adjust',
     reqType: {} as ManPriceReduceRebateAdjust对象,
     resType: {} as any,
   },
   /** 获取加气订单满减列表 */
   list_33: {
-    realUrl: '/strategy/man/reduce_rebate/list' as const,
+    realUrl: '/strategy/man/reduce_rebate/list',
     reqType: {} as IPageParams<ManPriceReduceRebate对象>,
     resType: {} as ManPriceReduceRebateVO对象,
   },
@@ -1417,7 +1417,7 @@ export default {
   },
   /** 调价中石化零售价 */
   adjust_3: {
-    realUrl: '/strategy/man/snp/adjust' as const,
+    realUrl: '/strategy/man/snp/adjust',
     reqType: {} as ManPriceSnpAdjust对象,
     resType: {} as any,
   },
@@ -1429,7 +1429,7 @@ export default {
   },
   /** 根据时间范围获取中石化零售价 */
   find_date_range: {
-    realUrl: '/strategy/man/snp/find_date_range' as const,
+    realUrl: '/strategy/man/snp/find_date_range',
     reqType: {} as 优惠运营分析查询参数实体类,
     resType: {} as any,
   },
@@ -1441,7 +1441,7 @@ export default {
   },
   /** 获取中石化限价列表 */
   list_34: {
-    realUrl: '/strategy/man/snp/list' as const,
+    realUrl: '/strategy/man/snp/list',
     reqType: {} as IPageParams<manPriceSnp对象>,
     resType: {} as manPriceSnp对象,
   },
@@ -1483,7 +1483,7 @@ export default {
   },
   /** 调价长城奥扬标准价 */
   adjust_4: {
-    realUrl: '/strategy/man/standard/adjust' as const,
+    realUrl: '/strategy/man/standard/adjust',
     reqType: {} as manPriceStandard对象,
     resType: {} as any,
   },
@@ -1513,7 +1513,7 @@ export default {
   },
   /** 获取长城奥扬标准价列表 */
   list_35: {
-    realUrl: '/strategy/man/standard/list' as const,
+    realUrl: '/strategy/man/standard/list',
     reqType: {} as IPageParams<manPriceStandard对象>,
     resType: {} as ManPriceStandardVO对象,
   },
@@ -1561,7 +1561,7 @@ export default {
   },
   /** 获取newstation列表 */
   list_36: {
-    realUrl: '/strategy/newstation/list' as const,
+    realUrl: '/strategy/newstation/list',
     reqType: {} as IPageParams<Newstation对象>,
     resType: {} as any,
   },
@@ -1591,7 +1591,7 @@ export default {
   },
   /** 获取platform_price列表 */
   list_37: {
-    realUrl: '/strategy/platform_price/list' as const,
+    realUrl: '/strategy/platform_price/list',
     reqType: {} as IPageParams<PlatformPrice对象>,
     resType: {} as IPage<PlatformPrice对象>,
   },
@@ -1603,7 +1603,7 @@ export default {
   },
   /** 获取platform_price_log列表 */
   list_38: {
-    realUrl: '/strategy/platform_price_log/list' as const,
+    realUrl: '/strategy/platform_price_log/list',
     reqType: {} as IPageParams<PlatformPriceLog对象>,
     resType: {} as IPage<PlatformPriceLog对象>,
   },
@@ -1639,7 +1639,7 @@ export default {
   },
   /** 获取平台挂牌价列表 */
   list_39: {
-    realUrl: '/strategy/price_config/list' as const,
+    realUrl: '/strategy/price_config/list',
     reqType: {} as IPageParams<PriceConfig对象>,
     resType: {} as any,
   },
@@ -1651,13 +1651,13 @@ export default {
   },
   /** 获取price_config_gway 当前价列表 */
   list_40: {
-    realUrl: '/strategy/price_config_gway/list' as const,
+    realUrl: '/strategy/price_config_gway/list',
     reqType: {} as IPageParams<PriceConfigGway对象>,
     resType: {} as any,
   },
   /** 获取调价记录列表 */
   list_41: {
-    realUrl: '/strategy/price_config_gway_log/list' as const,
+    realUrl: '/strategy/price_config_gway_log/list',
     reqType: {} as IPageParams<组合支付分页查询参数>,
     resType: {} as any,
   },
@@ -1675,7 +1675,7 @@ export default {
   },
   /** 获取调价管理列表 */
   list_42: {
-    realUrl: '/strategy/price_config_gway_plan/list' as const,
+    realUrl: '/strategy/price_config_gway_plan/list',
     reqType: {} as IPageParams<PriceConfigGwayPlan对象>,
     resType: {} as any,
   },
@@ -1699,7 +1699,7 @@ export default {
   },
   /** 获取price_config_log列表 */
   list_43: {
-    realUrl: '/strategy/price_config_log/list' as const,
+    realUrl: '/strategy/price_config_log/list',
     reqType: {} as IPageParams<PriceConfigLog对象>,
     resType: {} as any,
   },
@@ -1741,7 +1741,7 @@ export default {
   },
   /** 获取加气站售卖价列表 */
   list_44: {
-    realUrl: '/strategy/price_config_market/list' as const,
+    realUrl: '/strategy/price_config_market/list',
     reqType: {} as IPageParams<PriceConfigMarket对象>,
     resType: {} as any,
   },
@@ -1777,7 +1777,7 @@ export default {
   },
   /** 获取标准差价列表 */
   list_45: {
-    realUrl: '/strategy/price_config_market_diff/list' as const,
+    realUrl: '/strategy/price_config_market_diff/list',
     reqType: {} as IPageParams<PriceConfigMarketDiff对象>,
     resType: {} as any,
   },
@@ -1807,7 +1807,7 @@ export default {
   },
   /** 获取非标差价列表 */
   list_46: {
-    realUrl: '/strategy/price_config_market_undiff/list' as const,
+    realUrl: '/strategy/price_config_market_undiff/list',
     reqType: {} as IPageParams<PriceConfigMarketDiffUnstd对象>,
     resType: {} as any,
   },
@@ -1843,7 +1843,7 @@ export default {
   },
   /** 获取中石化调价记录列表 */
   list_47: {
-    realUrl: '/strategy/price_config_snp_log/list' as const,
+    realUrl: '/strategy/price_config_snp_log/list',
     reqType: {} as IPageParams<组合支付分页查询参数>,
     resType: {} as any,
   },
@@ -1855,7 +1855,7 @@ export default {
   },
   /** 获取调价管理列表 */
   list_48: {
-    realUrl: '/strategy/price_config_snp_plan/list' as const,
+    realUrl: '/strategy/price_config_snp_plan/list',
     reqType: {} as IPageParams<PriceConfigSnpPlan对象>,
     resType: {} as any,
   },
@@ -1879,7 +1879,7 @@ export default {
   },
   /** 获取profit_quota_log列表 */
   list_49: {
-    realUrl: '/strategy/profit_quota_log/list' as const,
+    realUrl: '/strategy/profit_quota_log/list',
     reqType: {} as IPageParams<ProfitQuotaLogParam>,
     resType: {} as any,
   },
@@ -1999,7 +1999,7 @@ export default {
   },
   /** 获取计划列表(运营端) */
   list_50: {
-    realUrl: '/strategy/purchase/list' as const,
+    realUrl: '/strategy/purchase/list',
     reqType: {} as IPageParams<PurchasePageParam>,
     resType: {} as any,
   },
@@ -2071,7 +2071,7 @@ export default {
   },
   /** 获取计划提报限制详列表 */
   list_51: {
-    realUrl: '/strategy/purchase_limit_config/list' as const,
+    realUrl: '/strategy/purchase_limit_config/list',
     reqType: {} as PurchaseLimitConfig对象,
     resType: {} as any,
   },
@@ -2089,7 +2089,7 @@ export default {
   },
   /** 获取计划提报限制详细配置分页列表 */
   list_52: {
-    realUrl: '/strategy/purchase_limit_config_log/list' as const,
+    realUrl: '/strategy/purchase_limit_config_log/list',
     reqType: {} as IPageParams<PurchaseLimitConfigLog对象>,
     resType: {} as any,
   },
@@ -2107,7 +2107,7 @@ export default {
   },
   /** 获取订单变更记录 */
   list_53: {
-    realUrl: '/strategy/purchase_operate/list' as const,
+    realUrl: '/strategy/purchase_operate/list',
     reqType: {} as IPageParams<PurchaseOperate对象>,
     resType: {} as any,
   },
@@ -2137,7 +2137,7 @@ export default {
   },
   /** 获取返利优惠列表 */
   list_54: {
-    realUrl: '/strategy/rebate_config/list' as const,
+    realUrl: '/strategy/rebate_config/list',
     reqType: {} as IPageParams<RebateConfig对象>,
     resType: {} as any,
   },
@@ -2149,13 +2149,13 @@ export default {
   },
   /** 获取返利优惠变更记录列表 */
   list_55: {
-    realUrl: '/strategy/rebate_log/list' as const,
+    realUrl: '/strategy/rebate_log/list',
     reqType: {} as IPageParams<RebateLog对象>,
     resType: {} as any,
   },
   /** 返利优惠变更记录详细日志 */
   list_56: {
-    realUrl: '/strategy/rebate_log_detail/list' as const,
+    realUrl: '/strategy/rebate_log_detail/list',
     reqType: {} as IPageParams<RebateLogDetail对象>,
     resType: {} as any,
   },
@@ -2166,10 +2166,11 @@ export default {
       /** key */
       key?: string
     },
+
   },
   /** 获取申请变更记录列表 */
   list_57: {
-    realUrl: '/strategy/release_detail/list' as const,
+    realUrl: '/strategy/release_detail/list',
     reqType: {} as IPageParams<ReleaseDetail对象>,
     resType: {} as any,
   },
@@ -2199,7 +2200,7 @@ export default {
   },
   /** 获取发布申请列表 */
   list_58: {
-    realUrl: '/strategy/release_manage/list' as const,
+    realUrl: '/strategy/release_manage/list',
     reqType: {} as IPageParams<ReleaseManage对象>,
     resType: {} as any,
   },
@@ -2217,37 +2218,37 @@ export default {
   },
   /** 新增站信息 */
   add_33: {
-    realUrl: '/strategy/station_map/add' as const,
+    realUrl: '/strategy/station_map/add',
     reqType: {} as StationMap对象,
     resType: {} as boolean,
   },
   /** 删除站信息 */
   delete_6: {
-    realUrl: '/strategy/station_map/delete' as const,
+    realUrl: '/strategy/station_map/delete',
     reqType: {} as StationMap对象,
     resType: {} as boolean,
   },
   /** 获取城市的经纬度范围 */
   get_city_region: {
-    realUrl: '/strategy/station_map/get_city_region' as const,
+    realUrl: '/strategy/station_map/get_city_region',
     reqType: {} as 通用字符串单参数_参数类,
     resType: {} as Array<string>,
   },
   /** 按条件获取站信息列表 */
   list_59: {
-    realUrl: '/strategy/station_map/list' as const,
+    realUrl: '/strategy/station_map/list',
     reqType: {} as StationMap对象,
     resType: {} as Array<StationMap对象>,
   },
   /** 更改站信息 */
   update_25: {
-    realUrl: '/strategy/station_map/update' as const,
+    realUrl: '/strategy/station_map/update',
     reqType: {} as StationMap对象,
     resType: {} as boolean,
   },
   /** 添加库存变动日志 */
   add_34: {
-    realUrl: '/strategy/stock_log/add' as const,
+    realUrl: '/strategy/stock_log/add',
     reqType: {} as StockLog对象,
     resType: {} as any,
   },
@@ -2313,7 +2314,7 @@ export default {
   },
   /** 获取库存变动日志列表 */
   list_60: {
-    realUrl: '/strategy/stock_log/list' as const,
+    realUrl: '/strategy/stock_log/list',
     reqType: {} as IPageParams<StockLog对象>,
     resType: {} as any,
   },
@@ -2361,31 +2362,31 @@ export default {
   },
   /** 添加system_config_log */
   add_35: {
-    realUrl: '/strategy/system_config_log/add' as const,
+    realUrl: '/strategy/system_config_log/add',
     reqType: {} as SystemConfigLog对象,
     resType: {} as any,
   },
   /** 获取system_config_log列表 */
   list_61: {
-    realUrl: '/strategy/system_config_log/list' as const,
+    realUrl: '/strategy/system_config_log/list',
     reqType: {} as IPageParams<SystemConfigLog对象>,
     resType: {} as any,
   },
   /** 修改system_config_log */
   update_26: {
-    realUrl: '/strategy/system_config_log/update' as const,
+    realUrl: '/strategy/system_config_log/update',
     reqType: {} as SystemConfigLog对象,
     resType: {} as any,
   },
   /** 添加tag */
   add_36: {
-    realUrl: '/strategy/tag/add' as const,
+    realUrl: '/strategy/tag/add',
     reqType: {} as Tag对象,
     resType: {} as any,
   },
   /** 删除tag */
   delete_7: {
-    realUrl: '/strategy/tag/delete' as const,
+    realUrl: '/strategy/tag/delete',
     reqType: {} as Tag对象,
     resType: {} as boolean,
   },
@@ -2397,13 +2398,13 @@ export default {
   },
   /** 获取tag列表 */
   list_62: {
-    realUrl: '/strategy/tag/list' as const,
+    realUrl: '/strategy/tag/list',
     reqType: {} as Tag对象,
     resType: {} as any,
   },
   /** 修改tag */
   update_27: {
-    realUrl: '/strategy/tag/update' as const,
+    realUrl: '/strategy/tag/update',
     reqType: {} as Tag对象,
     resType: {} as any,
   },
@@ -2469,7 +2470,7 @@ export default {
   },
   /** pushStationStatus */
   push_station_status: {
-    realUrl: '/strategy/third_party/push_station_status' as const,
+    realUrl: '/strategy/third_party/push_station_status',
     reqType: {} as 三方对接_关停或者重启站推送_参数实体类,
     resType: {} as any,
   },
@@ -2499,7 +2500,7 @@ export default {
   },
   /** 新增卡车 */
   add_37: {
-    realUrl: '/strategy/truck/add' as const,
+    realUrl: '/strategy/truck/add',
     reqType: {} as Truck对象,
     resType: {} as any,
   },
@@ -2772,7 +2773,7 @@ export default {
   },
   /** 卡车列表 */
   list_63: {
-    realUrl: '/strategy/truck/list' as const,
+    realUrl: '/strategy/truck/list',
     reqType: {} as IPageParams<Truck对象>,
     resType: {} as AnyObject,
   },
@@ -2886,7 +2887,7 @@ export default {
   },
   /** 添加truck_com_contract */
   add_38: {
-    realUrl: '/strategy/truck_com_contract/add' as const,
+    realUrl: '/strategy/truck_com_contract/add',
     reqType: {} as TruckComContract对象,
     resType: {} as any,
   },
@@ -2898,19 +2899,19 @@ export default {
   },
   /** 获取truck_com_contract列表 */
   list_64: {
-    realUrl: '/strategy/truck_com_contract/list' as const,
+    realUrl: '/strategy/truck_com_contract/list',
     reqType: {} as IPageParams<TruckComContract对象>,
     resType: {} as any,
   },
   /** 修改truck_com_contract */
   update_28: {
-    realUrl: '/strategy/truck_com_contract/update' as const,
+    realUrl: '/strategy/truck_com_contract/update',
     reqType: {} as TruckComContract对象,
     resType: {} as any,
   },
   /** 新增卡车-司机分配 */
   add_39: {
-    realUrl: '/strategy/truck_driver/add' as const,
+    realUrl: '/strategy/truck_driver/add',
     reqType: {} as TruckDriver对象,
     resType: {} as any,
   },
@@ -2964,7 +2965,7 @@ export default {
   },
   /** 添加truck_driver_log */
   add_40: {
-    realUrl: '/strategy/truck_driver_log/add' as const,
+    realUrl: '/strategy/truck_driver_log/add',
     reqType: {} as TruckDriverLog对象,
     resType: {} as any,
   },
@@ -2994,25 +2995,25 @@ export default {
   },
   /** 获取truck_driver_log列表 */
   list_65: {
-    realUrl: '/strategy/truck_driver_log/list' as const,
+    realUrl: '/strategy/truck_driver_log/list',
     reqType: {} as IPageParams<TruckDriverLog对象>,
     resType: {} as any,
   },
   /** 修改truck_driver_log */
   update_29: {
-    realUrl: '/strategy/truck_driver_log/update' as const,
+    realUrl: '/strategy/truck_driver_log/update',
     reqType: {} as TruckDriverLog对象,
     resType: {} as any,
   },
   /** add 卡车变更日志 */
   add_41: {
-    realUrl: '/strategy/truck_log/add' as const,
+    realUrl: '/strategy/truck_log/add',
     reqType: {} as TruckLog对象,
     resType: {} as any,
   },
   /** 获取truck_log列表 */
   list_66: {
-    realUrl: '/strategy/truck_log/list' as const,
+    realUrl: '/strategy/truck_log/list',
     reqType: {} as IPageParams<TruckLog对象>,
     resType: {} as any,
   },

+ 7 - 0
src/utils/config/pages.ts

@@ -155,5 +155,12 @@ export default {
     title: 'order_indexcopy',
     identity: true,
     isPager: false
+  } as ayPage,
+  activity_2025start: {
+    _url: '/pages/activity/2025start',
+    _type: 'page',
+    title: '',
+    identity: false,
+    isPager: false
   } as ayPage
 }