|
|
@@ -1415,7 +1415,7 @@
|
|
|
<div v-show="!trajectoryTable1.length">暂无轨迹</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="协议复制" :visible.sync="copyProtocolVisible" width="90%" top="6vh" :fullscreen="true" @open="copyProtocolOpen">
|
|
|
+ <el-dialog title="协议复制" :visible.sync="copyProtocolVisible" width="90%" top="6vh" :fullscreen="true" >
|
|
|
<el-form :model="copyProtocolform" class="demo-form-inline" :size="overSize" label-width="110px"
|
|
|
style="margin: 10px 20px;border-bottom: 1px solid #D7DBE7;">
|
|
|
<el-row>
|
|
|
@@ -1558,11 +1558,11 @@ export default {
|
|
|
copyProtocolInfo: {//复制协议json
|
|
|
agreementId: "",
|
|
|
cost: {
|
|
|
- all: false,
|
|
|
+ all: true,
|
|
|
informationId: []
|
|
|
},
|
|
|
underwritingRules: {
|
|
|
- all: false,
|
|
|
+ all: true,
|
|
|
informationId: []
|
|
|
}
|
|
|
},//协议复制
|
|
|
@@ -1992,6 +1992,7 @@ export default {
|
|
|
{ prop: "costsEndDate", label: "费用止期", minWidth: 160 },
|
|
|
{ prop: "costsDescription", label: "费用描述", minWidth: 220 },
|
|
|
{ prop: "desc", label: "费用因子描述", minWidth: 520 },
|
|
|
+ { prop: "effective", label: "有效状态", minWidth: 100 ,formatter: this.effectiveFormatter},
|
|
|
{ prop: "priorityLevel", label: "方案优先级", minWidth: 120 },
|
|
|
{
|
|
|
prop: "jqCarCostsProportion",
|
|
|
@@ -3686,10 +3687,6 @@ export default {
|
|
|
this.underwritingRulesFindPage();
|
|
|
|
|
|
},
|
|
|
- copyProtocolOpen(){
|
|
|
- this.copyProtocolInfo.cost.all=false;
|
|
|
- this.copyProtocolInfo.underwritingRules.all=false;
|
|
|
- },
|
|
|
costselectionChange(data) {
|
|
|
this.copyProtocolInfo.cost.informationId = data;
|
|
|
},
|
|
|
@@ -4058,6 +4055,14 @@ export default {
|
|
|
return '删除'
|
|
|
}
|
|
|
},
|
|
|
+ effectiveFormatter(row,column){
|
|
|
+ let effective = row.effective;
|
|
|
+ if(effective){
|
|
|
+ return <el-tag type="success">有效</el-tag>;
|
|
|
+ }else{
|
|
|
+ return <el-tag type="error">无效</el-tag>;
|
|
|
+ }
|
|
|
+ },
|
|
|
useNatureFormatter(row, column) {
|
|
|
let natureOfVehicle = row.useNature;
|
|
|
return CommonUtil.getDataName({
|