| | |
| | | height |
| | | ? fixHeight |
| | | ? fixHeight |
| | | : undefined |
| | | : '100px' |
| | | : $store.getters.tableHeight - otherHeight |
| | | " |
| | | v-bind="$attrs" |
| | |
| | | :span-method="objectSpanMethod" |
| | | :header-cell-style="tableHeaderStyle" |
| | | v-adaptive="{ bottomOffset: bottomOffset, fixedHeight: fixedHeight }" |
| | | height="100px" |
| | | :class="[ |
| | | 'commonTable', |
| | | isGeneralSearch && !isEdit |
| | |
| | | :sortable="!isEdit ? (item.sort ? 'custom' : item.sort) : false" |
| | | v-bind="$attrs" |
| | | v-on="$listeners" |
| | | v-if="item.isTrue" |
| | | v-show="item.isTrue" |
| | | :class-name=" |
| | | (orderBy == null && item.prop == options.defaultOrderBy.column) || |
| | | (orderBy != null && |
| | |
| | | :width="inMemoryColWidth[item.prop] || item.width" |
| | | :prop="item.prop" |
| | | > |
| | | <template slot="header" slot-scope="scope"> |
| | | <template slot="header"> |
| | | <template v-if="item.isSearch"> |
| | | <div class="th" @click.stop> |
| | | <template |
| | |
| | | <i class="el-icon-upload"></i> |
| | | <div class="el-upload__text"><em>点击导入数据</em></div> |
| | | <div class="el-upload__tip" slot="tip"> |
| | | 只能上传xlsx/xls文件,且不超过30M<el-button |
| | | <span v-if="uploadInfo.tipText" v-text="uploadInfo.tipText"></span> |
| | | <span v-else>只能上传xlsx/xls文件,且不超过30M。</span> |
| | | <el-button |
| | | type="text" |
| | | style="font-size:15px;text-decoration: underline;" |
| | | @click="downDataTemplate" |