Commit 95d21bdd by zhouzy

1

1 parent a684e9ab
<template> <template>
<div class="equity-wrap"> <div class="equity-wrap">
<el-button type="primary" size="small" @click="showDialog('add')" style="margin-left: 40px">新增特别约定</el-button> <el-button type="primary" icon="el-icon-plus" size="small" @click="showDialog('add')" style="margin-left: 40px"><span style="margin-left: 5px">新增特别约定</span></el-button>
<div class="equity-wrap contain" style="margin-top: 10px"> <div class="equity-wrap contain" style="margin-top: 10px">
<el-form :inline="true" label-width="auto" label-position="right" style="margin-top: 20px" class="appointmentForm"> <el-form :inline="true" label-width="auto" label-position="right" class="selectForm">
<el-row style="align-items: center" class="select"> <el-row style="align-items: center">
<el-form-item label="特约名称"> <el-form-item label="特约名称">
<el-input v-model="appointmentForm.spaName" placeholder="请输入" size="small"></el-input> <el-input v-model="appointmentForm.spaName" placeholder="请输入" size="small"></el-input>
</el-form-item> </el-form-item>
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
</el-form-item> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
</div>
<div class="equity-wrap contain" style="margin-top: 10px">
<GLTable ref="appointmentTable" :searchForm="appointmentForm" :tableParams="tableParams" :pageConf="tablePageConf" :getListApi="getAppointmentList"> <GLTable ref="appointmentTable" :searchForm="appointmentForm" :tableParams="tableParams" :pageConf="tablePageConf" :getListApi="getAppointmentList">
<span slot="auth-button" slot-scope="scope" :data="scope.scope"> <span slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- 批次管理详情弹窗按钮 --> <!-- 批次管理详情弹窗按钮 -->
...@@ -254,4 +256,10 @@ export default { ...@@ -254,4 +256,10 @@ export default {
/deep/ .contain .el-input--small .el-input__inner { /deep/ .contain .el-input--small .el-input__inner {
width: 215px; width: 215px;
} }
/deep/ .el-form-item {
margin-bottom: 0;
}
.selectForm .el-button+.el-button{
margin-left: 20px;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -129,25 +129,25 @@ export default { ...@@ -129,25 +129,25 @@ export default {
honorable: false, honorable: false,
carefree: false, carefree: false,
first: false, first: false,
collisionRadio: '1', collisionRadio: '',
vehicleRadio: '1', vehicleRadio: '',
theftAll: true, theftAll: false,
againstTheft: ['盗抢卡输入'], againstTheft: [],
thefts: theftOptions, thefts: theftOptions,
theftTerminate: false, theftTerminate: false,
vehicleAll: true, vehicleAll: false,
againstVehicle: ['全损卡输入'], againstVehicle: [],
vehicles: vehicleOptions, vehicles: vehicleOptions,
vehicleTerminate: false, vehicleTerminate: false,
tyreAll: true, tyreAll: false,
againstTyre: ['轮胎卡输入'], againstTyre: [],
tyres: tyreOptions, tyres: tyreOptions,
tyreTerminate: false, tyreTerminate: false,
collisionAll: true, collisionAll: false,
againstCollision: ['碰撞卡输入'], againstCollision: [],
collisions: collisionOptions, collisions: collisionOptions,
collisionTerminate: false collisionTerminate: false
} }
...@@ -165,6 +165,16 @@ export default { ...@@ -165,6 +165,16 @@ export default {
console.log('11111') console.log('11111')
} else { } else {
this.add = true this.add = true
this.theftAll = true
this.vehicleAll = true
this.tyreAll = true
this.collisionAll = true
this.againstTheft = ['盗抢卡输入']
this.againstVehicle = ['全损卡输入']
this.againstTyre = ['轮胎卡输入']
this.againstCollision = ['碰撞卡输入']
this.collisionRadio = '1'
this.vehicleRadio = '1'
} }
this.getStoreConfig() this.getStoreConfig()
}, },
...@@ -229,17 +239,13 @@ export default { ...@@ -229,17 +239,13 @@ export default {
if (arrs[i].packageCode == 'PC0005') { if (arrs[i].packageCode == 'PC0005') {
this.theftAll = true this.theftAll = true
if (arrs[i].cardName == 'card') { if (arrs[i].cardName == 'card') {
this.againstTheft = true this.againstTheft = ['盗抢卡输入']
}else{
this.againstTheft = false
} }
} }
if (arrs[i].packageCode == 'PC0007') { if (arrs[i].packageCode == 'PC0007') {
this.vehicleAll = true this.vehicleAll = true
if (arrs[i].cardName == 'card') { if (arrs[i].cardName == 'card') {
this.againstVehicle = true this.againstVehicle = ['全损卡输入']
}else{
this.againstVehicle = false
} }
this.vehicleRadio = arrs[i].templateFlag + '' this.vehicleRadio = arrs[i].templateFlag + ''
console.log(this.vehicleRadio, 'vehicleradio') console.log(this.vehicleRadio, 'vehicleradio')
...@@ -247,17 +253,13 @@ export default { ...@@ -247,17 +253,13 @@ export default {
if (arrs[i].packageCode == 'PC0006') { if (arrs[i].packageCode == 'PC0006') {
this.tyreAll = true this.tyreAll = true
if (arrs[i].cardName == 'card') { if (arrs[i].cardName == 'card') {
this.againstTyre = true this.againstTyre = ['轮胎卡输入']
}else{
this.againstTyre = false
} }
} }
if (arrs[i].packageCode == 'PC0008') { if (arrs[i].packageCode == 'PC0008') {
this.collisionAll = true this.collisionAll = true
if (arrs[i].cardName == 'card') { if (arrs[i].cardName == 'card') {
this.againstCollision = true this.againstCollision = ['碰撞卡输入']
}else{
this.againstCollision = false
} }
this.collisionRadio = arrs[i].planId + '' this.collisionRadio = arrs[i].planId + ''
console.log(arrs[i].templateFlag, 'collisionRadio1') console.log(arrs[i].templateFlag, 'collisionRadio1')
...@@ -284,6 +286,7 @@ export default { ...@@ -284,6 +286,7 @@ export default {
theftObj.cardName = 'card' theftObj.cardName = 'card'
} }
params.push(theftObj) params.push(theftObj)
console.log(params,'params');
} }
if (this.vehicleAll == true) { if (this.vehicleAll == true) {
let vehicleObj = {} let vehicleObj = {}
......
<template> <template>
<div class="equity-wrap"> <div class="equity-wrap">
<GLButton fn="开通配置" class="addGood" type="primary" icon="el-icon-plus" @click="jump('add')">开通配置</GLButton> <GLButton fn="开通配置" class="addGood" type="primary" icon="el-icon-plus" @click="jump('add')">开通配置</GLButton>
<el-button fn="开通配置" class="addGood" type="primary" icon="el-icon-plus" @click="jump('add')">开通配置</el-button> <!-- <el-button fn="开通配置" class="addGood" type="primary" icon="el-icon-plus" @click="jump('add')">开通配置</el-button> -->
<div class="equity-wrap contain"> <div class="equity-wrap contain">
<el-form :inline="true" style="width: 100%" :model="searchForm" label-width="85px" label-position="right"> <el-form :inline="true" style="width: 100%" :model="searchForm" label-width="85px" label-position="right">
<el-row> <el-row>
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
}, },
{ {
label: '操作人', label: '操作人',
prop: 'createdBy' prop: 'updatedBy'
}, },
{ {
label: '操作', label: '操作',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!