Commit d18b5642 authored by lixy's avatar lixy

操作按钮

parent 0603bcc3
......@@ -56,7 +56,7 @@
<span>{{scope.row.no}}</span><br><span>{{scope.row.crtTime}}</span>
</template>
</el-table-column>
<el-table-column align="center" label="名称/车牌号">
<el-table-column min-width="250" align="center" label="名称/车牌号">
<template scope="scope">
<span>{{scope.row.name}}</span><br/><span>{{scope.row.vehicleNumberPlat}}</span>
</template>
......@@ -215,7 +215,7 @@
</div>
</li>
</ul>
</div>
</div>
<div v-if="vehicleDetail" style="border: 1px solid;">
<div style="border-bottom: 1px solid;">
<span class="label-text">交车交接人:</span><span class="label-text">{{orderReturnVehicleCrosstown.username}}</span>
......@@ -683,7 +683,7 @@
}else{
var arr = item.depositRefundRecord;
}
that.depositRefundRecord = arr
console.log(that.depositRefundRecord)
......
......@@ -62,7 +62,7 @@
<el-button v-if="accompanying_item_btn_update " size="small" class="el-button el-button--text el-button--small" @click="handleUpdate(scope.row)">
编辑
</el-button>
<el-button v-if="accompanying_item_btn_del " size="small"class="el-button el-button--text el-button--small" style="color: red;" @click="handleDelete(scope.row)">删除
<el-button v-if="accompanying_item_btn_del " size="small" class="el-button el-button--text el-button--small" style="color: red;" @click="handleDelete(scope.row)">删除
</el-button>
</template>
</el-table-column>
......
......@@ -190,16 +190,16 @@
<el-table-column align="center" label="操作" width="200" fixed="right">
<template scope="scope">
<!-- <el-button size="small" type="success" @click="handleBookInfo(scope.row)">预订信息</el-button> -->
<el-button size="small" type="success" v-if="scope.row.status==3" @click="illegalInquiry(scope.row)">违章记录</el-button>
<el-button v-if="bookRecord_btn_prove&&scope.row.status==1" size="small" type="success" @click="handleProve(scope.row)">通过</el-button>
<el-button v-if="bookRecord_btn_reject&&scope.row.status==1" size="small" type="danger" @click="handleReject(scope.row)">驳回</el-button>
<el-button size="small" class="el-button el-button--text el-button--small" v-if="scope.row.status==3" @click="illegalInquiry(scope.row)">违章记录</el-button>
<el-button v-if="bookRecord_btn_prove&&scope.row.status==1" size="small" class="el-button el-button--text el-button--small" @click="handleProve(scope.row)">通过</el-button>
<el-button v-if="bookRecord_btn_reject&&scope.row.status==1" size="small" class="el-button el-button--text el-button--small" style="color: red;" @click="handleReject(scope.row)">驳回</el-button>
<template v-if="scope.row.vehicleDepartureLogVo==undefined">
<el-button v-if="bookRecord_btn_lift&&scope.row.liftStatus==1" size="small" type="success" @click="handleLift(scope.row)">出车</el-button>
<el-button v-if="bookRecord_btn_lift&&scope.row.liftStatus==1" size="small" class="el-button el-button--text el-button--small" @click="handleLift(scope.row)">出车</el-button>
</template>
<template v-if="scope.row.vehicleDepartureLogVo!=undefined">
<el-button v-if="bookRecord_btn_ret&&scope.row.vehicleDepartureLogVo.state==0&&scope.row.retStatus==1" size="small" type="success" @click="handleRet(scope.row)">收车</el-button>
<el-button v-if="bookRecord_btn_ret&&scope.row.vehicleDepartureLogVo.state==0&&scope.row.retStatus==1" size="small" class="el-button el-button--text el-button--small" @click="handleRet(scope.row)">收车</el-button>
</template>
<el-button v-if="bookRecord_btn_unbook && scope.row.state==2" size="small" type="danger" @click="handleUnbook(scope.row)">取消预定
<el-button v-if="bookRecord_btn_unbook && scope.row.state==2" size="small" class="el-button el-button--text el-button--small" style="color: red;" @click="handleUnbook(scope.row)">取消预定
</el-button>
</template>
</el-table-column>
......@@ -1151,7 +1151,7 @@
if(this.listQuery[key]==''){
this.listQuery[key]=undefined
}
}
}
page(this.listQuery)
.then(response => {
this.list = response.data.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment