onLineIndex.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <div>
  3. <el-dialog
  4. :title="grooveData.title || '提示'"
  5. :visible.sync="show"
  6. append-to-body
  7. fullscreen
  8. width="100%"
  9. custom-class="customClass"
  10. z-index="1000"
  11. >
  12. <on-line-editing :groove-data="grooveData" :groove-list="grooveList" :dialog-show="true" style="width: 100%;height: 100;" />
  13. </el-dialog>
  14. <!-- <div class="elDea">
  15. <on-line-editing :groove-data="grooveData" :groove-list="grooveList" :dialog-show="true" style="width: 100%;height: 100;" />
  16. </div> -->
  17. </div>
  18. </template>
  19. <script>
  20. import onLineEditing from '@/views/onLineEditing/index'
  21. export default {
  22. components: {
  23. onLineEditing
  24. },
  25. props: {
  26. dialogVisible: {
  27. type: Boolean,
  28. default: false
  29. },
  30. grooveData: {
  31. type: Object,
  32. default: function () {
  33. return {
  34. title: '提示',
  35. saveShow: true,
  36. exportExcelShow: true,
  37. clickHandleShow: true,
  38. xlsxTitleShow: true,
  39. readOnly: true,
  40. showtoolbarConfig: null,
  41. cellRightClickConfig: null,
  42. showstatisticBarConfig: null
  43. }
  44. }
  45. },
  46. grooveList: {
  47. type: Array,
  48. default: () => {
  49. return []
  50. }
  51. }
  52. },
  53. data () {
  54. return {
  55. show: this.dialogVisible
  56. }
  57. },
  58. methods: {
  59. }
  60. }
  61. </script>
  62. <style scoped>
  63. /deep/ .customClass .el-dialog__body{
  64. z-index: 10;
  65. }
  66. .elDea{
  67. background: #fff;
  68. position: fixed;
  69. left: 0;
  70. right: 0;
  71. top: 0;
  72. bottom: 0;
  73. z-index: 10;
  74. }
  75. </style>