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
19ffd8f4
Commit
19ffd8f4
authored
Aug 09, 2024
by
Inner peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车船情况
parent
a16908a7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
108 additions
and
905 deletions
+108
-905
apiList.js
src/module/api/apiList.js
+2
-0
index_sale.vue
src/module/databoard/index_sale.vue
+0
-832
index_router.js
src/module/index/router/index_router.js
+63
-69
index_sale.html
src/module/market/index_sale.html
+36
-0
index_sale.js
src/module/market/index_sale.js
+7
-4
No files found.
src/module/api/apiList.js
View file @
19ffd8f4
...
...
@@ -168,3 +168,5 @@ export const getShipmentDataByArea = (cur_day) => fetch('/api/query/*/action/get
//车船情况
export
const
getTruckShipConditionData
=
(
department
)
=>
fetch
(
'/api/query/*/action/get_truck_ship_condition_data'
,
{},
'POST'
);
// 失去客户名单
export
const
lostUserList
=
(
cur_day
)
=>
fetch
(
"/api/query/dash_board/action/get_lost_user_list"
,
{
aux
:
{
cur_day
:
cur_day
}},
"POST"
)
src/module/databoard/index_sale.vue
deleted
100644 → 0
View file @
a16908a7
This diff is collapsed.
Click to expand it.
src/module/index/router/index_router.js
View file @
19ffd8f4
import
Vue
from
'vue'
import
Router
from
'vue-router'
import
Index
from
'../../databoard/index.vue'
import
IndexSale
from
'../../
databoard/index_sal
e'
import
IndexSale
from
'../../
market/index-sale.vu
e'
import
ArBar
from
"../../databoard/components/chart/ar-bar.vue"
;
import
ArCompanyBar
from
"../../databoard/components/chart/ar-company-bar.vue"
;
import
ArMonthlyBar
from
"../../databoard/components/chart/ar-monthly-bar.vue"
;
...
...
@@ -14,88 +14,82 @@ import TargetAchievement from "../../databoard/databoard/target-achievement.vue"
import
DepartmentShipment
from
"../../databoard/databoard/department-shipment.vue"
;
import
ElementUI
from
'element-ui'
;
import
'element-ui/lib/theme-chalk/index.css'
;
import
SafeQuality
from
"../../databoard/databoard/safe-quality"
;
Vue
.
use
(
Router
)
Vue
.
use
(
ElementUI
)
export
default
new
Router
({
routes
:
[
{
path
:
'/'
,
redirect
:
'/index'
},
{
path
:
'/index'
,
name
:
'index'
,
component
:
Index
},
{
path
:
'/index_sale'
,
name
:
'index_sale'
,
component
:
IndexSale
},
{
path
:
'/ar_bar'
,
name
:
'arBar'
,
component
:
ArBar
,
children
:
[
routes
:
[
{
path
:
'/ar_bar
'
,
redirect
:
'/ar_bar/company
'
path
:
'/
'
,
redirect
:
'/index
'
},
{
path
:
'/ar_bar/company
'
,
name
:
'arCompanyBar
'
,
component
:
ArCompanyBar
path
:
'/index
'
,
name
:
'index
'
,
component
:
Index
},
{
path
:
'/ar_bar/company/monthly
'
,
name
:
'arCompanyMonthlyBar
'
,
component
:
ArCompanyMonthlyBar
path
:
'/index-sale
'
,
name
:
'index-sale
'
,
component
:
IndexSale
},
{
path
:
'/ar_bar/monthly'
,
name
:
'arMonthlyBar'
,
component
:
ArMonthlyBar
path
:
'/ar_bar'
,
name
:
'arBar'
,
component
:
ArBar
,
children
:
[
{
path
:
'/ar_bar'
,
redirect
:
'/ar_bar/company'
},
{
path
:
'/ar_bar/company'
,
name
:
'arCompanyBar'
,
component
:
ArCompanyBar
},
{
path
:
'/ar_bar/company/monthly'
,
name
:
'arCompanyMonthlyBar'
,
component
:
ArCompanyMonthlyBar
},
{
path
:
'/ar_bar/monthly'
,
name
:
'arMonthlyBar'
,
component
:
ArMonthlyBar
},
{
path
:
'/ar_bar/monthly/company'
,
name
:
'arMonthlyCompanyBar'
,
component
:
ArMonthlyCompanyBar
}
]
},
{
path
:
'/ar_bar/monthly/company'
,
name
:
'arMonthlyCompanyBar'
,
component
:
ArMonthlyCompanyBar
path
:
'/turnover-detail'
,
name
:
'turnoverDetail'
,
component
:
TurnoverDetail
},
{
path
:
'/order-proportion'
,
name
:
'OrderProportion'
,
component
:
OrderProportion
},
{
path
:
'/lost-add-customer'
,
name
:
'lostAddCustomer'
,
component
:
LostAddCustomer
},
{
path
:
'/target-achievement'
,
name
:
'TargetAchievement'
,
component
:
TargetAchievement
},
{
path
:
'/department-shipment'
,
name
:
'DepartmentShipment'
,
component
:
DepartmentShipment
}
]
},
{
path
:
'/turnover-detail'
,
name
:
'turnoverDetail'
,
component
:
TurnoverDetail
},
{
path
:
'/order-proportion'
,
name
:
'OrderProportion'
,
component
:
OrderProportion
},
{
path
:
'/lost-add-customer'
,
name
:
'lostAddCustomer'
,
component
:
LostAddCustomer
},
{
path
:
'/target-achievement'
,
name
:
'TargetAchievement'
,
component
:
TargetAchievement
},
{
path
:
'/department-shipment'
,
name
:
'DepartmentShipment'
,
component
:
DepartmentShipment
},
{
path
:
'/safe-quality'
,
name
:
'safeQuality'
,
component
:
SafeQuality
}
]
]
})
src/module/market/index_sale.html
0 → 100644
View file @
19ffd8f4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
联达供应链控制塔台
</title>
<!-- Google MD图标 -->
<link
href=
"https://cdn.bootcss.com/material-design-icons/3.0.1/iconfont/material-icons.min.css"
rel=
"stylesheet"
>
</head>
<body>
<div
id=
"app"
></div>
</body>
<style>
*
{
margin
:
0
;
padding
:
0
;
}
body
{
min-height
:
900px
;
min-width
:
1440px
;
}
body
,
html
{
margin
:
0
;
padding
:
0
;
width
:
100%
;
height
:
100%
;
overflow-y
:
hidden
;
}
</style>
</html>
src/module/
databoard/login
.js
→
src/module/
market/index_sale
.js
View file @
19ffd8f4
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import
Vue
from
'vue'
import
App
from
'./login.vue'
import
md5
from
'js-md5'
;
Vue
.
prototype
.
$md5
=
md5
;
import
App
from
'./index.vue'
import
router
from
'./router/index_router'
import
'../databoard/assets/index.css'
Vue
.
config
.
productionTip
=
false
/* eslint-disable no-new */
new
Vue
({
el
:
'#app'
,
router
,
template
:
'<App/>'
,
components
:
{
App
}
components
:
{
App
}
})
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