0b46b4ac6dd9b6387fa255f83cb0dc6c4a9de549.svn-base 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. <ren-yuan-cha-xun :show="show"
  8. :persNameStr="persName"
  9. :orgNameStr="orgName"
  10. :pageStr="page"
  11. :heightStr="heightStr" :widthStr="widthStr" :dxdcMainHeightStr="dxdcMainHeightStr">
  12. </ren-yuan-cha-xun>
  13. <span slot="footer" class="dialog-footer">
  14. </span>
  15. </el-dialog>
  16. </template>
  17. <script>
  18. import request from '../../utils/gw_ajax_request.js'
  19. import renYuanChaXun from '../duChaDuiXiang/chaXun/renYuanChaXun_sht.vue'
  20. export default {
  21. props: ['persName','orgName','page'],
  22. components: {
  23. renYuanChaXun:renYuanChaXun,
  24. },
  25. data(){
  26. return{
  27. dialogVisible:true,
  28. fileList:[],
  29. uuid:1,
  30. actionUrl:'',
  31. socket:null,
  32. showShuiKuTianBaoPlVer:false,
  33. filePath:'',
  34. tableData:[],
  35. showButton:false,
  36. show:false,
  37. dxdcMainHeightStr: window.innerHeight - 300,
  38. heightStr: window.innerHeight,
  39. widthStr: window.innerWidth,
  40. }
  41. },
  42. mounted:function(){
  43. },
  44. computed: {
  45. persId() {
  46. return localStorage.getItem("userid")
  47. ? localStorage.getItem("userid")
  48. : "1098101939614724096";
  49. }
  50. },
  51. methods:{
  52. handleClose(done) {
  53. this.$emit("closePlDialog");
  54. },
  55. },
  56. watch:{
  57. },
  58. }
  59. </script>
  60. <style>
  61. .title{
  62. font-size: 16px;
  63. }
  64. .el-icon-edit{
  65. margin-right: 10px;
  66. }
  67. .customs_dialog .el-dialog{
  68. width: 80% !important;
  69. }
  70. .customs_dialog .el-dialog__body {
  71. padding: 30px 20px;
  72. color: #606266;
  73. font-size: 14px;
  74. height: 60vh;
  75. overflow: auto;
  76. }
  77. .upload_div {
  78. text-align: center;
  79. }
  80. .upload_div_left {
  81. border:1px solid red;
  82. width:50%;
  83. height:100px;
  84. float:left;
  85. }
  86. .upload_div_right {
  87. border:1px solid red;
  88. width:50%;
  89. height:100%;
  90. float:right;
  91. }
  92. </style>