Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dangan_dataV
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
eaa2b278
authored
2025-03-18 13:17:44 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
369a6c91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/viewsPc/vip/centerPage.vue
vite.config.js
src/viewsPc/vip/centerPage.vue
View file @
eaa2b27
...
...
@@ -128,14 +128,15 @@ const init = () => {
}
function
getdata
()
{
total
=
0
api
.
getDegree
().
then
(
res
=>
{
list
.
value
=
res
.
data
for
(
let
n
in
list
.
value
)
{
total
=
total
+
list
.
value
[
n
]
total
=
total
+
(
list
.
value
[
n
]
||
0
)
}
liquid1
=
setQ1
(
q1
.
value
,
[
list
.
value
[
'非常满意'
]
/
total
,
list
.
value
[
'非常满意'
]
/
total
])
liquid2
=
setQ1
(
q2
.
value
,
[
list
.
value
[
'满意'
]
/
total
,
list
.
value
[
'满意'
]
/
total
])
liquid3
=
setQ1
(
q3
.
value
,
[
list
.
value
[
'基本满意'
]
/
total
,
list
.
value
[
'基本满意'
]
/
total
])
//
liquid3 = setQ1(q3.value, [list.value['基本满意'] / total, list.value['基本满意'] / total])
liquid4
=
setQ1
(
q4
.
value
,
[
list
.
value
[
'不满意'
]
/
total
,
list
.
value
[
'不满意'
]
/
total
])
// liquid5 = setQ1(q5.value, [list.value['非常不满意'] / total, list.value['非常不满意'] / total])
})
...
...
@@ -144,7 +145,7 @@ function getdata() {
function
handleResize
()
{
liquid1
.
resize
()
liquid2
.
resize
()
liquid3
.
resize
()
//
liquid3.resize()
liquid4
.
resize
()
// liquid5.resize()
}
...
...
vite.config.js
View file @
eaa2b27
...
...
@@ -81,7 +81,7 @@ export default defineConfig(({ mode, command }) => {
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-webSite/
,
''
)
},
'/dev-api'
:
{
target
:
'http://192.168.1.
6
7:5511/'
,
target
:
'http://192.168.1.
20
7:5511/'
,
// target: 'https://jijin.wtwuxicenter.com/stage-api',
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api/
,
''
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment