Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-annual-summary
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-annual-summary
提交
0c19040b
提交
0c19040b
编写于
12月 25, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码格式化处理
上级
a95dcbf4
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
119 行增加
和
111 行删除
+119
-111
cme-step.vue
src/components/cme/cme-step.vue
+2
-2
merge-detail.vue
src/views/merge-detail.vue
+117
-109
未找到文件。
src/components/cme/cme-step.vue
浏览文件 @
0c19040b
...
@@ -53,8 +53,8 @@ export default {
...
@@ -53,8 +53,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
step1
:
false
,
step1
:
false
,
step2
:
fals
e
,
step2
:
tru
e
,
step3
:
tru
e
,
step3
:
fals
e
,
step4
:
false
,
step4
:
false
,
progressText
:
"审核中"
progressText
:
"审核中"
}
}
...
...
src/views/merge-detail.vue
浏览文件 @
0c19040b
...
@@ -15,26 +15,28 @@
...
@@ -15,26 +15,28 @@
<div
class=
"page-content list-container"
>
<div
class=
"page-content list-container"
>
<!-- banner图片 -->
<!-- banner图片 -->
<div
v-if=
"bannerType == 1"
class=
"page-content-img-container"
>
<div
v-if=
"bannerType == 1"
class=
"page-content-img-container"
>
<img
class=
"banner-img"
:src=
"attachmentUrl"
>
<img
class=
"banner-img"
:src=
"attachmentUrl"
/
>
<img
v-show=
"project.status == 1"
class=
"banner-img-1"
src=
"../images/status-join.png"
>
<img
v-show=
"project.status == 1"
class=
"banner-img-1"
src=
"../images/status-join.png"
/
>
<img
v-show=
"project.status == 5"
class=
"banner-img-5"
src=
"../images/status-keep-on.png"
>
<img
v-show=
"project.status == 5"
class=
"banner-img-5"
src=
"../images/status-keep-on.png"
/
>
<img
v-show=
"project.status == 10"
class=
"banner-img-10"
src=
"../images/status-end.png"
>
<img
v-show=
"project.status == 10"
class=
"banner-img-10"
src=
"../images/status-end.png"
/
>
</div>
</div>
<!-- banner视频 -->
<!-- banner视频 -->
<CommonTcPlayer
v-if=
"bannerType == 2"
style=
"flex"
:options=
"videoOptions"
></CommonTcPlayer>
<CommonTcPlayer
v-if=
"bannerType == 2"
style=
"flex"
:options=
"videoOptions"
></CommonTcPlayer>
<!-- 项目标题 -->
<!-- 项目标题 -->
<CommonDescription
<CommonDescription
:projectName=
"project.projectName"
:projectName=
"project.projectName"
:studyNum=
"project.studyNum"
:studyNum=
"project.studyNum"
:subject=
"project.subject"
/>
:subject=
"project.subject"
/>
<!-- 步骤条 -->
<!-- 步骤条 -->
<CmeStep
<CmeStep
:currentProgress=
"project.currentProgress"
:currentProgress=
"project.currentProgress"
:studyProgress=
"project.studyProgress"
:studyProgress=
"project.studyProgress"
:credit=
"project.credit"
:credit=
"project.credit"
:creditId=
"project.creditId"
:creditId=
"project.creditId"
:certificateUrl=
"project.certificateUrl"
:certificateUrl=
"project.certificateUrl"
@
applicationCredit=
"applicationCredit"
/>
@
applicationCredit=
"applicationCredit"
/>
<!-- 简介和目录 -->
<!-- 简介和目录 -->
<div
class=
"intro-catalogue-container"
>
<div
class=
"intro-catalogue-container"
>
<div
id=
"content-title"
class=
"title"
:class=
"
{'fixed-title': fixedFlag}">
<div
id=
"content-title"
class=
"title"
:class=
"
{'fixed-title': fixedFlag}">
...
@@ -43,14 +45,15 @@
...
@@ -43,14 +45,15 @@
</div>
</div>
<div
id=
"intro-content"
class=
"intro-content"
>
<div
id=
"intro-content"
class=
"intro-content"
>
<BasicInfo
<BasicInfo
:projectNo=
"project.projectNo"
:projectNo=
"project.projectNo"
:credit=
"project.credit"
:credit=
"project.credit"
:level=
"project.level"
:level=
"project.level"
:scope=
"project.scope"
:scope=
"project.scope"
:startDate=
"project.startDate"
:startDate=
"project.startDate"
:endDate=
"project.endDate"
:endDate=
"project.endDate"
:organName=
"project.organName"
:organName=
"project.organName"
:remind=
"project.remind"
/>
:remind=
"project.remind"
/>
<LearnKnow
:mustKnow=
"project.mustKnow"
></LearnKnow>
<LearnKnow
:mustKnow=
"project.mustKnow"
></LearnKnow>
<CommonSpliteLine></CommonSpliteLine>
<CommonSpliteLine></CommonSpliteLine>
<ItemIntro
:textContent=
"project.projectIntro"
></ItemIntro>
<ItemIntro
:textContent=
"project.projectIntro"
></ItemIntro>
...
@@ -60,25 +63,26 @@
...
@@ -60,25 +63,26 @@
<CommonSpliteLine></CommonSpliteLine>
<CommonSpliteLine></CommonSpliteLine>
<div
id=
"catalogue-content"
class=
"catalogue-content"
>
<div
id=
"catalogue-content"
class=
"catalogue-content"
>
<div
class=
"catalogue-title"
>
目录
</div>
<div
class=
"catalogue-title"
>
目录
</div>
<CellListDetail
<CellListDetail
:projectComponent=
"projectComponentDTOS"
:projectComponent=
"projectComponentDTOS"
:paramData=
"contentList"
:paramData=
"contentList"
:moduleName=
"moduleName"
:moduleName=
"moduleName"
:actionList=
"actionList"
:actionList=
"actionList"
:detailNum=
"detailNum"
:detailNum=
"detailNum"
:courseRequire=
"courseRequire"
/>
:courseRequire=
"courseRequire"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<Loading
v-show=
"showLoading"
/>
<Loading
v-show=
"showLoading"
/>
<CommonDialog
<CommonDialog
:isShowDialog=
"isShowDialog"
:isShowDialog=
"isShowDialog"
:isSingle=
"isSingle"
:isSingle=
"isSingle"
:cancleBtnText=
"cancleBtnText"
:cancleBtnText=
"cancleBtnText"
:confirmBtnText=
"confirmBtnText"
:confirmBtnText=
"confirmBtnText"
:content=
"dialogContent"
:content=
"dialogContent"
@
handlerAction=
"handlerAction"
/>
@
handlerAction=
"handlerAction"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -102,9 +106,9 @@ import ItemLeader from "@/components/cme/item-leader";
...
@@ -102,9 +106,9 @@ import ItemLeader from "@/components/cme/item-leader";
import
TeacterIntro
from
"@/components/cme/teacter-intro"
;
import
TeacterIntro
from
"@/components/cme/teacter-intro"
;
import
CommonDialog
from
"@/components/cme/common-dialog"
;
import
CommonDialog
from
"@/components/cme/common-dialog"
;
import
{
getWebPageUrl
}
from
'@/utils/index'
;
import
{
getWebPageUrl
}
from
"@/utils/index"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
vueFilters
from
'@/utils/filter'
;
import
vueFilters
from
"@/utils/filter"
;
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -129,7 +133,7 @@ export default {
...
@@ -129,7 +133,7 @@ export default {
projectNo
:
""
,
// 项目编号
projectNo
:
""
,
// 项目编号
currentProgress
:
0
,
// 项目进度
currentProgress
:
0
,
// 项目进度
projectIntro
:
""
,
// 项目介绍
projectIntro
:
""
,
// 项目介绍
mustKnow
:
''
,
// 学习须知
mustKnow
:
""
,
// 学习须知
studyNum
:
0
,
// 学习人数
studyNum
:
0
,
// 学习人数
studyProgress
:
"0%"
,
// 学习进度
studyProgress
:
"0%"
,
// 学习进度
subject
:
""
,
// 学科
subject
:
""
,
// 学科
...
@@ -195,7 +199,7 @@ export default {
...
@@ -195,7 +199,7 @@ export default {
// this.moduleId = this.$route.query.moduleId;
// this.moduleId = this.$route.query.moduleId;
this
.
moduleName
=
this
.
$route
.
query
.
moduleName
;
this
.
moduleName
=
this
.
$route
.
query
.
moduleName
;
this
.
courseRequire
=
this
.
$route
.
query
.
courseRequire
;
this
.
courseRequire
=
this
.
$route
.
query
.
courseRequire
;
window
.
__getUserInfo64Comp
=
function
(
param
)
{
window
.
__getUserInfo64Comp
=
function
(
param
)
{
_this
.
token
=
param
.
userToken
;
_this
.
token
=
param
.
userToken
;
_this
.
setUserInfo
(
param
);
_this
.
setUserInfo
(
param
);
...
@@ -210,9 +214,9 @@ export default {
...
@@ -210,9 +214,9 @@ export default {
// alert('mounted __before');
// alert('mounted __before');
window
.
__refresh
=
function
()
{
window
.
__refresh
=
function
()
{
// _this.getProjectParticularsV2();
// _this.getProjectParticularsV2();
_this
.
getUserInfo
();
_this
.
getUserInfo
();
};
};
_this
.
permission
();
// 提示是否有机构和在申请范围内
_this
.
permission
();
// 提示是否有机构和在申请范围内
},
},
mounted
()
{
mounted
()
{
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
window
.
addEventListener
(
"scroll"
,
this
.
scrollFun
);
...
@@ -230,8 +234,9 @@ export default {
...
@@ -230,8 +234,9 @@ export default {
});
});
},
},
scrollFun
()
{
scrollFun
()
{
let
scrollTop
=
document
.
body
.
scrollTop
||
document
.
documentElement
.
scrollTop
;
let
scrollTop
=
const
catalogue
=
document
.
getElementById
(
'catalogue-content'
);
document
.
body
.
scrollTop
||
document
.
documentElement
.
scrollTop
;
const
catalogue
=
document
.
getElementById
(
"catalogue-content"
);
const
h
=
catalogue
.
offsetTop
-
600
;
const
h
=
catalogue
.
offsetTop
-
600
;
if
(
scrollTop
>
20
)
{
if
(
scrollTop
>
20
)
{
this
.
isBlack
=
true
;
this
.
isBlack
=
true
;
...
@@ -240,14 +245,14 @@ export default {
...
@@ -240,14 +245,14 @@ export default {
this
.
isBlack
=
false
;
this
.
isBlack
=
false
;
this
.
bgColor
=
"none"
;
this
.
bgColor
=
"none"
;
}
}
if
(
scrollTop
>
300
)
{
if
(
scrollTop
>
300
)
{
this
.
fixedFlag
=
true
;
this
.
fixedFlag
=
true
;
}
else
{
}
else
{
this
.
fixedFlag
=
false
;
this
.
fixedFlag
=
false
;
}
}
if
(
scrollTop
>
h
)
{
if
(
scrollTop
>
h
)
{
this
.
tabFlag
=
false
;
this
.
tabFlag
=
false
;
}
else
{
}
else
{
this
.
tabFlag
=
true
;
this
.
tabFlag
=
true
;
}
}
},
},
...
@@ -257,16 +262,17 @@ export default {
...
@@ -257,16 +262,17 @@ export default {
let
param
=
{
let
param
=
{
id
:
_this
.
projectId
,
id
:
_this
.
projectId
,
creditId
:
_this
.
project
.
creditId
||
1
,
creditId
:
_this
.
project
.
creditId
||
1
,
token
:
_this
.
userInfo
.
userToken
||
'AAA613F74B7A4746AEE8354458FF4896'
,
token
:
_this
.
userInfo
.
userToken
||
"AAA613F74B7A4746AEE8354458FF4896"
,
setEntry
:
true
setEntry
:
true
};
};
_this
.
NEW_POST
(
"cme/credit/applyCheck"
,
param
).
then
(
res
=>
{
_this
.
NEW_POST
(
"cme/credit/applyCheck"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"219004"
||
res
.
code
==
"219012"
)
{
// 未加入机构 219004 未身份认证 219005 不在申请范围 219012
if
(
res
.
code
==
"219004"
||
res
.
code
==
"219012"
)
{
// 未加入机构 219004 未身份认证 219005 不在申请范围 219012
this
.
dialogContent
=
`该项目仅对
${
_this
.
project
.
scope
}
的用户开放`
;
this
.
dialogContent
=
`该项目仅对
${
_this
.
project
.
scope
}
的用户开放`
;
this
.
cancleBtnText
=
"我知道了"
;
this
.
cancleBtnText
=
"我知道了"
;
this
.
isShowDialog
=
true
;
this
.
isShowDialog
=
true
;
this
.
isSingle
=
true
;
this
.
isSingle
=
true
;
}
else
{
}
else
{
this
.
isShowDialog
=
false
;
this
.
isShowDialog
=
false
;
}
}
});
});
...
@@ -277,31 +283,31 @@ export default {
...
@@ -277,31 +283,31 @@ export default {
let
param
=
{
let
param
=
{
id
:
_this
.
projectId
,
id
:
_this
.
projectId
,
creditId
:
_this
.
project
.
creditId
||
1
,
creditId
:
_this
.
project
.
creditId
||
1
,
token
:
_this
.
userInfo
.
userToken
||
'AAA613F74B7A4746AEE8354458FF4896'
,
token
:
_this
.
userInfo
.
userToken
||
"AAA613F74B7A4746AEE8354458FF4896"
,
setEntry
:
true
setEntry
:
true
};
};
_this
.
NEW_POST
(
"cme/credit/applyCheck"
,
param
).
then
(
res
=>
{
_this
.
NEW_POST
(
"cme/credit/applyCheck"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
let
paramList
=
[
let
paramList
=
[
{
{
"key"
:
"pageUrl"
,
key
:
"pageUrl"
,
"value"
:
getWebPageUrl
(
`credit-edit`
),
value
:
getWebPageUrl
(
`credit-edit?id=
${
_this
.
project
.
creditId
}
`
),
"type"
:
4
,
type
:
4
,
"seqNo"
:
1
seqNo
:
1
}
}
];
];
rocNative
.
dispatchEventByModuleCode
({
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
'M300'
,
modeCode
:
"M300"
,
jsonString
:
paramList
jsonString
:
paramList
});
});
}
else
if
(
res
.
code
==
"219004"
||
res
.
code
==
"219005"
)
{
// 未加入机构 219004 未身份认证 219005 不在申请范围 219012
}
else
if
(
res
.
code
==
"219004"
||
res
.
code
==
"219005"
)
{
// 未加入机构 219004 未身份认证 219005 不在申请范围 219012
let
params
=
{
let
params
=
{
__funcName
:
"__checkPermissions"
,
__funcName
:
"__checkPermissions"
,
permCode
:
'009014'
permCode
:
"009014"
};
};
rocNative
.
checkPermissions
(
params
);
rocNative
.
checkPermissions
(
params
);
}
else
if
(
res
.
code
==
"219012"
)
{
}
else
if
(
res
.
code
==
"219012"
)
{
this
.
dialogContent
=
`您的所属机构不在可申请范围(
${
_this
.
project
.
scope
}
)内`
;
this
.
dialogContent
=
`您的所属机构不在可申请范围(
${
_this
.
project
.
scope
}
)内`
;
this
.
cancleBtnText
=
"我知道了"
;
this
.
cancleBtnText
=
"我知道了"
;
this
.
isShowDialog
=
true
;
this
.
isShowDialog
=
true
;
...
@@ -311,18 +317,11 @@ export default {
...
@@ -311,18 +317,11 @@ export default {
},
},
// 弹框按钮事件
// 弹框按钮事件
handlerAction
(
data
)
{
handlerAction
(
data
)
{
if
(
data
==
2
)
{
if
(
data
==
2
)
{
if
(
this
.
confirmBtnText
==
'加入机构'
)
{
if
(
this
.
confirmBtnText
==
"去认证"
)
{
let
params
=
{
type
:
1
,
url
:
"https://dev-m.yunqueyi.com/resident/#/patients-manage/choose-patients?bizType=1&projectId=df7756fd2b2dedf74b373decbd57e595"
,
param
:
""
};
rocNative
.
gotoActivityHospital
(
params
)
}
else
if
(
this
.
confirmBtnText
==
'去认证'
)
{
rocNative
.
gotoAuthentication
();
rocNative
.
gotoAuthentication
();
}
}
}
else
{
}
else
{
this
.
isShowDialog
=
false
;
this
.
isShowDialog
=
false
;
}
}
},
},
...
@@ -330,8 +329,8 @@ export default {
...
@@ -330,8 +329,8 @@ export default {
jumpIntro
()
{
jumpIntro
()
{
this
.
tabFlag
=
true
;
this
.
tabFlag
=
true
;
this
.
fixedFlag
=
true
;
this
.
fixedFlag
=
true
;
const
intro
=
document
.
getElementById
(
'intro-content'
);
const
intro
=
document
.
getElementById
(
"intro-content"
);
const
title
=
document
.
getElementById
(
'content-title'
);
const
title
=
document
.
getElementById
(
"content-title"
);
const
h
=
intro
.
offsetTop
-
70
;
const
h
=
intro
.
offsetTop
-
70
;
window
.
scrollTo
(
0
,
h
);
window
.
scrollTo
(
0
,
h
);
this
.
isBlack
=
true
;
this
.
isBlack
=
true
;
...
@@ -341,7 +340,7 @@ export default {
...
@@ -341,7 +340,7 @@ export default {
jumpCatalogue
()
{
jumpCatalogue
()
{
this
.
tabFlag
=
false
;
this
.
tabFlag
=
false
;
this
.
fixedFlag
=
true
;
this
.
fixedFlag
=
true
;
const
catalogue
=
document
.
getElementById
(
'catalogue-content'
);
const
catalogue
=
document
.
getElementById
(
"catalogue-content"
);
const
h
=
catalogue
.
offsetTop
;
const
h
=
catalogue
.
offsetTop
;
window
.
scrollTo
(
0
,
h
);
window
.
scrollTo
(
0
,
h
);
this
.
isBlack
=
true
;
this
.
isBlack
=
true
;
...
@@ -352,12 +351,12 @@ export default {
...
@@ -352,12 +351,12 @@ export default {
let
_this
=
this
;
let
_this
=
this
;
let
param
=
{
let
param
=
{
token
:
_this
.
userInfo
.
userToken
,
token
:
_this
.
userInfo
.
userToken
,
setEntry
:
true
,
setEntry
:
true
};
};
this
.
GET
(
"campaign/admin/task/checkToken"
,
param
).
then
(
res
=>
{
this
.
GET
(
"campaign/admin/task/checkToken"
,
param
).
then
(
res
=>
{
if
(
res
.
code
!==
'000000'
)
{
if
(
res
.
code
!==
"000000"
)
{
//未登录 跳转登录页
//未登录 跳转登录页
console
.
log
(
'跳登录'
);
console
.
log
(
"跳登录"
);
rocNative
.
gotoLogin
();
rocNative
.
gotoLogin
();
}
}
});
});
...
@@ -366,7 +365,7 @@ export default {
...
@@ -366,7 +365,7 @@ export default {
getProjectParticularsV2
()
{
getProjectParticularsV2
()
{
let
_this
=
this
;
let
_this
=
this
;
let
param
=
{
let
param
=
{
token
:
_this
.
userInfo
.
userToken
||
'AAA613F74B7A4746AEE8354458FF4896'
,
token
:
_this
.
userInfo
.
userToken
||
"AAA613F74B7A4746AEE8354458FF4896"
,
setEntry
:
true
setEntry
:
true
};
};
// _this.showLoading = true;
// _this.showLoading = true;
...
@@ -379,7 +378,7 @@ export default {
...
@@ -379,7 +378,7 @@ export default {
_this
.
attachmentUrl
=
res
.
data
.
attachmentUrl
;
_this
.
attachmentUrl
=
res
.
data
.
attachmentUrl
;
}
}
_this
.
bannerType
=
res
.
data
.
attachmentType
;
_this
.
bannerType
=
res
.
data
.
attachmentType
;
if
(
_this
.
bannerType
==
2
)
{
if
(
_this
.
bannerType
==
2
)
{
_this
.
clientType
=
__isWeb
?
1
:
__isAndroid
?
2
:
3
;
_this
.
clientType
=
__isWeb
?
1
:
__isAndroid
?
2
:
3
;
}
}
// 先设置视频URL再显示视频组件 ------------ END
// 先设置视频URL再显示视频组件 ------------ END
...
@@ -387,14 +386,17 @@ export default {
...
@@ -387,14 +386,17 @@ export default {
_this
.
project
=
res
.
data
;
_this
.
project
=
res
.
data
;
_this
.
projectLeader
=
res
.
data
.
projectLeader
;
_this
.
projectLeader
=
res
.
data
.
projectLeader
;
_this
.
doctorList
=
res
.
data
.
doctorList
;
_this
.
doctorList
=
res
.
data
.
doctorList
;
if
(
_this
.
project
.
currentProgress
==
2
)
{
if
(
_this
.
project
.
currentProgress
==
2
)
{
this
.
dialogContent
=
"恭喜您已经完成该项目学习及考试,快去申请学分吧"
;
this
.
dialogContent
=
"恭喜您已经完成该项目学习及考试,快去申请学分吧"
;
this
.
confirmBtnText
=
"立即申请"
;
this
.
confirmBtnText
=
"立即申请"
;
this
.
isShowDialog
=
true
;
this
.
isShowDialog
=
true
;
}
}
//_this.projectStatus = res.data.projectStatus;
//_this.projectStatus = res.data.projectStatus;
_this
.
projectComponentDTOS
=
_this
.
setListData
(
res
.
data
.
projectComponentDTOS
);
_this
.
projectComponentDTOS
=
_this
.
setListData
(
res
.
data
.
projectComponentDTOS
);
}
}
//_this.showLoading = false;
//_this.showLoading = false;
});
});
...
@@ -404,27 +406,35 @@ export default {
...
@@ -404,27 +406,35 @@ export default {
let
list
=
data
;
let
list
=
data
;
let
actionList
=
[];
let
actionList
=
[];
let
detailNum
=
0
;
let
detailNum
=
0
;
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
list
[
i
].
portalModuleDTOS
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
list
[
i
].
portalModuleDTOS
.
length
;
j
++
)
{
detailNum
++
;
detailNum
++
;
if
(
list
[
i
].
portalModuleDTOS
[
j
].
status
===
2
)
{
if
(
list
[
i
].
portalModuleDTOS
[
j
].
status
===
2
)
{
list
[
i
].
portalModuleDTOS
[
j
].
value
=
'共'
+
list
[
i
].
portalModuleDTOS
[
j
].
nodeCount
+
'节'
;
list
[
i
].
portalModuleDTOS
[
j
].
value
=
"共"
+
list
[
i
].
portalModuleDTOS
[
j
].
nodeCount
+
"节"
;
}
else
{
}
else
{
list
[
i
].
portalModuleDTOS
[
j
].
value
=
'尚未开始'
;
list
[
i
].
portalModuleDTOS
[
j
].
value
=
"尚未开始"
;
}
}
list
[
i
].
portalModuleDTOS
[
j
].
disabled
=
list
[
i
].
portalModuleDTOS
[
j
].
status
===
2
?
false
:
true
;
list
[
i
].
portalModuleDTOS
[
j
].
disabled
=
list
[
i
].
portalModuleDTOS
[
j
].
status
===
2
?
false
:
true
;
//展开项记录
//展开项记录
if
(
list
[
i
].
portalModuleDTOS
[
j
].
expandStatus
==
1
)
{
if
(
list
[
i
].
portalModuleDTOS
[
j
].
expandStatus
==
1
)
{
actionList
.
push
(
list
[
i
].
portalModuleDTOS
[
j
].
expandKey
);
actionList
.
push
(
list
[
i
].
portalModuleDTOS
[
j
].
expandKey
);
}
}
for
(
let
z
=
0
;
z
<
list
[
i
].
portalModuleDTOS
[
j
].
contentList
.
length
;
z
++
)
{
for
(
list
[
i
].
portalModuleDTOS
[
j
].
contentList
[
z
].
height
=
_this
.
getHight
(
list
[
i
].
portalModuleDTOS
[
j
].
contentList
[
z
]);
let
z
=
0
;
z
<
list
[
i
].
portalModuleDTOS
[
j
].
contentList
.
length
;
z
++
)
{
list
[
i
].
portalModuleDTOS
[
j
].
contentList
[
z
].
height
=
_this
.
getHight
(
list
[
i
].
portalModuleDTOS
[
j
].
contentList
[
z
]
);
}
}
}
}
}
}
_this
.
actionList
=
actionList
;
_this
.
actionList
=
actionList
;
_this
.
detailNum
=
detailNum
;
_this
.
detailNum
=
detailNum
;
console
.
log
(
'list转为:'
,
list
,
actionList
,
detailNum
);
console
.
log
(
"list转为:"
,
list
,
actionList
,
detailNum
);
// list[0].portalModuleDTOS[3].contentList[0].certificateFlag = 2;
// list[0].portalModuleDTOS[3].contentList[0].certificateFlag = 2;
// list[0].portalModuleDTOS[3].contentList[1].certificateFlag = 2;
// list[0].portalModuleDTOS[3].contentList[1].certificateFlag = 2;
return
list
;
return
list
;
...
@@ -432,16 +442,16 @@ export default {
...
@@ -432,16 +442,16 @@ export default {
getHight
(
data
)
{
getHight
(
data
)
{
let
len
=
vueFilters
.
strLength
(
data
.
name
);
let
len
=
vueFilters
.
strLength
(
data
.
name
);
let
certificate
=
data
.
certificateFlag
;
let
certificate
=
data
.
certificateFlag
;
if
(
len
>
30
&&
certificate
==
2
)
{
if
(
len
>
30
&&
certificate
==
2
)
{
return
"2"
;
return
"2"
;
}
else
if
(
len
>
30
&&
certificate
!=
2
)
{
}
else
if
(
len
>
30
&&
certificate
!=
2
)
{
return
2
;
return
2
;
}
else
if
(
len
<=
30
&&
certificate
==
2
)
{
}
else
if
(
len
<=
30
&&
certificate
==
2
)
{
return
"1"
;
return
"1"
;
}
else
if
(
len
<=
30
&&
certificate
!=
2
)
{
}
else
if
(
len
<=
30
&&
certificate
!=
2
)
{
return
1
;
return
1
;
}
}
}
,
}
// 获取单个模块信息
// 获取单个模块信息
// getComponentInfoById(componentId) {
// getComponentInfoById(componentId) {
// let _this = this;
// let _this = this;
...
@@ -522,8 +532,6 @@ export default {
...
@@ -522,8 +532,6 @@ export default {
// }
// }
// });
// });
// },
// },
}
}
};
};
</
script
>
</
script
>
...
@@ -568,7 +576,7 @@ export default {
...
@@ -568,7 +576,7 @@ export default {
height
:
px2rem
(
50px
);
height
:
px2rem
(
50px
);
line-height
:
px2rem
(
30px
);
line-height
:
px2rem
(
30px
);
padding
:
0
px2rem
(
15px
);
padding
:
0
px2rem
(
15px
);
border-bottom
:
1px
solid
#
F0F1F
2
;
border-bottom
:
1px
solid
#
f0f1f
2
;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
line-height
:
px2rem
(
15px
);
line-height
:
px2rem
(
15px
);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录