Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
48a63786
Commit
48a63786
authored
Aug 01, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作列固定
parent
a503d5e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
activityList.vue
src/views/activityManagement/activityList.vue
+5
-5
index.vue
src/views/index/index.vue
+5
-5
index.vue
src/views/vehicle/vehicleSchedulManage/index.vue
+1
-1
No files found.
src/views/activityManagement/activityList.vue
View file @
48a63786
...
@@ -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--推广活动表
...
...
src/views/index/index.vue
View file @
48a63786
...
@@ -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
){
//保养
//保养
...
...
src/views/vehicle/vehicleSchedulManage/index.vue
View file @
48a63786
...
@@ -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;"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment