|
@@ -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,12 +56,10 @@
|
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
|
|
- <div class="del_table_btn" v-show="scope.row.user_name=='合计'? false : true">
|
64
|
|
- <el-button type="danger" size="mini" icon="el-icon-close" circle @click.stop="toClick(scope.row,scope.$index)"></el-button>
|
65
|
63
|
</div>
|
66
|
64
|
<div @click="hangdleClick(scope.row,scope.$index,0)">
|
67
|
65
|
<el-dropdown trigger="click" @command="changeSchedule" >
|
|
@@ -82,12 +80,12 @@
|
82
|
80
|
<template slot-scope="scope">
|
83
|
81
|
<div v-if="name==scope.row.user_name&&column_lie =='周二' ? true:false">
|
84
|
82
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
85
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
86
|
|
- circle @click.stop=""
|
|
83
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
84
|
+ circle @click.stop=""
|
87
|
85
|
></el-button>
|
88
|
86
|
</div>
|
89
|
87
|
</div>
|
90
|
|
-
|
|
88
|
+
|
91
|
89
|
<div @click="hangdleClick(scope.row,scope.$index,1)">
|
92
|
90
|
<el-dropdown trigger="click" @command="changeSchedule">
|
93
|
91
|
<span class="el-dropdown-link" v-if='getClassAttributes(scope.row.user_name,2) == 2' style="color:red">
|
|
@@ -107,8 +105,8 @@
|
107
|
105
|
<template slot-scope="scope">
|
108
|
106
|
<div v-if="name==scope.row.user_name&&column_lie =='周三' ? true:false">
|
109
|
107
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
110
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
111
|
|
- circle @click.stop=""
|
|
108
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
109
|
+ circle @click.stop=""
|
112
|
110
|
></el-button>
|
113
|
111
|
</div>
|
114
|
112
|
</div>
|
|
@@ -131,8 +129,8 @@
|
131
|
129
|
<template slot-scope="scope">
|
132
|
130
|
<div v-if="name==scope.row.user_name&&column_lie =='周四' ? true:false">
|
133
|
131
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
134
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
135
|
|
- circle @click.stop=""
|
|
132
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
133
|
+ circle @click.stop=""
|
136
|
134
|
></el-button>
|
137
|
135
|
</div>
|
138
|
136
|
</div>
|
|
@@ -155,8 +153,8 @@
|
155
|
153
|
<template slot-scope="scope">
|
156
|
154
|
<div v-if="name==scope.row.user_name&&column_lie =='周五' ? true:false">
|
157
|
155
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
158
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
159
|
|
- circle @click.stop=""
|
|
156
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
157
|
+ circle @click.stop=""
|
160
|
158
|
></el-button>
|
161
|
159
|
</div>
|
162
|
160
|
</div>
|
|
@@ -179,8 +177,8 @@
|
179
|
177
|
<template slot-scope="scope">
|
180
|
178
|
<div v-if="name==scope.row.user_name&&column_lie =='周六' ? true:false">
|
181
|
179
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
182
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
183
|
|
- circle @click.stop=""
|
|
180
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
181
|
+ circle @click.stop=""
|
184
|
182
|
></el-button>
|
185
|
183
|
</div>
|
186
|
184
|
</div>
|
|
@@ -203,8 +201,8 @@
|
203
|
201
|
<template slot-scope="scope">
|
204
|
202
|
<div v-if="name==scope.row.user_name&&column_lie =='周日' ? true:false">
|
205
|
203
|
<div class="del_table_btns" v-show="scope.row.user_name=='合计'? false : true">
|
206
|
|
- <el-button type="danger" size="mini" icon="el-icon-close"
|
207
|
|
- circle @click.stop=""
|
|
204
|
+ <el-button type="danger" size="mini" icon="el-icon-close"
|
|
205
|
+ circle @click.stop=""
|
208
|
206
|
></el-button>
|
209
|
207
|
</div>
|
210
|
208
|
</div>
|
|
@@ -398,7 +396,6 @@
|
398
|
396
|
</div>
|
399
|
397
|
</template>
|
400
|
398
|
|
401
|
|
-
|
402
|
399
|
<script>
|
403
|
400
|
const moment = require('moment')
|
404
|
401
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
|
@@ -2075,7 +2072,7 @@ export default {
|
2075
|
2072
|
}
|
2076
|
2073
|
})
|
2077
|
2074
|
})
|
2078
|
|
- }
|
|
2075
|
+ },
|
2079
|
2076
|
|
2080
|
2077
|
|
2081
|
2078
|
hoverMouse(row,column, cell, event){
|