attendance.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. <template>
  2. <div class="personTask">
  3. <el-row class="handle-box" style="margin-bottom: 10px">
  4. <el-row>
  5. <el-col :span="12">
  6. <!-- <el-select v-model="search.handleUserType" clearable filterable placeholder="组织" size="small"-->
  7. <!-- @change="groupChange">-->
  8. <!-- <el-option v-for="item in groupList" :key="item.value" :label="item.label" :value="item.value"/>-->
  9. <!-- </el-select>-->
  10. <el-select v-model="search.deptId" clearable filterable placeholder="部门" size="small" @change="handleSearch()">
  11. <el-option v-for="item in DeptData" v-if="item.parentId!=='0'" :key="item.value" :label="item.label" :value="item.value"/>
  12. </el-select>
  13. <el-input @change="handleSearch()" v-model="search.truename" class="ch-input ch-input-size"
  14. placeholder="姓名" size="small" clearable
  15. />
  16. <el-date-picker
  17. @change="handleSearch()"
  18. v-model="month"
  19. size="small"
  20. type="month"
  21. />
  22. </el-col>
  23. <el-col :span="12" style="text-align: right">
  24. <el-button class="ch-button-warning" size="small" @click="handleReset()"><i class="el-icon-search"/>&nbsp;重置
  25. </el-button>
  26. <el-button class="ch-button" size="small" @click="handleSearch()"><i class="el-icon-search"/>&nbsp;搜索
  27. </el-button>
  28. <el-button class="ch-button" size="small" @click="confirmOutput()"><i class="el-icon-menu"/>&nbsp;导出
  29. </el-button>
  30. </el-col>
  31. </el-row>
  32. </el-row>
  33. <el-row>
  34. <el-table
  35. ref="table"
  36. border
  37. v-loading="loading"
  38. :cell-class-name="cellClassName"
  39. :data="AllData"
  40. :header-cell-style="initTableHeaderStyle"
  41. :stripe="false"
  42. height="35vw"
  43. style="width: 100%"
  44. >
  45. <el-table-column align="center" fixed header-align="center" label="姓名" prop="truename"/>
  46. <el-table-column align="center" header-align="center" label="所在部门" prop="deptName" width="150"/>
  47. <el-table-column align="center" header-align="center" label="岗位" prop="postName" width="100"/>
  48. <el-table-column align="center" header-align="center" label="本月应勤天数" prop="workDay" width="50"/>
  49. <el-table-column align="center" header-align="center" label="本月实际出勤天数" prop="realityWorkDay"
  50. width="50"
  51. />
  52. <el-table-column align="center" header-align="center" label="其中:年假天数" prop="totalUseTime1" width="50"/>
  53. <el-table-column align="center" header-align="center" label="调休假(h)" prop="totalUseTime2" width="50"/>
  54. <el-table-column align="center" header-align="center" label="事假天数" prop="totalUseTime3" width="50"/>
  55. <el-table-column align="center" header-align="center" label="病假天数" prop="totalUseTime4" width="50"/>
  56. <el-table-column align="center" header-align="center" label="婚假天数" prop="totalUseTime5" width="50"/>
  57. <el-table-column align="center" header-align="center" label="产假天数" prop="totalUseTime6" width="50"/>
  58. <el-table-column align="center" header-align="center" label="陪产假天数" prop="totalUseTime7" width="50"/>
  59. <el-table-column align="center" header-align="center" label="丧假天数" prop="totalUseTime8" width="50"/>
  60. <el-table-column align="center" header-align="center" label="其中:加班(h)" prop="totalUseTime9" width="50"/>
  61. <el-table-column align="center" header-align="center" label="其中:迟到(次)" prop="totalUseTime10" width="50"/>
  62. <el-table-column align="center" header-align="center" label="其中:早退(次" prop="totalUseTime11" width="50"/>
  63. <el-table-column
  64. min-width="50px"
  65. v-for="(item,index) in headData"
  66. :key="index"
  67. :label="item.day.toString()"
  68. :prop="item.day.toString()"
  69. align="center"
  70. header-align="center"
  71. style="padding: 0"
  72. resizable
  73. >
  74. <el-table-column
  75. :key="headKey"
  76. :label="item.week"
  77. :prop="item.day.toString()"
  78. align="center"
  79. header-align="center"
  80. scoped-slot
  81. min-width="50px"
  82. resizable
  83. >
  84. <template slot="header">
  85. <span>{{ item.week }}</span>
  86. <span v-if="item.biq==='2'"
  87. style="color: blue;font-size: 12px; margin-left: 5px;position: absolute;bottom:50%;left:60%"
  88. >班</span>
  89. <span v-if="item.biq==='1'"
  90. style="color: red;font-size: 12px; margin-left: 5px;position: absolute;bottom:50%;left:60%;"
  91. >休</span>
  92. </template>
  93. <template slot-scope="scope">
  94. <div
  95. style="cursor:pointer;width: 100%;height: 20px;"
  96. class="chaochuyingcang"
  97. @click="personTaskDetail((scope.row.detailDayList[index]),scope.row.userId,item)"
  98. >
  99. <el-popover
  100. trigger="hover"
  101. placement="top-start"
  102. width="160">
  103. <div v-html="getDetails(scope.row, index).badDayString"></div>
  104. <div v-html="getDetails(scope.row, index).goodDayString"></div>
  105. <div slot="reference">
  106. <div v-html="getDetails(scope.row, index).badDayString" class="chaochuyingcang"></div>
  107. <div v-html="getDetails(scope.row, index).goodDayString" class="chaochuyingcang"></div>
  108. </div>
  109. </el-popover>
  110. <!-- {{-->
  111. <!-- scope.row.detailDayList[index].happenTypesString === null ? "" : scope.row.detailDayList[index].happenTypesString-->
  112. <!-- }}-->
  113. </div>
  114. </template>
  115. </el-table-column>
  116. </el-table-column>
  117. </el-table>
  118. <div class="table-page">
  119. <el-pagination
  120. :current-page.sync="search.pageNum"
  121. :page-size="search.pageSize"
  122. :total="allpage"
  123. background
  124. layout="total, prev, pager, next"
  125. @current-change="handleCurrentChange"
  126. />
  127. </div>
  128. </el-row>
  129. <edit ref="edit" @getData="getData()"/>
  130. </div>
  131. </template>
  132. <script>
  133. import Base from '../base/base'
  134. import BaseData from '../base/baseData'
  135. import edit from '@/views/workflow/components/attendance/edit.vue'
  136. export default {
  137. name: 'BugLibrary',
  138. components: {
  139. edit
  140. },
  141. mixins: [Base, BaseData],
  142. data() {
  143. return {
  144. OutData: [],
  145. dc_key: ['BUG_TYPE', 'REPAIR_STATUS', 'EMERGENCY_DEGREE'],
  146. levelList: [1, 2, 3],
  147. trendsNumList: [],
  148. submitTime: [],
  149. AllData: [],
  150. headData: [],
  151. dialogBatchTaskTitle: '个人任务',
  152. dialogBatchVisible: false,
  153. loading: false,
  154. TaskAllData: '',
  155. dialogTitle: '',
  156. dialogVisible: false,
  157. visible: false,
  158. taskFormKey: 0,
  159. taskFormKeys: 0,
  160. headKey: 0,
  161. groupList: [
  162. { value: '1', label: '内部' },
  163. { value: '2', label: '外部' }
  164. ],
  165. taskInfo: {
  166. id: '',
  167. batchId: '',
  168. proId: '',
  169. batchName: '',
  170. type: '1'
  171. },
  172. tableData: [],
  173. month: new Date(),
  174. checkList: '',
  175. onlineList: '',
  176. radio: 3,
  177. taskSearch: {},
  178. deptList: [],
  179. allpage: 0,
  180. search: {
  181. groupId: '',
  182. handleUserType: '',
  183. atMonth: '',
  184. deptId: '',
  185. name: '',
  186. proName: '',
  187. status: 0,
  188. online: '',
  189. handleUserId: '',
  190. pageNum: 1,
  191. pageSize: 12
  192. },
  193. hasAllPersonViewPermission: false,
  194. exportTable: []
  195. }
  196. },
  197. watch: {
  198. AllData: {
  199. handler() {
  200. this.$nextTick(() => {
  201. this.$refs.table.doLayout()
  202. })
  203. },
  204. deep: true,
  205. immediate: true
  206. }
  207. },
  208. mounted() {
  209. const _this = this
  210. this.initUser({ status: '1' })
  211. _this.initDeptAttr()
  212. // _this.hasPermission()
  213. // _this.initUserAndDetp()
  214. _this.initDepartment()
  215. // _this.initBizUser()
  216. this.initPost({ status: '0' })
  217. // _this.initProject()
  218. // _this.initBiz()
  219. this.initDict(_this.dc_key).then((res) => {
  220. // setTimeout(function() {
  221. // _this.getData();
  222. // }, 800);
  223. this.$nextTick(() => {
  224. _this.getData()
  225. })
  226. })
  227. },
  228. methods: {
  229. getDetails(e, index) {
  230. try {
  231. if (!e.detailDayList[index] || !e.detailDayList[index].happenTypesString) {
  232. return ''
  233. } else {
  234. let array = e.detailDayList[index].happenTypes.split(',')
  235. let type = [
  236. '年假', '调休', '事假',
  237. '病假', '婚假', '产假',
  238. '陪产假', '丧假', '加班',
  239. '迟到', '早退', '旷工',
  240. '外出', '居家', '出差'
  241. ]
  242. let badDay = []
  243. let goodDay = []
  244. for (let i = 0; i < array.length; i++) {
  245. if (array[i] == 10 || array[i] == 11 || array[i] == 12) {
  246. badDay.push(type[array[i] - 1])
  247. } else {
  248. goodDay.push(type[array[i] - 1])
  249. }
  250. }
  251. let badDayString = '<span style=\'color:red\'>' + badDay.join(',') + '</span>'
  252. let goodDayString = '<span style=\'color:blue\'>' + goodDay.join(',') + '</span>'
  253. return { badDayString, goodDayString }
  254. }
  255. } catch (a) {
  256. }
  257. },
  258. hasPermission() {
  259. if (this.$common.currUser() && this.$common.currUser().dataRoles && this.$common.currUser().dataRoles.DATA) {
  260. const permission = this.$common.currUser().dataRoles.DATA
  261. permission.forEach(item => {
  262. if (item === 'QYRW') {
  263. this.hasAllPersonViewPermission = true
  264. }
  265. })
  266. }
  267. },
  268. batchClose() {
  269. this.getData()
  270. },
  271. confirmOutput() {
  272. try {
  273. const _this = this
  274. this.OutData = []
  275. const title1 = [
  276. ' 姓名', ' 所在部门', '岗位', ' 本月应勤天数', '本月实际出勤天数', ' 其中:年假天数',
  277. ' 调休假(h)', ' 事假天数', ' 病假天数', '婚假天数', '产假天数',
  278. '陪产假天数', '丧假天数', '其中:加班(h)', ' 其中:迟到天数(次)', ' 其中:早退天数(次)']
  279. const title2 = [
  280. null, null, null, null, null,
  281. null, null, null, null, null,
  282. null, null, null, null, null, null
  283. ]
  284. _this.headData.forEach((item, index) => {
  285. title1.push(_this.$common.transDateStr(_this.month, 'yyyy/MM/') + item.day)
  286. title2.push(item.week)
  287. })
  288. this.OutData.push(title1)
  289. this.OutData.push(title2)
  290. const OutSize = []
  291. this.exportTable.forEach(function(item) {
  292. const jsonArray = []
  293. jsonArray.push(item.truename)
  294. jsonArray.push(item.deptName)
  295. jsonArray.push(item.postName)
  296. jsonArray.push(item.workDay)
  297. jsonArray.push(item.realityWorkDay)
  298. jsonArray.push(item.totalUseTime1)
  299. jsonArray.push(item.totalUseTime2)
  300. jsonArray.push(item.totalUseTime3)
  301. jsonArray.push(item.totalUseTime4)
  302. jsonArray.push(item.totalUseTime5)
  303. jsonArray.push(item.totalUseTime6)
  304. jsonArray.push(item.totalUseTime7)
  305. jsonArray.push(item.totalUseTime8)
  306. jsonArray.push(item.totalUseTime9)
  307. jsonArray.push(item.totalUseTime10)
  308. jsonArray.push(item.totalUseTime11)
  309. _this.headData.forEach(i => {
  310. console.log(item)
  311. console.log(item[(i.day) - 1])
  312. jsonArray.push(item.detailDayList[(i.day) - 1].happenTypesString)
  313. })
  314. _this.OutData.push(jsonArray)
  315. OutSize.push({ wch: 16 })
  316. })
  317. console.log(_this.OutData)
  318. const outMerges = [
  319. { s: { r: 0, c: 0 }, e: { r: 1, c: 0 } },
  320. { s: { r: 0, c: 1 }, e: { r: 1, c: 1 } },
  321. { s: { r: 0, c: 2 }, e: { r: 1, c: 2 } },
  322. { s: { r: 0, c: 3 }, e: { r: 1, c: 3 } },
  323. { s: { r: 0, c: 4 }, e: { r: 1, c: 4 } },
  324. { s: { r: 0, c: 5 }, e: { r: 1, c: 5 } },
  325. { s: { r: 0, c: 6 }, e: { r: 1, c: 6 } },
  326. { s: { r: 0, c: 7 }, e: { r: 1, c: 7 } },
  327. { s: { r: 0, c: 8 }, e: { r: 1, c: 8 } },
  328. { s: { r: 0, c: 9 }, e: { r: 1, c: 9 } },
  329. { s: { r: 0, c: 10 }, e: { r: 1, c: 10 } },
  330. { s: { r: 0, c: 11 }, e: { r: 1, c: 11 } },
  331. { s: { r: 0, c: 12 }, e: { r: 1, c: 12 } },
  332. { s: { r: 0, c: 13 }, e: { r: 1, c: 13 } },
  333. { s: { r: 0, c: 14 }, e: { r: 1, c: 14 } },
  334. { s: { r: 0, c: 15 }, e: { r: 1, c: 15 } }
  335. ]
  336. const fileName = '考勤表' + new Date().Format('yyyyMMddhhmm')
  337. console.log(this.OutData)
  338. this.$outputXlsxMergesFile(this.OutData, OutSize, outMerges, fileName)
  339. } catch (e) {
  340. console.warn(e)
  341. }
  342. },
  343. initTableHeaderStyle({ row, column, rowIndex, columnIndex }) {
  344. if (column.label === '周六' || column.label === '周日') {
  345. return 'background-color:#ffffff;color:rgba(0, 0, 0, 0.85);font-weight:500;'
  346. }
  347. if (!column.children) {
  348. } else {
  349. if (column.children && column.children[0].label === '周六' || column.children[0].label === '周日') {
  350. return 'background-color:#ffffff;color:rgba(0, 0, 0, 0.85);font-weight:500;'
  351. }
  352. }
  353. },
  354. // 判断周六周日给予特殊背景色
  355. cellClassName({ row, column, rowIndex, columnIndex }) {
  356. if (column.label === '周六' || column.label === '周日') {
  357. return 'warning-column'
  358. }
  359. },
  360. groupChange: function() {
  361. const _this = this
  362. _this.search.deptId = ''
  363. if (_this.search.handleUserType == '2') {
  364. _this.deptList = _this.BizData
  365. } else {
  366. _this.deptList = _this.DeptData
  367. }
  368. // _this.getData()
  369. },
  370. parentMethod: function(val) {
  371. if (val.length > 0) {
  372. this.form.handleUserId = val.join(',')
  373. }
  374. },
  375. getTaskData() {
  376. const _this = this
  377. _this.baseRequest('listAll', _this.taskSearch).then(res => {
  378. if (res.data) {
  379. const taskItems = []
  380. res.data.forEach(item => {
  381. taskItems.push(this.getTaskItemJson(item))
  382. })
  383. _this.TaskAllData = taskItems
  384. }
  385. })
  386. },
  387. getTaskItemJson(item) {
  388. item.requiredDate = this.$common.transDate(item.requiredDate)
  389. if (item.handleUserType === '1') {
  390. // item.handleGroupName = this.DeptUserNameMap[item.handleUserId]
  391. item.handleUserName = this.DeptUserMap[item.handleUserId]
  392. } else if (item.handleUserType === '2') {
  393. item.handleUserName = this.BizUserMap[item.handleUserId]
  394. // item.handleGroupName = this.BizUserNameMainMap[item.handleUserId]
  395. } else {
  396. item.handleUserName = this.DeptUserMap[item.handleUserId]
  397. }
  398. item.submitUserId = this.DeptUserMap[item.submitUserId]
  399. item.submitTime = this.$common.transServDate(item.submitTime)
  400. return item
  401. },
  402. getContent(content) {
  403. this.content = content
  404. this.form.content = content
  405. },
  406. personTaskDetail(val, day) {
  407. this.$refs.edit.setVisible(val, day)
  408. },
  409. changeTeam() {
  410. const _this = this
  411. _this.form.handleUserId = ''
  412. if (this.form.handleUserType == '1') {
  413. _this.handleUsers = _this.UserData
  414. } else {
  415. _this.handleUsers = _this.BizUserData
  416. }
  417. },
  418. openTaskForm() {
  419. const _this = this
  420. _this.taskFormKey++
  421. _this.taskInfo.id = ''
  422. _this.taskInfo.type = ''
  423. _this.taskInfo.isClone = false
  424. _this.dialogVisible = true
  425. },
  426. handleClose() {
  427. this.dialogVisible = false
  428. },
  429. handleCommit() {
  430. this.dialogVisible = false
  431. this.getData()
  432. },
  433. getData: function() {
  434. const _this = this
  435. _this.loading = true
  436. _this.AllData = []
  437. _this.search.handleUserId = _this.radio
  438. _this.search.date_from_1 = ''
  439. _this.search.date_to_1 = ''
  440. if (_this.submitTime !== null && _this.submitTime.length > 0) {
  441. _this.search.date_from_1 = _this.submitTime[0]
  442. _this.search.date_to_1 = _this.submitTime[1]
  443. }
  444. const currUser = _this.$common.currUser()
  445. console.log('currUsercurrUsercurrUser', currUser)
  446. if (currUser && currUser.groupId) {
  447. _this.search.groupId = this.$common.currUser().groupId
  448. }
  449. _this.search.atMonth = ''
  450. if (_this.month) {
  451. _this.search.atMonth = this.$common.transDate(_this.month, 'yyyy-MM')
  452. }
  453. try {
  454. this.baseRequest('selectInfoByMonth', _this.search).then((res) => {
  455. if (res.data) {
  456. _this.loading = false
  457. this.allpage = res.data.total
  458. res.data.rows.forEach(function(item) {
  459. const json = _this.getItemJson(item)
  460. _this.AllData.push(item)
  461. })
  462. _this.headKey++
  463. _this.headData = res.data.data
  464. }
  465. _this.loading = false
  466. }).catch(() => {
  467. })
  468. this.baseRequest('excelToselectInfoByMonth', _this.search).then((res) => {
  469. if (res.data) {
  470. _this.exportTable = res.data
  471. }
  472. }).catch(() => {
  473. })
  474. } catch (e) {
  475. }
  476. // this.initOutData()
  477. },
  478. getItemJson: function(item) {
  479. item.detailDayList.forEach((e, index, arr) => {
  480. item[index + 1] = e.happenTypesString
  481. })
  482. return item
  483. },
  484. handleSearch: function() {
  485. this.getData()
  486. },
  487. handleReset: function() {
  488. this.submitTime = []
  489. for (const i in this.search) {
  490. if (i !== 'pageNum' && i !== 'pageSize') {
  491. this.search[i] = ''
  492. }
  493. }
  494. this.search.status = 0
  495. this.month = new Date()
  496. this.radio = 1
  497. this.handleSearch()
  498. },
  499. /* 分页设定*/
  500. handleSizeChange: function(val) {
  501. this.search.pageSize = val
  502. this.getData()
  503. },
  504. handleCurrentChange: function(val) {
  505. this.search.pageNum = val
  506. this.getData()
  507. },
  508. baseRequest(opUrl, postData) {
  509. return this.$channel.globleRequest('WorkAttendanceLogController', opUrl, postData, 'project')
  510. }
  511. }
  512. }
  513. </script>
  514. <style lang="scss">
  515. .personTask {
  516. .chaochuyingcang {
  517. white-space: nowrap;
  518. overflow: hidden;
  519. text-overflow: ellipsis;
  520. }
  521. td {
  522. padding: 0
  523. }
  524. .ch-input .el-input__inner {
  525. border-radius: 0px;
  526. //border-color: #32323a;
  527. }
  528. .el-date-editor.el-input, .el-date-editor.el-input__inner {
  529. width: 150px !important;
  530. }
  531. .ch-input-size {
  532. width: 150px;
  533. }
  534. .ch-button {
  535. border-radius: 0px;
  536. border-color: #32323a;
  537. background-color: #32323a;
  538. color: #fff;
  539. }
  540. .ch-button-warning {
  541. margin-left: 10px;
  542. border-radius: 0px;
  543. border-color: #E75B5B;
  544. background-color: #E75B5B;
  545. color: #fff;
  546. }
  547. .ch-button-export {
  548. margin-left: 10px;
  549. border-radius: 0px;
  550. border-color: #98cc1f;
  551. background-color: #98cc1f;
  552. color: #fff;
  553. }
  554. .table1 {
  555. position: absolute;
  556. color: black;
  557. background-color: white;
  558. overflow: hidden;
  559. width: 100%;
  560. overflow: hidden;
  561. overflow-x: scroll;
  562. .hang {
  563. display: grid;
  564. justify-content: space-around;
  565. height: 48px;
  566. grid-template-columns: repeat(10, 1fr) repeat(31, 0.5fr);
  567. //margin: 10px 0;
  568. div {
  569. width: 100%;
  570. height: 100%;
  571. border: 1px solid black;
  572. display: flex;
  573. align-items: center;
  574. justify-content: center;
  575. }
  576. .changeCol {
  577. }
  578. }
  579. .firstHang {
  580. display: grid;
  581. height: 82px;
  582. grid-template-columns: repeat(10, 1fr) repeat(31, 0.5fr);
  583. div {
  584. width: 100%;
  585. height: 100%;
  586. //border:1px solid black;
  587. font-size: 12px;
  588. display: flex;
  589. align-items: center;
  590. justify-content: center;
  591. }
  592. .personData {
  593. display: grid;
  594. grid-template-columns: 1fr;
  595. p {
  596. border: 1px solid black;
  597. display: flex;
  598. align-items: center;
  599. justify-content: center;
  600. border-bottom: none;
  601. border-top: none;
  602. }
  603. }
  604. //.frData {
  605. // display: grid;
  606. // grid-template-columns: repeat(3, 1fr);
  607. // p {
  608. // border: 1px solid rgba(42, 57, 128, 0.3);
  609. // display: flex;
  610. // align-items: center;
  611. // justify-content: center;
  612. // border-bottom: none;
  613. // border-top: none;
  614. // }
  615. //}
  616. .cityData {
  617. display: grid;
  618. grid-template-columns: repeat(2, 1fr);
  619. p {
  620. border: 1px solid rgba(42, 57, 128, 0.3);
  621. display: flex;
  622. align-items: center;
  623. justify-content: center;
  624. border-bottom: none;
  625. border-top: none;
  626. }
  627. }
  628. .weekDay {
  629. display: flex;
  630. flex-direction: column;
  631. }
  632. .weekEnd {
  633. background: rgba(199, 25, 31, 0.25);
  634. div {
  635. }
  636. }
  637. }
  638. }
  639. .el-table th > .cell {
  640. overflow: visible !important;
  641. }
  642. .warning-column {
  643. background: rgba(245, 245, 245, 1) !important;
  644. }
  645. .cell {
  646. display: -webkit-box;
  647. -webkit-box-orient: vertical;
  648. overflow: hidden;
  649. -webkit-line-clamp: 2;
  650. text-overflow: ellipsis;
  651. }
  652. }
  653. </style>