This commit is contained in:
yanran200730
2022-12-13 16:04:54 +08:00
parent e8ff014598
commit 01c48a1cd6
3 changed files with 80 additions and 37 deletions

View File

@@ -26,7 +26,7 @@
v-model="search.status"
clearable
placeholder="请选择完成情况"
:selectList="dict.getDict('ampvFilled')"
:selectList="dict.getDict('hljFillStatus')"
@change="search.current = 1, getList()">
</ai-select>
</template>
@@ -37,7 +37,7 @@
placeholder="输入评分人姓名"
clearable
v-throttle="() => {search.current = 1, getList()}"
@clear="search.current = 1, search.title = '', getList()"
@clear="search.current = 1, search.name = '', getList()"
suffix-icon="iconfont iconSearch">
</el-input>
</template>
@@ -83,28 +83,35 @@
name: '',
status: ''
},
dictList: [{
dictName: '未填写',
dictValue: '0'
}, {
dictName: '已填写',
dictValue: '1'
}],
total: 0,
isShow: false,
currIndex: 0,
isLoading: false,
tableData: [],
colConfigs: [
{prop: 'templateName', label: '参评人员', align: 'center' },
{prop: 'createUserName', label: '提交时间', align: 'center', width: 150 },
{prop: 'createUserName', label: '总分', align: 'center' },
{prop: 'evaluatorsName', label: '参评人员', align: 'center' },
{prop: 'commitTime', label: '提交时间', align: 'center', width: 150 },
{prop: 'totalScore', label: '总分', align: 'center' },
{
prop: 'status',
prop: 'examineStatus',
align: 'center',
label: '审核状态',
render: (h, {row}) => {
return h('span', {
style: {
color: this.dict.getColor('ampvFilled', row.status)
color: this.dict.getColor('auditStatus', row.examineStatus)
}
}, this.dict.getLabel('ampvFilled', row.status))
}, this.dict.getLabel('auditStatus', row.examineStatus))
}
},
{prop: 'createUserName', label: '审核人', align: 'center' },
{prop: 'examineUserName', label: '审核人', align: 'center' },
],
list: []
}
@@ -113,9 +120,11 @@
created () {
if (this.params && this.params.id) {
this.id = this.params.id
this.$dict.load(['ampvFilled', 'formStatus']).then(() => {
this.$dict.load(['auditStatus', 'hljFillStatus']).then(() => {
this.getInfo()
})
this.getList()
}
},
@@ -135,7 +144,8 @@
getList () {
this.instance.post(`/app/appassessmentscorev2task/fillInfo`, null, {
params: {
...this.search
...this.search,
taskId: this.params.id
}
}).then(res => {
if (res.code == 0) {