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
d4158234
Commit
d4158234
authored
Sep 26, 2023
by
张恒
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ld_databoard_fix' into ld_databoard_fix
parents
f29ffa65
aafa21a7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
fetch.js
src/module/api/fetch.js
+3
-0
lost-add-customer.vue
src/module/databoard/databoard/lost-add-customer.vue
+1
-0
index.vue
src/module/databoard/index.vue
+1
-2
No files found.
src/module/api/fetch.js
View file @
d4158234
...
...
@@ -44,6 +44,9 @@ export default async (url = '', data = {}, type = 'GET', method = 'fetch') => {
try
{
const
response
=
await
fetch
(
url
,
requestConfig
);
const
responseJson
=
await
response
.
json
();
if
(
response
.
status
===
403
){
parent
.
window
.
location
=
"/"
;
}
return
responseJson
}
catch
(
error
)
{
throw
new
Error
(
error
)
...
...
src/module/databoard/databoard/lost-add-customer.vue
View file @
d4158234
...
...
@@ -20,6 +20,7 @@ import data from "./mockData/lost_add_customer.json";
import
DisplayBoard
from
"../components/container/display-board.vue"
;
import
WinnersList
from
"../components/card/winners-list.vue"
;
import
{
getAllDatas
}
from
"./js/lostAddCustomer"
import
moment
from
'moment'
export
default
{
name
:
"LostAddCustomer"
,
...
...
src/module/databoard/index.vue
View file @
d4158234
...
...
@@ -584,7 +584,7 @@ export default {
return
conver_amont
(
param
)
+
"万元"
;
},
pieDataFormatter
(
param
)
{
return
param
.
name
+
'
\
r
\
n'
+
this
.
pieDataValueFormatter
(
param
.
value
)
+
"万元"
;
return
param
.
name
+
'
\
r
\
n'
+
this
.
pieDataValueFormatter
(
param
.
value
);
},
getLoseAndAdd
()
{
getOrderLoseAddCustomer
(
this
.
today
).
then
(
res
=>
{
...
...
@@ -615,7 +615,6 @@ export default {
},
watch
:{
countDown
(
n
,
o
){
console
.
log
(
n
)
if
(
n
===
1
){
this
.
refreshData
();
}
...
...
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