|
@@ -31,7 +31,7 @@
|
|
|
<i class="el-icon-upload"></i>
|
|
|
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
|
|
<div class="el-upload__tip text-center" slot="tip">
|
|
|
-
|
|
|
+
|
|
|
<span>仅允许导入xls、xlsx格式文件。</span>
|
|
|
<el-link
|
|
|
type="primary"
|
|
@@ -514,7 +514,13 @@ export default {
|
|
|
return item;
|
|
|
});
|
|
|
// 获取操作列的按钮数据
|
|
|
- this.excuteBtnArr = res.data.resultMap.button;
|
|
|
+ this.excuteBtnArr = res.data.resultMap.button?.filter(
|
|
|
+ (item) => item.btnGroupType == "right"
|
|
|
+ );
|
|
|
+ // this.topBtnArr =
|
|
|
+ // res.data.resultMap.button?.filter(
|
|
|
+ // (item) => item.btnGroupType == "top"
|
|
|
+ // ) || [];
|
|
|
this.calcuteExcuteCol();
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.tableRef.doLayout();
|