You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.6 KiB

1 week ago
# -*- coding: utf-8 -*-
"""新目录树:生成所有 folder.bru"""
import io, sys
sys.path.insert(0, 'D:/code/crm-backend-matt/.scratch')
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
from bru_lib import write_folder_bru
folders = [
# (相对路径, 显示名, seq)
('商机模块', '商机模块', 20),
('商机模块/销售机会', '销售机会', 10),
('商机模块/销售机会/看板列表', '看板列表', 10),
('商机模块/商机管理', '商机管理', 20),
('商机模块/商机管理/看板列表', '看板列表', 10),
('商机模块/商机公海', '商机公海', 30),
('商机模块/商机公海/看板列表', '看板列表', 10),
('商机模块/新建商机', '新建商机', 40),
('商机模块/状态流转', '状态流转', 50),
('商机模块/商机详情', '商机详情', 60),
('商机模块/商机详情/主体', '主体', 10),
('商机模块/商机详情/客户', '客户', 20),
('商机模块/商机详情/跟进', '跟进', 30),
('商机模块/商机详情/勘察', '勘察', 40),
('商机模块/商机详情/附件', '附件', 50),
('商机模块/商机详情/团队', '团队', 60),
('商机模块/商机详情/日志', '日志', 70),
('商机模块/商机详情/方案卡','方案卡', 80),
]
for path, name, seq in folders:
write_folder_bru(path, name, seq)
print('folders done')