判分点接口修改

dev_2022-05-11
yujialong 3 years ago
parent 8192705938
commit bf02adea94
  1. 8
      src/pages/project/add/index.vue
  2. 5
      src/pages/station/list/index.vue

@ -516,7 +516,8 @@ export default {
this.$refs.judgementTable.clearSelection(); this.$refs.judgementTable.clearSelection();
}); });
let params = { let params = {
systemId systemId,
name: this.judgementpointsquery
}; };
if (systemId == 2 || systemId == 3) { if (systemId == 2 || systemId == 3) {
console.log("系统id:", systemId); console.log("系统id:", systemId);
@ -532,11 +533,10 @@ export default {
}, },
getProcessClassData(params) { // getProcessClassData(params) { //
this.visibleLoading = true; this.visibleLoading = true;
this.$post(`${this.api.getLcJudgmentPoint}`, params).then(res => { this.$get(`${this.api.getBcJudgmentPoint}`, params).then(res => {
let list = res.message.records; let list = res.judgmentPoints
let result = []; let result = [];
list.map(i => { list.map(i => {
i.judgmentId = i.lcId;
this.projectJudgmentData.find(j => j.judgmentId === i.judgmentId) || result.push(i); this.projectJudgmentData.find(j => j.judgmentId === i.judgmentId) || result.push(i);
}); });
this.visibleLoading = false; this.visibleLoading = false;

@ -13,7 +13,7 @@
<template v-for="(item,index) in curriculumList"> <template v-for="(item,index) in curriculumList">
<a class="item" @click="goPreview(item)" :key="index" v-if="!keyword || item.curriculumName.includes(keyword)"> <a class="item" @click="goPreview(item)" :key="index" v-if="!keyword || item.curriculumName.includes(keyword)">
<img :src="item.coverUrl" alt=""> <img :src="item.coverUrl" alt="">
<p class="text">{{ item.curriculumName }}</p> <p class="text" :title="item.curriculumName"><span>{{ item.curriculumName }}</span></p>
</a> </a>
</template> </template>
</div> </div>
@ -120,6 +120,9 @@ export default {
font-size: 12px; font-size: 12px;
line-height: 1.6; line-height: 1.6;
overflow: hidden; overflow: hidden;
span {
@include mul-ellipsis(2);
}
} }
} }
} }

Loading…
Cancel
Save