Merge branch 'fix/0801-ch' into msb_test

msb_test
ch 3 years ago
commit 66bec61cc2

@ -38,10 +38,11 @@ export const logistics = (id) => {
method: 'get',
});
};
export const summary = () => {
export const summary = (params) => {
return request({
url: '/mall/trade/admin/tradeOrder/statistics',
method: 'get',
params,
});
};
export const updateFees = (data) => {

@ -52,7 +52,7 @@ const actions = {
if (!res) {
ElMessage.error('查询订单列表失败');
}
res = await api.summary();
res = await api.summary({ userId: data.userId });
if (res) {
commit(
'setSummary',

@ -470,6 +470,7 @@
}
.aside-body {
:deep(.el-tree) {
font-size: 14px;
.flex {
width: 100%;
display: flex;

@ -188,7 +188,8 @@
}
};
const handleClose = () => {
router.push({ name: 'EmployeeManagement' });
store.commit('layout/closeTab', { current: true });
router.replace({ name: 'EmployeeManagement' });
};
const loading2 = ref(false);
const roleVisible = ref(false);

@ -16,6 +16,7 @@
emitPath: false,
children: 'childDepartment',
}"
style="width: 500px"
/>
</el-form-item>
<el-form-item label="选择角色权限" prop="handType">

@ -118,7 +118,8 @@
}
};
const handleClose = () => {
router.push({ name: 'CategoryManagement' });
store.commit('layout/closeTab', { current: true });
router.replace({ name: 'CategoryManagement' });
};
</script>

@ -158,6 +158,9 @@
if (route.query.status) {
state.condition.orderStatus = route.query.status.split(',').map((item) => +item);
} else {
if (route.query.id) {
state.condition.orderStatus = [0];
}
handleSearch();
}
});

@ -294,7 +294,7 @@
}
await store.dispatch('productSkus/save', { id: route.params.id, data });
store.commit('layout/closeTab', { current: true });
router.push({ name: 'ProductManagement' });
router.replace({ name: 'ProductManagement' });
}
state.loading = false;
};

Loading…
Cancel
Save