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
5c338c14
Commit
5c338c14
authored
Aug 11, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心
parent
09c7fdfb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
57 deletions
+80
-57
common.js
src/api/common.js
+21
-0
index.vue
src/views/homepage/console/index.vue
+9
-5
userInfo.vue
src/views/homepage/console/userInfo.vue
+10
-1
details.vue
src/views/homepage/information/details.vue
+12
-7
index.vue
src/views/homepage/information/index.vue
+28
-44
No files found.
src/api/common.js
View file @
5c338c14
...
@@ -507,6 +507,27 @@ export const HttpReq = {
...
@@ -507,6 +507,27 @@ export const HttpReq = {
method
:
'
get
'
method
:
'
get
'
})
})
},
},
// 行业资讯查询
industryInformation
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/bigScreen/industryInformation?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
// 行业资讯查询-详情
findDetailIndustryInformationById
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/bigScreen/industryInformation/findDetailIndustryInformationById?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
// 个人中心-个人详情
personalCenterInfo
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/bigScreen/personalCenter?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
id
:
null
id
:
null
}
}
}
}
...
...
src/views/homepage/console/index.vue
View file @
5c338c14
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<div
class=
"user-info-content"
>
<div
class=
"user-info-content"
>
<div
class=
"user-info-text"
style=
"padding-top:5px"
>
用户名:
<span>
{{
userObj
.
userName
}}
</span></div>
<div
class=
"user-info-text"
style=
"padding-top:5px"
>
用户名:
<span>
{{
userObj
.
userName
}}
</span></div>
<div
class=
"user-info-text"
>
企业名称:
<span>
{{
userObj
.
enterpriseName
}}
</span></div>
<div
class=
"user-info-text"
>
企业名称:
<span>
{{
userObj
.
enterpriseName
}}
</span></div>
<div
class=
"user-info-text"
>
供应商状态:
<span
style=
"color: #0D8BF7"
>
{{
userObj
.
status
}}
</span></div>
<div
class=
"user-info-text"
>
供应商状态:
<span
style=
"color: #0D8BF7"
>
{{
dict
.
label
.
custom_status
[
userObj
.
supplierStatus
]
}}
</span></div>
<div
class=
"line-btn"
>
<div
class=
"line-btn"
>
<div
class=
"user-info-btn touch"
@
click=
"$router.push(
{ path: '/console/userInfo' })">信息修改
</div>
<div
class=
"user-info-btn touch"
@
click=
"$router.push(
{ path: '/console/userInfo' })">信息修改
</div>
<div
class=
"user-info-btn touch"
@
click=
"$refs.pass.dialog = true"
>
密码修改
</div>
<div
class=
"user-info-btn touch"
@
click=
"$refs.pass.dialog = true"
>
密码修改
</div>
...
@@ -60,9 +60,11 @@ import { mapGetters } from 'vuex'
...
@@ -60,9 +60,11 @@ import { mapGetters } from 'vuex'
import
myUpload
from
'
vue-image-crop-upload
'
import
myUpload
from
'
vue-image-crop-upload
'
import
updatePass
from
'
../../system/user/center/updatePass
'
import
updatePass
from
'
../../system/user/center/updatePass
'
import
{
getToken
}
from
'
@/utils/auth
'
import
{
getToken
}
from
'
@/utils/auth
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
export
default
{
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
homeFooter
,
inquiryView
,
userMenus
,
myUpload
,
updatePass
},
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
homeFooter
,
inquiryView
,
userMenus
,
myUpload
,
updatePass
},
dicts
:
[
'
custom_status
'
],
data
()
{
data
()
{
return
{
return
{
Avatar
:
Avatar
,
Avatar
:
Avatar
,
...
@@ -75,9 +77,9 @@ export default {
...
@@ -75,9 +77,9 @@ export default {
pageSize
:
16
,
pageSize
:
16
,
total
:
0
,
total
:
0
,
userObj
:
{
userObj
:
{
userName
:
'
546586856
'
,
userName
:
''
,
enterpriseName
:
'
企业名称:佛山英沃传感科技有限公司
'
,
enterpriseName
:
''
,
status
:
'
审核已通过
'
s
upplierS
tatus
:
'
审核已通过
'
},
},
uploadVisible
:
false
,
uploadVisible
:
false
,
throttle
:
null
,
// 节流器
throttle
:
null
,
// 节流器
...
@@ -93,7 +95,9 @@ export default {
...
@@ -93,7 +95,9 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
HttpReq
.
webClientApi
.
personalCenterInfo
().
then
((
res
)
=>
{
this
.
userObj
=
res
.
data
})
})
})
},
},
methods
:
{
methods
:
{
...
...
src/views/homepage/console/userInfo.vue
View file @
5c338c14
...
@@ -272,7 +272,16 @@ export default {
...
@@ -272,7 +272,16 @@ export default {
submitForm
()
{
submitForm
()
{
this
.
$refs
.
formViewRef
.
validate
((
valid
,
obj
)
=>
{
this
.
$refs
.
formViewRef
.
validate
((
valid
,
obj
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
HttpReq
.
backstageApi
.
updateCustomerDetail
(
this
.
formData
).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
'
success
'
,
duration
:
2500
})
if
(
res
.
code
===
200
)
{
this
.
cancelView
()
}
})
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
'
表单信息有误,请核对无误后提交!
'
,
message
:
'
表单信息有误,请核对无误后提交!
'
,
...
...
src/views/homepage/information/details.vue
View file @
5c338c14
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<div
class=
"news-head"
>
<div
class=
"news-head"
>
<h2>
{{
dataObj
.
title
}}
</h2>
<h2>
{{
dataObj
.
title
}}
</h2>
<div
class=
"news-info"
>
<div
class=
"news-info"
>
<div>
来源:
{{
dataObj
.
msgSrc
}}
</div>
<div>
来源:
{{
dataObj
.
source
}}
</div>
<div>
发布时间:
{{
dataObj
.
date
}}
</div>
<div>
发布时间:
{{
dataObj
.
date
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -45,6 +45,7 @@ import languageSetting from '../components/languageSettingV2'
...
@@ -45,6 +45,7 @@ import languageSetting from '../components/languageSettingV2'
import
homeFooter
from
'
../components/homeFooter
'
import
homeFooter
from
'
../components/homeFooter
'
import
inquiryView
from
'
../components/inquiryView
'
import
inquiryView
from
'
../components/inquiryView
'
import
floatBtn
from
'
../components/floatBtn
'
import
floatBtn
from
'
../components/floatBtn
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
export
default
{
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
homeFooter
,
inquiryView
,
floatBtn
},
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
homeFooter
,
inquiryView
,
floatBtn
},
...
@@ -65,10 +66,10 @@ export default {
...
@@ -65,10 +66,10 @@ export default {
sort
:
false
sort
:
false
},
},
dataObj
:
{
dataObj
:
{
title
:
'
工业传感器:夯实新基建工业创新基础
'
,
title
:
''
,
content
:
'
与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首
'
,
content
:
''
,
msgSrc
:
'
xxxx新闻网
'
,
source
:
'
'
,
date
:
'
2023-06-12
'
date
:
''
},
},
throttle
:
null
,
// 节流器
throttle
:
null
,
// 节流器
throttleTime
:
300
throttleTime
:
300
...
@@ -76,7 +77,7 @@ export default {
...
@@ -76,7 +77,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
$route
.
params
)
this
.
loadData
(
)
})
})
},
},
methods
:
{
methods
:
{
...
@@ -111,7 +112,11 @@ export default {
...
@@ -111,7 +112,11 @@ export default {
this
.
loadData
()
this
.
loadData
()
},
},
loadData
()
{
loadData
()
{
HttpReq
.
webClientApi
.
findDetailIndustryInformationById
({
id
:
this
.
$route
.
params
.
id
}).
then
((
res
)
=>
{
this
.
dataObj
=
res
.
data
})
},
},
goTop
()
{
goTop
()
{
document
.
body
.
scrollTop
=
0
document
.
body
.
scrollTop
=
0
...
...
src/views/homepage/information/index.vue
View file @
5c338c14
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<el-image
:src=
"item.imgSrc?imgSrcStart+
'/img'+
item.imgSrc:defaultImgProject"
style=
"width:100%;height: 210px;margin: 20px"
/>
<el-image
:src=
"item.imgSrc?imgSrcStart+item.imgSrc:defaultImgProject"
style=
"width:100%;height: 210px;margin: 20px"
/>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
...
@@ -40,8 +40,8 @@
...
@@ -40,8 +40,8 @@
</el-row>
</el-row>
</div>
</div>
<div
v-show=
"page===1"
class=
"touch"
style=
"width: 100%;margin: 40px 0"
>
<div
v-show=
"page===1"
class=
"touch"
style=
"width: 100%;margin: 40px 0"
>
<a
v-if=
"promotionObj.url"
:href=
"promotionObj.url"
target=
"_black"
><el-image
:src=
"promotionObj.imgSrc?imgSrcStart+
'/img'+
promotionObj.imgSrc:defaultImgBanner"
style=
"width:100%;height: 250px"
/></a>
<a
v-if=
"promotionObj.url"
:href=
"promotionObj.url"
target=
"_black"
><el-image
:src=
"promotionObj.imgSrc?imgSrcStart+promotionObj.imgSrc:defaultImgBanner"
style=
"width:100%;height: 250px"
/></a>
<el-image
v-else
:src=
"promotionObj.imgSrc?imgSrcStart+
'/img'+
promotionObj.imgSrc:defaultImgBanner"
style=
"width:100%;height: 250px"
/>
<el-image
v-else
:src=
"promotionObj.imgSrc?imgSrcStart+promotionObj.imgSrc:defaultImgBanner"
style=
"width:100%;height: 250px"
/>
</div>
</div>
<div
v-for=
"(item,index) in informationList"
:key=
"'inf_'+index"
class=
"inline-box"
>
<div
v-for=
"(item,index) in informationList"
:key=
"'inf_'+index"
class=
"inline-box"
>
<div
class=
"box-title touch"
@
click=
"goToDetails(item, '/information/details')"
>
{{
item
.
title
}}
</div>
<div
class=
"box-title touch"
@
click=
"goToDetails(item, '/information/details')"
>
{{
item
.
title
}}
</div>
...
@@ -80,6 +80,7 @@ import breadcrumb from '../components/breadcrumb'
...
@@ -80,6 +80,7 @@ import breadcrumb from '../components/breadcrumb'
import
homeFooter
from
'
../components/homeFooter
'
import
homeFooter
from
'
../components/homeFooter
'
import
inquiryView
from
'
../components/inquiryView
'
import
inquiryView
from
'
../components/inquiryView
'
import
floatBtn
from
'
../components/floatBtn
'
import
floatBtn
from
'
../components/floatBtn
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
export
default
{
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
breadcrumb
,
homeFooter
,
inquiryView
,
floatBtn
},
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
breadcrumb
,
homeFooter
,
inquiryView
,
floatBtn
},
...
@@ -90,8 +91,8 @@ export default {
...
@@ -90,8 +91,8 @@ export default {
defaultImgBanner
:
default_banner
,
defaultImgBanner
:
default_banner
,
imgSrcStart
:
process
.
env
.
VUE_APP_BASE_API
,
imgSrcStart
:
process
.
env
.
VUE_APP_BASE_API
,
page
:
1
,
page
:
1
,
pageSize
:
1
6
,
pageSize
:
1
0
,
total
:
55
,
total
:
0
,
tabIndex
:
'
1
'
,
tabIndex
:
'
1
'
,
query
:
{
query
:
{
keyword
:
''
,
keyword
:
''
,
...
@@ -103,49 +104,15 @@ export default {
...
@@ -103,49 +104,15 @@ export default {
imgSrc
:
''
,
imgSrc
:
''
,
url
:
''
url
:
''
},
},
topList
:
[
topList
:
[],
{
informationList
:
[],
title
:
'
葡萄转色期应该如何管理?
'
,
content
:
'
状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测状态监测已存在多年,如今,随着物耿网(loT) 的发展,它也有了新发展观看此网络研讨会,了解loT如何演化,状态监测
'
,
date
:
'
2023-06-12
'
,
imgSrc
:
''
},
{
title
:
'
葡萄转色期应该如何管理?
'
,
content
:
'
德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军
'
,
date
:
'
2023-06-12
'
,
imgSrc
:
''
}
],
informationList
:
[
{
title
:
'
赤峰市人民政府办公室关于促进全市矿业经济高质量发展的实施意见?
'
,
content
:
'
德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。
'
,
date
:
'
2023-06-12
'
},
{
title
:
'
赤峰市人民政府办公室关于促进全市矿业经济高质量发展的实施意见?
'
,
content
:
'
德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。
'
,
date
:
'
2023-06-12
'
},
{
title
:
'
赤峰市人民政府办公室关于促进全市矿业经济高质量发展的实施意见?
'
,
content
:
'
德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。
'
,
date
:
'
2023-06-12
'
},
{
title
:
'
赤峰市人民政府办公室关于促进全市矿业经济高质量发展的实施意见?
'
,
content
:
'
德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。
'
,
date
:
'
2023-06-12
'
},
{
title
:
'
赤峰市人民政府办公室关于促进全市矿业经济高质量发展的实施意见?
'
,
content
:
'
德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出,传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT,政府资源、企业德国传感和测量技术协会 AMA)在《传感器技术2022--让创新互联》报告直接指出传感器技术是很多机器、设备和车辆竞争力的核心技术,是提升其价值增值的手段。
'
,
date
:
'
2023-06-12
'
}
],
throttle
:
null
,
// 节流器
throttle
:
null
,
// 节流器
throttleTime
:
300
throttleTime
:
300
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
loadData
()
})
})
},
},
methods
:
{
methods
:
{
...
@@ -164,11 +131,11 @@ export default {
...
@@ -164,11 +131,11 @@ export default {
if
(
this
.
tabIndex
!==
index
)
{
if
(
this
.
tabIndex
!==
index
)
{
this
.
tabIndex
=
index
this
.
tabIndex
=
index
this
.
page
=
1
this
.
page
=
1
this
.
loadData
()
}
}
},
},
// 点击询价
// 点击询价
inquiry
(
item
,
type
)
{
inquiry
(
item
,
type
)
{
console
.
log
(
item
,
type
)
this
.
$refs
.
inquiryView
.
initView
(
item
.
id
,
type
)
this
.
$refs
.
inquiryView
.
initView
(
item
.
id
,
type
)
},
},
// 跳转到详情
// 跳转到详情
...
@@ -184,7 +151,24 @@ export default {
...
@@ -184,7 +151,24 @@ export default {
this
.
loadData
()
this
.
loadData
()
},
},
loadData
()
{
loadData
()
{
HttpReq
.
webClientApi
.
industryInformation
({
page
:
this
.
page
-
1
,
pageSize
:
this
.
pageSize
,
type
:
this
.
tabIndex
}).
then
((
res
)
=>
{
this
.
informationList
=
res
.
data
.
information
.
data
this
.
total
=
res
.
data
.
information
.
total
this
.
promotionObj
=
res
.
data
.
advertisement
.
data
[
0
]
||
{
imgSrc
:
''
,
url
:
''
}
if
(
this
.
page
===
1
)
{
this
.
topList
=
[]
if
(
this
.
informationList
[
0
])
{
this
.
topList
.
push
(
this
.
informationList
.
shift
())
}
if
(
this
.
informationList
[
0
])
{
this
.
topList
.
push
(
this
.
informationList
.
shift
())
}
}
})
},
},
goTop
()
{
goTop
()
{
document
.
body
.
scrollTop
=
0
document
.
body
.
scrollTop
=
0
...
...
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