|
|
@@ -81,7 +81,7 @@
|
|
|
}}</el-button> -->
|
|
|
</div>
|
|
|
<div class="p-2" v-show="CarCollapsed">
|
|
|
- <el-col v-for=" (formItems, index) in CarAttr" :key="index"
|
|
|
+ <el-col v-for="(formItems, index) in CarAttr" :key="index"
|
|
|
:span="formItems.attrType == 'checkbox' ? 24 : 11">
|
|
|
<el-form-item :label="formItems.attrName">
|
|
|
<template v-if="formItems.attrType == 'inputNumber'">
|
|
|
@@ -154,9 +154,10 @@
|
|
|
</template>
|
|
|
<div v-if="formItems.attrType == 'select'" style="display: flex;">
|
|
|
<el-select multiple v-model="formItems.minArray" placeholder="请选择" style="width: 100%;"
|
|
|
- @change="selectChange($event, formItems.id, 'min')" :filterable="formItems.attrName == '车辆类型' ? true : false">
|
|
|
+ @change="selectChange($event, formItems.id, 'min')"
|
|
|
+ :filterable="formItems.attrName == '车辆类型' ? true : false">
|
|
|
<el-option v-for="dict in formItems.dictLabal" :key="dict.code" :label="dict.name"
|
|
|
- :value="formItems.attrName == '车辆类型' ? dict.code : dict.name"></el-option>
|
|
|
+ :value="formItems.attrName == '车辆类型' ? dict.code : dict.name"></el-option>
|
|
|
</el-select>
|
|
|
<el-checkbox style="margin-left: 10px;" v-if="formItems.attrCode == 'LicenseNo'"
|
|
|
v-model="LicenseNoChecked"
|
|
|
@@ -179,7 +180,7 @@
|
|
|
<div class="flex " v-if="formItems.attrType == 'radio'">
|
|
|
<el-radio-group v-model="formItems.min">
|
|
|
<el-radio-button v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.code">{{ dict.name
|
|
|
- }}</el-radio-button>
|
|
|
+ }}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<el-button v-if="formItems.attrType == 'radio'" size="mini" style="margin-left: 20px;"
|
|
|
@click="radiouncheck(formItems)">取消选择</el-button>
|
|
|
@@ -199,7 +200,7 @@
|
|
|
}}</el-button> -->
|
|
|
</div>
|
|
|
<div class="p-2" v-show="CarownersCollapsed">
|
|
|
- <el-col v-for=" (formItems, index) in CarownersAttr" :key="index"
|
|
|
+ <el-col v-for="(formItems, index) in CarownersAttr" :key="index"
|
|
|
:span="formItems.attrType == 'checkbox' ? 24 : 12">
|
|
|
<el-form-item :label="formItems.attrName">
|
|
|
<template v-if="formItems.attrType == 'inputNumber'">
|
|
|
@@ -276,8 +277,18 @@
|
|
|
<el-option v-for="dict in formItems.dictLabal" :key="dict.code" :label="dict.name"
|
|
|
:value="dict.name"></el-option>
|
|
|
</el-select>
|
|
|
- <el-input v-if="formItems.attrType == 'input'" v-model="formItems.min" placeholder="身份证前2位或前6位
|
|
|
-"></el-input>
|
|
|
+
|
|
|
+ <div v-if="formItems.attrType == 'input'">
|
|
|
+ <div v-if="formItems.attrCode == 'CarOwnersAddress'" style="display: flex;">
|
|
|
+ <el-input v-model="formItems.min" placeholder="车主地址"></el-input>
|
|
|
+ <el-select v-model="formItems.operator" placeholder="请选择" style="width: 120px;margin-left: 20px;">
|
|
|
+ <el-option label="包含" value="1"></el-option>
|
|
|
+ <el-option label="不包含" value="2"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <el-input v-else v-model="formItems.min" placeholder="身份证前2位或前6位
|
|
|
+ "></el-input>
|
|
|
+ </div>
|
|
|
<el-checkbox-group v-if="formItems.attrType == 'checkbox'" v-model="formItems.list"
|
|
|
@change="checkboxChange($event, formItems.id, 'min')">
|
|
|
<el-checkbox v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.name"></el-checkbox>
|
|
|
@@ -285,7 +296,7 @@
|
|
|
<div class="flex " v-if="formItems.attrType == 'radio'">
|
|
|
<el-radio-group v-model="formItems.min">
|
|
|
<el-radio-button v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.code">{{ dict.name
|
|
|
- }}</el-radio-button>
|
|
|
+ }}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<el-button v-if="formItems.attrType == 'radio'" size="mini" style="margin-left: 20px;"
|
|
|
@click="radiouncheck(formItems)">取消选择</el-button>
|
|
|
@@ -306,7 +317,7 @@
|
|
|
}}</el-button> -->
|
|
|
</div>
|
|
|
<div class="p-2" v-show="ApplicantCollapsed">
|
|
|
- <el-col v-for=" (formItems, index) in ApplicantAttr" :key="index"
|
|
|
+ <el-col v-for="(formItems, index) in ApplicantAttr" :key="index"
|
|
|
:span="formItems.attrType == 'checkbox' ? 24 : 12">
|
|
|
<el-form-item :label="formItems.attrName">
|
|
|
<template v-if="formItems.attrType == 'inputNumber'">
|
|
|
@@ -382,8 +393,17 @@
|
|
|
<el-option v-for="dict in formItems.dictLabal" :key="dict.code" :label="dict.name"
|
|
|
:value="dict.name"></el-option>
|
|
|
</el-select>
|
|
|
- <el-input v-if="formItems.attrType == 'input'" v-model="formItems.min" placeholder="身份证前2位或前6位
|
|
|
-"></el-input>
|
|
|
+ <div v-if="formItems.attrType == 'input'">
|
|
|
+ <div v-if="formItems.attrCode == 'ApplicantAddress'" style="display: flex;">
|
|
|
+ <el-input v-model="formItems.min" placeholder="投保人地址"></el-input>
|
|
|
+ <el-select v-model="formItems.operator" placeholder="请选择" style="width: 120px;margin-left: 20px;">
|
|
|
+ <el-option label="包含" value="1"></el-option>
|
|
|
+ <el-option label="不包含" value="2"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <el-input v-else v-model="formItems.min" placeholder="身份证前2位或前6位
|
|
|
+ "></el-input>
|
|
|
+ </div>
|
|
|
<el-checkbox-group v-if="formItems.attrType == 'checkbox'" v-model="formItems.list"
|
|
|
@change="checkboxChange($event, formItems.id, 'min')">
|
|
|
<el-checkbox v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.name"></el-checkbox>
|
|
|
@@ -391,7 +411,7 @@
|
|
|
<div class="flex " v-if="formItems.attrType == 'radio'">
|
|
|
<el-radio-group v-model="formItems.min">
|
|
|
<el-radio-button v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.code">{{ dict.name
|
|
|
- }}</el-radio-button>
|
|
|
+ }}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<el-button v-if="formItems.attrType == 'radio'" size="mini" style="margin-left: 20px;"
|
|
|
@click="radiouncheck(formItems)">取消选择</el-button>
|
|
|
@@ -411,7 +431,7 @@
|
|
|
}}</el-button> -->
|
|
|
</div>
|
|
|
<div class="p-2" v-show="InsuredCollapsed">
|
|
|
- <el-col v-for=" (formItems, index) in InsuredAttr" :key="index"
|
|
|
+ <el-col v-for="(formItems, index) in InsuredAttr" :key="index"
|
|
|
:span="formItems.attrType == 'checkbox' ? 24 : 12">
|
|
|
<el-form-item :label="formItems.attrName">
|
|
|
<template v-if="formItems.attrType == 'inputNumber'">
|
|
|
@@ -487,8 +507,17 @@
|
|
|
<el-option v-for="dict in formItems.dictLabal" :key="dict.code" :label="dict.name"
|
|
|
:value="dict.name"></el-option>
|
|
|
</el-select>
|
|
|
- <el-input v-if="formItems.attrType == 'input'" v-model="formItems.min" placeholder="身份证前2位或前6位
|
|
|
-"></el-input>
|
|
|
+ <div v-if="formItems.attrType == 'input'">
|
|
|
+ <div v-if="formItems.attrCode == 'InsuredAddress'" style="display: flex;">
|
|
|
+ <el-input v-model="formItems.min" placeholder="被保人地址"></el-input>
|
|
|
+ <el-select v-model="formItems.operator" placeholder="请选择" style="width: 120px;margin-left: 20px;">
|
|
|
+ <el-option label="包含" value="1"></el-option>
|
|
|
+ <el-option label="不包含" value="2"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <el-input v-else v-model="formItems.min" placeholder="身份证前2位或前6位
|
|
|
+ "></el-input>
|
|
|
+ </div>
|
|
|
<el-checkbox-group v-if="formItems.attrType == 'checkbox'" v-model="formItems.list"
|
|
|
@change="checkboxChange($event, formItems.id, 'min')">
|
|
|
<el-checkbox v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.name"></el-checkbox>
|
|
|
@@ -496,7 +525,7 @@
|
|
|
<div class="flex " v-if="formItems.attrType == 'radio'">
|
|
|
<el-radio-group v-model="formItems.min">
|
|
|
<el-radio-button v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.code">{{ dict.name
|
|
|
- }}</el-radio-button>
|
|
|
+ }}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<el-button v-if="formItems.attrType == 'radio'" size="mini" style="margin-left: 20px;"
|
|
|
@click="radiouncheck(formItems)">取消选择</el-button>
|
|
|
@@ -517,7 +546,7 @@
|
|
|
}}</el-button> -->
|
|
|
</div>
|
|
|
<div class="p-2" v-show="insuranceTypeCollapsed">
|
|
|
- <el-col v-for=" (formItems, index) in insuranceTypeAttr" :key="index"
|
|
|
+ <el-col v-for="(formItems, index) in insuranceTypeAttr" :key="index"
|
|
|
:span="formItems.attrType == 'checkbox' ? 24 : 12">
|
|
|
<el-form-item :label="formItems.attrName">
|
|
|
<template v-if="formItems.attrType == 'inputNumber'">
|
|
|
@@ -601,7 +630,7 @@
|
|
|
<div class="flex " v-if="formItems.attrType == 'radio'">
|
|
|
<el-radio-group v-model="formItems.min">
|
|
|
<el-radio-button v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.code">{{ dict.name
|
|
|
- }}</el-radio-button>
|
|
|
+ }}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<el-button v-if="formItems.attrType == 'radio'" size="mini" style="margin-left: 20px;"
|
|
|
@click="radiouncheck(formItems)">取消选择</el-button>
|
|
|
@@ -622,7 +651,7 @@
|
|
|
}}</el-button> -->
|
|
|
</div>
|
|
|
<div class="p-2" v-show="insurerCostFactorCollapsed">
|
|
|
- <el-col v-for=" (formItems, index) in insurerCostFactorAttr" :key="index"
|
|
|
+ <el-col v-for="(formItems, index) in insurerCostFactorAttr" :key="index"
|
|
|
:span="formItems.attrType == 'checkbox' ? 24 : 12">
|
|
|
<el-form-item :label="formItems.attrName">
|
|
|
<template v-if="formItems.attrType == 'inputNumber'">
|
|
|
@@ -706,7 +735,7 @@
|
|
|
<div class="flex " v-if="formItems.attrType == 'radio'">
|
|
|
<el-radio-group v-model="formItems.min">
|
|
|
<el-radio-button v-for="dict in formItems.dictLabal" :key="dict.id" :label="dict.code">{{ dict.name
|
|
|
- }}</el-radio-button>
|
|
|
+ }}</el-radio-button>
|
|
|
</el-radio-group>
|
|
|
<el-button v-if="formItems.attrType == 'radio'" size="mini" style="margin-left: 20px;"
|
|
|
@click="radiouncheck(formItems)">取消选择</el-button>
|
|
|
@@ -987,4 +1016,3 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
-
|