diff --git a/.env.development b/.env.development index 0f38e29..8a24113 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' +# VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' # 测试环境 # VITE_API_BASE='http://54.255.212.181:10704/' # 正式环境 @@ -11,7 +11,7 @@ VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload # zhangyong # VITE_API_BASE='http://192.168.3.83:8081/' # 本地 -# VITE_API_BASE='http://localhost:8081/' +VITE_API_BASE='http://localhost:8081/' # sunjiabei # VITE_API_BASE='http://192.168.1.70:8081/' diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index c54d9de..b488801 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -100,7 +100,6 @@ const startDate = `${currentYear}-01-01 00:00:00`; const endDate = `${currentYear}-12-31 23:59:59`; // 获取接口数据 const fetchCashData = async () => { - getAdminData() try { const res = await request({ url: '/workbench/getTotalRevenue', @@ -227,9 +226,9 @@ const renderChart = () => { chartInstance.setOption(option) } -onMounted(() => { - // getAdminData() - fetchCashData() +onMounted( async() => { + await getAdminData() + await fetchCashData() }) diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue index d59ccd2..ea515b8 100644 --- a/src/views/moneyManage/executor/executor.vue +++ b/src/views/moneyManage/executor/executor.vue @@ -301,6 +301,7 @@ const getRefund = async function () { }) tableData.value = result.data.list || [] + pagination.value.total = result.data.total || 0 } catch (error) { ElMessage.error(error.message || '查询失败') } diff --git a/src/views/moneyManage/receiveDetail/receiveDetail.vue b/src/views/moneyManage/receiveDetail/receiveDetail.vue index 55e5982..23eb880 100644 --- a/src/views/moneyManage/receiveDetail/receiveDetail.vue +++ b/src/views/moneyManage/receiveDetail/receiveDetail.vue @@ -48,7 +48,7 @@
产品名称 - +
付款时间 @@ -184,7 +184,7 @@ + width="180px" show-overflow-tooltip>