浏览代码

delete importSpread

zhongzewei 6 年之前
父节点
当前提交
c81bf7dec9
共有 2 个文件被更改,包括 0 次插入3 次删除
  1. 0 1
      web/building_saas/main/html/main.html
  2. 0 2
      web/building_saas/main/js/views/project_view.js

+ 0 - 1
web/building_saas/main/html/main.html

@@ -1366,7 +1366,6 @@
                     <button style="margin-top: 2px;" type="button" class="btn btn-primary" id="uploadExample">示例</button>
                    <!-- <div id="uploadSheets" style="display: none; border-top: 1px solid #CED4DA;border-left: 1px solid #CED4DA;border-radius: 5px;margin-top: 5px;"></div>-->
                     <div id="uploadSheets"></div>
-                    <div id="importSpread" style="display: none"></div>
                 </div>
                 <div class="modal-footer">
                     <a href="javascript:void(0);" class="btn btn-primary" id="importConfirm">确定导入</a>

+ 0 - 2
web/building_saas/main/js/views/project_view.js

@@ -2457,7 +2457,6 @@ $('#uploadGld').click(function () {
 });
 
 let importJson = null;
-let importSpread = null;
 //选择导入的excel文件
 $('#customFile').change(function () {
    let file = $(this)[0];
@@ -2478,7 +2477,6 @@ $('#customFile').change(function () {
        if(importJson){
            importJson = null;
        }
-       importSpread = new GC.Spread.Sheets.Workbook($('#importSpread')[0]);
        let excelIo = new GC.Spread.Excel.IO();
        let sDate = +new Date();
        excelIo.open(excelFile, function (json) {