|
@@ -382,9 +382,21 @@ export default {
|
|
ExcelClassifyId: _.ExcelClassifyId,
|
|
ExcelClassifyId: _.ExcelClassifyId,
|
|
ExcelClassifyName: _.ExcelClassifyName,
|
|
ExcelClassifyName: _.ExcelClassifyName,
|
|
}));
|
|
}));
|
|
-
|
|
|
|
return options;
|
|
return options;
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ //数据表格是否展示
|
|
|
|
+ isShowDataSheet(){
|
|
|
|
+ const cell = {Source:2}
|
|
|
|
+ return this.isSheetBtnShow(cell,'edit')||this.isSheetBtnShow(cell,'refresh')||this.isSheetBtnShow(cell,'otherSave')
|
|
|
|
+ || this.isSheetBtnShow(cell,'download')||this.isSheetBtnShow(cell,'del')
|
|
|
|
+ },
|
|
|
|
+ //混合表格是否展示
|
|
|
|
+ isShowMixSheet(){
|
|
|
|
+ const cell = {Source:3}
|
|
|
|
+ return this.isSheetBtnShow(cell,'edit')||this.isSheetBtnShow(cell,'refresh')||this.isSheetBtnShow(cell,'otherSave')
|
|
|
|
+ || this.isSheetBtnShow(cell,'download')||this.isSheetBtnShow(cell,'del')
|
|
|
|
+ }
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -477,20 +489,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- computed:{
|
|
|
|
- //数据表格是否展示
|
|
|
|
- isShowDataSheet(){
|
|
|
|
- const cell = {Source:2}
|
|
|
|
- return this.isSheetBtnShow(cell,'edit')||this.isSheetBtnShow(cell,'refresh')||this.isSheetBtnShow(cell,'otherSave')
|
|
|
|
- || this.isSheetBtnShow(cell,'download')||this.isSheetBtnShow(cell,'del')
|
|
|
|
- },
|
|
|
|
- //混合表格是否展示
|
|
|
|
- isShowMixSheet(){
|
|
|
|
- const cell = {Source:3}
|
|
|
|
- return this.isSheetBtnShow(cell,'edit')||this.isSheetBtnShow(cell,'refresh')||this.isSheetBtnShow(cell,'otherSave')
|
|
|
|
- || this.isSheetBtnShow(cell,'download')||this.isSheetBtnShow(cell,'del')
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
methods: {
|
|
methods: {
|
|
/* 添加表格 */
|
|
/* 添加表格 */
|
|
goAddSheetHandle(type) {
|
|
goAddSheetHandle(type) {
|