|
|
@@ -25,7 +25,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="保险公司">
|
|
|
- <el-cascader v-model="agreement.partnerCompaniesId" :size="overSize" :show-all-levels="false"
|
|
|
+ <el-cascader v-model="agreement.partnerCompaniesId" :size="overSize" :show-all-levels="true"
|
|
|
:options="ztreeNodes" :props="optionProps" @change="handleChange" clearable filterable></el-cascader>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -109,18 +109,18 @@
|
|
|
<el-table-column prop="endDate" label="协议失效日期" align="center"></el-table-column>
|
|
|
<el-table-column prop="matchType" label="匹配日期类型" align="center" :formatter="matchtypeFormatter"></el-table-column>
|
|
|
<el-table-column prop="moneyTime" label="结算周期" align="center" :formatter="moneytimeFormatter"></el-table-column>
|
|
|
- <el-table-column prop="auditStatus" label="状态" align="center" >
|
|
|
- <template slot-scope="scope">
|
|
|
- <span :style="'color:'+agreestatusStyle(scope.row.auditStatus)">
|
|
|
- {{auditstatusFormatter(scope.row)}}
|
|
|
+ <el-table-column prop="auditStatus" label="状态" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span :style="'color:' + agreestatusStyle(scope.row.auditStatus)">
|
|
|
+ {{ auditstatusFormatter(scope.row) }}
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="updateTime" label="修改时间" align="center" :formatter="updatetimeFormatter"></el-table-column>
|
|
|
<el-table-column prop="validStatus" label="是否有效" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span :style="{ color: scope.row.validStatus == '1'?'#67c23a':'#909399' }">{{
|
|
|
- scope.row.validStatus == 1 ? "有效" :scope.row.validStatus == 0 ? "无效":'待审核' }}</span>
|
|
|
+ <span :style="{ color: scope.row.validStatus == '1' ? '#67c23a' : '#909399' }">{{
|
|
|
+ scope.row.validStatus == 1 ? "有效" : scope.row.validStatus == 0 ? "无效" : '待审核' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="modifiedBy" label="修改人" align="center" width="130"></el-table-column>
|
|
|
@@ -213,7 +213,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="保险公司" :prop="supplierType == '1' ? '' : 'associationCompaniesId'">
|
|
|
- <el-cascader :disabled="supplierType == '1' || operType == 'EDIT'" style="width: 100%"
|
|
|
+ <el-cascader style="width: 100%" :disabled="supplierType == '1' || operType == 'EDIT'"
|
|
|
v-model="agreement.associationCompaniesId" :show-all-levels="false" :options="prodInsurance"
|
|
|
:props="optionProps" @change="prodhandleChange" clearable filterable></el-cascader>
|
|
|
</el-form-item>
|
|
|
@@ -302,7 +302,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="险种配置">
|
|
|
- <el-select v-model="productFilterList" multiple placeholder="选择险种" style="width: 100%" @change="productFilterListChange">
|
|
|
+ <el-select v-model="productFilterList" multiple placeholder="选择险种" style="width: 100%"
|
|
|
+ @change="productFilterListChange">
|
|
|
<el-option v-for="item in InsInsuranceKindoptions" :key="item.dictValue" :label="item.dictTag"
|
|
|
:value="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
|
@@ -427,25 +428,20 @@
|
|
|
</el-form>
|
|
|
<kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="250" :showOperation="true"
|
|
|
:showBatchDelete="false" :showBatchSettled="false" :showBatchPrint="false" :data="productPageResult"
|
|
|
- :columns="productColumns" @findPage="productCostFindPage"
|
|
|
- button2Name="编辑" permsButton2="agreement:input:productCost" @handleButton2="productUpdate"
|
|
|
- button3Name="删除" permsButton3="agreement:input:productCost" @handleButton3="productDelete"
|
|
|
- button5Name="轨迹" @handleButton5="trajectory"
|
|
|
- button3Icon="">
|
|
|
+ :columns="productColumns" @findPage="productCostFindPage" button2Name="编辑"
|
|
|
+ permsButton2="agreement:input:productCost" @handleButton2="productUpdate" button3Name="删除"
|
|
|
+ permsButton3="agreement:input:productCost" @handleButton3="productDelete" button5Name="轨迹"
|
|
|
+ @handleButton5="trajectory" button3Icon="">
|
|
|
</kt-common-table>
|
|
|
</el-dialog>
|
|
|
- <!-- 订单轨迹 -->
|
|
|
- <el-dialog :visible.sync="ddgjdialogVisible" width="430px">
|
|
|
+ <!-- 订单轨迹 -->
|
|
|
+ <el-dialog :visible.sync="ddgjdialogVisible" width="430px">
|
|
|
<div slot="title" class=" dialog-title">
|
|
|
<span>订单轨迹</span>
|
|
|
</div>
|
|
|
<div style="height: 300px; overflow-y: auto">
|
|
|
- <el-steps direction="vertical" :active="trajectoryTable.length - 1" >
|
|
|
- <el-step
|
|
|
- :title="item.readme "
|
|
|
- :key="item.id"
|
|
|
- v-for="item in trajectoryTable"
|
|
|
- >
|
|
|
+ <el-steps direction="vertical" :active="trajectoryTable.length - 1">
|
|
|
+ <el-step :title="item.readme" :key="item.id" v-for="item in trajectoryTable">
|
|
|
<template slot="description">
|
|
|
<span>提交人:{{ item.createBy }}</span>
|
|
|
<div>创建时间:{{ item.createTime }}</div>
|
|
|
@@ -707,51 +703,32 @@
|
|
|
<el-form ref="queryFormRef" :model="productHistoryRecordForm" label-width="80px">
|
|
|
<el-col :span="5">
|
|
|
<el-form-item label="操作人">
|
|
|
- <el-input
|
|
|
- clearable
|
|
|
- style="width:220px"
|
|
|
- size="small"
|
|
|
- placeholder="操作人"
|
|
|
- v-model="productHistoryRecordForm.modifier"
|
|
|
- ></el-input>
|
|
|
+ <el-input clearable style="width:220px" size="small" placeholder="操作人"
|
|
|
+ v-model="productHistoryRecordForm.modifier"></el-input>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="操作类型">
|
|
|
<el-select clearable size="small" v-model="productHistoryRecordForm.operatorType" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in operationTypeOption"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <el-option v-for="item in operationTypeOption" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="操作时间">
|
|
|
- <el-date-picker
|
|
|
- clearable
|
|
|
- v-model="productHistoryRecordForm.operatorTime"
|
|
|
- type="date"
|
|
|
- size="small"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择日期">
|
|
|
+ <el-date-picker clearable v-model="productHistoryRecordForm.operatorTime" type="date" size="small"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="选择日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="3">
|
|
|
- <el-form-item label="">
|
|
|
- <el-button
|
|
|
- size="small"
|
|
|
- type="primary"
|
|
|
- @click="productHistoryCostFindPage"
|
|
|
- >查询</el-button
|
|
|
- >
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3">
|
|
|
+ <el-form-item label="">
|
|
|
+ <el-button size="small" type="primary" @click="productHistoryCostFindPage">查询</el-button>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
- </el-row>
|
|
|
+ </el-row>
|
|
|
<kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="200" :showOperation="true"
|
|
|
button2Name="详情" @handleButton2="productHistoryDetails" :showBatchDelete="false" :showBatchSettled="false"
|
|
|
:showBatchPrint="false" :data="productHistoryRecordResult" :columns="productHistoryRecordColumns"
|
|
|
@@ -764,51 +741,33 @@
|
|
|
<el-form ref="queryFormRef" :model="underwritingRulesHistoryCostFindForm" label-width="80px">
|
|
|
<el-col :span="5">
|
|
|
<el-form-item label="操作人">
|
|
|
- <el-input
|
|
|
- clearable
|
|
|
- style="width:220px"
|
|
|
- size="small"
|
|
|
- placeholder="操作人"
|
|
|
- v-model="underwritingRulesHistoryCostFindForm.modifier"
|
|
|
- ></el-input>
|
|
|
+ <el-input clearable style="width:220px" size="small" placeholder="操作人"
|
|
|
+ v-model="underwritingRulesHistoryCostFindForm.modifier"></el-input>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="操作类型">
|
|
|
- <el-select clearable size="small" v-model="underwritingRulesHistoryCostFindForm.operatorType" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in operationTypeOption"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <el-select clearable size="small" v-model="underwritingRulesHistoryCostFindForm.operatorType"
|
|
|
+ placeholder="请选择">
|
|
|
+ <el-option v-for="item in operationTypeOption" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="操作时间">
|
|
|
- <el-date-picker
|
|
|
- clearable
|
|
|
- v-model="underwritingRulesHistoryCostFindForm.operatorTime"
|
|
|
- type="date"
|
|
|
- size="small"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择日期">
|
|
|
+ <el-date-picker clearable v-model="underwritingRulesHistoryCostFindForm.operatorTime" type="date"
|
|
|
+ size="small" value-format="yyyy-MM-dd" placeholder="选择日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="3">
|
|
|
- <el-form-item label="">
|
|
|
- <el-button
|
|
|
- size="small"
|
|
|
- type="primary"
|
|
|
- @click="underwritingRulesHistoryCostFindPage"
|
|
|
- >查询</el-button
|
|
|
- >
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3">
|
|
|
+ <el-form-item label="">
|
|
|
+ <el-button size="small" type="primary" @click="underwritingRulesHistoryCostFindPage">查询</el-button>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
- </el-row>
|
|
|
+ </el-row>
|
|
|
<kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="200" :showOperation="true"
|
|
|
:showBatchDelete="false" :showBatchSettled="false" :showBatchPrint="false" button2Name="详情"
|
|
|
@handleButton2="underwritingRulesHistoryDetails" :data="underwritingRulesHistoryRecordResult"
|
|
|
@@ -820,51 +779,32 @@
|
|
|
<el-form ref="queryFormRef" :model="productpageRequestForm" label-width="80px">
|
|
|
<el-col :span="5">
|
|
|
<el-form-item label="操作人">
|
|
|
- <el-input
|
|
|
- clearable
|
|
|
- style="width:220px"
|
|
|
- size="small"
|
|
|
- placeholder="操作人"
|
|
|
- v-model="productpageRequestForm.modifier"
|
|
|
- ></el-input>
|
|
|
+ <el-input clearable style="width:220px" size="small" placeholder="操作人"
|
|
|
+ v-model="productpageRequestForm.modifier"></el-input>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="操作类型">
|
|
|
<el-select clearable size="small" v-model="productpageRequestForm.operatorType" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in operationTypeOption"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
+ <el-option v-for="item in operationTypeOption" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
<el-form-item label="操作时间">
|
|
|
- <el-date-picker
|
|
|
- clearable
|
|
|
- v-model="productpageRequestForm.operatorTime"
|
|
|
- type="date"
|
|
|
- size="small"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- placeholder="选择日期">
|
|
|
+ <el-date-picker clearable v-model="productpageRequestForm.operatorTime" type="date" size="small"
|
|
|
+ value-format="yyyy-MM-dd" placeholder="选择日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="3">
|
|
|
- <el-form-item label="">
|
|
|
- <el-button
|
|
|
- size="small"
|
|
|
- type="primary"
|
|
|
- @click="agreementHistoryCostFindPage"
|
|
|
- >查询</el-button
|
|
|
- >
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3">
|
|
|
+ <el-form-item label="">
|
|
|
+ <el-button size="small" type="primary" @click="agreementHistoryCostFindPage">查询</el-button>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
- </el-row>
|
|
|
+ </el-row>
|
|
|
<kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="200" :showOperation="true"
|
|
|
button2Name="详情" @handleButton2="agreementsHistory" :showBatchDelete="false" :showBatchSettled="false"
|
|
|
:showBatchPrint="false" :data="agreementHistoryRecordResult" :columns="agreementHistoryRecordColumns"
|
|
|
@@ -1047,7 +987,8 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="险种配置">
|
|
|
- <el-select v-model="productFilterList" multiple placeholder="选择险种" style="width: 100%" @change="productFilterListChange">
|
|
|
+ <el-select v-model="productFilterList" multiple placeholder="选择险种" style="width: 100%"
|
|
|
+ @change="productFilterListChange">
|
|
|
<el-option v-for="item in InsInsuranceKindoptions" :key="item.dictValue" :label="item.dictTag"
|
|
|
:value="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
|
@@ -1155,16 +1096,16 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- operationTypeOption:[
|
|
|
+ operationTypeOption: [
|
|
|
{
|
|
|
- label:'新增',
|
|
|
- value:'add'
|
|
|
- },{
|
|
|
- label:'修改',
|
|
|
- value:'update'
|
|
|
- },{
|
|
|
- label:'删除',
|
|
|
- value:'delete'
|
|
|
+ label: '新增',
|
|
|
+ value: 'add'
|
|
|
+ }, {
|
|
|
+ label: '修改',
|
|
|
+ value: 'update'
|
|
|
+ }, {
|
|
|
+ label: '删除',
|
|
|
+ value: 'delete'
|
|
|
},
|
|
|
],
|
|
|
areaOptions: [],
|
|
|
@@ -1215,7 +1156,7 @@ export default {
|
|
|
minWidth: 1060,
|
|
|
},
|
|
|
{ prop: "operator", label: "操作人", minWidth: 160 },
|
|
|
- { prop: "operatorType", label: "操作类型", formatter: this.operatorTypeFormatter },
|
|
|
+ { prop: "operatorType", label: "操作类型", formatter: this.operatorTypeFormatter },
|
|
|
{ prop: "operatorTime", label: "操作时间", minWidth: 160 },
|
|
|
],
|
|
|
underwritingRulesHistoryRecordColumns: [
|
|
|
@@ -1384,7 +1325,7 @@ export default {
|
|
|
{ prop: "costsEndDate", label: "费用止期", minWidth: 160 },
|
|
|
{ prop: "costsDescription", label: "费用描述", minWidth: 220 },
|
|
|
{ prop: "desc", label: "费用因子描述", minWidth: 520 },
|
|
|
- { prop: "isAudit", label: "审核状态", minWidth: 160 ,formatter:this.auditTypeFormation},
|
|
|
+ { prop: "isAudit", label: "审核状态", minWidth: 160, formatter: this.auditTypeFormation },
|
|
|
{
|
|
|
prop: "jqCarCostsProportion",
|
|
|
label: "费用比例(交强)",
|
|
|
@@ -1658,7 +1599,7 @@ export default {
|
|
|
|
|
|
{ prop: "priorityLevel", label: "方案优先级", minWidth: 120 },
|
|
|
],
|
|
|
- productFilterList:[],
|
|
|
+ productFilterList: [],
|
|
|
labelWidth: "160px",
|
|
|
factorDialogTitle: "承保规则录入", //配置因子弹框标题
|
|
|
factorType: "1", //1 费用因子 2 核保因子
|
|
|
@@ -2023,7 +1964,7 @@ export default {
|
|
|
approvalStatusoptions: [], //审批状态
|
|
|
productsTypeoptions: [], //车险产品字典
|
|
|
productsTypeRuleoptions: [], //车险产品字典(不含费用的兜底配置)
|
|
|
- InsInsuranceKindoptions:[],//险种配置
|
|
|
+ InsInsuranceKindoptions: [],//险种配置
|
|
|
//操作符字典
|
|
|
operator: { "pageNum": 1, "pageSize": 10, "columnFilters": { "label": { "name": "label", "value": "agreement_operator" } } },
|
|
|
operatorlist: [],
|
|
|
@@ -2055,12 +1996,12 @@ export default {
|
|
|
productHistoryRecordResult: [],
|
|
|
underwritingRulesHistoryRecordDialogVisible: false,
|
|
|
underwritingRulesHistoryRecordResult: [],
|
|
|
- productpageRequestForm:{},
|
|
|
- productHistoryRecordForm:{},
|
|
|
- underwritingRulesHistoryCostFindForm:{},
|
|
|
+ productpageRequestForm: {},
|
|
|
+ productHistoryRecordForm: {},
|
|
|
+ underwritingRulesHistoryCostFindForm: {},
|
|
|
// 轨迹
|
|
|
- ddgjdialogVisible:false,
|
|
|
- trajectoryTable:[]
|
|
|
+ ddgjdialogVisible: false,
|
|
|
+ trajectoryTable: []
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -2152,8 +2093,8 @@ export default {
|
|
|
this.findLeftTreeData();
|
|
|
},
|
|
|
methods: {
|
|
|
- agreestatusStyle(val){
|
|
|
- switch (val) {
|
|
|
+ agreestatusStyle(val) {
|
|
|
+ switch (val) {
|
|
|
case 0:
|
|
|
return '#409eff'
|
|
|
case 1:
|
|
|
@@ -2165,8 +2106,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 费用因子轨迹
|
|
|
- trajectory(item){
|
|
|
- this.$api.insCompany.trajectoryGet({costsId:item.row.id}).then((res) => {
|
|
|
+ trajectory(item) {
|
|
|
+ this.$api.insCompany.trajectoryGet({ costsId: item.row.id }).then((res) => {
|
|
|
if (res.code == 200 && res.data.length > 0) {
|
|
|
this.ddgjdialogVisible = true;
|
|
|
this.trajectoryTable = res.data;
|
|
|
@@ -2178,9 +2119,9 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- productFilterListChange(e){
|
|
|
- let productstring=e.join(",")
|
|
|
- this.agreement.productsCode=productstring;
|
|
|
+ productFilterListChange(e) {
|
|
|
+ let productstring = e.join(",")
|
|
|
+ this.agreement.productsCode = productstring;
|
|
|
},
|
|
|
customTool(ids) {
|
|
|
this.$confirm('是否确认提交?', '提示', {
|
|
|
@@ -2243,9 +2184,9 @@ export default {
|
|
|
this.$api.insCompany.agreementhistoryGetDetail(row.batch).then((res) => {
|
|
|
if (res.code == '200') {
|
|
|
this.agreementsHistoryDialogVisible = true;
|
|
|
- if(res.data.ptlAgreementHistory.productsCode){
|
|
|
- let productsCodeList=res.data.ptlAgreementHistory.productsCode.split(",");
|
|
|
- this.productFilterList=productsCodeList;
|
|
|
+ if (res.data.ptlAgreementHistory.productsCode) {
|
|
|
+ let productsCodeList = res.data.ptlAgreementHistory.productsCode.split(",");
|
|
|
+ this.productFilterList = productsCodeList;
|
|
|
}
|
|
|
this.agreementsHistoryInfo.agreement = res.data.ptlAgreementHistory;
|
|
|
this.agreementsHistoryInfo.attributionform = res.data.ptlAgreementAttributionHistory ? res.data.ptlAgreementAttributionHistory : '{}';
|
|
|
@@ -2417,7 +2358,7 @@ export default {
|
|
|
}
|
|
|
this.productpageRequest["agreementId"] = this.agreementId;
|
|
|
this.$api.insCompany
|
|
|
- .agreementHistory({...this.productpageRequest,...this.productpageRequestForm})
|
|
|
+ .agreementHistory({ ...this.productpageRequest, ...this.productpageRequestForm })
|
|
|
.then((res) => {
|
|
|
this.agreementHistoryRecordResult = res.data;
|
|
|
});
|
|
|
@@ -2442,7 +2383,7 @@ export default {
|
|
|
}
|
|
|
this.productpageRequest["agreementId"] = this.agreementId;
|
|
|
this.$api.insCompany
|
|
|
- .productCostHistory({...this.productpageRequest,...this.productHistoryRecordForm})
|
|
|
+ .productCostHistory({ ...this.productpageRequest, ...this.productHistoryRecordForm })
|
|
|
.then((res) => {
|
|
|
this.productHistoryRecordResult = res.data;
|
|
|
});
|
|
|
@@ -2477,7 +2418,7 @@ export default {
|
|
|
}
|
|
|
this.productpageRequest["agreementId"] = this.agreementId;
|
|
|
this.$api.insCompany
|
|
|
- .undwrtRulesHistoryPage({...this.productpageRequest,...this.underwritingRulesHistoryCostFindForm})
|
|
|
+ .undwrtRulesHistoryPage({ ...this.productpageRequest, ...this.underwritingRulesHistoryCostFindForm })
|
|
|
.then((res) => {
|
|
|
this.underwritingRulesHistoryRecordResult = res.data;
|
|
|
});
|
|
|
@@ -2705,6 +2646,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
agreementTypeChange(value) {
|
|
|
+ console.log(value)
|
|
|
this.agreement.agreementType = value;
|
|
|
},
|
|
|
//授权树节点过滤
|
|
|
@@ -2734,9 +2676,9 @@ export default {
|
|
|
this.$api.insCompany.agreementId(row.id).then((res) => {
|
|
|
if (res.code == "200") {
|
|
|
let scheme = res.data.scheme;
|
|
|
- if(res.data.agreement.productsCode){
|
|
|
- let productsCodeList=res.data.agreement.productsCode.split(",");
|
|
|
- this.productFilterList=productsCodeList;
|
|
|
+ if (res.data.agreement.productsCode) {
|
|
|
+ let productsCodeList = res.data.agreement.productsCode.split(",");
|
|
|
+ this.productFilterList = productsCodeList;
|
|
|
}
|
|
|
this.agreement = res.data.agreement; //协议信息
|
|
|
this.attributionform = res.data.ptlAgreementAttribution;
|
|
|
@@ -3037,10 +2979,9 @@ export default {
|
|
|
return '删除'
|
|
|
}
|
|
|
},
|
|
|
- auditTypeFormation(row){
|
|
|
- for(var i=0;i<this.expenseAuditlist.length;i++)
|
|
|
- {
|
|
|
- if(row.isAudit == parseInt(this.expenseAuditlist[i].value)){
|
|
|
+ auditTypeFormation(row) {
|
|
|
+ for (var i = 0; i < this.expenseAuditlist.length; i++) {
|
|
|
+ if (row.isAudit == parseInt(this.expenseAuditlist[i].value)) {
|
|
|
return this.expenseAuditlist[i].label;
|
|
|
}
|
|
|
}
|
|
|
@@ -3117,7 +3058,7 @@ export default {
|
|
|
},
|
|
|
//-- formatter end--
|
|
|
// 选择合作公司Start
|
|
|
- handleChange(value) {
|
|
|
+ handleChange(value, selectedData) {
|
|
|
if (!value) {
|
|
|
//没数
|
|
|
return;
|
|
|
@@ -3125,13 +3066,14 @@ export default {
|
|
|
this.attributionform.apiType = ""; //每次更改公司选择后清除保险公司账号配置
|
|
|
this.attributionform.fields = []; //每次更改公司选择后清除保险公司账号配置参数
|
|
|
this.agreement.partnerCompaniesId = value[value.length - 1];
|
|
|
+ this.agreement.associationCompaniesId = value[0];
|
|
|
if (this.supplierType == "1") {
|
|
|
this.agreement.agreementType = "1";
|
|
|
} else if (this.supplierType == "0") {
|
|
|
this.agreement.agreementType = "2";
|
|
|
}
|
|
|
//协议编码,新增时可能为空
|
|
|
- let agreementId = this.agreementId;
|
|
|
+ // let agreementId = this.agreementId;
|
|
|
// //保险公司代码 协议归属渠道时,取保险公司代码 协议归属财险时,取合作机构代码
|
|
|
// let compangId = this.agreement.associationCompaniesId
|
|
|
// ? this.agreement.associationCompaniesId
|
|
|
@@ -3141,7 +3083,7 @@ export default {
|
|
|
prodhandleChange(value) {
|
|
|
this.agreement.associationCompaniesId = value[value.length - 1];
|
|
|
//协议编码,新增时可能为空
|
|
|
- let agreementId = this.agreementId;
|
|
|
+ // let agreementId = this.agreementId;
|
|
|
//保险公司代码 协议归属渠道时,取保险公司代码 协议归属财险时,取合作机构代码
|
|
|
// let compangId = this.agreement.associationCompaniesId
|
|
|
// ? this.agreement.associationCompaniesId
|
|
|
@@ -3340,42 +3282,54 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .el-step__title,.el-step__icon-inner{
|
|
|
- color:var(--themeColor)
|
|
|
+ .el-step__title,
|
|
|
+ .el-step__icon-inner {
|
|
|
+ color: var(--themeColor)
|
|
|
}
|
|
|
- .el-step__description.is-finish, .el-step__head.is-finish{
|
|
|
+
|
|
|
+ .el-step__description.is-finish,
|
|
|
+ .el-step__head.is-finish {
|
|
|
color: #333;
|
|
|
- border:none
|
|
|
+ border: none
|
|
|
}
|
|
|
- .el-step__icon.is-text{
|
|
|
- border:none;
|
|
|
- box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.1);
|
|
|
+
|
|
|
+ .el-step__icon.is-text {
|
|
|
+ border: none;
|
|
|
+ box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
|
|
|
}
|
|
|
- .el-step__icon.is-text{
|
|
|
+
|
|
|
+ .el-step__icon.is-text {
|
|
|
font-size: 22px;
|
|
|
}
|
|
|
- .el-step__icon{
|
|
|
- width:28px;
|
|
|
- height:28px;
|
|
|
+
|
|
|
+ .el-step__icon {
|
|
|
+ width: 28px;
|
|
|
+ height: 28px;
|
|
|
}
|
|
|
- .el-step.is-vertical .el-step__main{
|
|
|
- padding-left:20px
|
|
|
+
|
|
|
+ .el-step.is-vertical .el-step__main {
|
|
|
+ padding-left: 20px
|
|
|
}
|
|
|
- .el-step__line,.el-step.is-vertical .el-step__line{
|
|
|
+
|
|
|
+ .el-step__line,
|
|
|
+ .el-step.is-vertical .el-step__line {
|
|
|
left: 14px;
|
|
|
- background-color:#E2E5EB;
|
|
|
- width:1px
|
|
|
+ background-color: #E2E5EB;
|
|
|
+ width: 1px
|
|
|
}
|
|
|
- .el-step__line-inner{
|
|
|
- height:0;
|
|
|
- display:none
|
|
|
- }
|
|
|
- .is-flex{
|
|
|
|
|
|
- .el-step__icon{
|
|
|
+ .el-step__line-inner {
|
|
|
+ height: 0;
|
|
|
+ display: none
|
|
|
+ }
|
|
|
+
|
|
|
+ .is-flex {
|
|
|
+
|
|
|
+ .el-step__icon {
|
|
|
background: var(--themeColor)
|
|
|
}
|
|
|
- .el-step__icon-inner{
|
|
|
+
|
|
|
+ .el-step__icon-inner {
|
|
|
color: #fff;
|
|
|
}
|
|
|
}
|