|
@@ -35,6 +35,25 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
+ <div
|
|
|
+ class="all_choose"
|
|
|
+ >
|
|
|
+ <span>期数</span>
|
|
|
+ <el-select
|
|
|
+ v-model="numCheck"
|
|
|
+ placeholder="请选择期数"
|
|
|
+ @change="search"
|
|
|
+ >
|
|
|
+ <el-option label="全部" value="">全部</el-option>
|
|
|
+ <el-option
|
|
|
+ v-for="item1 in raceNum"
|
|
|
+ :key="item1.id"
|
|
|
+ :label="item1.name"
|
|
|
+ :value="item1.id"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
<!-- <div class="anliCss">
|
|
|
<div>案例筛选</div>
|
|
|
<el-select v-model="anliBox" clearable @change="search">
|
|
@@ -56,7 +75,7 @@
|
|
|
</div>
|
|
|
<!-- 导出所有评分数据 -->
|
|
|
<el-button
|
|
|
- v-show="false"
|
|
|
+ v-show="true"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
@click="exportAllScore"
|
|
@@ -358,6 +377,8 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
reCid: "",
|
|
|
+ raceNum: [],
|
|
|
+ numCheck: "",
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -494,9 +515,10 @@ export default {
|
|
|
cn: this.anliBox == "" ? 0 : this.anliBox,
|
|
|
cid: rc ? rc : "",
|
|
|
title: this.anliName,
|
|
|
+ numCheck: this.numCheck
|
|
|
};
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "selectPointAllGM", params)
|
|
|
+ .get(this.$store.state.api + "selectPointAllGM2", params)
|
|
|
.then((res) => {
|
|
|
this.total = res.data[0].length > 0 ? res.data[0].length : 0;
|
|
|
var scoreList = res.data[0];
|
|
@@ -803,6 +825,21 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
+ getRaceNum() {
|
|
|
+ let params = {
|
|
|
+ oid: this.$store.state.userInfo.org,
|
|
|
+ };
|
|
|
+ this.ajax
|
|
|
+ .get(this.$store.state.api + "selectRaceNum", params)
|
|
|
+ .then((res) => {
|
|
|
+ this.raceNum = res.data[0];
|
|
|
+ this.numCheck = this.raceNum[0].id
|
|
|
+ this.getReviewerOrAdmin();
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
addRecommend() {
|
|
|
if (this.scoreDetail[0].sumScore == 0) {
|
|
|
this.$message.error("还未评审,不可推荐");
|
|
@@ -860,7 +897,9 @@ export default {
|
|
|
for (var j = 0; j < scoreList.length; j++) {
|
|
|
if (scoreList[j].rid == b[i].rid) {
|
|
|
if (!b[i].title) {
|
|
|
- b[i].title = JSON.parse(scoreList[j].info).title;
|
|
|
+ b[i].title = scoreList[j].title;
|
|
|
+ b[i].author = scoreList[j].author;
|
|
|
+ b[i].typename = scoreList[j].typename;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -929,6 +968,8 @@ export default {
|
|
|
for (var i = 0; i < res.length; i++) {
|
|
|
var _json = {};
|
|
|
_json["案例名称"] = res[i].title;
|
|
|
+ _json["作者"] = res[i].author;
|
|
|
+ _json["分类"] = res[i].typename;
|
|
|
_json["评审1"] = res[i].firstPw;
|
|
|
_json["评审2"] = res[i].secondPw;
|
|
|
_json["评审3"] = res[i].thirdPw;
|
|
@@ -958,8 +999,8 @@ export default {
|
|
|
created() {
|
|
|
// this.getAnliList();
|
|
|
this.getAdmin();
|
|
|
+ this.getRaceNum();
|
|
|
// this.selectType();
|
|
|
- this.getReviewerOrAdmin();
|
|
|
},
|
|
|
};
|
|
|
</script>
|