Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
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
何远江
yishuju-ui
Commits
b8c22e79
Commit
b8c22e79
authored
Mar 22, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉console
parent
0c0ce9db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
9 deletions
+0
-9
AnnualUseChart.vue
src/views/data-screen/components/AnnualUseChart.vue
+0
-1
MaleFemaleRatioChart.vue
src/views/data-screen/components/MaleFemaleRatioChart.vue
+0
-2
tooltip.vue
src/views/data-screen/components/tooltip.vue
+0
-1
index.vue
src/views/data-screen/index.vue
+0
-5
No files found.
src/views/data-screen/components/AnnualUseChart.vue
View file @
b8c22e79
...
@@ -30,7 +30,6 @@ const onClick = (e) => {
...
@@ -30,7 +30,6 @@ const onClick = (e) => {
path
:
'/data-screen'
,
path
:
'/data-screen'
,
query
:
{
tenantId
:
item
.
tenantId
},
query
:
{
tenantId
:
item
.
tenantId
},
});
});
console
.
log
(
url
.
href
);
// 输出为#/test-url
// 打开新窗口
// 打开新窗口
window
.
open
(
url
.
href
);
window
.
open
(
url
.
href
);
}
}
...
...
src/views/data-screen/components/MaleFemaleRatioChart.vue
View file @
b8c22e79
...
@@ -25,7 +25,6 @@ const CubeLeft = echarts.graphic.extendShape({
...
@@ -25,7 +25,6 @@ const CubeLeft = echarts.graphic.extendShape({
buildPath
:
function
(
ctx
,
shape
)
{
buildPath
:
function
(
ctx
,
shape
)
{
// 会canvas的应该都能看得懂,shape是从custom传入的
// 会canvas的应该都能看得懂,shape是从custom传入的
const
xAxisPoint
=
shape
.
xAxisPoint
const
xAxisPoint
=
shape
.
xAxisPoint
console
.
log
(
shape
)
const
c0
=
[
shape
.
x
+
17
,
shape
.
y
]
const
c0
=
[
shape
.
x
+
17
,
shape
.
y
]
const
c1
=
[
shape
.
x
-
30
,
shape
.
y
-
6
]
const
c1
=
[
shape
.
x
-
30
,
shape
.
y
-
6
]
const
c2
=
[
xAxisPoint
[
0
]
-
30
,
xAxisPoint
[
1
]
-
13
]
const
c2
=
[
xAxisPoint
[
0
]
-
30
,
xAxisPoint
[
1
]
-
13
]
...
@@ -71,7 +70,6 @@ const param = {
...
@@ -71,7 +70,6 @@ const param = {
}
}
getFourFollowTypeTotal
(
param
).
then
(
res
=>
{
getFourFollowTypeTotal
(
param
).
then
(
res
=>
{
if
(
res
.
result
)
{
if
(
res
.
result
)
{
console
.
log
(
'res.result'
,
res
.
result
)
salvPro
.
value
=
res
.
result
.
map
(
v
=>
({
name
:
v
.
followType
,
value
:
v
.
tractNum
,
flowStatusTotalList
:
v
.
flowStatusTotalList
}))
salvPro
.
value
=
res
.
result
.
map
(
v
=>
({
name
:
v
.
followType
,
value
:
v
.
tractNum
,
flowStatusTotalList
:
v
.
flowStatusTotalList
}))
}
}
})
})
...
...
src/views/data-screen/components/tooltip.vue
View file @
b8c22e79
...
@@ -17,7 +17,6 @@ const jump = (item) => {
...
@@ -17,7 +17,6 @@ const jump = (item) => {
path
:
'/data-screen'
,
path
:
'/data-screen'
,
query
:
{
tenantId
:
item
.
tenantId
},
query
:
{
tenantId
:
item
.
tenantId
},
});
});
console
.
log
(
url
.
href
);
// 输出为#/test-url
// 打开新窗口
// 打开新窗口
window
.
open
(
url
.
href
);
window
.
open
(
url
.
href
);
}
}
...
...
src/views/data-screen/index.vue
View file @
b8c22e79
...
@@ -125,9 +125,7 @@ const isAdmin = ref(false);
...
@@ -125,9 +125,7 @@ const isAdmin = ref(false);
const
tenant
=
ref
(
'全部'
);
const
tenant
=
ref
(
'全部'
);
const
tenantId
=
ref
();
const
tenantId
=
ref
();
// userStore.tenant.id
// userStore.tenant.id
console
.
log
(
'route.query'
,
userStore
.
userInfo
)
console
.
log
(
'authButtonListGet'
,
authButtonListGet
.
includes
(
'admin_screen'
))
if
(
authButtonListGet
.
includes
(
'admin_screen'
)
&&
!
route
.
query
.
tenantId
)
{
if
(
authButtonListGet
.
includes
(
'admin_screen'
)
&&
!
route
.
query
.
tenantId
)
{
isAdmin
.
value
=
true
isAdmin
.
value
=
true
}
else
{
}
else
{
...
@@ -136,7 +134,6 @@ if (authButtonListGet.includes('admin_screen') && !route.query.tenantId) {
...
@@ -136,7 +134,6 @@ if (authButtonListGet.includes('admin_screen') && !route.query.tenantId) {
if
(
authButtonListGet
.
includes
(
'admin_screen'
)
&&
window
.
location
.
search
)
{
if
(
authButtonListGet
.
includes
(
'admin_screen'
)
&&
window
.
location
.
search
)
{
const
searchParams
=
new
URLSearchParams
(
window
.
location
.
search
)
const
searchParams
=
new
URLSearchParams
(
window
.
location
.
search
)
const
id
=
searchParams
.
get
(
'tenantId'
)
const
id
=
searchParams
.
get
(
'tenantId'
)
console
.
log
(
'tenantId'
,
id
)
tenant
.
value
=
id
tenant
.
value
=
id
tenantId
.
value
=
id
tenantId
.
value
=
id
}
else
if
(
userStore
.
userInfo
?.
tenants
&&
userStore
.
userInfo
?.
tenants
.
length
>
0
){
}
else
if
(
userStore
.
userInfo
?.
tenants
&&
userStore
.
userInfo
?.
tenants
.
length
>
0
){
...
@@ -147,7 +144,6 @@ if (authButtonListGet.includes('admin_screen') && window.location.search) {
...
@@ -147,7 +144,6 @@ if (authButtonListGet.includes('admin_screen') && window.location.search) {
id
=
userStore
.
tenant
.
id
;
id
=
userStore
.
tenant
.
id
;
}
}
tenant
.
value
=
id
tenant
.
value
=
id
console
.
log
(
'tenant.value'
,
tenant
.
value
)
tenantId
.
value
=
id
tenantId
.
value
=
id
}
}
const
router
=
useRouter
();
const
router
=
useRouter
();
...
@@ -157,7 +153,6 @@ const dayActiveName = ref('日');
...
@@ -157,7 +153,6 @@ const dayActiveName = ref('日');
const
Tenantlist
=
ref
([]);
const
Tenantlist
=
ref
([]);
const
numberFormat
=
(
number
)
=>
{
const
numberFormat
=
(
number
)
=>
{
if
(
!
number
||
isNaN
(
Number
(
number
)))
{
if
(
!
number
||
isNaN
(
Number
(
number
)))
{
console
.
log
(
'number'
,
number
)
return
'--'
return
'--'
}
}
const
num
=
Number
(
number
)
const
num
=
Number
(
number
)
...
...
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