Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
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
刘怀志
pet-business-web
Commits
9be7028e
Commit
9be7028e
authored
Sep 26, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
e093a14c
483acc5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
request.js
src/utils/request.js
+1
-1
china-map.vue
src/views/data-statistics/echars-components/china-map.vue
+2
-2
equipment-management.vue
...-management/equipment-management/equipment-management.vue
+1
-1
No files found.
src/utils/request.js
View file @
9be7028e
...
@@ -15,7 +15,7 @@ const service = axios.create({
...
@@ -15,7 +15,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
// 超时
// 超时
timeout
:
1
0000
timeout
:
2
0000
})
})
// request拦截器
// request拦截器
...
...
src/views/data-statistics/echars-components/china-map.vue
View file @
9be7028e
...
@@ -88,9 +88,9 @@ export default {
...
@@ -88,9 +88,9 @@ export default {
const
unit
=
_this
.
unit
const
unit
=
_this
.
unit
let
percent
=
0
let
percent
=
0
if
(
item
.
data
.
value
!==
'0'
)
{
if
(
item
.
data
.
value
!==
'0'
)
{
percent
=
(
item
.
data
.
value
/
_this
.
sum
*
100
).
toFixed
(
1
)
percent
=
(
item
.
data
.
value
/
_this
.
sum
*
100
).
toFixed
(
0
)
}
else
{
}
else
{
percent
=
percent
.
toFixed
(
1
)
percent
=
percent
.
toFixed
(
0
)
}
}
return
`<div>
return
`<div>
${
item
.
data
.
name
}
${
item
.
data
.
name
}
...
...
src/views/equipment-management/equipment-management/equipment-management.vue
View file @
9be7028e
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
<span>
{{
scope
.
row
.
phone
||
"-"
}}
</span>
<span>
{{
scope
.
row
.
phone
||
"-"
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"设备类型"
align=
"left"
prop=
"deviceType"
show-overflow-tooltip
>
<el-table-column
label=
"设备类型"
align=
"left"
prop=
"deviceType"
min-width=
"100"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.deviceType=== null||scope.row.deviceType=== '' "
>
{{
"-"
}}
</span>
<span
v-if=
"scope.row.deviceType=== null||scope.row.deviceType=== '' "
>
{{
"-"
}}
</span>
<span
v-else
>
<span
v-else
>
...
...
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