|
|
@@ -21,7 +21,7 @@
|
|
|
</template>
|
|
|
<template slot="riskcode">
|
|
|
<el-select v-model="pageData.riskcode" placeholder="选择险种" size="small">
|
|
|
- <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
|
|
|
+ <el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
|
|
|
:value="item.dictTag"></el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
@@ -598,7 +598,6 @@ export default {
|
|
|
this.treedata = res.data;
|
|
|
});
|
|
|
this.getDicType("productsType"); //险种类型
|
|
|
- this.getDicType("productsType"); //险种类型
|
|
|
this.getDicType("agreementType"); //险种类型
|
|
|
this.areaqueryList(1, 99, "provinceId");
|
|
|
this.companyqueryList(0,'allPartnerCompaniesId');
|
|
|
@@ -818,7 +817,7 @@ drivinguploadBatchs(file, fileList){
|
|
|
if (type == 'productsType') {
|
|
|
this.formList.forEach(e => {
|
|
|
if (e.prop == 'riskcode') {
|
|
|
- e.options = res.data.ddList
|
|
|
+ this[type + "options"] = res.data.ddList
|
|
|
}
|
|
|
})
|
|
|
}
|