3
This commit is contained in:
@@ -7,6 +7,7 @@ const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
KPI_ICONS: common_config.KPI_ICONS,
|
||||
KPI_LABELS: common_constants.KPI_LABELS,
|
||||
kpi: { todaySales: "0.00", monthSales: "0.00", monthProfit: "0.00", stockCount: "0" },
|
||||
activeTab: "home",
|
||||
notices: [],
|
||||
@@ -166,6 +167,10 @@ const _sfc_main = {
|
||||
common_vendor.index.navigateTo({ url: common_constants.ROUTES.report });
|
||||
return;
|
||||
}
|
||||
if (item.key === "vip") {
|
||||
common_vendor.index.navigateTo({ url: "/pages/my/vip" });
|
||||
return;
|
||||
}
|
||||
if (item.key === "otherPay") {
|
||||
try {
|
||||
common_vendor.index.setStorageSync("ORDER_DEFAULT_PARAMS", { biz: "expense" });
|
||||
@@ -184,7 +189,7 @@ const _sfc_main = {
|
||||
},
|
||||
goDetail() {
|
||||
try {
|
||||
common_vendor.index.__f__("log", "at pages/index/index.vue:253", "[index] goDetail → /pages/detail/index");
|
||||
common_vendor.index.__f__("log", "at pages/index/index.vue:259", "[index] goDetail → /pages/detail/index");
|
||||
} catch (e) {
|
||||
}
|
||||
common_vendor.index.switchTab({ url: "/pages/detail/index" });
|
||||
@@ -209,29 +214,33 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: common_vendor.t($data.consultLabel),
|
||||
b: common_vendor.o((...args) => $options.onConsultTap && $options.onConsultTap(...args)),
|
||||
c: $data.KPI_ICONS.todaySales,
|
||||
d: common_vendor.t($data.kpi.todaySales),
|
||||
e: $data.KPI_ICONS.monthSales,
|
||||
f: common_vendor.t($data.kpi.monthSales),
|
||||
g: $data.KPI_ICONS.monthProfit,
|
||||
h: common_vendor.t($data.kpi.monthProfit),
|
||||
i: $data.KPI_ICONS.stockCount,
|
||||
j: common_vendor.t($data.kpi.stockCount),
|
||||
k: $data.consultDialogVisible
|
||||
d: common_vendor.t($data.KPI_LABELS.todaySales),
|
||||
e: common_vendor.t($data.kpi.todaySales),
|
||||
f: $data.KPI_ICONS.monthSales,
|
||||
g: common_vendor.t($data.KPI_LABELS.monthSales),
|
||||
h: common_vendor.t($data.kpi.monthSales),
|
||||
i: $data.KPI_ICONS.monthProfit,
|
||||
j: common_vendor.t($data.KPI_LABELS.monthProfit),
|
||||
k: common_vendor.t($data.kpi.monthProfit),
|
||||
l: $data.KPI_ICONS.stockCount,
|
||||
m: common_vendor.t($data.KPI_LABELS.stockCount),
|
||||
n: common_vendor.t($data.kpi.stockCount),
|
||||
o: $data.consultDialogVisible
|
||||
}, $data.consultDialogVisible ? {
|
||||
l: $data.consultMessage,
|
||||
m: common_vendor.o(($event) => $data.consultMessage = $event.detail.value),
|
||||
n: common_vendor.o((...args) => $options.closeConsultDialog && $options.closeConsultDialog(...args)),
|
||||
o: common_vendor.o((...args) => $options.submitConsult && $options.submitConsult(...args)),
|
||||
p: common_vendor.o(() => {
|
||||
p: $data.consultMessage,
|
||||
q: common_vendor.o(($event) => $data.consultMessage = $event.detail.value),
|
||||
r: common_vendor.o((...args) => $options.closeConsultDialog && $options.closeConsultDialog(...args)),
|
||||
s: common_vendor.o((...args) => $options.submitConsult && $options.submitConsult(...args)),
|
||||
t: common_vendor.o(() => {
|
||||
}),
|
||||
q: common_vendor.o(() => {
|
||||
v: common_vendor.o(() => {
|
||||
})
|
||||
} : {}, {
|
||||
r: $data.loadingNotices
|
||||
w: $data.loadingNotices
|
||||
}, $data.loadingNotices ? {} : $data.noticeError ? {
|
||||
t: common_vendor.t($data.noticeError)
|
||||
y: common_vendor.t($data.noticeError)
|
||||
} : !$data.notices.length ? {} : {
|
||||
w: common_vendor.f($data.notices, (n, idx, i0) => {
|
||||
A: common_vendor.f($data.notices, (n, idx, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(n.text),
|
||||
b: n.tag
|
||||
@@ -243,9 +252,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
}, {
|
||||
s: $data.noticeError,
|
||||
v: !$data.notices.length,
|
||||
x: common_vendor.f($data.features, (item, k0, i0) => {
|
||||
x: $data.noticeError,
|
||||
z: !$data.notices.length,
|
||||
B: common_vendor.f($data.features, (item, k0, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.img
|
||||
}, item.img ? {
|
||||
|
||||
Reference in New Issue
Block a user