Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘自豪 Rambo Pan
shld-databoard-ui
Commits
ead026da
Commit
ead026da
authored
Sep 21, 2023
by
王礼鸿 Baimax Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时提交
parent
907e5cf0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
apiList.js
src/module/api/apiList.js
+3
-0
api.js
src/module/databoard/databoard/js/api.js
+12
-0
index.vue
src/module/databoard/index.vue
+2
-0
No files found.
src/module/api/apiList.js
View file @
ead026da
...
@@ -62,3 +62,6 @@ export const arMonthlyBar = () => fetch("/api/query/dash_board/action/get_ar_mon
...
@@ -62,3 +62,6 @@ export const arMonthlyBar = () => fetch("/api/query/dash_board/action/get_ar_mon
export
const
arCompanyMonthlyBar
=
(
company
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_company_monthly_bar"
,
{
aux
:
{
company
:
company
}},
"POST"
)
export
const
arCompanyMonthlyBar
=
(
company
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_company_monthly_bar"
,
{
aux
:
{
company
:
company
}},
"POST"
)
// 开票月份 应收账款(结算单位)
// 开票月份 应收账款(结算单位)
export
const
arMonthlyCompanyBar
=
(
month
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_monthly_company_bar"
,
{
aux
:
{
month
:
month
}},
"POST"
)
export
const
arMonthlyCompanyBar
=
(
month
)
=>
fetch
(
"/api/query/dash_board/action/get_ar_monthly_company_bar"
,
{
aux
:
{
month
:
month
}},
"POST"
)
// export const transportTypeFinishPie = () => fetch("/api/query/dash_board/action/get_order_finish_data_by_transport_type_day", {}, "POST")
src/module/databoard/databoard/js/api.js
0 → 100644
View file @
ead026da
// import {transportTypeFinishPie} from '../../../api/apiList';
//
// export const getTransportTypeFinishPie = (month) => {
// var data = transportTypeFinishPie();
// var res = {};
// console.log(data);
// console.log("data");
// }
//
// export const refreshData = () => {
// getTransportTypeFinishPie();
// }
src/module/databoard/index.vue
View file @
ead026da
...
@@ -152,6 +152,7 @@ import TableColumn from "./components/table/table-column.vue";
...
@@ -152,6 +152,7 @@ import TableColumn from "./components/table/table-column.vue";
import
RingPieChart
from
"./components/chart/ring-pie-chart.vue"
;
import
RingPieChart
from
"./components/chart/ring-pie-chart.vue"
;
import
{
calc_hb_str
,
calc_tb_str
,
conver_amont
}
from
"../util/util"
;
import
{
calc_hb_str
,
calc_tb_str
,
conver_amont
}
from
"../util/util"
;
import
{
arSummaryBar
,
arCompanyList
,
getBusinessConditionDatas
}
from
"../api/apiList"
import
{
arSummaryBar
,
arCompanyList
,
getBusinessConditionDatas
}
from
"../api/apiList"
// import {refreshData} from "./databoard/js/api";
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -484,6 +485,7 @@ export default {
...
@@ -484,6 +485,7 @@ export default {
},
500
)
},
500
)
this
.
getArSummaryBar
();
this
.
getArSummaryBar
();
this
.
getArCompanyList
();
this
.
getArCompanyList
();
// refreshData();
},
},
beforeDestroy
()
{
beforeDestroy
()
{
window
.
removeEventListener
(
"resize"
,
this
.
resizeChart
);
window
.
removeEventListener
(
"resize"
,
this
.
resizeChart
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment