Commit 48a63786 authored by lixy's avatar lixy

操作列固定

parent a503d5e1
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<span v-if="scope.row.status==2">下架</span> <span v-if="scope.row.status==2">下架</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" width="200"> <el-table-column align="center" label="操作" width="200" fixed="right">
<template scope="scope"> <template scope="scope">
<el-button size="small" type="primary" @click="handleUpdate(scope.row)">编辑</el-button> <el-button size="small" type="primary" @click="handleUpdate(scope.row)">编辑</el-button>
<el-button size="small" type="success" @click="handleActivityData(scope.row)" style="margin-left:0px">活动数据</el-button> <el-button size="small" type="success" @click="handleActivityData(scope.row)" style="margin-left:0px">活动数据</el-button>
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
disabledDate(time) { disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7; return time.getTime() < Date.now() - 8.64e7;
} }
}, },
pickerOptionsEnd: { pickerOptionsEnd: {
disabledDate: time => { disabledDate: time => {
const beginDateVal = new Date(this.formdata.starTimeStr).getTime() const beginDateVal = new Date(this.formdata.starTimeStr).getTime()
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
disabledDate(time) { disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7; return time.getTime() < Date.now() - 8.64e7;
} }
}, },
shareDatapickerOptionsEnd: { shareDatapickerOptionsEnd: {
disabledDate: time => { disabledDate: time => {
const beginDateVal = new Date(this.shareDataQuery.starTimeStr).getTime() const beginDateVal = new Date(this.shareDataQuery.starTimeStr).getTime()
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
disabledDate(time) { disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7; return time.getTime() < Date.now() - 8.64e7;
} }
}, },
newPeopelpickerOptionsEnd: { newPeopelpickerOptionsEnd: {
disabledDate: time => { disabledDate: time => {
const beginDateVal = new Date(this.newPeopelDataQuery.starTimeStr).getTime() const beginDateVal = new Date(this.newPeopelDataQuery.starTimeStr).getTime()
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
console.log(this.formdata) console.log(this.formdata)
that.newPeopelVisible = true; that.newPeopelVisible = true;
}) })
}, },
handleActivityData(row){ handleActivityData(row){
// 1--新人尊享; 2--推广活动表 // 1--新人尊享; 2--推广活动表
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</div> --> </div> -->
<el-table :key='tableKey' :data="list" v-loading.body="listLoading" border fit highlight-current-row <el-table :key='tableKey' :data="list" v-loading.body="listLoading" border fit highlight-current-row
style="width: 100%;cursor: pointer;" class="schedul-tb"> style="width: 100%;cursor: pointer;" class="schedul-tb">
<el-table-column width="220" align="center" :label="firstTime"> <el-table-column width="220" align="center" :label="firstTime" fixed>
<template scope="scope"> <template scope="scope">
<div> <div>
<div style="color: #bfcbd9;font-size: 14px;"> <div style="color: #bfcbd9;font-size: 14px;">
...@@ -509,10 +509,10 @@ ...@@ -509,10 +509,10 @@
// <!--bookType 1-租车、2-分公司使用、3-维修、4、展览、5、旅游、6、保养、7、预约中、8、禁用--> // <!--bookType 1-租车、2-分公司使用、3-维修、4、展览、5、旅游、6、保养、7、预约中、8、禁用-->
if(!ii.bg){ if(!ii.bg){
//空白-可安排用车 //空白-可安排用车
this.anpai = true; // this.anpai = true;
let arr = item.vehicleModel.keyword.split(","); // let arr = item.vehicleModel.keyword.split(",");
item.vehicleModel.keyword = arr.join(" | "); // item.vehicleModel.keyword = arr.join(" | ");
this.currentItem = {item: item, iitem: iitem, ii: ii}; // this.currentItem = {item: item, iitem: iitem, ii: ii};
} else { } else {
if(ii.bookType == 6){ if(ii.bookType == 6){
//保养 //保养
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</div> </div>
<el-table :key='tableKey' :data="list" v-loading.body="listLoading" border fit highlight-current-row <el-table :key='tableKey' :data="list" v-loading.body="listLoading" border fit highlight-current-row
style="width: 100%;cursor: pointer;" class="schedul-tb"> style="width: 100%;cursor: pointer;" class="schedul-tb">
<el-table-column width="220" align="center" :label="firstTime"> <el-table-column width="220" align="center" :label="firstTime" fixed>
<template scope="scope"> <template scope="scope">
<div @click="toVehicleRecords(scope.row)"> <div @click="toVehicleRecords(scope.row)">
<div style="color: #bfcbd9;font-size: 14px;"> <div style="color: #bfcbd9;font-size: 14px;">
......
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