|
@@ -298,22 +298,23 @@ function numberToExcelColumn(num) {
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
-// function initSheet(sheet, authority, permissions) {
|
|
|
-function initSheet(sheet, authority) {
|
|
|
- let permissions = {
|
|
|
- "func-psr-01": 1,
|
|
|
- "func-psr-02": 0,
|
|
|
- "func-psr-03": 0,
|
|
|
- "func-psr-04": 0,
|
|
|
- "func-psr-05": 0,
|
|
|
- "func-psr-06": 0,
|
|
|
- "func-actual-01": 1,
|
|
|
- "func-actual-02": 0,
|
|
|
- "func-actual-03": 0,
|
|
|
- "func-actual-04": 0,
|
|
|
- "func-actual-05": 0,
|
|
|
- "func-list-01": 0,
|
|
|
- };
|
|
|
+function initSheet(sheet, authority, permissions) {
|
|
|
+ // function initSheet(sheet, authority) {
|
|
|
+ // let permissions = {
|
|
|
+ // "func-psr-01": 1,
|
|
|
+ // "func-psr-02": 0,
|
|
|
+ // "func-psr-03": 0,
|
|
|
+ // "func-psr-04": 0,
|
|
|
+ // "func-psr-05": 0,
|
|
|
+ // "func-psr-06": 0,
|
|
|
+ // "func-actual-01": 1,
|
|
|
+ // "func-actual-02": 0,
|
|
|
+ // "func-actual-03": 0,
|
|
|
+ // "func-actual-04": 0,
|
|
|
+ // "func-actual-05": 0,
|
|
|
+ // "func-list-01": 0,
|
|
|
+ // };
|
|
|
+ console.log("--------------permissions----------", permissions);
|
|
|
let colhidden = {};
|
|
|
let rowhidden = {};
|
|
|
if (sheet.config) {
|