|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<div class='flex' :style="{ height: tableHeight }"> |
|
|
|
<div class="left_menu flex flex-y" v-if="!sheetTotal"> |
|
|
|
<div class="left_menu flex flex-y" v-if="!sheetTotal && pageType !== 'filling'"> |
|
|
|
<!-- <el-button type="text" round @click="handelClickBack" icon="el-icon-back">返回</el-button> --> |
|
|
|
<section> |
|
|
|
<h3>{{ menuList[0].taskTitle }}</h3> |
|
|
|
@ -17,9 +17,7 @@ |
|
|
|
<div :class="['flex', 'flex-y', 'flex1', sheetTotal ? 'luckysheet-wrap' : 'luckysheet-wrap-all']"> |
|
|
|
<div class="top_btn flex flex-end"> |
|
|
|
<div> |
|
|
|
<el-button type="text" round @click="handelClickBack" icon="el-icon-back" v-if="!sheetTotal">返回</el-button> |
|
|
|
<el-button type="text" round @click="handelClickBack" v-if="pageType !== 'add' || sheetTotal" |
|
|
|
icon="el-icon-back">返回</el-button> |
|
|
|
<el-button type="text" round @click="handelClickBack" icon="el-icon-back" v-if="!sheetTotal || pageType == 'filling'">返回</el-button> |
|
|
|
<el-button type="warning" v-if="pageType === 'add'" @click="handleClickInspect"> 自动检查</el-button> |
|
|
|
<el-button type="success" @click="onClickUplond()" v-if="pageType !== 'add'"> 智能填表</el-button> |
|
|
|
</div> |
|
|
|
@ -175,6 +173,7 @@ export default { |
|
|
|
}, |
|
|
|
async handleUploadDataHide(val) { |
|
|
|
this.showUploadData = false; |
|
|
|
if(!val) return |
|
|
|
luckysheet.insertRow(this.currentTable[0].data.length, 1) |
|
|
|
const findLastNonNullIndex = (arr) => { |
|
|
|
for (let i = arr.length - 1; i >= 0; i--) { |
|
|
|
|