Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
a5d35ee6
Commit
a5d35ee6
authored
Jun 05, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行业报告开发
parent
a8b84647
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
253 additions
and
101 deletions
+253
-101
industryen.png
src/assets/img/industryen.png
+0
-0
industryzh.png
src/assets/img/industryzh.png
+0
-0
en.js
src/common/lang/en.js
+12
-1
zh.js
src/common/lang/zh.js
+11
-1
PageTop.vue
src/components/index/PageTop.vue
+13
-63
quicklogin.vue
src/components/login/quicklogin.vue
+2
-1
main.js
src/main.js
+1
-1
router.js
src/router.js
+15
-0
api.js
src/views/conmanagementpage/api/api.js
+6
-0
articleservice.vue
src/views/conmanagementpage/articleservice.vue
+1
-1
contentall.vue
src/views/conmanagementpage/contentall.vue
+1
-1
contentarticle.vue
src/views/conmanagementpage/contentarticle.vue
+0
-28
contentdetail.vue
src/views/conmanagementpage/contentdetail.vue
+1
-1
hotarticlepage.vue
src/views/conmanagementpage/hotarticlepage.vue
+32
-2
index.vue
src/views/index.vue
+1
-1
api.js
src/views/industryreportspage/api/api.js
+62
-0
industryall.vue
src/views/industryreportspage/industryall.vue
+0
-0
industrymanagement.vue
src/views/industryreportspage/industrymanagement.vue
+95
-0
industrypage.vue
src/views/industryreportspage/industrypage.vue
+0
-0
pushindustry.vue
src/views/industryreportspage/pushindustry.vue
+0
-0
No files found.
src/assets/img/industryen.png
0 → 100644
View file @
a5d35ee6
1010 KB
src/assets/img/industryzh.png
0 → 100644
View file @
a5d35ee6
1000 KB
src/common/lang/en.js
View file @
a5d35ee6
...
...
@@ -4,6 +4,7 @@ module.exports = {
findProject
:
"Find Techs"
,
findCustomer
:
"Find Clients"
,
professionfocusing
:
"Focus"
,
industry
:
'Industry Reports'
,
cooperationcase
:
"Cases"
,
knowledge
:
"Resources"
,
industryActive
:
"News"
,
...
...
@@ -1991,7 +1992,17 @@ module.exports = {
beijingtime
:
'Beijing Time'
,
version
:
'Select version'
,
maxUpload
:
'Upload image size cannot exceed'
,
}
},
//行业报告
industryjson
:{
share1
:
'Share to WeChat Moments'
,
share2
:
"Open WeChat and click'Discovery' at the bottom"
,
share3
:
"Use'sweep' to share the file to the circle of friends"
,
loading
:
'Loading...'
,
nomore
:
'No more'
,
allchannels
:
'All channels'
,
},
}
src/common/lang/zh.js
View file @
a5d35ee6
...
...
@@ -5,6 +5,7 @@ module.exports = {
findCustomer
:
"找客户"
,
professionfocusing
:
"行业聚焦"
,
cooperationcase
:
"合作案例"
,
industry
:
'行业报告'
,
knowledge
:
"知识资源"
,
industryActive
:
"行业动态"
,
aboutUs
:
"关于我们"
,
...
...
@@ -2089,8 +2090,17 @@ module.exports = {
beijingtime
:
'北京时间'
,
version
:
'选择版本'
,
maxUpload
:
'上传图片大小不能超过'
,
}
}
,
//行业报告
industryjson
:{
share1
:
'分享到微信朋友圈'
,
share2
:
"打开微信,点击底部的'发现'"
,
share3
:
"使用'扫一扫'即可将该文件分享至朋友圈"
,
loading
:
'加载中...'
,
nomore
:
'没有更多了'
,
allchannels
:
'全部频道'
,
},
}
src/components/index/PageTop.vue
View file @
a5d35ee6
...
...
@@ -36,26 +36,6 @@
<i
class=
"iconfont icon-xiaoxi"
></i>
<div
id=
"redMsg"
v-if=
"messageVisible"
></div>
</span>
<!--
<span
class=
"roleSpan"
v-if=
"!isShow"
>
-->
<!--
<img
style=
"margin-right: 5px;height: 18px"
src=
"../../assets/img/svip.png"
alt=
"图片"
v-if=
"userInfo&&userInfo.isPrivilegeVip==1"
>
-->
<!--
<span
style=
"margin-right: 5px;"
v-if=
"userInfo&&userInfo.empType!=2&&userInfo.authenticationState==2&&userInfo.isPrivilegeVip!=1"
>
-->
<!--
<img
src=
"../../assets/img/vipIcon@2x.png"
alt=
""
>
-->
<!--
</span>
-->
<!--
<span
style=
"margin-right: 5px;"
v-if=
"userInfo&&userInfo.empType!=2&&userInfo.authenticationState!=2&&userInfo.isPrivilegeVip!=1"
>
-->
<!--
<img
src=
"../../assets/img/vipGrayIcon@2x.png"
alt=
""
>
-->
<!--
</span>
-->
<!--
<i
style=
"background: #FF5D5D;border-radius: 3px;"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==5"
><img-->
<!-- :src="lang=='en'?require('../../assets/img/PM@2x.png'):require('../../assets/img/xiaoshouIcon@2x.png')" alt="">
</i>
-->
<!--
<i
style=
"background: #FF5D5D;border-radius: 3px;"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==2"
><img-->
<!-- :src="lang=='en'?require('../../assets/img/OM@2x.png'):require('../../assets/img/yunyingIcon@2x.png')" alt="">
</i>
-->
<!--
<i
style=
"background: #5D78FF;border-radius: 3px;"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.empType==1"
><img-->
<!-- :src="lang=='en'?require('../../assets/img/corporate@2x.png'):require('../../assets/img/bigBusinessIcon@2x.png')" alt="">
</i>
-->
<!--
<i
style=
"background: #5D78FF;border-radius: 3px;"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.empType==0"
><img-->
<!-- :src="lang=='en'?require('../../assets/img/startUp@2x.png'):require('../../assets/img/smallBusinessIcon@2x.png')" alt="">
</i>
-->
<!--
<i
style=
"background: #5D78FF;border-radius: 3px;"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==1"
><img-->
<!-- :src="lang=='en'?require('../../assets/img/adminIcon@2x.png'):require('../../assets/img/adminIcon@2x.png')" alt="">
</i>
-->
<!--
</span>
-->
<!--
<span
style=
"margin: 0;margin-top: -2px;"
v-if=
"userInfo&&!isShow"
>
|
</span>
-->
<span
@
click=
"changeLangEvent()"
class=
"langHoverSpan"
><i
:class=
"lang==='zh-CN'?'selectedLang':''"
>
中文
</i><i>
/
</i><i
:class=
"lang==='en'?'selectedLang':''"
>
En
</i></span>
</div>
...
...
@@ -73,16 +53,6 @@
<img
src=
"../../assets/img/index/headerDefault.png"
alt=
""
>
<p
class=
"user-name"
v-if=
"userInfo&&(userInfo.empName||userInfo.empAccount)"
>
{{
userInfo
&&
userInfo
.
empName
?
userInfo
.
empName
:
userInfo
.
empAccount
}}
</p>
<p
class=
"auth-info authinfo"
>
<!--
<img
src=
"../../assets/img/svip.png"
alt=
""
v-if=
"userInfo&&userInfo.isPrivilegeVip==1"
>
-->
<!--
<span
v-else
>
-->
<!--
<img
src=
"../../assets/img/vipIcon@2x.png"
alt=
"图片"
v-if=
"userInfo&&userInfo.empType!=2&&userInfo.authenticationState==2"
>
-->
<!--
<img
src=
"../../assets/img/vipGrayIcon@2x.png"
alt=
"图片"
v-if=
"userInfo&&userInfo.empType!=2&&userInfo.authenticationState!=2"
>
-->
<!--
</span>
-->
<!--
<img
:src=
"diven_zh?require('../../assets/img/PM@2x.png'):require('../../assets/img/xiaoshouIcon@2x.png')"
alt=
"图片"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==5"
>
-->
<!--
<img
:src=
"diven_zh?require('../../assets/img/OM@2x.png'):require('../../assets/img/yunyingIcon@2x.png')"
alt=
"图片"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==2"
>
-->
<!--
<img
:src=
"diven_zh?require('../../assets/img/corporate@2x.png'):require('../../assets/img/bigBusinessIcon@2x.png')"
alt=
"图片"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==7 || userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==6"
>
-->
<!--
<img
:src=
"diven_zh?require('../../assets/img/startUp@2x.png'):require('../../assets/img/smallBusinessIcon@2x.png')"
alt=
"图片"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==4 || userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==3"
>
-->
<!--
<img
:src=
"diven_zh?require('../../assets/img/admin@2x.png'):require('../../assets/img/adminIcon@2x.png')"
alt=
"图片"
v-if=
"userInfo&&userInfo.roleList.length>0&&userInfo.roleList[0].roleType==1"
>
-->
</p>
</div>
...
...
@@ -118,20 +88,6 @@
</li>
</ul>
</div>
<!--
<div
class=
"projectUl"
>
-->
<!--
<p
class=
"title"
><span>
{{
$t
(
"drawerInfo.projects"
)
}}
</span><span>
{{
$t
(
"drawerInfo.submitPro"
)
}}
</span></p>
-->
<!--
<ul>
-->
<!--
<li>
-->
<!--
<img
src=
"../../assets/img/index/Bitmap(1).png"
alt=
""
>
-->
<!--
<span>
创新奇智
</span>
-->
<!--
</li>
-->
<!--
<li>
-->
<!--
<img
src=
"../../assets/img/index/Bitmap(1).png"
alt=
""
>
-->
<!--
<span>
创新奇智qqq
</span>
-->
<!--
</li>
-->
<!--
</ul>
-->
<!--
</div>
-->
<div
class=
"buttonwrapper"
>
<el-button
@
click=
"handleLogout"
>
{{
$t
(
"topNav.logout"
)
}}
...
...
@@ -175,19 +131,24 @@
activeIndex
:
'1'
,
list
:
[{
id
:
1
,
name
:
"index"
name
:
"index"
,
path
:
'/'
,
},
{
id
:
2
,
name
:
"findProject"
name
:
"findProject"
,
path
:
'/seeprojectlist'
,
},
{
id
:
3
,
name
:
"findCustomer"
name
:
"findCustomer"
,
path
:
'/bigBusiness/list'
,
},
{
id
:
4
,
name
:
this
.
$i18n
.
locale
==
'zh-CN'
?
"newsArticle"
:
"industryActive"
name
:
this
.
$i18n
.
locale
==
'zh-CN'
?
"newsArticle"
:
"industryActive"
,
path
:
this
.
$i18n
.
locale
==
'zh-CN'
?
"/contentall"
:
"/lndustryfocus"
,
},
{
id
:
6
,
name
:
"cooperationcase"
name
:
"industry"
,
path
:
'/industrypage'
,
}],
currentIndex
:
this
.
publicFun
.
getCookie
(
"currentNav"
)
==
null
||
this
.
publicFun
.
getCookie
(
"currentNav"
)
==
undefined
||
this
.
publicFun
.
getCookie
(
"currentNav"
)
==
1
||
this
.
publicFun
.
getCookie
(
"currentNav"
)
==
2
?
0
:
this
.
publicFun
.
getCookie
(
"currentNav"
),
lang
:
this
.
$i18n
.
locale
,
...
...
@@ -246,24 +207,13 @@
handleClick
(
data
,
index
)
{
this
.
$emit
(
'aboutwebtn'
,
index
+
''
);
if
(
this
.
currentIndex
!=
index
){
}
this
.
currentIndex
=
index
;
this
.
publicFun
.
setUserInfoCookie
(
"currentNav"
,
index
);
if
(
index
==
4
)
this
.
$router
.
push
(
"/successfulcase"
);
if
(
index
==
3
)
this
.
$i18n
.
locale
==
'zh-CN'
?
this
.
$router
.
push
(
"/contentall"
):
this
.
$router
.
push
(
"/lndustryfocus"
);
if
(
index
==
0
)
this
.
$router
.
push
(
"/"
);
if
(
index
==
1
)
this
.
$router
.
push
(
"/seeprojectlist"
);
else
if
(
index
==
2
)
this
.
$router
.
push
(
"/bigBusiness/list"
);
// if(index!=3){
this
.
$emit
(
"itemNav"
,
index
);
globalMsg
.
$emit
(
"sendItemNav"
,
index
);
// }
this
.
$router
.
push
(
data
.
path
);
this
.
$emit
(
"itemNav"
,
index
);
globalMsg
.
$emit
(
"sendItemNav"
,
index
);
if
(
index
==
0
)
this
.
maiDianFunc
(
"pcindex"
);
else
this
.
maiDianFunc
(
data
.
name
);
},
handleShowChildren
(
index
){
...
...
src/components/login/quicklogin.vue
View file @
a5d35ee6
...
...
@@ -56,7 +56,7 @@
expertVisible
:
false
}
},
props
:[
'activityId'
,
'registerType'
],
props
:[
'activityId'
,
'registerType'
,
'reportId'
],
methods
:
{
closeSensor
(){
...
...
@@ -105,6 +105,7 @@
account
:
this
.
registerForm
.
phone
,
code
:
this
.
registerForm
.
code
,
activityId
:
this
.
activityId
?
this
.
activityId
:
undefined
,
reportId
:
this
.
reportId
?
this
.
reportId
:
undefined
,
autoRegisterState
:
this
.
registerType
?
this
.
registerType
:
undefined
};
this
.
fullscreenLoading
=
true
;
...
...
src/main.js
View file @
a5d35ee6
...
...
@@ -177,7 +177,7 @@ router.beforeEach((to, from, next) => {
if
(
!
publicFun
.
getCookie
(
"userInfo"
)){
if
(
to
.
name
==
'dashboard'
||
to
.
name
==
'indexView'
||
to
.
name
==
'login'
||
to
.
name
==
'mobileLoginCmpt'
||
to
.
name
==
'emailLoginCmpt'
||
to
.
name
==
'mobileRegisterCmpt'
||
to
.
name
==
'emailRegisterCmpt'
||
to
.
name
==
'completeInfoCmpt'
||
to
.
name
==
'successCmpt'
||
to
.
name
==
'findPasswordCmpt'
||
to
.
name
==
'modifyPasswordCmpt'
||
to
.
name
==
'passSuccessCmpt'
||
to
.
name
==
'indexView'
||
to
.
name
==
"mobileIndex"
||
to
.
name
==
"mobileLogin"
||
to
.
name
==
"loginByPhone"
||
to
.
name
==
"loginByEmail"
||
to
.
name
==
"mobileRegister"
||
to
.
name
==
"duijieshareRequire"
||
to
.
name
==
"duijieshareProject"
||
to
.
name
==
"knowledgeList"
||
to
.
name
==
"knowledgeDetail"
||
to
.
name
==
'vip'
||
to
.
name
==
'vipList'
||
to
.
name
==
'loadEmail'
||
to
.
name
==
'openEmail'
||
to
.
name
==
"viewRequire"
||
to
.
name
==
"duijiephoneBusinessList"
||
to
.
name
==
"duijiephoneBusinessDetail"
||
to
.
name
==
"duijiephoneRequireDetail"
||
to
.
name
==
"bigBusinessList"
||
to
.
name
==
"bigBusinessDetail"
||
to
.
name
==
"requireDetail"
||
to
.
name
==
"mixSearch"
||
to
.
name
==
"activitylist"
||
to
.
name
==
"activitydetail"
||
to
.
name
==
"activitySearchResult"
||
to
.
name
==
"activityapplyForProject"
||
to
.
name
==
'wechatLogin'
||
to
.
name
==
'newPage'
||
to
.
name
==
'bindAccount'
||
to
.
name
==
'subjectsecondStage'
||
to
.
name
==
'subjectsecondStageDetail'
||
to
.
name
==
'subjectmasterComment'
||
to
.
name
==
'subjectmasterList'
||
to
.
name
==
'subjectmasterDetail'
||
to
.
name
==
'subjectfirstStage'
||
to
.
name
==
'subjectcommentMore'
||
to
.
name
==
'subjectList'
||
to
.
name
==
"subjectresultpage"
||
to
.
name
==
"mineIndex"
||
to
.
name
==
"subjectStage"
||
to
.
name
==
"articleList"
||
to
.
name
==
"articleFlagList"
||
to
.
name
==
"articleDetail"
||
to
.
name
==
"mobileSearch"
||
to
.
name
==
"tryNewPage"
||
to
.
name
==
"industryReport"
||
to
.
name
==
"pdf"
){
}
else
{
if
(
to
.
path
==
'/contentall'
||
to
.
path
==
'/contentdetail'
||
to
.
path
==
'/tabconnect'
||
to
.
path
==
'/thirdStage'
||
to
.
path
==
'/questionfill'
||
to
.
path
==
'/questionfillpc'
||
to
.
path
==
'/casedetailschild'
||
to
.
path
==
'/lndustryfocuschild'
||
to
.
path
==
'/successfulcasechild'
||
to
.
path
==
'/projectdetails'
||
to
.
path
==
'/seeprojectlist'
||
to
.
path
==
'/projectlist'
||
to
.
path
==
'/viewproject'
||
to
.
path
==
'/templateMobile1'
||
to
.
path
==
'/knowledge'
||
to
.
path
==
'/knowledgedetails'
||
to
.
path
==
'/termserviceed'
||
to
.
path
==
'/privacypolicyed'
||
to
.
path
==
'/contactused'
||
to
.
path
==
'/aboutused'
||
to
.
path
==
'/casedetailsed'
||
to
.
path
==
'/lndustryfocused'
||
to
.
path
==
'/successfulcaseed'
||
to
.
path
==
'/usehelped'
||
to
.
path
==
'/useHelp'
||
to
.
path
==
'/reminder'
||
to
.
path
==
'/contactus'
||
to
.
path
==
'/privacypolicy'
||
to
.
path
==
'/termservice'
||
to
.
path
==
'/casedetails'
||
to
.
path
==
'/successfulcase'
||
to
.
path
==
'/lndustryfocus'
||
to
.
path
==
'/aboutus'
||
to
.
path
==
'/applicationnotice'
){
if
(
to
.
path
==
'/
industrypage'
||
to
.
path
==
'/
contentall'
||
to
.
path
==
'/contentdetail'
||
to
.
path
==
'/tabconnect'
||
to
.
path
==
'/thirdStage'
||
to
.
path
==
'/questionfill'
||
to
.
path
==
'/questionfillpc'
||
to
.
path
==
'/casedetailschild'
||
to
.
path
==
'/lndustryfocuschild'
||
to
.
path
==
'/successfulcasechild'
||
to
.
path
==
'/projectdetails'
||
to
.
path
==
'/seeprojectlist'
||
to
.
path
==
'/projectlist'
||
to
.
path
==
'/viewproject'
||
to
.
path
==
'/templateMobile1'
||
to
.
path
==
'/knowledge'
||
to
.
path
==
'/knowledgedetails'
||
to
.
path
==
'/termserviceed'
||
to
.
path
==
'/privacypolicyed'
||
to
.
path
==
'/contactused'
||
to
.
path
==
'/aboutused'
||
to
.
path
==
'/casedetailsed'
||
to
.
path
==
'/lndustryfocused'
||
to
.
path
==
'/successfulcaseed'
||
to
.
path
==
'/usehelped'
||
to
.
path
==
'/useHelp'
||
to
.
path
==
'/reminder'
||
to
.
path
==
'/contactus'
||
to
.
path
==
'/privacypolicy'
||
to
.
path
==
'/termservice'
||
to
.
path
==
'/casedetails'
||
to
.
path
==
'/successfulcase'
||
to
.
path
==
'/lndustryfocus'
||
to
.
path
==
'/aboutus'
||
to
.
path
==
'/applicationnotice'
){
}
else
{
if
(
to
.
path
==
'/projectlist'
||
to
.
path
==
'/phoneBusinessList'
){
...
...
src/router.js
View file @
a5d35ee6
...
...
@@ -162,6 +162,11 @@ const router = new Router({
component
:
resolve
=>
require
([
'views/conmanagementpage/contentdetails.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
),
meta
:
{
title
:
'最新资讯详情'
}
},
{
path
:
'/industrypage'
,
component
:
resolve
=>
require
([
'views/industryreportspage/industrypage.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
),
meta
:
{
title
:
'行业报告'
}
},
// {
// path: '/knowledge',
// component: resolve => require(['views/knowledge/computer/computerlist.vue'], resolve),
...
...
@@ -652,6 +657,16 @@ const router = new Router({
component
:
resolve
=>
require
([
'views/conmanagementpage/contentarticle.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
),
meta
:
{
title
:
'发布文章'
}
},
{
path
:
'/industrymanagement'
,
component
:
resolve
=>
require
([
'views/industryreportspage/industrymanagement.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
),
meta
:
{
title
:
'行业报告'
}
},
{
path
:
'/pushindustry'
,
component
:
resolve
=>
require
([
'views/industryreportspage/pushindustry.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
),
meta
:
{
title
:
'创建报告'
}
},
]
},
{
...
...
src/views/conmanagementpage/api/api.js
View file @
a5d35ee6
...
...
@@ -201,4 +201,9 @@ export default {
reportAxios
(
params
){
return
api
.
fetchLoadingPost
(
"/business/subject/addCommentsReport"
,
params
);
},
//行业报告右侧推荐
getMarvellousArticle
(
params
){
return
api
.
fetchGet
(
'/business/report/getMarvellousArticle'
);
},
}
\ No newline at end of file
src/views/conmanagementpage/articleservice.vue
View file @
a5d35ee6
<
template
>
<div
class=
"soutform"
style=
"margin-top: 20px;background: #ECECF2;"
>
<el-row
class=
""
>
<el-row>
<el-row
class=
"tabPdding"
>
<el-row
class=
"statebottm"
>
<page-screen
:screenlist=
"channelList"
:checkboxGroupstate=
"channelrow"
:screenchildListIf=
"false"
ref=
"channelchild"
titleName=
"按频道检索 "
@
changecheck=
"channelData"
></page-screen>
...
...
src/views/conmanagementpage/contentall.vue
View file @
a5d35ee6
...
...
@@ -20,7 +20,7 @@
<div
class=
"divclasschild"
>
<div>
<div
style=
"width: 100%;margin-right: 30px;"
>
<div
:style=
"positions?'position: fixed;top: 0;background: #ffffff;z-index: 99;width:
56%
;':'position: relative;width: 100%;'"
>
<div
:style=
"positions?'position: fixed;top: 0;background: #ffffff;z-index: 99;width:
calc(100% - 590px)
;':'position: relative;width: 100%;'"
>
<el-tabs
class=
"content_tab"
v-if=
"issearchclas"
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
v-for=
"(item,index) in channelListmax"
:key=
"index"
:label=
"item.channelName"
:name=
"item.channelId+''"
></el-tab-pane>
</el-tabs>
...
...
src/views/conmanagementpage/contentarticle.vue
View file @
a5d35ee6
...
...
@@ -699,34 +699,6 @@
isprogress
(){
this
.
isuploadshow
=
true
;
},
videohandleBeforeFile
(
file
){
var
nameArr
=
file
.
name
.
split
(
'.'
);
const
isOgg
=
nameArr
[
nameArr
.
length
-
1
]
===
'Ogg'
;
const
isWebM
=
nameArr
[
nameArr
.
length
-
1
]
===
'WebM'
;
const
isMp4
=
nameArr
[
nameArr
.
length
-
1
]
===
'mp4'
;
const
isLt200M
=
file
.
size
/
1024
/
1024
<=
200
;
if
(
!
isMp4
&&
!
isOgg
&&
!
isWebM
)
{
this
.
$message
.
error
(
'上传文件格式错误'
);
}
else
if
(
!
isLt200M
){
this
.
$message
.
error
(
'上传文件大小不能超过 200MB'
);
}
this
.
isflag
=
1
;
return
(
isMp4
||
isOgg
||
isWebM
)
&&
isLt200M
;
},
audiohandleBeforeFile
(
file
){
var
nameArr
=
file
.
name
.
split
(
'.'
);
const
isOgg
=
nameArr
[
nameArr
.
length
-
1
]
===
'Ogg'
;
const
isWebM
=
nameArr
[
nameArr
.
length
-
1
]
===
'Wav'
;
const
isMp3
=
nameArr
[
nameArr
.
length
-
1
]
===
'mp3'
;
const
isLt200M
=
file
.
size
/
1024
/
1024
<=
200
;
if
(
!
isMp3
&&
!
isOgg
&&
!
isWebM
)
{
this
.
$message
.
error
(
'上传文件格式错误'
);
}
else
if
(
!
isLt200M
){
this
.
$message
.
error
(
'上传文件大小不能超过 200MB'
);
}
this
.
isflag
=
1
;
return
(
isMp3
||
isOgg
||
isWebM
)
&&
isLt200M
;
},
//附件上传之前判断文件格式
handleBeforeFile
(
file
)
{
if
(
this
.
formData
.
videoAudioType
==
0
){
...
...
src/views/conmanagementpage/contentdetail.vue
View file @
a5d35ee6
...
...
@@ -126,7 +126,7 @@
<div
@
click=
"totalStrdto.pages==cur_page||totalStrdto.pages==0?'':addclkreply()"
>
<p
class=
"addclkreply"
>
<span
v-if=
"totalStrdto.pages==cur_page"
>
暂无更多评论
</span>
<span
v-
else
>
查看更多评论
<i
style=
"color: #5D78FF;font-size: 12px;"
class=
"iconfont icon-xiala"
></i></span>
<span
v-
if=
"totalStrdto.pages > cur_page"
>
查看更多评论
<i
style=
"color: #5D78FF;font-size: 12px;"
class=
"iconfont icon-xiala"
></i></span>
</p>
</div>
</div>
...
...
src/views/conmanagementpage/hotarticlepage.vue
View file @
a5d35ee6
<
template
>
<div
style=
"width: 320px"
>
<div
:style=
"istopShow==true?'position: fixed;top: 0;z-index:0;':istopShow==3?'position: fixed;top: 70px;z-index:0;':''"
>
<div
v-if=
"!isindustry"
:style=
"istopShow==true?'position: fixed;top: 0;z-index:0;':istopShow==3?'position: fixed;top: 70px;z-index:0;':''"
>
<div
class=
"content_right"
v-if=
"hotlist&&hotlist.length>0"
>
<p><span>
</span>
热门文章
</p>
<div
class=
"hto_content"
>
...
...
@@ -48,7 +48,20 @@
</div>
</div>
</div>
<div
v-else
:style=
"istopShow==true?'position: fixed;top: 0;z-index:0;':istopShow==3?'position: fixed;top: 70px;z-index:0;':''"
>
<div
class=
"content_right"
v-if=
"hotlist&&hotlist.length>0"
>
<p><span>
</span>
精彩内容
<i
@
click=
"gocontentall"
style=
"position: absolute;right: 0px;top: 0px;font-size: 14px;font-weight: normal;cursor: pointer;"
>
查看更多 >
</i></p>
<div
class=
"hto_content"
>
<div
style=
"cursor: pointer;width: 100%;"
v-for=
"(item,index) in hotlist"
:key=
"index"
@
click=
"gocontent(item,true)"
>
<p
class=
"imgInfo"
style=
"width: 80px;height: 56px;"
:style=
"
{backgroundImage:'url('+(item.contentCoverUrl?item.contentCoverUrl:item.contentUrl?item.contentUrl.split(',')[0]:'')+')'}">
<!--
<img
:src=
"item.contentCoverUrl?item.contentCoverUrl:item.contentUrl?item.contentUrl.split(',')[0]:''"
alt=
"图片"
>
-->
</p>
<p
class=
"ellipsisFont2"
style=
"width: 225px;height: 54px;"
>
{{
item
.
contentTitle
}}
</p>
</div>
</div>
</div>
</div>
</div>
</
template
>
...
...
@@ -66,7 +79,7 @@
}
},
props
:[
'isstate'
'isstate'
,
'isindustry'
],
methods
:{
getselectHotContent
(
params
){
...
...
@@ -82,6 +95,19 @@
return
false
;
});
},
getMarvellousArticle
(){
api
.
getMarvellousArticle
().
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
hotlist
=
response
.
result
;
}
else
{
this
.
$message
.
error
(
response
.
msgCode
);
}
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
});
},
selectProfessorRecommendedContent
(
params
){
api
.
selectProfessorRecommendedContent
(
params
).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
...
...
@@ -131,6 +157,9 @@
window
.
open
(
this
.
publicFun
.
getCurrentHrefEnv
()
+
"#/contentdetail?id="
+
row
.
contentId
+
'&newnpen=true'
);
// this.$router.push({path:"/contentdetail",query:{id:row.contentId}});
},
gocontentall
(){
window
.
open
(
this
.
publicFun
.
getCurrentHrefEnv
()
+
"#/contentall?newnpen=true"
);
},
},
mounted
()
{
// let params = {
...
...
@@ -157,6 +186,7 @@
font-size
:
16px
;
font-weight
:
bold
;
border-bottom
:
2px
solid
#E8EAF3
;
position
:
relative
;
>
span
{
border-left
:
2px
solid
#5D78FF
;
margin-right
:
10px
;
...
...
src/views/index.vue
View file @
a5d35ee6
...
...
@@ -3,7 +3,7 @@
<page-top
v-show=
"istopShow"
v-if=
'islogindata/2 === 0'
:key=
'islogindata'
:initStyle=
"isInit"
:documentFront=
"documentFront"
:pathfrom=
"pathfrom"
:isShow=
"isShow"
:isOther=
"isOther"
@
aboutwebtn=
"aboutwebtn"
:numone=
"numone"
@
itemNav=
"sendItemNav"
></page-top>
<page-top
v-show=
"istopShow"
v-else
:key=
'islogindata'
:initStyle=
"isInit"
:documentFront=
"documentFront"
:pathfrom=
"pathfrom"
:isShow=
"isShow"
:isOther=
"isOther"
@
aboutwebtn=
"aboutwebtn"
:numone=
"numone"
@
itemNav=
"sendItemNav"
></page-top>
<div
class=
"page-content popper-boundaries"
>
<router-view
@
itemBtn=
"sendbtns"
/>
<router-view
@
itemBtn=
"sendbtns"
/>
</div>
<PageBottom
v-if=
"isShow"
@
itemBtn=
"sendbtn"
@
aboutwebtn=
"aboutwebtn"
style=
"z-index: 1;position: relative;"
></PageBottom>
</div>
...
...
src/views/industryreportspage/api/api.js
0 → 100644
View file @
a5d35ee6
import
api
from
'../../../api/api'
;
import
Qs
from
'qs'
;
export
default
{
selectCityList
(
params
)
{
return
api
.
fetchLoadingGet
(
'/business/geo/selectCityList?geoId='
+
params
);
},
//添加行业报告
addindustry
(
url
,
params
){
return
api
.
fetchLogin
(
url
,
params
);
},
//行业报告最大下载量
getReportDownloadCount
(){
return
api
.
fetchGet
(
'/business/report/getReportDownloadCount'
);
},
//行业报告删除
setReportDownloadCount
(
params
){
return
api
.
fetchLogin
(
'/business/report/setReportDownloadCount'
,
Qs
.
stringify
(
params
));
},
//行业报告分类
dataGroupAllList
(){
return
api
.
fetchGet
(
'/business/report/dataGroupAllList'
);
},
//行业报告列表
backList
(
params
){
return
api
.
fetchGet
(
'/business/report/backList'
+
params
);
},
//行业报告编辑数据
getindustry
(
params
){
return
api
.
fetchGet
(
'/business/report/get?reportId='
+
params
);
},
//行业报告删除
deleteindustsry
(
params
){
return
api
.
fetchLogin
(
'/business/report/delete'
,
Qs
.
stringify
(
params
));
},
//列表修改首页、置顶操作
marktype
(
url
,
params
){
return
api
.
fetchLogin
(
url
,
Qs
.
stringify
(
params
));
},
//行业报告前端列表
showList
(
url
,
params
){
return
api
.
fetchLoadingGet
(
url
+
params
);
},
//行业报告下载链接
getDownloadUrl
(
params
){
return
api
.
fetchLoadingGet
(
'/business/report/getDownloadUrl?reportId='
+
params
);
},
//获取域名
selectBasicParams
(
)
{
return
api
.
fetchLogin
(
'/base/tools/selectBasicParams'
);
},
//行业报告右侧推荐
getMarvellousArticle
(
params
){
return
api
.
fetchLoadingGet
(
'/business/report/getMarvellousArticle'
);
},
}
\ No newline at end of file
src/views/industryreportspage/industryall.vue
0 → 100644
View file @
a5d35ee6
This diff is collapsed.
Click to expand it.
src/views/industryreportspage/industrymanagement.vue
0 → 100644
View file @
a5d35ee6
<
template
>
<div
class=
"soutform loginedWrapper"
>
<div
class=
"breadcrumb"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item
:to=
"
{ path: '/projectdynamics' }">
{{
$t
(
"releasejson.wrkbench"
)
}}
</el-breadcrumb-item>
<el-breadcrumb-item>
行业报告
</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div
class=
"projectTabadd"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"行业报告"
name=
"first"
>
<industryall
v-if=
'showNum/2 === 0'
:key=
'showNum'
ref=
"childone"
></industryall>
<industryall
v-else
:key=
'showNum'
ref=
"childone"
></industryall>
</el-tab-pane>
<el-tab-pane
label=
"设置"
name=
"second"
>
<div
style=
"margin-top: 20px;"
>
<el-form
label-position=
"right"
label-width=
"180px"
class=
"contnetform180"
>
<el-form-item
label=
"每天下载数量:"
>
<el-input
@
input=
"changenumber"
v-model=
"numberData"
type=
"number"
style=
"width: 400px;"
placeholder=
"1-99999"
></el-input>
</el-form-item>
<el-form-item
label=
" "
>
<el-button
type=
"primary"
@
click=
"getsaveSettingInfo"
>
保存
</el-button>
</el-form-item>
</el-form>
</div>
</el-tab-pane>
</el-tabs>
</div>
</div>
</
template
>
<
script
>
import
api
from
"./api/api"
;
import
industryall
from
"./industryall"
;
export
default
{
name
:
"industrymanagement"
,
data
()
{
return
{
activeName
:
'first'
,
showNum
:
2
,
numberData
:
''
}
},
components
:{
industryall
},
methods
:{
handleClick
(
tab
,
event
){
},
changenumber
(){
if
(
this
.
numberData
.
length
>
10
)
this
.
numberData
=
this
.
numberData
.
slice
(
0
,
10
);
this
.
numberData
=
this
.
numberData
.
replace
(
/
\D
/g
,
''
);
},
getsaveSettingInfo
(){
if
(
this
.
numberData
==
''
){
this
.
$message
.
error
(
'请输入正确的数值'
);
return
}
api
.
setReportDownloadCount
({
count
:
this
.
numberData
}).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
$message
.
success
(
'修改成功'
);
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
});
},
getReportDownloadCount
(){
api
.
getReportDownloadCount
().
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
numberData
=
response
.
result
;
}
else
{
this
.
$message
.
error
(
response
.
msg
);
}
})
.
catch
(
error
=>
{
console
.
log
(
"提交出错"
);
return
false
;
});
},
},
mounted
()
{
this
.
getReportDownloadCount
();
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
src/views/industryreportspage/industrypage.vue
0 → 100644
View file @
a5d35ee6
This diff is collapsed.
Click to expand it.
src/views/industryreportspage/pushindustry.vue
0 → 100644
View file @
a5d35ee6
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