|
@@ -42,8 +42,8 @@
|
42
|
42
|
</div>
|
43
|
43
|
<div class="schedulingTable" style="display:flex;justify-content: space-between;">
|
44
|
44
|
<div style="width: 70%">
|
45
|
|
- <el-table :data="tableData" border
|
46
|
|
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
|
|
45
|
+ <el-table :data="tableData" border
|
|
46
|
+ :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
|
47
|
47
|
:row-style="{ color: '#303133' }" @cell-click="clickThis" :cell-style="tableCellStyle"
|
48
|
48
|
@cell-mouse-enter="hoverMouse" @cell-mouse-leave="leavemouse">
|
49
|
49
|
<!-- @cell-mouse-enter="hoverMouse" @cell-mouse-leave="leavemouse" -->
|
|
@@ -56,14 +56,11 @@
|
56
|
56
|
<template slot-scope="scope">
|
57
|
57
|
<div v-if="name==scope.row.user_name&&column_lie =='周一' ? true:false">
|
58
|
58
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true" >
|
59
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
60
|
|
- circle @click.stop=""
|
|
59
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
60
|
+ circle @click.stop="toClick(scope.row,scope.$index)"
|
61
|
61
|
></el-button>
|
62
|
62
|
</div>
|
63
|
63
|
</div>
|
64
|
|
- <div class="del_table_btn" v-show="scope.row.user_name=='合计'? false : true">
|
65
|
|
- <el-button type="danger" size="mini" icon="el-icon-close" circle @click.stop="toClick(scope.row,scope.$index)"></el-button>
|
66
|
|
- </div>
|
67
|
64
|
<div @click="hangdleClick(scope.row,scope.$index,0)">
|
68
|
65
|
<el-dropdown trigger="click" @command="changeSchedule" >
|
69
|
66
|
<span class="el-dropdown-link" v-if='getClassAttributes(scope.row.user_name,1) == 2' style="color:red">
|
|
@@ -83,12 +80,12 @@
|
83
|
80
|
<template slot-scope="scope">
|
84
|
81
|
<div v-if="name==scope.row.user_name&&column_lie =='周二' ? true:false">
|
85
|
82
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
86
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
87
|
|
- circle @click.stop=""
|
|
83
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
84
|
+ circle @click.stop=""
|
88
|
85
|
></el-button>
|
89
|
86
|
</div>
|
90
|
87
|
</div>
|
91
|
|
-
|
|
88
|
+
|
92
|
89
|
<div @click="hangdleClick(scope.row,scope.$index,1)">
|
93
|
90
|
<el-dropdown trigger="click" @command="changeSchedule">
|
94
|
91
|
<span class="el-dropdown-link" v-if='getClassAttributes(scope.row.user_name,2) == 2' style="color:red">
|
|
@@ -108,8 +105,8 @@
|
108
|
105
|
<template slot-scope="scope">
|
109
|
106
|
<div v-if="name==scope.row.user_name&&column_lie =='周三' ? true:false">
|
110
|
107
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
111
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
112
|
|
- circle @click.stop=""
|
|
108
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
109
|
+ circle @click.stop=""
|
113
|
110
|
></el-button>
|
114
|
111
|
</div>
|
115
|
112
|
</div>
|
|
@@ -132,8 +129,8 @@
|
132
|
129
|
<template slot-scope="scope">
|
133
|
130
|
<div v-if="name==scope.row.user_name&&column_lie =='周四' ? true:false">
|
134
|
131
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
135
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
136
|
|
- circle @click.stop=""
|
|
132
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
133
|
+ circle @click.stop=""
|
137
|
134
|
></el-button>
|
138
|
135
|
</div>
|
139
|
136
|
</div>
|
|
@@ -156,8 +153,8 @@
|
156
|
153
|
<template slot-scope="scope">
|
157
|
154
|
<div v-if="name==scope.row.user_name&&column_lie =='周五' ? true:false">
|
158
|
155
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
159
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
160
|
|
- circle @click.stop=""
|
|
156
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
157
|
+ circle @click.stop=""
|
161
|
158
|
></el-button>
|
162
|
159
|
</div>
|
163
|
160
|
</div>
|
|
@@ -180,8 +177,8 @@
|
180
|
177
|
<template slot-scope="scope">
|
181
|
178
|
<div v-if="name==scope.row.user_name&&column_lie =='周六' ? true:false">
|
182
|
179
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
183
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
184
|
|
- circle @click.stop=""
|
|
180
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
181
|
+ circle @click.stop=""
|
185
|
182
|
></el-button>
|
186
|
183
|
</div>
|
187
|
184
|
</div>
|
|
@@ -204,8 +201,8 @@
|
204
|
201
|
<template slot-scope="scope">
|
205
|
202
|
<div v-if="name==scope.row.user_name&&column_lie =='周日' ? true:false">
|
206
|
203
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
207
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
208
|
|
- circle @click.stop=""
|
|
204
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
205
|
+ circle @click.stop=""
|
209
|
206
|
></el-button>
|
210
|
207
|
</div>
|
211
|
208
|
</div>
|
|
@@ -399,7 +396,6 @@
|
399
|
396
|
</div>
|
400
|
397
|
</template>
|
401
|
398
|
|
402
|
|
-
|
403
|
399
|
<script>
|
404
|
400
|
const moment = require('moment')
|
405
|
401
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
|
@@ -2078,6 +2074,7 @@ export default {
|
2078
|
2074
|
})
|
2079
|
2075
|
},
|
2080
|
2076
|
|
|
2077
|
+
|
2081
|
2078
|
hoverMouse(row,column, cell, event){
|
2082
|
2079
|
this.name=row.user_name
|
2083
|
2080
|
this.column_lie= column.label.split('\n')[0]
|