mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
案例修改
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
<div class="btn-div clearfix" >
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="caseDetail.orgDomain" class="item">{{ orgDomainTranslate(caseDetail.orgDomain) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" class="item" v-if="caseDetail.orgDomain == '' && caseDetail.orgDomainParent">{{ orgDomainTranslate(caseDetail.orgDomainParent) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="caseDetail.majorType" class="item">{{ majorTypeTranslate(caseDetail.majorType) }}</div>
|
||||
<!-- <div style="color:#2974D6;font-weight: 450;" v-if="caseDetail.majorType" class="item">{{ majorTypeTranslate(caseDetail.majorType) }}</div> -->
|
||||
<div class="item" style="color:#2974D6;font-weight: 450;" v-for="item,idx in caseDetail.majorType" :key="idx" >{{ majorTypeTranslate(item) }}</div>
|
||||
<div v-if="caseDetail.keyword1" class="item">{{ caseDetail.keyword1 }}</div>
|
||||
<div v-if="caseDetail.keyword2" class="item">{{ caseDetail.keyword2 }}</div>
|
||||
<div v-if="caseDetail.keyword3" class="item">{{ caseDetail.keyword3 }}</div>
|
||||
@@ -313,6 +314,7 @@ export default {
|
||||
apiDict.items(key).then(res => {
|
||||
if (res.status == 200) {
|
||||
this.Profess = res.result;
|
||||
// this.Profess = this.Profess.split(",")
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -452,6 +454,7 @@ export default {
|
||||
if (res.status == 200) {
|
||||
if (JSON.stringify(res.result) != '{}') {
|
||||
this.caseDetail = res.result.case;
|
||||
this.caseDetail.majorType = this.caseDetail.majorType.split(",")
|
||||
this.getCaseUserDetail();
|
||||
if(this.caseDetail.filePath){
|
||||
//this.pdfPath=this.basePath+this.caseDetail.filePath;
|
||||
|
||||
@@ -95,7 +95,8 @@
|
||||
<div class="keyword-text clearfix">
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="item.orgDomain">{{ orgDomainTranslate(item.orgDomain) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="item.orgDomain == '' && item.orgDomainParent">{{ orgDomainTranslate(item.orgDomainParent) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="item.majorType">{{ majorTypeTranslate(item.majorType) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" v-for="item,idx in item.majorType" :key="idx" >{{ majorTypeTranslate(item) }}</div>
|
||||
|
||||
<div v-if="item.keyword1">{{ item.keyword1 }}</div>
|
||||
<div v-if="item.keyword2">{{ item.keyword2 }}</div>
|
||||
<div v-if="item.keyword3">{{ item.keyword3 }}</div>
|
||||
@@ -580,7 +581,9 @@ export default {
|
||||
if (res.status == 200) {
|
||||
if (res.result.list.length > 0) {
|
||||
this.isSeach = false;
|
||||
console.log(res.result.list)
|
||||
res.result.list.forEach(item => {
|
||||
item.majorType = item.majorType.split(",");
|
||||
item.isAll = false;
|
||||
item.authorInfo = {
|
||||
aid: "",
|
||||
|
||||
Reference in New Issue
Block a user