Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
sensorConsult
Commits
473529cb
Commit
473529cb
authored
Jun 15, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页路由
parent
a8face2f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
318 additions
and
45 deletions
+318
-45
common.js
src/api/common.js
+10
-0
z_dianhua.svg
src/assets/icons/svg/z_dianhua.svg
+8
-0
z_erweima.svg
src/assets/icons/svg/z_erweima.svg
+23
-0
z_fanhuidingbu.svg
src/assets/icons/svg/z_fanhuidingbu.svg
+8
-0
z_msg.svg
src/assets/icons/svg/z_msg.svg
+8
-0
index.js
src/router/index.js
+1
-1
routers.js
src/router/routers.js
+8
-0
index.vue
src/views/backstage/guidanceMgt/guidanceTabulate/index.vue
+14
-9
view.vue
src/views/backstage/guidanceMgt/guidanceTabulate/view.vue
+44
-35
floatBtn.vue
src/views/homepage/floatBtn.vue
+148
-0
index.vue
src/views/homepage/index.vue
+46
-0
No files found.
src/api/common.js
View file @
473529cb
...
...
@@ -184,6 +184,16 @@ export const HttpReq = {
method
:
'
get
'
})
},
// 批量处理咨询
batchInformationProcessing
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/information/batchInformationProcessing
'
,
method
:
'
put
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
xxx
:
null
}
}
...
...
src/assets/icons/svg/z_dianhua.svg
0 → 100644
View file @
473529cb
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1686796258065"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"9403"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"48"
height=
"48"
>
<path
d=
"M871.673333 770.813333a53.393333 53.393333 0 0 1 0 75.42l-37.713333 37.713334c-27.866667 27.866667-64.52 44.84-108.946667 50.46a264.333333 264.333333 0 0 1-33.213333 2.04c-32.333333 0-67.22-5.46-104.146667-16.32C487.42 890.666667 382 824.226667 290.9 733.1S133.333333 536.586667 103.873333 436.346667c-14.666667-49.94-19.493333-96.153333-14.28-137.333334 5.62-44.426667 22.593333-81.08 50.46-108.946666l37.713334-37.713334a53.393333 53.393333 0 0 1 75.42 0l165.94 165.933334a53.4 53.4 0 0 1 0 75.426666l-37.713334 37.686667c-21.333333 21.333333-0.1 90.413333 60.34 150.846667s129.486667 81.7 150.846667 60.34l37.713333-37.713334a53.4 53.4 0 0 1 75.426667 0zM597.333333 384a42.713333 42.713333 0 0 1 42.666667 42.666667 21.333333 21.333333 0 0 0 42.666667 0 85.426667 85.426667 0 0 0-85.333334-85.333334 21.333333 21.333333 0 0 0 0 42.666667z m314.5-90.2A341.073333 341.073333 0 0 0 597.333333 85.333333a21.333333 21.333333 0 0 0 0 42.666667c164.666667 0 298.666667 134 298.666667 298.666667a21.333333 21.333333 0 0 0 42.666667 0 339.153333 339.153333 0 0 0-26.833334-132.866667zM597.333333 256c94.106667 0 170.666667 76.56 170.666667 170.666667a21.333333 21.333333 0 0 0 42.666667 0 213.333333 213.333333 0 0 0-213.333334-213.333334 21.333333 21.333333 0 0 0 0 42.666667z"
p-id=
"9404"
></path>
</svg>
src/assets/icons/svg/z_erweima.svg
0 → 100644
View file @
473529cb
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1686796156470"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"8225"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"48"
height=
"48"
>
<path
d=
"M742.8 121.5c-2.3 0.3-4.7 0.1-7 0.1-38 0-76-0.1-114 0.1-11 0-21.9 1.4-32.4 5.1-18.6 6.5-29.8 19.5-34.4 38.4-1.7 7-2.4 14.1-2.4 21.3 0 67.2-0.1 134.3 0.1 201.5 0 13.8 0.9 27.6 6.2 40.8 6.9 17.1 19.7 27.2 37.3 31.7 6.3 1.6 12.8 2.2 19.3 2.2h218c8.3 0 16.6-0.7 24.8-2.3 24.4-4.5 40.4-20.7 44.9-45 0.4-2.2-0.4-5.2 2.9-6.2v-232c-0.4-0.4-0.5-0.9-0.5-1.5-1.5-4.8-1.7-9.8-3.3-14.7-7.1-21-21.7-33.4-42.8-38.8-6.4-1.6-12.8-2.4-19.5-2.1-1.3 0.1-3 1-3.9-0.9h-89c-0.4 2.6-2.7 2.1-4.3 2.3z m98.7 40.7c4 0 8.1 0.9 11.9 2.1 6.9 2.2 10.7 7.6 10.7 15.1 0 74.8 0.1 149.6-0.1 224.4 0 11.2-8.6 18-21.1 18.1-38.2 0.3-76.3 0.1-114.5 0.1h-113c-4.5 0-8.6-1.3-12.7-2.7-8.5-3.1-9.6-10.5-9.7-17.9-0.2-37.5-0.1-75-0.1-112.5V183.4c0-6.5 1.5-12.5 6.9-17 4.6-3.8 10.3-4.3 15.6-4.3 75.4-0.1 150.8 0 226.1 0.1z"
p-id=
"8226"
></path>
<path
d=
"M742 120c-39.5 0.1-79 0.1-118.4 0.1-9.4 0-18.6 1-27.7 3.1-11.6 2.7-22.1 7.7-30 16.7-10.6 12.1-14.8 26.9-14.8 42.6-0.2 69.6-0.2 139.3 0 208.9 0 9.1 0.7 18.3 2.8 27.2 2.8 11.7 7.6 22.5 16.7 30.5 11.7 10.3 25.9 15 41.5 15 74.1 0.1 148.3 0.1 222.4 0 9.3 0 18.7-0.5 27.7-3 19-5.4 33.6-15.9 40-35.8 1.7-5.3 1.8-10.9 3.8-16.1-3.2 1-2.5 4-2.9 6.2-4.5 24.4-20.5 40.5-44.9 45-8.2 1.5-16.5 2.3-24.8 2.3h-218c-6.5 0-13-0.6-19.3-2.2-17.5-4.5-30.4-14.6-37.3-31.7-5.3-13.1-6.2-27-6.2-40.8-0.2-67.2-0.1-134.3-0.1-201.5 0-7.2 0.7-14.3 2.4-21.3 4.6-18.9 15.8-31.9 34.4-38.4 10.5-3.7 21.4-5 32.4-5.1 38-0.2 76-0.1 114-0.1 2.3 0 4.7 0.2 7-0.1 1.7-0.2 3.9 0.2 4.2-2.4-1.2 2.1-3.2 0.9-4.9 0.9zM120.6 410.3c2 12.5 5.5 24.4 14.3 34 11.5 12.7 26.5 18 43 18.1 75.1 0.3 150.2 0.3 225.4 0 9.4 0 18.9-1 28.1-3.9 24.5-7.7 39.1-27.3 39.1-53.1 0-74 0-147.9 0.1-221.9 0-6.4-0.8-12.6-2.4-18.8-5.8-22.4-24.5-39.1-47.5-42.3-4.1-0.6-8.2-1.1-12.4-1.1-2 0-4.5 0.6-5.2-2.4h-89c-1.3 2.1-3.3 0.9-4.9 0.9-41.1 0.1-82.2-0.2-123.3 0.2-14.8 0.1-29.2 2.6-42.2 10.7-12.5 7.8-19.8 19.1-23.7 33-0.8 2.7-0.2 5.7-1.9 8.2v233c2.9 0.9 2.2 3.5 2.5 5.4z m39.5-231c0-8.1 6.2-14.6 14.5-16.3 4.4-0.9 8.8-1 13.2-1h219c4.3 0 8.4 0.8 12.4 2 7.5 2.4 10.8 6.9 10.8 14.6v225.5c0 8.2-3.8 13.3-11.6 15.9-4 1.3-8.1 2.1-12.4 2-37.2-0.1-74.3-0.1-111.5-0.1-37.7 0-75.3 0.1-113-0.1-6.3 0-12.6-0.9-17.3-6.1-2.7-3-4.1-6.3-4.1-10.1-0.1-75.3-0.1-150.8 0-226.3z"
p-id=
"8227"
></path>
<path
d=
"M119 407.5c0.1 8.9 2.6 17.3 6.4 25.1 10.4 21.4 28.9 31 51.6 31.2 74.5 0.6 149 0.2 223.4 0.2 9.3 0 18.6-0.8 27.7-3 27.1-6.7 43.6-26.4 43.8-54.4 0.5-73.8 0.2-147.6 0.2-221.4 0-4.9 0-9.8-0.9-14.7-3-16.2-10.7-29.4-24.2-39-11-7.8-23.5-11-36.9-11.4-2.3-0.1-4.9 1.2-6.9-0.9 0.7 3 3.3 2.4 5.2 2.4 4.2 0 8.3 0.6 12.4 1.1 23 3.2 41.7 19.9 47.5 42.3 1.6 6.2 2.4 12.4 2.4 18.8-0.1 74 0 147.9-0.1 221.9 0 25.7-14.6 45.3-39.1 53.1-9.2 2.9-18.7 3.9-28.1 3.9-75.1 0.2-150.2 0.3-225.4 0-16.5-0.1-31.4-5.4-43-18.1-8.8-9.7-12.3-21.5-14.3-34-0.3-1.9 0.4-4.6-2.6-5.2 1.3 0.1 0.9 1.3 0.9 2.1zM191.8 882.7c2.1-0.3 4.3-0.1 6.5-0.1h206c8.4 0 16.6-1 24.7-3.1 25.5-6.6 41.4-26.9 41.5-53.2 0.1-25.3 0-50.7 0-76v-148c0-32.3-21.4-56.2-53.6-59.7-11.4-1.2-22.9-1.7-34.4-2-34.5-0.7-69 0.5-103.4 1.3-33 0.8-66 0.2-98.9 0.7-11.5 0.2-22.6 2.7-32.7 8.1-13.6 7.2-21.9 18.5-25.7 33.4-0.7 2.8-0.1 6.5-3.7 8v234c2 5.5 2.2 11.4 3.9 17.1 5.9 20.7 19.4 33.3 39.8 38.9 6.5 1.8 13.2 2.3 19.9 2.1 1.4 0 3.3-1.1 4.4 0.9h2c0.2-2.3 2.1-2.2 3.7-2.4z m-11.4-40.6c-12.2 0-20.7-6.6-20.6-20.5 0.4-73.3 0.2-146.6 0.1-220 0-11.8 7-18.1 18.3-18.5 74.6-2.4 149.1-0.5 223.7-0.8 6.4 0 13.4-0.4 19.6 3 5.4 3 8.5 7.2 8.5 13.7-0.1 37.5 0 75 0 112.5 0 37.2-0.2 74.3 0.1 111.5 0.1 12.1-7.8 17.6-18.7 19.3-8.6 1.3-17 0-25.5-0.1-68.5-0.2-137-0.1-205.5-0.1z"
p-id=
"8228"
></path>
<path
d=
"M193.5 884.2c67.8-0.1 135.7-0.1 203.5 0 9.4 0 18.7-0.2 28-2.1 12.5-2.5 23.8-7.8 32.5-17.1 9.7-10.4 14.5-23.4 14.5-37.6 0.2-74.3 0.1-148.7 0.1-223 0-6.3-0.4-12.4-2-18.5-5.3-19.9-17.3-33.7-36.7-41.3-13.3-5.2-27.3-5-41-5.3-23.1-0.5-46.2-0.9-69.3 0.5-19 1.2-38.2 0.3-57.3 1-27.6 0.9-55.3 0.3-83 0.2-6.4 0-12.7 0.6-19 2-18.4 4.2-32.5 13.8-40.6 31.3-2.6 5.7-2.8 12-5.2 17.7 3.7-1.5 3-5.2 3.7-8 3.8-14.9 12.2-26.2 25.7-33.4 10.2-5.4 21.2-7.9 32.7-8.1 33-0.5 65.9 0.1 98.9-0.7 34.5-0.8 68.9-2 103.4-1.3 11.5 0.2 23 0.7 34.4 2 32.2 3.5 53.5 27.4 53.6 59.7v148c0 25.3 0.1 50.7 0 76-0.2 26.4-16 46.6-41.5 53.2-8.1 2.1-16.3 3.1-24.7 3.1h-206c-2.2 0-4.3-0.1-6.5 0.1-1.6 0.2-3.5 0-3.7 2.4 1.5-1.9 3.7-0.8 5.5-0.8z"
p-id=
"8229"
></path>
<path
d=
"M143.6 130.9c13-8 27.4-10.6 42.2-10.7 41.1-0.4 82.2-0.1 123.3-0.2 1.6 0 3.6 1.2 4.9-0.9-1.7 1-3.6 0.5-5.4 0.5-44.8 0.3-89.6-0.8-134.4 0.6-18.9 0.6-34.9 8.1-46.5 23.6-6.3 8.4-9.1 18-9.7 28.3 1.8-2.4 1.2-5.4 1.9-8.2 4-13.9 11.2-25.2 23.7-33zM840 120c6.6-0.3 13.1 0.5 19.5 2.1 21 5.4 35.7 17.8 42.8 38.8 1.6 4.8 1.8 9.9 3.3 14.7v-0.4c0.4-28.1-24.4-53.2-52.7-55.3-5.6-0.4-11.2 0.5-16.8-0.9 0.8 2.1 2.6 1.1 3.9 1zM181.6 884.2c-6.7 0.2-13.4-0.3-19.9-2.1-20.4-5.6-33.9-18.2-39.8-38.9-1.6-5.7-1.8-11.6-3.9-17.1 1.1 5.3 0.8 10.8 2.1 16.1 5.5 22.8 25.5 40.6 48.6 42 5.8 0.4 11.6-0.6 17.3 0.8-1.1-1.9-3-0.9-4.4-0.8z"
p-id=
"8230"
></path>
<path
d=
"M608.4 667.2c-12.3 0.2-20.4 8.3-20.4 20V859c0 12.3 8.5 20.1 20.8 19.9 12.9-0.2 21-6.9 21.1-19.7 0.2-57.4 0.1-114.9 0-172.3 0-12-8.4-19.9-21.5-19.7zM861.4 667.4c-9.9-1.8-23.3 4.9-23.3 18.2-0.2 29.2 0 58.3 0 87.5v87c0 1.6-0.1 3.4 0.4 4.9 3.3 9.4 14.4 16.2 23.5 14 11.4-2.7 17.9-7.2 18-21.4 0.2-55.5 0.1-111 0.1-166.5-0.1-14.4-4.6-21.1-18.7-23.7zM768.7 727.3c-2.6-9.4-13-16.8-22.1-15.1-12.4 2.4-19.4 6.6-19.5 20.9-0.3 41.1-0.1 82.3-0.1 123.4 0 13.8 5.7 20 17.5 22.2 11.1 2.1 24.4-4.5 24.5-19.1v-63.5-64.5c0-1.3 0-2.9-0.3-4.3zM741 544.8c-8.7 1.9-14 10.2-14 19.8V653c0 13.1 4 21 18.1 23.7 10.3 1.9 24-5.2 23.9-18.5-0.1-15.8 0-31.6 0-47.5 0-15.3-0.2-30.6 0-46 0.3-19-14.6-22.8-28-19.9zM622 547.4c-4.9-3.4-10.1-3.3-15.4-3.3-10.5 0-18.5 7.9-18.5 18.3v26c0 9-0.1 18 0 27 0.1 4.6 1.3 8.7 4.9 12.3 5.2 5.2 11.2 6.7 18.2 6.5 9.9-0.3 18.8-8.9 18.8-18.7 0.1-17.7 0.2-35.3-0.1-53 0-6.1-2.4-11.3-7.9-15.1zM878.3 555.9c-2.2-6.2-9.8-11.8-17.9-12-14.3-0.5-23.6 7.9-22.5 22.8 0.5 7 0.1 14 0.1 21v25c0 1.5 0 3 0.4 4.4 3.2 10.3 12.9 15.5 23.9 14 11-1.6 17.4-8.4 17.6-19.7 0.3-15.8 0.1-31.7 0.1-47.5 0-2.9-0.8-5.5-1.7-8zM352 257.8c-1.9-7.3-7.9-12.7-15.4-13.7-1.3-0.2-2.7-0.4-4-0.4-0.6 0-1.5 0.2-1.7-0.8h-28.8c-0.4 0.7-1.1 0.3-1.6 0.3-13.3 0-26.6-0.1-39.9 0.1-4.8 0-9.5 0.9-13.7 3.5-4.1 2.5-6.4 6.2-7.7 10.7-0.2 0.9 0 1.9-0.6 2.6v75.5c1 0.2 0.7 1.1 0.8 1.7 0.7 4.1 1.8 7.9 4.6 11 3.7 4.1 8.6 5.8 13.9 5.9 24.3 0.1 48.7 0.1 73 0 3.1 0 6.1-0.3 9.1-1.3 7.9-2.5 12.7-8.9 12.7-17.2v-71.9c0.1-2-0.2-4-0.7-6zM785.5 250.1c-1.9-7.3-7.9-12.7-15.4-13.7-1.3-0.2-2.7-0.4-4-0.4-0.6 0-1.5 0.2-1.7-0.8h-28.8c-0.4 0.7-1.1 0.3-1.6 0.3-13.3 0-26.6-0.1-39.9 0.1-4.8 0-9.5 0.9-13.7 3.5-4.1 2.5-6.4 6.2-7.7 10.7-0.2 0.9 0 1.9-0.6 2.6v75.5c1 0.2 0.7 1.1 0.8 1.7 0.7 4.1 1.8 7.9 4.6 11 3.7 4.1 8.6 5.8 13.9 5.9 24.3 0.1 48.7 0.1 73 0 3.1 0 6.1-0.3 9.1-1.3 7.9-2.5 12.7-8.9 12.7-17.2v-71.9c0.2-2-0.2-4.1-0.7-6zM351.4 676.6c-1.9-7.3-7.9-12.7-15.4-13.7-1.3-0.2-2.7-0.4-4-0.4-0.6 0-1.5 0.2-1.7-0.8h-28.8c-0.4 0.7-1.1 0.3-1.6 0.3-13.3 0-26.6-0.1-39.9 0.1-4.8 0-9.5 0.9-13.7 3.5-4.1 2.5-6.4 6.2-7.7 10.7-0.2 0.9 0 1.9-0.6 2.6v75.5c1 0.2 0.7 1.1 0.8 1.7 0.7 4.1 1.8 7.9 4.6 11 3.7 4.1 8.6 5.8 13.9 5.9 24.3 0.1 48.7 0.1 73 0 3.1 0 6.1-0.3 9.1-1.3 7.9-2.5 12.7-8.9 12.7-17.2v-71.9c0.1-2-0.2-4-0.7-6z"
p-id=
"8231"
></path>
</svg>
src/assets/icons/svg/z_fanhuidingbu.svg
0 → 100644
View file @
473529cb
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1686796416999"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2537"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"48"
height=
"48"
>
<path
d=
"M511.3 349.1l395.44 392.72a32 32 0 0 0 45.1-45.41L533.7 281.14a32 32 0 0 0-45.25 0.16L76 696.57a32 32 0 1 0 45.41 45.1z"
p-id=
"2538"
></path>
</svg>
src/assets/icons/svg/z_msg.svg
0 → 100644
View file @
473529cb
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1686795547216"
class=
"icon"
viewBox=
"0 0 1037 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"6883"
width=
"48.609375"
height=
"48"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<path
d=
"M873.951719 201.742118h-36.125421v-57.586399c0-52.229524-42.497869-94.727394-94.727393-94.727394H123.844237c-52.229524 0-94.727394 42.497869-94.727393 94.727394V591.711405c0 52.229524 42.497869 94.727394 94.727393 94.727394h37.219116v274.919252c0 11.305237 6.818855 21.494458 17.27592 25.791118 3.437328 1.41734 7.042058 2.109269 10.624467 2.109269 7.298741 0 14.463561-2.86816 19.809275-8.247354l172.848477-174.120735h492.352548c73.835584 0 133.899537-60.063953 133.899536-133.899537V335.641654c0-73.835584-60.063953-133.899537-133.899536-133.899536zM123.844237 630.649185c-21.460978 0-38.92662-17.465642-38.926619-38.926619V144.155719c0-21.460978 17.465642-38.92662 38.926619-38.92662h619.254668c21.460978 0 38.92662 17.465642 38.926619 38.92662v57.586399H294.96289c-73.835584 0-133.899537 60.063953-133.899537 133.899536v295.007531h-37.219116z m828.206245 42.363948c0 43.067037-35.031726 78.098763-78.098763 78.098763H369.992611c-7.432663 0-14.564002 2.968601-19.798115 8.247354L216.864127 893.671713V335.641654c0-43.067037 35.031726-78.098763 78.098763-78.098763h578.988829c43.067037 0 78.098763 35.031726 78.098763 78.098763v337.371479zM489.584829 512.172982c0 30.043137-24.351458 54.394594-54.394594 54.394595s-54.394594-24.351458-54.394594-54.394595 24.351458-54.394594 54.394594-54.394594 54.394594 24.351458 54.394594 54.394594z m167.547404 0c0 30.043137-24.351458 54.394594-54.394595 54.394595s-54.394594-24.351458-54.394594-54.394595 24.351458-54.394594 54.394594-54.394594 54.394594 24.351458 54.394595 54.394594z m167.547403 0c0 30.043137-24.351458 54.394594-54.394594 54.394595s-54.394594-24.351458-54.394595-54.394595 24.351458-54.394594 54.394595-54.394594 54.394594 24.351458 54.394594 54.394594z"
p-id=
"6884"
></path>
</svg>
src/router/index.js
View file @
473529cb
...
...
@@ -9,7 +9,7 @@ import { filterAsyncRouter } from '@/store/modules/permission'
NProgress
.
configure
({
showSpinner
:
false
})
// NProgress Configuration
const
whiteList
=
[
'
/login
'
]
// no redirect whitelist
const
whiteList
=
[
'
/login
'
,
'
/home
'
]
// no redirect whitelist
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
to
.
meta
.
title
)
{
...
...
src/router/routers.js
View file @
473529cb
...
...
@@ -31,6 +31,14 @@ export const constantRouterMap = [
}
]
},
{
path
:
'
/home
'
,
meta
:
{
title
:
'
首页
'
,
noCache
:
true
},
component
:
(
resolve
)
=>
{
return
require
([
'
@/views/homepage/index
'
],
resolve
)
},
hidden
:
true
},
{
path
:
'
/
'
,
component
:
Layout
,
...
...
src/views/backstage/guidanceMgt/guidanceTabulate/index.vue
View file @
473529cb
...
...
@@ -42,7 +42,7 @@
<el-table-column
prop=
"handleTime"
label=
"处理日期"
align=
"center"
width=
"180"
/>
<el-table-column
label=
"操作"
align=
"right"
width=
"140"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
v-if=
"scope.row.status==='2'"
content=
"处理"
><el-button
round
plain
type=
"success"
icon=
"el-icon-finished"
@
click=
"
toView(
scope.row)"
/></el-tooltip>
<el-tooltip
v-if=
"scope.row.status==='2'"
content=
"处理"
><el-button
round
plain
type=
"success"
icon=
"el-icon-finished"
@
click=
"
batchOperate(1,
scope.row)"
/></el-tooltip>
<el-tooltip
content=
"查看"
><el-button
round
plain
icon=
"el-icon-view"
@
click=
"toView(scope.row)"
/></el-tooltip>
</
template
>
</el-table-column>
...
...
@@ -63,7 +63,7 @@ export default {
dicts
:
[
'
consult_status
'
,
'
consult_type
'
,
'
area_province
'
],
data
()
{
return
{
textColors
:
[
'
#ccc
'
,
'
#000
'
,
'
#32cd32
'
,
'
#
ff4949
'
],
textColors
:
[
'
#ccc
'
,
'
#000
'
,
'
#32cd32
'
,
'
#
bba
'
],
loading
:
false
,
page
:
1
,
pageSize
:
20
,
...
...
@@ -101,18 +101,23 @@ export default {
this
.
total
=
res
.
data
.
total
})
},
batchOperate
(
opt
)
{
if
(
!
this
.
multipleSelection
.
length
)
{
batchOperate
(
type
,
row
)
{
if
(
!
row
&&
!
this
.
multipleSelection
.
length
)
{
return
this
.
$message
({
message
:
'
未选取数据
'
,
type
:
'
info
'
})
}
if
(
opt
)
{
console
.
log
(
'
启用
'
,
this
.
multipleSelection
)
}
else
{
console
.
log
(
'
启用
'
,
this
.
multipleSelection
)
}
HttpReq
.
backstageApi
.
batchInformationProcessing
({
ids
:
row
?
[
row
.
productId
]
:
this
.
multipleSelection
.
map
(
item
=>
{
return
item
.
productId
})
}).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
res
.
code
===
200
?
'
success
'
:
'
error
'
,
duration
:
2500
})
this
.
loadData
()
})
},
changeEnabled
(
data
,
val
)
{
this
.
$confirm
(
'
此操作将 "
'
+
this
.
dict
.
label
.
user_status
[
val
]
+
'
"
'
+
data
.
username
+
'
, 是否继续?
'
,
'
提示
'
,
{
...
...
src/views/backstage/guidanceMgt/guidanceTabulate/view.vue
View file @
473529cb
...
...
@@ -3,66 +3,86 @@
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"cancelView"
:visible=
"visible"
:title=
"title"
width=
"860px"
>
<img
v-if=
"stampImgSrc"
:src=
"stampImgSrc"
class=
"stamp-review"
>
<el-form
ref=
"formViewRef"
:model=
"formData"
:status-icon=
"true"
label-width=
"240px"
>
<el-form-item
label=
"咨询类型:"
class=
"form-cell"
prop=
"
supplierLevel
"
>
<el-form-item
label=
"咨询类型:"
class=
"form-cell"
prop=
"
consultType
"
>
<div
class=
"cell-box"
>
<el-select
v-model=
"formData.
t
ype"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-select
v-model=
"formData.
consultT
ype"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-option
v-for=
"item in dict.consult_type"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.status
<8
"
label=
"区域:"
class=
"form-cell"
prop=
"supplierLevel"
>
<el-form-item
v-if=
"formData.consultType==11"
label=
"产品类型:"
class=
"form-cell"
prop=
"productType"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.productType"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.consultType==11"
label=
"产品价格区间(元):"
class=
"form-cell"
style=
"margin: 0"
>
<div
class=
"cell-box"
>
<div
class=
"cell-textarea"
>
{{
formData
.
productMinPrice
}}
~
{{
formData
.
productMaxPrice
}}
</div>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.consultType==11"
label=
"产品名称:"
class=
"form-cell"
prop=
"productName"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.productName"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.consultType==11"
label=
"产品需求说明:"
class=
"form-cell"
prop=
"productName"
>
<div
class=
"cell-box"
>
<div
class=
"cell-textarea"
>
{{
formData
.
consultationContent
}}
</div>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.consultType
<8
"
label=
"区域:"
class=
"form-cell"
prop=
"area"
>
<div
class=
"cell-box"
>
<el-select
v-model=
"formData.area"
disabled
placeholder=
"无"
class=
"cell-select"
>
<el-option
v-for=
"item in dict.area_province"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.
status
<8
"
label=
"咨询产品名称:"
class=
"form-cell"
prop=
"enterprise
Name"
>
<el-form-item
v-if=
"formData.
consultType
<8
"
label=
"咨询产品名称:"
class=
"form-cell"
prop=
"product
Name"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.productName"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.
status
<8
"
label=
"产品ID:"
class=
"form-cell"
prop=
"enterpriseName
"
>
<el-form-item
v-if=
"formData.
consultType
<8
"
label=
"产品ID:"
class=
"form-cell"
prop=
"productId
"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.productId"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.
status>7"
label=
"标题:"
class=
"form-cell"
prop=
"enterpriseNam
e"
>
<el-form-item
v-if=
"formData.
consultType>7 && formData.consultType
<11
"
label=
"标题:"
class=
"form-cell"
prop=
"titl
e"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
productId
"
disabled
class=
"cell-input"
/>
<el-input
v-model=
"formData.
title
"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"咨询内容:"
class=
"form-cell"
prop=
"mainProductsIntroduction
"
>
<el-form-item
v-if=
"formData.consultType
<11
"
label=
"咨询内容:"
class=
"form-cell"
prop=
"consultationContent
"
>
<div
class=
"cell-box"
>
<div
class=
"cell-textarea"
>
{{
formData
.
consultationContent
}}
</div>
</div>
</el-form-item>
<el-form-item
v-if=
"formData.
status
<8
"
label=
"咨询企业名称:"
class=
"form-cell"
prop=
"enterpriseNam
e"
>
<el-form-item
v-if=
"formData.
consultType
<8
"
label=
"咨询企业名称:"
class=
"form-cell"
prop=
"consultEnterpris
e"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
enterpriseNam
e"
disabled
class=
"cell-input"
/>
<el-input
v-model=
"formData.
consultEnterpris
e"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"咨询人:"
class=
"form-cell"
prop=
"
enterpriseName
"
>
<el-form-item
label=
"咨询人:"
class=
"form-cell"
prop=
"
contactPerson
"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
enterpriseC
ontactPerson"
disabled
class=
"cell-input"
/>
<el-input
v-model=
"formData.
c
ontactPerson"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"咨询人电话:"
class=
"form-cell"
prop=
"
enterpriseNam
e"
>
<el-form-item
label=
"咨询人电话:"
class=
"form-cell"
prop=
"
contactPersonPhon
e"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
enterpriseC
ontactPersonPhone"
disabled
class=
"cell-input"
/>
<el-input
v-model=
"formData.
c
ontactPersonPhone"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"电子邮箱:"
class=
"form-cell"
prop=
"
enterpriseName
"
>
<el-form-item
label=
"电子邮箱:"
class=
"form-cell"
prop=
"
contactPersonEmail
"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
enterprise
Email"
disabled
class=
"cell-input"
/>
<el-input
v-model=
"formData.
contactPerson
Email"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"联系地址:"
class=
"form-cell"
prop=
"
enterpriseName
"
>
<el-form-item
label=
"联系地址:"
class=
"form-cell"
prop=
"
contactPersonDetailAddress
"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formData.
enterprise
Address"
disabled
class=
"cell-input"
/>
<el-input
v-model=
"formData.
contactPersonDetail
Address"
disabled
class=
"cell-input"
/>
</div>
</el-form-item>
<el-form-item
label=
"处理状态:"
class=
"form-cell"
prop=
"
supplierLevel
"
>
<el-form-item
label=
"处理状态:"
class=
"form-cell"
prop=
"
consult_status
"
>
<div
class=
"cell-box"
>
<el-select
v-model=
"formData.status"
disabled
class=
"cell-select"
>
<el-option
v-for=
"item in dict.consult_status"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
...
...
@@ -86,19 +106,10 @@ export default {
stampImgSrc
:
''
,
visible
:
false
,
title
:
'
咨询信息详情
'
,
informationId
:
null
,
formData
:
{
area
:
''
,
consultationContent
:
''
,
enterpriseAddress
:
''
,
enterpriseContactPerson
:
''
,
enterpriseContactPersonPhone
:
''
,
enterpriseEmail
:
''
,
enterpriseName
:
''
,
productName
:
''
,
productId
:
''
,
status
:
'
1
'
,
type
:
'
1
'
,
informationId
:
null
status
:
'
1
'
}
}
},
...
...
@@ -112,7 +123,6 @@ export default {
this
.
visible
=
true
},
hideView
()
{
this
.
$refs
.
formViewRef
.
resetFields
()
this
.
visible
=
false
},
cancelView
()
{
...
...
@@ -120,10 +130,8 @@ export default {
this
.
stampImgSrc
=
''
},
submitForm
()
{
HttpReq
.
backstageApi
.
reviewCustomer
({
customerId
:
this
.
customerId
,
reviewComments
:
this
.
formReview
.
reviewComments
,
type
:
1
HttpReq
.
backstageApi
.
batchInformationProcessing
({
ids
:
[
this
.
informationId
]
}).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
...
...
@@ -137,6 +145,7 @@ export default {
})
},
loadData
(
informationId
)
{
this
.
informationId
=
informationId
HttpReq
.
backstageApi
.
queryInformationDetail
({
informationId
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
formData
=
res
.
data
...
...
src/views/homepage/floatBtn.vue
0 → 100644
View file @
473529cb
<
template
>
<div
class=
"fixed-contact"
>
<ul
class=
"fixed-contact-list"
>
<li
class=
"fixed-contact-item"
>
<svg-icon
icon-class=
"z_msg"
class-name=
"icon"
/>
<div
class=
"label"
>
在线客服
</div>
<div
class=
"line-s"
/>
</li>
<li
class=
"fixed-contact-item"
>
<svg-icon
icon-class=
"z_erweima"
class-name=
"icon"
/>
<div
class=
"label"
>
关注微信
</div>
<div
class=
"line-s"
/>
<div
class=
"fixed-contact-popover"
>
<div
class=
"fixed-contact-popover-img"
>
<img
src=
"https://xue-static.uiiiuiii.com/4f5cb006388a55ca5033664ba154db1f-1624264713222.png"
alt=
""
>
</div>
</div>
</li>
<li
class=
"fixed-contact-item"
>
<svg-icon
icon-class=
"z_dianhua"
class-name=
"icon"
/>
<div
class=
"label"
>
电话咨询
</div>
<div
class=
"line-s"
/>
</li>
<li
class=
"fixed-contact-item"
@
click=
"goTop"
>
<svg-icon
icon-class=
"z_fanhuidingbu"
class-name=
"icon"
/>
<div
class=
"label"
style=
"margin-bottom: 10px"
>
返回顶部
</div>
</li>
</ul>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
})
},
methods
:
{
goTop
()
{
this
.
$parent
.
goTop
()
}
}
}
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.fixed-contact
{
position
:
fixed
;
left
:
inherit
;
right
:
4%
;
margin-left
:
0
;
bottom
:
200px
;
width
:
76px
;
z-index
:
99
;
.fixed-contact-list
{
background-color
:
#1482f0
;
border
:
1px
solid
#e4e4e4
;
border-radius
:
4px
;
text-align
:
center
;
padding
:
0
;
margin
:
0
;
.fixed-contact-item
{
padding
:
0
10px
;
cursor
:
pointer
;
position
:
relative
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
&
:hover
{
.icon
{
color
:
wheat
;
}
.fixed-contact-popover
{
display
:
block
;
}
}
.icon
{
color
:
#fff
;
font-size
:
28px
;
margin
:
10px
0
5px
;
}
.label
{
white-space
:
nowrap
;
font-size
:
12px
;
transform
:
scale
(
0
.83
,
0
.83
)
;
color
:
white
;
}
.line-s
{
width
:
100%
;
margin-top
:
10px
;
padding
:
0
10px
;
border-top
:
1px
solid
#e4e4e4
;
}
.fixed-contact-popover
{
display
:
none
;
width
:
150px
;
padding
:
12px
;
background
:
#fff
;
border
:
1px
solid
#e4e4e4
;
box-shadow
:
0
2px
6px
0
rgba
(
0
,
0
,
0
,
0
.1
);
border-radius
:
4px
;
font-size
:
14px
;
text-align
:
center
;
line-height
:
12px
;
left
:
-160px
;
position
:
absolute
;
top
:
0
;
margin-top
:
-53px
;
z-index
:
10000
;
transition
:
.5s
ease-in
;
cursor
:
default
;
&
:
:
before
{
content
:
""
;
position
:
absolute
;
right
:
-14px
;
width
:
14px
;
height
:
100%
;
}
&
:
:
after
{
content
:
""
;
position
:
absolute
;
right
:
-16px
;
top
:
50%
;
width
:
0
;
height
:
0
;
border-width
:
8px
;
border-color
:
transparent
transparent
transparent
#fff
;
border-style
:
solid
;
margin-top
:
-20px
;
}
.fixed-contact-popover-img
{
width
:
100%
;
&
>
img
{
width
:
100%
;
}
}
}
}
}
.fixed-contact-list
+
.fixed-contact-list
{
margin-top
:
10px
;
}
}
</
style
>
src/views/homepage/index.vue
0 → 100644
View file @
473529cb
<
template
>
<div>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<div
class=
"xxx"
>
首页内容
</div>
<hr>
<float-btn
ref=
"floatBtn"
/>
</div>
</
template
>
<
script
>
import
floatBtn
from
'
./floatBtn
'
export
default
{
components
:
{
floatBtn
},
data
()
{
return
{
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
})
},
methods
:
{
goTop
()
{
document
.
body
.
scrollTop
=
0
document
.
documentElement
.
scrollTop
=
0
}
}
}
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.xxx
{
height
:
300px
;
}
</
style
>
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