|
|
@@ -13,7 +13,6 @@
|
|
|
<el-cascader v-model="pageData.partnerCompaniesIdList" size="small" :show-all-levels="false" ize="small"
|
|
|
:options="ztreeNodes" :props="optionProps" clearable filterable></el-cascader>
|
|
|
</template> -->
|
|
|
-
|
|
|
<template slot="imageUrl" slot-scope="scope">
|
|
|
<img :src="`${process + scope.row.imageUrl}`" class="imageclass" />
|
|
|
</template>
|
|
|
@@ -24,6 +23,12 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</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"
|
|
|
+ :value="item.dictTag"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
</templateTable>
|
|
|
<el-dialog
|
|
|
title="编辑"
|
|
|
@@ -232,6 +237,7 @@ export default {
|
|
|
return {
|
|
|
process:'http://192.168.0.42:8080',
|
|
|
dockingPersonOption: [],
|
|
|
+ riskcodeList: [],
|
|
|
rulesAdd: {
|
|
|
signDate: [
|
|
|
{ required: true, message: '请输入签单日期', trigger: 'blur' },
|
|
|
@@ -330,9 +336,11 @@ export default {
|
|
|
|
|
|
{
|
|
|
label: "险种",
|
|
|
- prop: "riskcode",
|
|
|
- type: "select",
|
|
|
- options:[]
|
|
|
+ name: "riskcode",
|
|
|
+ type: "slot"
|
|
|
+ // prop: "riskcode",
|
|
|
+ // type: "select",
|
|
|
+ // options:[]
|
|
|
},
|
|
|
{
|
|
|
label: "交强保单号",
|
|
|
@@ -674,7 +682,8 @@ export default {
|
|
|
this.$api.dept.findDeptTree("9", "").then((res) => {
|
|
|
this.treedata = res.data;
|
|
|
});
|
|
|
- this.getDicType("InsInsuranceKind"); //险种类型
|
|
|
+ // this.getDicType("InsInsuranceKind"); //险种类型
|
|
|
+ this.getDicType("productsType"); //险种类型
|
|
|
this.getDicType("agreementType"); //险种类型
|
|
|
this.areaqueryList(1, 99, "provinceId");
|
|
|
this.companyqueryList(0,'allPartnerCompaniesId');
|
|
|
@@ -895,7 +904,9 @@ export default {
|
|
|
this.$api.insCompany.dicType(type).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this[type + "options"] = res.data.ddList;
|
|
|
- if (type == 'InsInsuranceKind') {
|
|
|
+ // if (type == 'InsInsuranceKind') {
|
|
|
+ if (type == 'productsType') {
|
|
|
+ this.riskcodeList = res.data.ddList
|
|
|
this.formList.forEach(e => {
|
|
|
if (e.prop == 'riskcode') {
|
|
|
e.options = res.data.ddList
|