考试规则问题调整

This commit is contained in:
fan 2023-05-20 16:39:05 +08:00
parent 27a88795f7
commit f5a2ca8eaf

View File

@ -201,6 +201,7 @@ export default {
}, },
methods: { methods: {
show(detail) { show(detail) {
this.form.tags = '';
this.dialogShow = true; this.dialogShow = true;
const mapDetail = this.mapOptionList.find(item => item.id === this.examData.mapId); const mapDetail = this.mapOptionList.find(item => item.id === this.examData.mapId);
if (mapDetail && mapDetail.lineCode === '14') { if (mapDetail && mapDetail.lineCode === '14') {
@ -214,7 +215,6 @@ export default {
{ label: '现地客户端', value: 'localWork' } { label: '现地客户端', value: 'localWork' }
]; ];
} }
console.log(this.clients, '*******');
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.form.resetFields(); this.$refs.form.resetFields();
if (detail) { if (detail) {
@ -226,6 +226,7 @@ export default {
subtype: detail.subtype, subtype: detail.subtype,
amount: detail.amount, amount: detail.amount,
score: detail.score, score: detail.score,
trainingClient: detail.subTypeParam.client,
id: detail.id || '', id: detail.id || '',
tags: detail.tags ? detail.tags[0] : '' tags: detail.tags ? detail.tags[0] : ''
}; };