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
2ca936da
Commit
2ca936da
authored
Feb 01, 2021
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运营指标验收等功能
parent
d4dd736e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
16 deletions
+92
-16
api.js
src/views/findeventpage/api/api.js
+4
-0
eventlive.vue
src/views/findeventpage/eventlive.vue
+17
-1
kolProfessorsManage.vue
src/views/indexAccepting/kolProfessorsManage.vue
+35
-7
kolExpertManage.vue
src/views/kolExpert/kolExpertManage.vue
+36
-8
No files found.
src/views/findeventpage/api/api.js
View file @
2ca936da
...
@@ -83,6 +83,10 @@ export default {
...
@@ -83,6 +83,10 @@ export default {
selectMyMessageList
(
params
){
selectMyMessageList
(
params
){
return
api
.
fetchPost
(
"/business/my/selectMyMessageList"
,
params
);
return
api
.
fetchPost
(
"/business/my/selectMyMessageList"
,
params
);
},
},
//获取是否交换名片
getIsChangeAxios
(
params
){
return
api
.
fetchLoadingPost
(
"/base/emp/selectChannelOpenState?"
+
Qs
.
stringify
(
params
));
},
//处理消息
//处理消息
executeMessage
(
params
){
executeMessage
(
params
){
return
api
.
fetchPost
(
"/business/my/executeMessage"
,
params
);
return
api
.
fetchPost
(
"/business/my/executeMessage"
,
params
);
...
...
src/views/findeventpage/eventlive.vue
View file @
2ca936da
<
template
>
<
template
>
<div>
<div>
<iframe
name =
"child"
id =
"child"
src=
"live.html"
frameborder=
"0"
scrolling=
"no"
style=
"position:related;top: 2.8px;left: 0px;width: 100%;height: 100vh;border: medium none;"
></iframe>
<iframe
name =
"child"
id =
"child"
src=
"live.html"
frameborder=
"0"
scrolling=
"no"
style=
"position:related;top: 2.8px;left: 0px;width: 100%;height: 100vh;border: medium none;"
></iframe>
<div
v-if=
"$i18n.locale=='zh-CN'&&!userClick"
@
click=
"isuserClick"
class=
"event_iconchange"
>
<div
v-if=
"$i18n.locale=='zh-CN'&&!userClick
&&isVisible
"
@
click=
"isuserClick"
class=
"event_iconchange"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"互换名片,拓展人脉圈"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"互换名片,拓展人脉圈"
placement=
"top-start"
>
<img
class=
"event_iconchange_img"
src=
"../../assets/img/changeImg.png"
alt=
""
>
<img
class=
"event_iconchange_img"
src=
"../../assets/img/changeImg.png"
alt=
""
>
</el-tooltip>
</el-tooltip>
...
@@ -29,6 +29,8 @@
...
@@ -29,6 +29,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
setApi
from
"../mobile/api"
;
window
.
onload
=
function
(){
window
.
onload
=
function
(){
var
paramsUrl
=
require
(
'js-base64'
).
Base64
.
decode
(
decodeURIComponent
(
document
.
location
.
href
.
split
(
"?"
)[
1
].
split
(
"="
)[
1
])).
split
(
"/webinar/inituser/"
)[
1
];
var
paramsUrl
=
require
(
'js-base64'
).
Base64
.
decode
(
decodeURIComponent
(
document
.
location
.
href
.
split
(
"?"
)[
1
].
split
(
"="
)[
1
])).
split
(
"/webinar/inituser/"
)[
1
];
var
_iftameBody
=
document
.
getElementById
(
'child'
).
contentWindow
.
document
.
getElementsByTagName
(
"body"
)[
0
];
var
_iftameBody
=
document
.
getElementById
(
'child'
).
contentWindow
.
document
.
getElementsByTagName
(
"body"
)[
0
];
...
@@ -53,6 +55,7 @@
...
@@ -53,6 +55,7 @@
userClick
:
false
,
userClick
:
false
,
titleHover
:
0
,
titleHover
:
0
,
newstotalResult
:
0
,
newstotalResult
:
0
,
isVisible
:
false
,
activityId
:
Number
(
this
.
$route
.
query
.
id
),
activityId
:
Number
(
this
.
$route
.
query
.
id
),
userInfo
:
this
.
publicFun
.
getUserInfoCookieType
()
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
()))
:
null
,
userInfo
:
this
.
publicFun
.
getUserInfoCookieType
()
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getUserInfoCookieType
()))
:
null
,
}
}
...
@@ -95,6 +98,18 @@
...
@@ -95,6 +98,18 @@
console
.
log
(
err
)
console
.
log
(
err
)
})
})
},
},
isShowChange
(){
let
params
=
{
activityId
:
this
.
$route
.
query
.
id
}
api
.
getIsChangeAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
this
.
isVisible
=
res
.
result
.
exchangeCards
==
1
?
false
:
true
;
}
else
this
.
$toast
(
res
.
msg
);
}).
catch
((
err
)
=>
{
this
.
$toast
(
err
);
})
},
newstotal
(
val
){
newstotal
(
val
){
this
.
newstotalResult
=
val
;
this
.
newstotalResult
=
val
;
},
},
...
@@ -104,6 +119,7 @@
...
@@ -104,6 +119,7 @@
globalMsg
.
$emit
(
'sendIndex'
,
3
);
globalMsg
.
$emit
(
'sendIndex'
,
3
);
document
.
getElementsByTagName
(
"body"
)[
0
].
style
.
overflow
=
"hidden"
;
document
.
getElementsByTagName
(
"body"
)[
0
].
style
.
overflow
=
"hidden"
;
this
.
userHistory
(
0
);
this
.
userHistory
(
0
);
this
.
isShowChange
();
},
},
beforeRouteLeave
(
to
,
from
,
next
)
{
// 在组件生命周期结束的时候销毁。、
beforeRouteLeave
(
to
,
from
,
next
)
{
// 在组件生命周期结束的时候销毁。、
// this.userHistory(1);
// this.userHistory(1);
...
...
src/views/indexAccepting/kolProfessorsManage.vue
View file @
2ca936da
...
@@ -51,17 +51,45 @@
...
@@ -51,17 +51,45 @@
<el-table
:data=
"auditlist"
tooltip-effect=
"dark"
class=
"projectTable2"
>
<el-table
:data=
"auditlist"
tooltip-effect=
"dark"
class=
"projectTable2"
>
<el-table-column
:label=
"$t('releasejson.numberin')"
type=
"index"
width=
"50"
align=
"center"
>
<el-table-column
:label=
"$t('releasejson.numberin')"
type=
"index"
width=
"50"
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"empAccount"
label=
"专家账号"
align=
"center"
width=
"1
2
0"
></el-table-column>
<el-table-column
prop=
"empAccount"
label=
"专家账号"
align=
"center"
width=
"1
5
0"
></el-table-column>
<el-table-column
prop=
"professorName"
label=
"专家姓名"
align=
"center"
width=
"
12
0"
></el-table-column>
<el-table-column
prop=
"professorName"
label=
"专家姓名"
align=
"center"
width=
"
8
0"
></el-table-column>
<el-table-column
prop=
"empSex"
label=
"性别"
align=
"center"
width=
"
8
0"
>
<el-table-column
prop=
"empSex"
label=
"性别"
align=
"center"
width=
"
6
0"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
empSex
==
0
?
'男'
:
'女'
}}
</p>
<p>
{{
scope
.
row
.
empSex
==
0
?
'男'
:
'女'
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"professorTitle"
label=
"专家title"
align=
"center"
width=
"80"
></el-table-column>
<el-table-column
prop=
"professorTitle"
label=
"专家title"
align=
"center"
width=
"120"
>
<el-table-column
prop=
"dataNameList"
label=
"行业方向"
align=
"center"
width=
"180"
></el-table-column>
<
template
slot-scope=
"scope"
>
<el-table-column
prop=
"professorIntroduction"
label=
"专家介绍"
align=
"center"
width=
"180"
></el-table-column>
<el-tooltip
placement=
"top"
effect=
"light"
>
<el-table-column
prop=
"professorWork"
label=
"工作单位"
align=
"center"
width=
"180"
></el-table-column>
<div
slot=
"content"
style=
"width: 200px;"
>
{{
scope
.
row
.
professorTitle
}}
</div>
<p
class=
"ellipsisFont2"
>
{{
scope
.
row
.
professorTitle
}}
</p>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"dataNameList"
label=
"行业方向"
align=
"center"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item,index) in scope.row.dataNameList"
>
{{
item
}}
<i>
{{
scope
.
row
.
dataNameList
.
length
-
1
==
index
?
''
:
' 、 '
}}
</i>
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"professorIntroduction"
label=
"专家介绍"
align=
"center"
width=
"230"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
style=
"width: 200px;"
>
{{
scope
.
row
.
professorIntroduction
}}
</div>
<p
class=
"ellipsisFont2"
>
{{
scope
.
row
.
professorIntroduction
}}
</p>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"professorWork"
label=
"工作单位"
align=
"center"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
style=
"width: 200px;"
>
{{
scope
.
row
.
professorWork
}}
</div>
<p
class=
"ellipsisFont2"
>
{{
scope
.
row
.
professorWork
}}
</p>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"orgName"
label=
"区域"
align=
"center"
width=
"80"
></el-table-column>
<el-table-column
prop=
"orgName"
label=
"区域"
align=
"center"
width=
"80"
></el-table-column>
<el-table-column
prop=
"createdName"
label=
"区域联系人"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop=
"createdName"
label=
"区域联系人"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop=
"professorLogo"
label=
"专家头像"
align=
"center"
>
<el-table-column
prop=
"professorLogo"
label=
"专家头像"
align=
"center"
>
...
...
src/views/kolExpert/kolExpertManage.vue
View file @
2ca936da
...
@@ -32,18 +32,46 @@
...
@@ -32,18 +32,46 @@
<el-row>
<el-row>
<el-table
:data=
"createdProfessorslist"
tooltip-effect=
"dark"
class=
"projectTable2"
>
<el-table
:data=
"createdProfessorslist"
tooltip-effect=
"dark"
class=
"projectTable2"
>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
align=
"center"
></el-table-column>
<el-table-column
prop=
"empAccount"
label=
"专家账号"
align=
"center"
></el-table-column>
<el-table-column
prop=
"empAccount"
label=
"专家账号"
align=
"center"
width=
"150"
></el-table-column>
<el-table-column
prop=
"professorName"
label=
"专家姓名"
align=
"center"
></el-table-column>
<el-table-column
prop=
"professorName"
label=
"专家姓名"
align=
"center"
width=
"80"
></el-table-column>
<el-table-column
prop=
"empSex"
label=
"性别"
align=
"center"
>
<el-table-column
prop=
"empSex"
label=
"性别"
align=
"center"
width=
"60"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
empSex
==
0
?
'男'
:
'女'
}}
</p>
<p>
{{
scope
.
row
.
empSex
==
0
?
'男'
:
'女'
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"professorTitle"
label=
"专家title"
align=
"center"
></el-table-column>
<el-table-column
prop=
"professorTitle"
label=
"专家title"
align=
"center"
width=
"120"
>
<el-table-column
prop=
"dataNameList"
label=
"行业方向"
align=
"center"
></el-table-column>
<
template
slot-scope=
"scope"
>
<el-table-column
prop=
"professorIntroduction"
label=
"专家介绍"
align=
"center"
></el-table-column>
<el-tooltip
placement=
"top"
effect=
"light"
>
<el-table-column
prop=
"professorWork"
label=
"工作单位"
align=
"center"
></el-table-column>
<div
slot=
"content"
style=
"width: 200px;"
>
{{
scope
.
row
.
professorTitle
}}
</div>
<el-table-column
prop=
"contactStaff"
label=
"是否沟通过"
align=
"center"
>
<p
class=
"ellipsisFont2"
>
{{
scope
.
row
.
professorTitle
}}
</p>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"dataNameList"
label=
"行业方向"
align=
"center"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(item,index) in scope.row.dataNameList"
>
{{
item
}}
<i>
{{
scope
.
row
.
dataNameList
.
length
-
1
==
index
?
''
:
' 、 '
}}
</i>
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"professorIntroduction"
label=
"专家介绍"
align=
"center"
width=
"230"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
style=
"width: 200px;"
>
{{
scope
.
row
.
professorIntroduction
}}
</div>
<p
class=
"ellipsisFont2"
>
{{
scope
.
row
.
professorIntroduction
}}
</p>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"professorWork"
label=
"工作单位"
align=
"center"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
style=
"width: 200px;"
>
{{
scope
.
row
.
professorWork
}}
</div>
<p
class=
"ellipsisFont2"
>
{{
scope
.
row
.
professorWork
}}
</p>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"contactStaff"
label=
"是否沟通过"
align=
"center"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
contactStaff
==
0
?
'是'
:
scope
.
row
.
contactStaff
==
1
?
'否'
:
'——'
}}
</p>
<p>
{{
scope
.
row
.
contactStaff
==
0
?
'是'
:
scope
.
row
.
contactStaff
==
1
?
'否'
:
'——'
}}
</p>
</
template
>
</
template
>
...
...
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