Commit 91b426b2 authored by “lixuyan”'s avatar “lixuyan”

修改工时管理样式

parent d81f1046
<template> <template>
<section class="time-to-see"> <dee-dialog
v-if="visible"
title="工时查看"
:dialog-visible.sync="visible"
width="90%"
custom-class="mobile-dialog"
>
<section class="statistical-summary-working-hours-com">
<Search :active-name="activeName" @init="searchData" /> <Search :active-name="activeName" @init="searchData" />
<dee-tools :tools="tools" mode="normal" :collapse="false" /> <dee-tools :tools="tools" mode="normal" :collapse="false" />
<el-tabs v-model="activeName" type="card" @tab-click="tabClick"> <el-tabs v-model="activeName" type="card" @tab-click="tabClick">
...@@ -11,6 +18,7 @@ ...@@ -11,6 +18,7 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</section> </section>
</dee-dialog>
</template> </template>
<script> <script>
...@@ -27,6 +35,7 @@ export default { ...@@ -27,6 +35,7 @@ export default {
data() { data() {
return { return {
activeName: 'product', activeName: 'product',
visible: false,
// 工具栏 // 工具栏
tools: [{ tools: [{
name: '确认', name: '确认',
...@@ -39,6 +48,13 @@ export default { ...@@ -39,6 +48,13 @@ export default {
} }
}, },
methods: { methods: {
// 打开弹出框
open() {
this.visible = true
},
handleClose() {
this.visible = false
},
searchData(form) { searchData(form) {
this.initForm = form this.initForm = form
this.tableInit(this.initForm) this.tableInit(this.initForm)
...@@ -66,9 +82,7 @@ export default { ...@@ -66,9 +82,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.time-to-see{ .statistical-summary-working-hours-com{
padding-top: 10px;
background: #fff;
.dee-tools{ .dee-tools{
float: right; float: right;
position: relative; position: relative;
......
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