eb68f3ecc483dc597bd264fac8c11ae20342d95e.svn-base 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <el-dialog class="customs_dialog" :visible.sync="dialogVisible" :before-close="handleClose" title="水闸督查批量填报">
  3. <template slot="title">
  4. 水闸督查批量填报
  5. <span style="margin-left:2px;">(<b style="color:red;">注意:Excel文件导入操作会覆盖本页所有数据,请谨慎操作。</b>)</span>
  6. </template>
  7. <shui-zha-tian-bao :show="show" :nmStr="nmStr" :heightStr="heightStr" :widthStr="widthStr" :dxdcMainHeightStr="dxdcMainHeightStr"
  8. ></shui-zha-tian-bao>
  9. <span slot="footer" class="dialog-footer">
  10. </span>
  11. </el-dialog>
  12. </template>
  13. <script>
  14. import request from '../../utils/gw_ajax_request.js'
  15. import shuiZhaTianBao from '../duChaDuiXiang/reportTb/shuiZhaTianBao.vue'
  16. export default {
  17. props: [],
  18. components: {
  19. shuiZhaTianBao:shuiZhaTianBao,
  20. },
  21. data(){
  22. return{
  23. dialogVisible:true,
  24. fileList:[],
  25. uuid:1,
  26. actionUrl:'',
  27. socket:null,
  28. showShuiKuTianBaoPlVer:false,
  29. filePath:'',
  30. tableData:[],
  31. showButton:false,
  32. show:false,
  33. nmStr: 'non',
  34. dxdcMainHeightStr: window.innerHeight - 300,
  35. heightStr: window.innerHeight,
  36. widthStr: window.innerWidth,
  37. }
  38. },
  39. mounted:function(){
  40. },
  41. computed: {
  42. persId() {
  43. return localStorage.getItem("userid")
  44. ? localStorage.getItem("userid")
  45. : "1098101939614724096";
  46. }
  47. },
  48. methods:{
  49. handleClose(done) {
  50. this.$emit("closePlDialog");
  51. },
  52. },
  53. watch:{
  54. },
  55. }
  56. </script>
  57. <style>
  58. .title{
  59. font-size: 16px;
  60. }
  61. .el-icon-edit{
  62. margin-right: 10px;
  63. }
  64. .customs_dialog .el-dialog{
  65. width: 80% !important;
  66. }
  67. .customs_dialog .el-dialog__body {
  68. padding: 30px 20px;
  69. color: #606266;
  70. font-size: 14px;
  71. height: 60vh;
  72. overflow: auto;
  73. }
  74. .upload_div {
  75. text-align: center;
  76. }
  77. .upload_div_left {
  78. border:1px solid red;
  79. width:50%;
  80. height:100px;
  81. float:left;
  82. }
  83. .upload_div_right {
  84. border:1px solid red;
  85. width:50%;
  86. height:100%;
  87. float:right;
  88. }
  89. </style>