|
@@ -11,7 +11,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="修改人">
|
|
|
|
|
|
|
+ <el-form-item label="修改人">
|
|
|
<el-input :size="overSize" clearable v-model.trim="queryForm.modifiedBy" placeholder="请输入"></el-input>
|
|
<el-input :size="overSize" clearable v-model.trim="queryForm.modifiedBy" placeholder="请输入"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -296,9 +296,9 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="产品">
|
|
|
|
|
- <el-select v-model="productFilterList" multiple placeholder="选择产品" style="width: 100%" @change="productFilterListChange">
|
|
|
|
|
- <el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
|
|
|
|
|
|
|
+ <el-form-item label="险种配置">
|
|
|
|
|
+ <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>
|
|
:value="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -392,13 +392,13 @@
|
|
|
</div>
|
|
</div>
|
|
|
<el-form :inline="true" :model="productpageRequest" class="demo-form-inline" size="small">
|
|
<el-form :inline="true" :model="productpageRequest" class="demo-form-inline" size="small">
|
|
|
<el-form-item label="产品">
|
|
<el-form-item label="产品">
|
|
|
- <el-select v-model="productpageRequest.productCode" placeholder="选择产品">
|
|
|
|
|
|
|
+ <el-select v-model="productpageRequest.productCode" placeholder="选择产品" clearable>
|
|
|
<el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
|
|
<el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
|
|
|
:value="item.dictValue"></el-option>
|
|
:value="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="审核状态">
|
|
<el-form-item label="审核状态">
|
|
|
- <el-select v-model="productpageRequest.isAudit">
|
|
|
|
|
|
|
+ <el-select v-model="productpageRequest.isAudit" clearable>
|
|
|
<el-option v-for="(item, index) in expenseAuditlist" :key="index" :label="item.label"
|
|
<el-option v-for="(item, index) in expenseAuditlist" :key="index" :label="item.label"
|
|
|
:value="item.value"></el-option>
|
|
:value="item.value"></el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
@@ -1020,9 +1020,9 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="产品">
|
|
|
|
|
- <el-select v-model="productFilterList" multiple placeholder="选择产品" style="width: 100%" @change="productFilterListChange">
|
|
|
|
|
- <el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
|
|
|
|
|
|
|
+ <el-form-item label="险种配置">
|
|
|
|
|
+ <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>
|
|
:value="item.dictValue"></el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -1189,7 +1189,6 @@ export default {
|
|
|
minWidth: 1060,
|
|
minWidth: 1060,
|
|
|
},
|
|
},
|
|
|
{ prop: "operator", label: "操作人", minWidth: 160 },
|
|
{ prop: "operator", label: "操作人", minWidth: 160 },
|
|
|
-
|
|
|
|
|
{ prop: "operatorType", label: "操作类型", formatter: this.operatorTypeFormatter },
|
|
{ prop: "operatorType", label: "操作类型", formatter: this.operatorTypeFormatter },
|
|
|
{ prop: "operatorTime", label: "操作时间", minWidth: 160 },
|
|
{ prop: "operatorTime", label: "操作时间", minWidth: 160 },
|
|
|
],
|
|
],
|
|
@@ -1358,6 +1357,7 @@ export default {
|
|
|
{ prop: "costsStartDate", label: "费用起期", minWidth: 160 },
|
|
{ prop: "costsStartDate", label: "费用起期", minWidth: 160 },
|
|
|
{ prop: "costsEndDate", label: "费用止期", minWidth: 160 },
|
|
{ prop: "costsEndDate", label: "费用止期", minWidth: 160 },
|
|
|
{ prop: "desc", label: "费用因子描述", minWidth: 520 },
|
|
{ prop: "desc", label: "费用因子描述", minWidth: 520 },
|
|
|
|
|
+ { prop: "isAudit", label: "审核状态", minWidth: 160 ,formatter:this.auditTypeFormation},
|
|
|
{
|
|
{
|
|
|
prop: "jqCarCostsProportion",
|
|
prop: "jqCarCostsProportion",
|
|
|
label: "费用比例(交强)",
|
|
label: "费用比例(交强)",
|
|
@@ -1892,6 +1892,9 @@ export default {
|
|
|
dockingPerson: [
|
|
dockingPerson: [
|
|
|
{ required: true, message: "请添加对接人", trigger: "blur" },
|
|
{ required: true, message: "请添加对接人", trigger: "blur" },
|
|
|
],
|
|
],
|
|
|
|
|
+ dockingPhone: [
|
|
|
|
|
+ { required: true, message: "请输入联系方式", trigger: "blur" },
|
|
|
|
|
+ ],
|
|
|
withTax: [
|
|
withTax: [
|
|
|
{ required: true, message: "请选择含增值税结算", trigger: "change" },
|
|
{ required: true, message: "请选择含增值税结算", trigger: "change" },
|
|
|
],
|
|
],
|
|
@@ -1994,6 +1997,7 @@ export default {
|
|
|
approvalStatusoptions: [], //审批状态
|
|
approvalStatusoptions: [], //审批状态
|
|
|
productsTypeoptions: [], //车险产品字典
|
|
productsTypeoptions: [], //车险产品字典
|
|
|
productsTypeRuleoptions: [], //车险产品字典(不含费用的兜底配置)
|
|
productsTypeRuleoptions: [], //车险产品字典(不含费用的兜底配置)
|
|
|
|
|
+ InsInsuranceKindoptions:[],//险种配置
|
|
|
//操作符字典
|
|
//操作符字典
|
|
|
operator: { "pageNum": 1, "pageSize": 10, "columnFilters": { "label": { "name": "label", "value": "agreement_operator" } } },
|
|
operator: { "pageNum": 1, "pageSize": 10, "columnFilters": { "label": { "name": "label", "value": "agreement_operator" } } },
|
|
|
operatorlist: [],
|
|
operatorlist: [],
|
|
@@ -2031,7 +2035,6 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
-
|
|
|
|
|
// 机构列表转属性数据
|
|
// 机构列表转属性数据
|
|
|
companyListTree() {
|
|
companyListTree() {
|
|
|
let cloneData = JSON.parse(JSON.stringify(this.companyList)); // 对源数据深度克隆
|
|
let cloneData = JSON.parse(JSON.stringify(this.companyList)); // 对源数据深度克隆
|
|
@@ -2081,6 +2084,7 @@ export default {
|
|
|
})
|
|
})
|
|
|
this.agreement.partnerCompaniesId = "";
|
|
this.agreement.partnerCompaniesId = "";
|
|
|
|
|
|
|
|
|
|
+ this.getDicType("InsInsuranceKind"); //险种类型
|
|
|
this.getDicType("agreementType"); //协议类型
|
|
this.getDicType("agreementType"); //协议类型
|
|
|
this.getDicType("matchType"); //保单日期类型
|
|
this.getDicType("matchType"); //保单日期类型
|
|
|
this.getDicType("moneyType"); //佣金发放方式
|
|
this.getDicType("moneyType"); //佣金发放方式
|
|
@@ -2196,6 +2200,10 @@ export default {
|
|
|
this.$api.insCompany.agreementhistoryGetDetail(row.batch).then((res) => {
|
|
this.$api.insCompany.agreementhistoryGetDetail(row.batch).then((res) => {
|
|
|
if (res.code == '200') {
|
|
if (res.code == '200') {
|
|
|
this.agreementsHistoryDialogVisible = true;
|
|
this.agreementsHistoryDialogVisible = true;
|
|
|
|
|
+ if(res.data.ptlAgreementHistory.productsCode){
|
|
|
|
|
+ let productsCodeList=res.data.ptlAgreementHistory.productsCode.split(",");
|
|
|
|
|
+ this.productFilterList=productsCodeList;
|
|
|
|
|
+ }
|
|
|
this.agreementsHistoryInfo.agreement = res.data.ptlAgreementHistory;
|
|
this.agreementsHistoryInfo.agreement = res.data.ptlAgreementHistory;
|
|
|
this.agreementsHistoryInfo.attributionform = res.data.ptlAgreementAttributionHistory ? res.data.ptlAgreementAttributionHistory : '{}';
|
|
this.agreementsHistoryInfo.attributionform = res.data.ptlAgreementAttributionHistory ? res.data.ptlAgreementAttributionHistory : '{}';
|
|
|
if (res.data.deptHistories.length > 0) {
|
|
if (res.data.deptHistories.length > 0) {
|
|
@@ -2683,6 +2691,10 @@ export default {
|
|
|
this.$api.insCompany.agreementId(row.id).then((res) => {
|
|
this.$api.insCompany.agreementId(row.id).then((res) => {
|
|
|
if (res.code == "200") {
|
|
if (res.code == "200") {
|
|
|
let scheme = res.data.scheme;
|
|
let scheme = res.data.scheme;
|
|
|
|
|
+ if(res.data.agreement.productsCode){
|
|
|
|
|
+ let productsCodeList=res.data.agreement.productsCode.split(",");
|
|
|
|
|
+ this.productFilterList=productsCodeList;
|
|
|
|
|
+ }
|
|
|
this.agreement = res.data.agreement; //协议信息
|
|
this.agreement = res.data.agreement; //协议信息
|
|
|
this.attributionform = res.data.ptlAgreementAttribution;
|
|
this.attributionform = res.data.ptlAgreementAttribution;
|
|
|
if (res.data.dept.length > 0) {
|
|
if (res.data.dept.length > 0) {
|
|
@@ -2982,6 +2994,14 @@ export default {
|
|
|
return '删除'
|
|
return '删除'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ auditTypeFormation(row){
|
|
|
|
|
+ for(var i=0;i<this.expenseAuditlist.length;i++)
|
|
|
|
|
+ {
|
|
|
|
|
+ if(row.isAudit == parseInt(this.expenseAuditlist[i].value)){
|
|
|
|
|
+ return this.expenseAuditlist[i].label;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
agreementtypeFormatter(row, column) {
|
|
agreementtypeFormatter(row, column) {
|
|
|
//协议类型
|
|
//协议类型
|
|
|
let agreementType = row.agreementType;
|
|
let agreementType = row.agreementType;
|