Commit 95d21bdd by zhouzy

1

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