Commit 17f95e04 by zhu_yu_dan

添加会员制度里中循环中的key

parent a7f3fa23
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
<div class="attention-wrap member-task-contain"> <div class="attention-wrap member-task-contain">
<!-- tab panel --> <!-- tab panel -->
<div class="outer-contain"> <div class="outer-contain">
<template v-for="(taskrow,index) in companyGroupTask"> <template v-for="(taskrow,index) in companyGroupTask" >
<template v-if="taskrow.item.length"> <template v-if="taskrow.item.length">
<el-row class="row-task-cell" v-for="(taskchild,ind) in taskrow.item"> <el-row class="row-task-cell" v-for="(taskchild,ind) in taskrow.item" :key="idx">
<el-col :span="8"> <el-col :span="8">
{{taskchild.missionItemName}} {{taskchild.missionItemName}}
</el-col> </el-col>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</div> </div>
<div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateData"> <div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateData" :key="index">
<!-- 订单 --> <!-- 订单 -->
<div> <div>
<el-row class="order-evaluate-row row-thead"> <el-row class="order-evaluate-row row-thead">
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
</div></el-col> </div></el-col>
<el-col :span="8"><div class=""><el-switch v-model="evaItem.status" @change="merchantOrderSwitch($event,index,evaItem,'all')"></el-switch></div></el-col> <el-col :span="8"><div class=""><el-switch v-model="evaItem.status" @change="merchantOrderSwitch($event,index,evaItem,'all')"></el-switch></div></el-col>
</el-row> </el-row>
<el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList"> <el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList" :key="ind">
<el-col :span="8"><div class="">{{bodyItem.brandName}}</div></el-col> <el-col :span="8"><div class="">{{bodyItem.brandName}}</div></el-col>
<el-col :span="8"> <el-col :span="8">
<div class=""> <div class="">
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
</div> </div>
<!-- 额外十字评语 --> <!-- 额外十字评语 -->
<div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateTextData"> <div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateTextData" :key="index">
<div> <div>
<el-row class="order-evaluate-row row-thead"> <el-row class="order-evaluate-row row-thead">
<el-col :span="8"><div class="">{{evaItem.missionItemName}}</div></el-col> <el-col :span="8"><div class="">{{evaItem.missionItemName}}</div></el-col>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</el-col> </el-col>
<el-col :span="8"><div class=""><el-switch v-model="evaItem.status" @change="merchantOrderSwitch($event,index,evaItem,'all')"></el-switch></div></el-col> <el-col :span="8"><div class=""><el-switch v-model="evaItem.status" @change="merchantOrderSwitch($event,index,evaItem,'all')"></el-switch></div></el-col>
</el-row> </el-row>
<el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList"> <el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList" :key="ind">
<el-col :span="8"><div class="">{{bodyItem.brandName}}</div></el-col> <el-col :span="8"><div class="">{{bodyItem.brandName}}</div></el-col>
<el-col :span="8"> <el-col :span="8">
<div class=""> <div class="">
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<el-form-item label="选择商户"> <el-form-item label="选择商户">
<el-select v-model="ruleForm.cliqueEnterpriseIds" placeholder="请选择" multiple > <el-select v-model="ruleForm.cliqueEnterpriseIds" placeholder="请选择" multiple >
<el-option <el-option
v-for="item in mechantOption" v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
......
...@@ -127,7 +127,8 @@ ...@@ -127,7 +127,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-select size="small" v-model="scope.row.selectedGradeId" placeholder="请选择" @change="changeCardLevel($event,scope.row)"> <el-select size="small" v-model="scope.row.selectedGradeId" placeholder="请选择" @change="changeCardLevel($event,scope.row)">
<el-option <el-option
v-for="item in scope.row.gradeList" v-for="(item,ind) in scope.row.gradeList"
:key="ind"
:label="item.gradeName" :label="item.gradeName"
:value="item.gradeId"> :value="item.gradeId">
</el-option> </el-option>
......
...@@ -69,7 +69,8 @@ ...@@ -69,7 +69,8 @@
@focus="searchFocus(index,item)" @focus="searchFocus(index,item)"
> >
<el-option <el-option
v-for="item in storeListOptions" v-for="(item,ind) in storeListOptions"
:key="ind"
:label="item.value" :label="item.value"
:value="item.key"> :value="item.key">
</el-option> </el-option>
...@@ -138,8 +139,8 @@ ...@@ -138,8 +139,8 @@
<el-form-item label="选择商户"> <el-form-item label="选择商户">
<el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple > <el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple >
<el-option <el-option
v-for="item in mechantOption" v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
......
...@@ -129,7 +129,8 @@ ...@@ -129,7 +129,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-select size="small" v-model="scope.row.selectedGradeId" placeholder="请选择" @change="changeCardLevel($event,scope.row)"> <el-select size="small" v-model="scope.row.selectedGradeId" placeholder="请选择" @change="changeCardLevel($event,scope.row)">
<el-option <el-option
v-for="item in scope.row.gradeList" v-for="(item,ind) in scope.row.gradeList"
:key="ind"
:label="item.gradeName" :label="item.gradeName"
:value="item.gradeId"> :value="item.gradeId">
</el-option> </el-option>
......
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
<el-form-item label="选择商户"> <el-form-item label="选择商户">
<el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple > <el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple >
<el-option <el-option
v-for="item in mechantOption" v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
......
...@@ -68,8 +68,8 @@ ...@@ -68,8 +68,8 @@
@focus="searchFocus(index,item)" @focus="searchFocus(index,item)"
> >
<el-option <el-option
v-for="item in storeListOptions" v-for="(item,ind) in storeListOptions"
:key="ind"
:label="item.value" :label="item.value"
:value="item.key"> :value="item.key">
</el-option> </el-option>
...@@ -144,8 +144,8 @@ ...@@ -144,8 +144,8 @@
<el-form-item label="选择商户"> <el-form-item label="选择商户">
<el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple > <el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple >
<el-option <el-option
v-for="item in mechantOption" v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment