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
Expand all
Show 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 = {
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
}
}
...
...
src/views/homepage/console/index.vue
View file @
5c338c14
...
...
@@ -23,7 +23,7 @@
<div
class=
"user-info-content"
>
<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
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=
"user-info-btn touch"
@
click=
"$router.push(
{ path: '/console/userInfo' })">信息修改
</div>
<div
class=
"user-info-btn touch"
@
click=
"$refs.pass.dialog = true"
>
密码修改
</div>
...
...
@@ -60,9 +60,11 @@ import { mapGetters } from 'vuex'
import
myUpload
from
'
vue-image-crop-upload
'
import
updatePass
from
'
../../system/user/center/updatePass
'
import
{
getToken
}
from
'
@/utils/auth
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
homeFooter
,
inquiryView
,
userMenus
,
myUpload
,
updatePass
},
dicts
:
[
'
custom_status
'
],
data
()
{
return
{
Avatar
:
Avatar
,
...
...
@@ -75,9 +77,9 @@ export default {
pageSize
:
16
,
total
:
0
,
userObj
:
{
userName
:
'
546586856
'
,
enterpriseName
:
'
企业名称:佛山英沃传感科技有限公司
'
,
status
:
'
审核已通过
'
userName
:
''
,
enterpriseName
:
''
,
s
upplierS
tatus
:
'
审核已通过
'
},
uploadVisible
:
false
,
throttle
:
null
,
// 节流器
...
...
@@ -93,7 +95,9 @@ export default {
},
mounted
()
{
this
.
$nextTick
(()
=>
{
HttpReq
.
webClientApi
.
personalCenterInfo
().
then
((
res
)
=>
{
this
.
userObj
=
res
.
data
})
})
},
methods
:
{
...
...
src/views/homepage/console/userInfo.vue
View file @
5c338c14
...
...
@@ -272,7 +272,16 @@ export default {
submitForm
()
{
this
.
$refs
.
formViewRef
.
validate
((
valid
,
obj
)
=>
{
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
{
this
.
$message
({
message
:
'
表单信息有误,请核对无误后提交!
'
,
...
...
src/views/homepage/information/details.vue
View file @
5c338c14
...
...
@@ -21,7 +21,7 @@
<div
class=
"news-head"
>
<h2>
{{
dataObj
.
title
}}
</h2>
<div
class=
"news-info"
>
<div>
来源:
{{
dataObj
.
msgSrc
}}
</div>
<div>
来源:
{{
dataObj
.
source
}}
</div>
<div>
发布时间:
{{
dataObj
.
date
}}
</div>
</div>
</div>
...
...
@@ -45,6 +45,7 @@ import languageSetting from '../components/languageSettingV2'
import
homeFooter
from
'
../components/homeFooter
'
import
inquiryView
from
'
../components/inquiryView
'
import
floatBtn
from
'
../components/floatBtn
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
components
:
{
titleMenus
,
userLogin
,
languageSetting
,
homeFooter
,
inquiryView
,
floatBtn
},
...
...
@@ -65,10 +66,10 @@ export default {
sort
:
false
},
dataObj
:
{
title
:
'
工业传感器:夯实新基建工业创新基础
'
,
content
:
'
与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首与当前快速发展的互联网一样,传感器的发展为其带来机遇与挑战。未来传感器的先进程度决定了机械制造、汽车、过程控制和制造领域的国际竞争力。美国则在上世纪80年代就成立了国际技术小组(BGT),从国家层面协调政府资源、企业和相关部门在传感器技术、功能材料等全方面开展工作,服务于美国工业制造、智能制造和军工领域。日本在上世纪末就已经将传感器技术列为本世纪十大技术之首
'
,
msgSrc
:
'
xxxx新闻网
'
,
date
:
'
2023-06-12
'
title
:
''
,
content
:
''
,
source
:
'
'
,
date
:
''
},
throttle
:
null
,
// 节流器
throttleTime
:
300
...
...
@@ -76,7 +77,7 @@ export default {
},
mounted
()
{
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
$route
.
params
)
this
.
loadData
(
)
})
},
methods
:
{
...
...
@@ -111,7 +112,11 @@ export default {
this
.
loadData
()
},
loadData
()
{
HttpReq
.
webClientApi
.
findDetailIndustryInformationById
({
id
:
this
.
$route
.
params
.
id
}).
then
((
res
)
=>
{
this
.
dataObj
=
res
.
data
})
},
goTop
()
{
document
.
body
.
scrollTop
=
0
...
...
src/views/homepage/information/index.vue
View file @
5c338c14
This diff is collapsed.
Click to expand it.
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