2
This commit is contained in:
@@ -42,7 +42,8 @@
|
|||||||
v-model="search1.status"
|
v-model="search1.status"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择完成情况"
|
placeholder="请选择完成情况"
|
||||||
:selectList="dictList">
|
:selectList="dictList"
|
||||||
|
@change="getList1()">
|
||||||
</ai-select>
|
</ai-select>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
@@ -109,7 +110,7 @@
|
|||||||
tableSize="small"
|
tableSize="small"
|
||||||
:current.sync="search2.current"
|
:current.sync="search2.current"
|
||||||
:size.sync="search2.size"
|
:size.sync="search2.size"
|
||||||
@getList="getGroupInfo">
|
@getList="getList2">
|
||||||
</ai-table>
|
</ai-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -151,15 +152,15 @@
|
|||||||
info: {},
|
info: {},
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
colConfigs1: [
|
colConfigs1: [
|
||||||
{ slot: 'user', label: '参评人' },
|
{ prop: 'evaluatorsName', label: '参评人', align: 'center' },
|
||||||
{ prop: 'groupCount', label: '评分人', align: 'center' },
|
{ prop: 'scorerName', label: '评分人', align: 'center' },
|
||||||
{ prop: 'groupCount', label: '提交时间', align: 'center' },
|
{ prop: 'commitTime', label: '提交时间', align: 'center' },
|
||||||
{ prop: 'groupCount', label: '总分', align: 'center' }
|
{ prop: 'totalScore', label: '总分', align: 'center' }
|
||||||
],
|
],
|
||||||
colConfigs2: [
|
colConfigs2: [
|
||||||
{ prop: 'groupName', label: '参评人' },
|
{ prop: 'evaluatorsName', label: '参评人', align: 'center' },
|
||||||
{ prop: 'memberCount', label: '评分人数', align: 'center' },
|
{ prop: 'scorerCount', label: '评分人数', align: 'center' },
|
||||||
{ slot: 'user', label: '平均分', align: 'center' },
|
{ prop: 'avgScore', label: '平均分', align: 'center' },
|
||||||
],
|
],
|
||||||
dictList: [
|
dictList: [
|
||||||
{
|
{
|
||||||
@@ -177,6 +178,7 @@
|
|||||||
created () {
|
created () {
|
||||||
this.getInfo(this.params.formId)
|
this.getInfo(this.params.formId)
|
||||||
this.getList1()
|
this.getList1()
|
||||||
|
this.getList2()
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@@ -188,22 +190,8 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getList1 () {
|
|
||||||
this.instance.post(`/app/appassessmentscortask/assessStatistics`, null, {
|
|
||||||
params: {
|
|
||||||
id: this.params.formId,
|
|
||||||
...this.search1
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
if (res.code === 0) {
|
|
||||||
this.tableData1 = res.data.records
|
|
||||||
this.total1 = res.data.total
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
getList2 () {
|
getList2 () {
|
||||||
this.instance.post(`/app/appassessmentscortask/fillStatistics`, null, {
|
this.instance.post(`/app/appassessmentscortask/assessStatistics`, null, {
|
||||||
params: {
|
params: {
|
||||||
id: this.params.formId,
|
id: this.params.formId,
|
||||||
...this.search2
|
...this.search2
|
||||||
@@ -216,6 +204,20 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getList1 () {
|
||||||
|
this.instance.post(`/app/appassessmentscortask/fillStatistics`, null, {
|
||||||
|
params: {
|
||||||
|
id: this.params.formId,
|
||||||
|
...this.search1
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code === 0) {
|
||||||
|
this.tableData1 = res.data.records
|
||||||
|
this.total1 = res.data.total
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
cancel () {
|
cancel () {
|
||||||
this.$emit('change', {
|
this.$emit('change', {
|
||||||
type: 'Detail',
|
type: 'Detail',
|
||||||
|
|||||||
Reference in New Issue
Block a user