| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <template>
- <el-dialog class="customs_dialog" :visible.sync="dialogVisible" :before-close="handleClose" title="水库基础信息批量导入">
- <template slot="title">
- 水库基础信息批量导入
- <span style="margin-left:2px;">(<b style="color:red;">注意:Excel文件导入操作会覆盖本页所有数据,请谨慎操作。</b>)</span>
- </template>
- <shui-ku-cha-xun :show="show"
- :rsNameStr="rsNameStr"
- :rsTypeStr="rsTypeStr"
- :pageStr="pageStr"
- :admDiv="admDiv"
- :heightStr="heightStr" :widthStr="widthStr" :dxdcMainHeightStr="dxdcMainHeightStr">
- </shui-ku-cha-xun>
- <span slot="footer" class="dialog-footer">
- </span>
- </el-dialog>
- </template>
- <script>
- import request from '../../../utils/gw_ajax_request.js'
- import shuiKuChaXun from '../../duChaDuiXiang/chaXun/shuiKuChaXun_sht.vue'
- export default {
- props: ['rsNameStr','rsTypeStr','pageStr','admDiv'],
- components: {
- shuiKuChaXun:shuiKuChaXun,
- },
- data(){
- return{
- dialogVisible:true,
- fileList:[],
- uuid:1,
- actionUrl:'',
- socket:null,
- showShuiKuTianBaoPlVer:false,
- filePath:'',
- tableData:[],
- showButton:false,
- show:true,
- nmStr: 'non',
- dxdcMainHeightStr: window.innerHeight - 320,
- heightStr: window.innerHeight,
- widthStr: window.innerWidth,
- }
- },
- mounted:function(){
- },
- computed: {
- persId() {
- return localStorage.getItem("userid")
- ? localStorage.getItem("userid")
- : "1098101939614724096";
- }
- },
- methods:{
- handleClose(done) {
- this.$emit("closePlDialog");
- },
- },
- watch:{
- },
- }
- </script>
- <style>
- .title{
- font-size: 16px;
- }
- .el-icon-edit{
- margin-right: 10px;
- }
- .customs_dialog .el-dialog{
- width: 80% !important;
- }
- .customs_dialog .el-dialog__body {
- padding: 30px 20px;
- color: #606266;
- font-size: 14px;
- height: 60vh;
- overflow: auto;
- }
- .upload_div {
- text-align: center;
- }
- .upload_div_left {
- border:1px solid red;
- width:50%;
- height:100px;
- float:left;
- }
- .upload_div_right {
- border:1px solid red;
- width:50%;
- height:100%;
- float:right;
- }
- </style>
|