|
@@ -3,22 +3,22 @@
|
|
|
<template #header>
|
|
|
<div class="w-32">
|
|
|
<el-select v-model="searchForm.typeValue" clearable block placeholder="任务类型">
|
|
|
- <el-option v-for="item in tasksType" :label="item.dictValue" :value="item.dictKey" />
|
|
|
+ <el-option v-for="item in tasksType" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="ml-3 w-32">
|
|
|
<el-select v-model="searchForm.statusValue" clearable block placeholder="任务状态">
|
|
|
- <el-option v-for="item in tasksStatus" :label="item.dictValue" :value="item.dictKey" />
|
|
|
+ <el-option v-for="item in tasksStatus" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="ml-3 w-32">
|
|
|
<el-select v-model="searchForm.contractIdValue" clearable block placeholder="合同段" @change="ContractIdChange">
|
|
|
- <el-option v-for="item in contractList" :label="item.contractName" :value="item.id" />
|
|
|
+ <el-option v-for="item in contractList" :key="item.id" :label="item.contractName" :value="item.id" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="ml-3 w-32">
|
|
|
<el-select v-model="searchForm.batch" clearable block placeholder="上报批次">
|
|
|
- <el-option v-for="item in reportBatch" :label="item.batch" :value="item.batch" />
|
|
|
+ <el-option v-for="item in reportBatch" :key="item.batch" :label="item.batch" :value="item.batch" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="ml-3 w-64">
|
|
@@ -68,7 +68,7 @@
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
<template #taskApproveUserNamesList="{ row }">
|
|
|
- <template v-for="item in row.taskApproveUserNamesList">
|
|
|
+ <template v-for="(item, index) in row.taskApproveUserNamesList" :key="index">
|
|
|
<el-tag
|
|
|
v-if="item.taskUserName"
|
|
|
:type="`${item.evisaStatus === 2 ? 'success' : item.evisaStatus === 3 ? 'warning' : item.evisaStatus === 999 ? 'danger' : 'info'}`" class="mx-1" effect="dark"
|