doway-coms 2.5.5 → 2.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/packages/utils/common.js
CHANGED
|
@@ -556,7 +556,7 @@ export function getExportParams(columns) {
|
|
|
556
556
|
}
|
|
557
557
|
return tempParams
|
|
558
558
|
}
|
|
559
|
-
export function setFormButtons(toolBtns,statusBtns,permissionBtns){
|
|
559
|
+
export function setFormButtons(toolBtns,statusBtns,permissionBtns,tabs){
|
|
560
560
|
// 将获取的数据进行排序
|
|
561
561
|
let tempSortArr = permissionBtns.sort(function(a,b){
|
|
562
562
|
a.sort = a.sort?a.sort:1
|
|
@@ -588,6 +588,9 @@ export function setFormButtons(toolBtns,statusBtns,permissionBtns){
|
|
|
588
588
|
case 'status':
|
|
589
589
|
statusBtns.push(pushBtn)
|
|
590
590
|
break
|
|
591
|
+
case 'tab':
|
|
592
|
+
tabs.push(pushBtn)
|
|
593
|
+
break
|
|
591
594
|
}
|
|
592
595
|
})
|
|
593
596
|
}
|