<script type="text/javascript">
/**
1.dataTransferAppoint 数据转换约定
2.filePath 路径
3.hasTitle EXCEL是否拥有标题行,默认为true
4.lineCount 列总数
5.stableLineCount 固定的列数
6.hasSerialNumer EXCEL中是否拥有序号
*/
function dataTransferAppoint( filePath, hasTitle, rowsCount, lineCount, stableLineCount, hasSerialNumber) {
this.filePath = filePath;
this.hasTitle = hasTitle == undefined ? true : hasTitle;
this.hasSerialNumber = hasSerialNumber;
this.rowsCount = rowsCount;
this.lineCount = lineCount;
this.stableLineCount = stableLineCount;
this.fxLineCount = 0;
this.lineStartLine = 4;
this.rowStartLine = 2;
this.serialNumber = 0;
/** 从已存在HTML的CONTEXT获取序列号 或者 自行产生序列号 */
this.getSerialNumber = function () {
var numberSize = $('.serialNumer').size();
if( numberSize > 0 ) {
this.serialNumber = numberSize == 1 ? $('.serialNume
ActiveXObject之 Excel.Application练习
最新推荐文章于 2021-08-12 13:42:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)