diff --git a/plugin.xml b/plugin.xml index e2fd4b7..3f6896d 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,13 +1,13 @@ com.fr.plugin.hw.import.excel - + yes - 1.8.3 + 2.0.0 10.0 2018-07-31 - author - - + 帆软 + + diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.js b/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.js index 4a1a384..11db30b 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.js @@ -71,8 +71,6 @@ }, _getFieldItems: function () { - var self = this; - console.log("fieldItems", this.model.perItems) return BI.map(this.model.perItems, function (idx, field) { var items = [{ type: "bi.label", @@ -90,7 +88,6 @@ }, _formatItems: function (items) { - console.log("_formatItems"); var allResult=[]; var self = this, o = this.options; self.colName = []; diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.model.js b/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.model.js index 126d476..afcf691 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.model.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/attr/col.attr.model.js @@ -43,7 +43,7 @@ id: BI.UUID(), colName: "", colType: "12", - colLength: "7000", + colLength: "255", excelCol: "", primaryKey: false }) diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.js b/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.js index df3563f..fefa9d5 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.js @@ -15,7 +15,6 @@ info: {} }, _store: function () { - console.log("table.attr.js"); return BI.Models.getModel("dec.hw.table.attr.model"); }, watch: { @@ -31,7 +30,6 @@ }, render: function () { var self = this, o = this.options, borderEditorWidth = EDITOR_WIDTH - 2; - console.log("table.attr.js"); return { type: "bi.vertical", width: 640, diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.model.js b/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.model.js index 9c88fee..3a255c5 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.model.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/attr/table.attr.model.js @@ -19,7 +19,6 @@ initData: function (callback) { var self=this; Dec.Utils.getConnections(function (res) { - console.log(res); self.model.connectionItems = BI.map( /*// 根据驱动过滤下数据连接 @@ -61,7 +60,6 @@ "/url/excelmng/getSchema?connectionName=" + v, null,null, function (e) { - console.log(e); self.model.schemaItems = e.data; self.setSchemaLoaded(true); } diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/hw.option.js b/src/main/resources/com/fr/plugin/hw/decision/js/hw.option.js index adbde01..d4b542c 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/hw.option.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/hw.option.js @@ -59,7 +59,7 @@ {value: "91", text: "日期"} ]); - BI.constant("dec.hw.col.type.int", [2, 4]); + BI.constant("dec.hw.col.type.int", [2, 4, 8]); BI.constant("dec.hw.col.type.str", [1, 12]); BI.constant("dec.hw.col.type.bool", [-7, 16]); BI.constant("dec.hw.col.type.date", [91, 93]); diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/hw.table.add.pop.js b/src/main/resources/com/fr/plugin/hw/decision/js/hw.table.add.pop.js index 1006ca3..0447402 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/hw.table.add.pop.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/hw.table.add.pop.js @@ -105,7 +105,6 @@ end: function () { var self = this; self.store.setImportStatus("importing"); - console.log("end"); if (self.getValue().infoId == "add") { self._tableNameExistsAndImportChecker(); diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/pane/left.linklist.model.js b/src/main/resources/com/fr/plugin/hw/decision/js/pane/left.linklist.model.js index f62c5ad..0251a7d 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/pane/left.linklist.model.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/pane/left.linklist.model.js @@ -39,7 +39,6 @@ var self = this ; Dec.reqGet("/url/excelmng/querylink?containReuse=" + self.options.containReuse,null,function(e){ self.model.linklist = e.data; - console.log(self.model.linklist); BI.isFunction(callback) && callback(); },BI.emptyFn) }, diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/table.info.js b/src/main/resources/com/fr/plugin/hw/decision/js/table.info.js index 0f3d4a2..0d9043a 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/table.info.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/table.info.js @@ -53,7 +53,6 @@ }, { eventName: BI.MultifileEditor.EVENT_UPLOADED, action: function (args) { - console.log("EVENT_UPLOADED"); var files = this.getValue(); if (files[files.length - 1].errorCode) { BI.Msg.toast(BI.i18nText(files[files.length - 1].errorMsg), { diff --git a/src/main/resources/com/fr/plugin/hw/decision/js/table.info.model.js b/src/main/resources/com/fr/plugin/hw/decision/js/table.info.model.js index 331b306..5520f46 100644 --- a/src/main/resources/com/fr/plugin/hw/decision/js/table.info.model.js +++ b/src/main/resources/com/fr/plugin/hw/decision/js/table.info.model.js @@ -74,7 +74,6 @@ transferName: "", reset: true }, function (res) { - console.log(res); if (res.success) { var fields = res.data.fields; self.model.result.sheetNo = 0; @@ -148,7 +147,7 @@ id:BI.UUID(), colName: item.name || item.colName, colType: item.type || 16, - colLength: "7000", + colLength: "255", excelCol: index } });