zhengyiming
1 天以前 23bfd958545ab5548d561ef6db1eafafe03e4e05
apps/taro/src/subpackages/order/order/InnerPage.vue
@@ -6,9 +6,9 @@
    <ProTabPane title="电费订单" pane-key="2">
      <ElectricOrder @goApplyRefund="goApplyRefund" @goRefundDetail="goRefundDetail" />
    </ProTabPane>
    <ProTabPane title="燃气订单" pane-key="3">
    <!-- <ProTabPane title="燃气订单" pane-key="3">
      <GasOrder @goApplyRefund="goApplyRefund" @goRefundDetail="goRefundDetail" />
    </ProTabPane>
    </ProTabPane> -->
  </ProTabs>
</template>
@@ -22,17 +22,17 @@
const orderType = ref('1');
function goApplyRefund(orderNo: string) {
  Taro.navigateTo({
    url: `${RouterPath.orderApplyRefund}?orderNo=${orderNo}`,
function goApplyRefund(id: string) {
  RouteHelper.navigateTo({
    url: `${RouterPath.orderApplyRefund}?id=${id}`,
    // events: {
    //   submitApplyRefund: function () {},
    // },
  });
}
function goRefundDetail(orderNo: string) {
  Taro.navigateTo({
    url: `${RouterPath.orderApplyRefund}?orderNo=${orderNo}`,
  RouteHelper.navigateTo({
    url: `${RouterPath.orderRefundResult}?orderNo=${orderNo}`,
  });
}
</script>