提交 e1bca6ce 编写于 作者: huangwensu's avatar huangwensu

学分字段修改

上级 eada8fb6
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class="content"> <div class="content">
<span>学习收获</span> <span>学习收获</span>
<span>{{level}} {{credit}}</span> <span>{{level}} {{projectCredit}}</span>
</div> </div>
<div class="content"> <div class="content">
<span>申请范围</span> <span>申请范围</span>
......
...@@ -402,11 +402,11 @@ export default { ...@@ -402,11 +402,11 @@ export default {
_this.project = res.data; _this.project = res.data;
if(_this.project.projectIntro) { if(_this.project.projectIntro) {
_this.textContent = _this.project.projectIntro.length > 66 ? _this.project.projectIntro.slice(0, 66) + "..." : this.project.projectIntro; _this.textContent = _this.project.projectIntro.length > 76 ? _this.project.projectIntro.slice(0, 76) + "..." : this.project.projectIntro;
} }
_this.projectLeader = res.data.projectLeader || {}; _this.projectLeader = res.data.projectLeader || {};
if(_this.projectLeader.info) { if(_this.projectLeader.info) {
_this.leaderText = _this.projectLeader.info.length > 66 ? _this.projectLeader.info.slice(0, 66) + "..." : this.projectLeader.info; _this.leaderText = _this.projectLeader.info.length > 76 ? _this.projectLeader.info.slice(0, 76) + "..." : this.projectLeader.info;
} }
_this.doctorList = res.data.doctorList; _this.doctorList = res.data.doctorList;
...@@ -428,7 +428,7 @@ export default { ...@@ -428,7 +428,7 @@ export default {
let _this = this; let _this = this;
if(_this.projectLeader.info) { if(_this.projectLeader.info) {
if(!data.allTextFlag) { if(!data.allTextFlag) {
_this.leaderText = _this.projectLeader.info.length > 66 ? _this.projectLeader.info.slice(0, 66) + "..." : this.projectLeader.info; _this.leaderText = _this.projectLeader.info.length > 76 ? _this.projectLeader.info.slice(0, 76) + "..." : this.projectLeader.info;
}else { }else {
_this.leaderText = _this.projectLeader.info; _this.leaderText = _this.projectLeader.info;
} }
...@@ -439,7 +439,7 @@ export default { ...@@ -439,7 +439,7 @@ export default {
let _this = this; let _this = this;
if(_this.project.projectIntro) { if(_this.project.projectIntro) {
if(!data.allTextFlag) { if(!data.allTextFlag) {
_this.textContent = _this.project.projectIntro.length > 66 ? _this.project.projectIntro.slice(0, 66) + "..." : this.project.projectIntro; _this.textContent = _this.project.projectIntro.length > 76 ? _this.project.projectIntro.slice(0, 76) + "..." : this.project.projectIntro;
}else { }else {
_this.textContent = _this.project.projectIntro; _this.textContent = _this.project.projectIntro;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册