|
@@ -118,6 +118,15 @@
|
|
|
<div>{{ scope.row[item.prop1] }}</div>
|
|
|
<div>{{ scope.row[item.prop2] }} {{ scope.row[item.prop3] }}</div>
|
|
|
</div>
|
|
|
+ <div v-else-if="item.scope === 'StudentType'">
|
|
|
+ {{
|
|
|
+ scope.row[item.prop] == 1
|
|
|
+ ? "非补考学员"
|
|
|
+ : scope.row[item.prop] == 2
|
|
|
+ ? "补考学员"
|
|
|
+ : ""
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
<span v-else>{{ scope.row[item.prop] }}</span>
|
|
|
</template>
|
|
|
</af-table-column>
|
|
@@ -159,6 +168,15 @@
|
|
|
<span v-if="item.scope === 'time'">
|
|
|
{{ changeDatas(scope.row[item.prop]) }}
|
|
|
</span>
|
|
|
+ <div v-else-if="item.scope === 'StudentType'">
|
|
|
+ {{
|
|
|
+ scope.row[item.prop] == 1
|
|
|
+ ? "非补考学员"
|
|
|
+ : scope.row[item.prop] == 2
|
|
|
+ ? "补考学员"
|
|
|
+ : ""
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
<span v-else>{{ scope.row[item.prop] }}</span>
|
|
|
</template>
|
|
|
</af-table-column>
|
|
@@ -243,6 +261,11 @@ export default {
|
|
|
label: "学员身份证",
|
|
|
prop: "idCard",
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "学员报名类型",
|
|
|
+ prop: "studentTypeName",
|
|
|
+ scope: "StudentType",
|
|
|
+ },
|
|
|
{
|
|
|
label: "考试标题",
|
|
|
prop: "applyName",
|
|
@@ -292,7 +315,7 @@ export default {
|
|
|
label: "出错原因",
|
|
|
prop: "cause",
|
|
|
hidden: true,
|
|
|
- width:"260px"
|
|
|
+ width: "260px",
|
|
|
},
|
|
|
],
|
|
|
};
|
|
@@ -336,7 +359,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
this.tableDataSuccess = res.data.successList;
|
|
|
this.tableDataError = res.data.errorList;
|
|
|
- this.$message.info("导入操作执行成功")
|
|
|
+ this.$message.info("导入操作执行成功");
|
|
|
})
|
|
|
.finally(() => {
|
|
|
e.target.value = "";
|