Commit 9fe614b0 by 杨卫

doc:日月周报模版添加字段

1 parent b04f522f
...@@ -14,14 +14,77 @@ ...@@ -14,14 +14,77 @@
### 谢海旭 -----------------end--------------------- ### 谢海旭 -----------------end---------------------
### 杨卫 -----------------start-------------------- ### 杨卫 -----------------start--------------------
-- uuid-temp-001 -- qinggai-temp-001 1.1轻改区域日报模版
update digital_management_template_item set deleted_flag = 'D' where template_code = 'uuid-temp-001' and `key` = 'monthlySecondExpansionStore'; update digital_management_template_item set `order` = 3 where template_code = 'qinggai-temp-001' and `key` = 'workReport';
update digital_management_template_item set `order` = 18 where template_code = 'uuid-temp-001' and `key` = 'dailyCumulativeAchievement'; delete from digital_management_template_item where template_code = 'qinggai-temp-001' AND `key` in ('trafficConnectionQG', 'salesReferralRateQG', 'deliveryReferralRateQG', 'cumulReferAfterSalesSerQG', 'ProgressOpenNewMediaStoreQG');
delete from digital_management_template_item where template_code = 'uuid-temp-001' AND `key` in ('monthlyMultiCategoryNegotStore', 'monthlyMultiCategoryContraStore'); INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) values
('trafficConnectionQG',NULL,'qinggai-temp-001','流量对接','trafficConnectionQG','string',2,NULL,NULL,NULL,NULL,'{"type": "text","maxlength": 17}',NULL,'system','2025-01-06 19:44:05','N'),
('salesReferralRateQG','trafficConnectionQG','qinggai-temp-001','销售引荐率','salesReferralRateQG','int',1,'请输入',NULL,'%',NULL,'{"type": "input","maxlength": 5,"width": "244px","addHtml": "percent", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "销售引荐率不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('deliveryReferralRateQG','trafficConnectionQG','qinggai-temp-001','交付引荐率','deliveryReferralRateQG','int',2,'请输入',NULL,'%',NULL,'{"type": "input","maxlength": 5,"width": "244px","addHtml": "percent", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "交付引荐率不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('cumulReferAfterSalesSerQG', 'trafficConnectionQG', 'qinggai-temp-001', '售后累计引荐', 'cumulReferAfterSalesSerQG', 'int', 3, '请输入', NULL, '台', NULL, '{"type": "input","maxlength": 6, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "售后累计引荐不能为空"},{"validator": "ruleFn"}]}', 0, 'system', '2026-01-08 00:00:00', 'N'),
('ProgressOpenNewMediaStoreQG', 'trafficConnectionQG','qinggai-temp-001','新媒体开店进展','ProgressOpenNewMediaStoreQG','string',4,NULL,NULL,NULL,NULL,'{"type": "textarea", "rows": 4, "addHtml": "textarea", "isLabelNoLine": "true", "maxlength": 800, "isAgreeTrim": "true", "width": "160px", "rule": [{"required": true,"message": "新媒体开店进展不能为空"}]}',NULL,'system','2025-01-06 19:44:05','N');
-- uuid-temp-013 1.1区域经理周报模版
update digital_management_template_item set `order` = 3 where template_code = 'uuid-temp-013' and `key` = 'personnelIssues013';
update digital_management_template_item set `order` = 4 where template_code = 'uuid-temp-013' and `key` = 'workSummary013';
delete from digital_management_template_item where template_code = 'uuid-temp-013' AND `key` in ('trafficConnectionQG013', 'salesReferralRateQG013', 'deliveryReferralRateQG013', 'cumulReferAfterSalesSerQG013', 'ProgressOpenNewMediaStoreQG013');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('001_108','1','uuid-temp-001','本月多品类洽谈门店','monthlyMultiCategoryNegotStore','int',11,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'), ('013_4',NULL,'uuid-temp-013','流量对接','trafficConnectionQG013','string',2,NULL,NULL,NULL,NULL,'{"type": "text","maxlength": 17}',NULL,'system','2025-01-06 19:44:05','N'),
('013_401','013_4','uuid-temp-013','销售引荐率','salesReferralRateQG013','int',1,'请输入',NULL,'%',NULL,'{"type": "input","maxlength": 5,"width": "244px","addHtml": "percent", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "销售引荐率不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('013_402','013_4','uuid-temp-013','交付引荐率','deliveryReferralRateQG013','int',2,'请输入',NULL,'%',NULL,'{"type": "input","maxlength": 5,"width": "244px","addHtml": "percent", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "交付引荐率不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('013_403', '013_4', 'uuid-temp-013', '售后累计引荐', 'cumulReferAfterSalesSerQG013', 'int', 3, '请输入', NULL, '台', NULL, '{"type": "input","maxlength": 6, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "售后累计引荐不能为空"},{"validator": "ruleFn"}]}', 0, 'system', '2026-01-08 00:00:00', 'N'),
('013_404', '013_4','uuid-temp-013','新媒体开店进展','ProgressOpenNewMediaStoreQG013','string',4,NULL,NULL,NULL,NULL,'{"type": "textarea", "rows": 4, "addHtml": "textarea", "isLabelNoLine": "true", "maxlength": 800, "isAgreeTrim": "true", "width": "160px", "rule": [{"required": true,"message": "新媒体开店进展不能为空"}]}',NULL,'system','2025-01-06 19:44:05','N');
### 杨卫 -----------------end---------------------- -- uuid-temp-018 1.1区域经理月报模版
update digital_management_template_item set `order` = 6 where template_code = 'uuid-temp-018' and `key` = 'currentMonthOperationProblemReview018';
update digital_management_template_item set `order` = 7 where template_code = 'uuid-temp-018' and `key` = 'currentMonthOperationStrategyAdjustment018';
delete from digital_management_template_item where template_code = 'uuid-temp-018' AND `key` in ('trafficConnectionQG018', 'salesReferralRateQG018', 'deliveryReferralRateQG018', 'cumulReferAfterSalesSerQG018', 'ProgressOpenNewMediaStoreQG018');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('018_7',NULL,'uuid-temp-018','流量对接','trafficConnectionQG018','string',5,NULL,NULL,NULL,NULL,'{"type": "text","maxlength": 17}',NULL,'system','2025-01-06 19:44:05','N'),
('018_701','018_7','uuid-temp-018','销售引荐率','salesReferralRateQG018','int',1,'请输入',NULL,'%',NULL,'{"type": "input","maxlength": 5,"width": "244px","addHtml": "percent", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "销售引荐率不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('018_702','018_7','uuid-temp-018','交付引荐率','deliveryReferralRateQG018','int',2,'请输入',NULL,'%',NULL,'{"type": "input","maxlength": 5,"width": "244px","addHtml": "percent", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "交付引荐率不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('018_703', '018_7', 'uuid-temp-018', '售后累计引荐', 'cumulReferAfterSalesSerQG018', 'int', 3, '请输入', NULL, '台', NULL, '{"type": "input","maxlength": 6, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "售后累计引荐不能为空"},{"validator": "ruleFn"}]}', 0, 'system', '2026-01-08 00:00:00', 'N'),
('018_704', '018_7','uuid-temp-018','新媒体开店进展','ProgressOpenNewMediaStoreQG018','string',4,NULL,NULL,NULL,NULL,'{"type": "textarea", "rows": 4, "addHtml": "textarea", "isLabelNoLine": "true", "maxlength": 800, "isAgreeTrim": "true", "width": "160px", "rule": [{"required": true,"message": "新媒体开店进展不能为空"}]}',NULL,'system','2025-01-06 19:44:05','N');
-- uuid-temp-001 2.3延保区域日报模版
update digital_management_template_item set deleted_flag = 'D' where template_code = 'uuid-temp-011' and `key` = 'monthlySecondExpansionStore';
update digital_management_template_item set `order` = 18 where template_code = 'uuid-temp-011' and `key` = 'dailyCumulativeAchievement';
delete from digital_management_template_item where template_code = 'uuid-temp-011' AND `key` in ('monthlyMultiCategoryNegotStore', 'monthlyMultiCategoryContraStore');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('001_108','1','uuid-temp-011','本月多品类洽谈门店','monthlyMultiCategoryNegotStore','int',11,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('001_109','1','uuid-temp-011','本月多品类签约门店','monthlyMultiCategoryContraStore','int',12,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类签约门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N');
-- uuid-temp-011 2.1权益区域日报模版
update digital_management_template_item set deleted_flag = 'D' where template_code = 'uuid-temp-011' and `key` = 'monthlySecondExpansionStore';
update digital_management_template_item set `order` = 18 where template_code = 'uuid-temp-011' and `key` = 'dailyCumulativeAchievement';
delete from digital_management_template_item where template_code = 'uuid-temp-011' AND `key` in ('monthlyMultiCategoryNegotStore', 'monthlyMultiCategoryContraStore');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('011_107','011_1','uuid-temp-011','本月多品类洽谈门店','monthlyMultiCategoryNegotStore','int',11,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('011_108','011_1','uuid-temp-011','本月多品类签约门店','monthlyMultiCategoryContraStore','int',12,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类签约门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N');
-- uuid-temp-012 2.1区域经理周报模版
delete from digital_management_template_item where template_code = 'uuid-temp-012' AND `key` in ('monthlyMultiCategoryNegotStore012', 'monthlyMultiCategoryContraStore012');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('012_109','012_1','uuid-temp-012','本月多品类洽谈门店','monthlyMultiCategoryNegotStore012','int',11,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('012_110','012_1','uuid-temp-012','本月多品类签约门店','monthlyMultiCategoryContraStore012','int',12,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类签约门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N');
-- uuid-temp-014 2.3区域经理周报模版
delete from digital_management_template_item where template_code = 'uuid-temp-014' AND `key` in ('monthlyMultiCategoryNegotStore014', 'monthlyMultiCategoryContraStore014');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('014_109','014_1','uuid-temp-014','本月多品类洽谈门店','monthlyMultiCategoryNegotStore014','int',11,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('014_110','014_1','uuid-temp-014','本月多品类签约门店','monthlyMultiCategoryContraStore014','int',12,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类签约门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N');
-- uuid-temp-019 2.1区域经理月报模版
delete from digital_management_template_item where template_code = 'uuid-temp-019' AND `key` in ('monthlyMultiCategoryNegotStore019', 'monthlyMultiCategoryContraStore019');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('019_405','019_4','uuid-temp-019','本月多品类洽谈门店','monthlyMultiCategoryNegotStore019','int',5,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('019_406','019_4','uuid-temp-019','本月多品类签约门店','monthlyMultiCategoryContraStore019','int',6,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类签约门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N');
-- uuid-temp-020 2.3区域经理月报模版
delete from digital_management_template_item where template_code = 'uuid-temp-020' AND `key` in ('monthlyMultiCategoryNegotStore020', 'monthlyMultiCategoryContraStore020');
INSERT INTO digital_management_template_item (code,parent_code,template_code,name,`key`,data_type,`order`,placeholder,prefix,suffix,backend_rule,front_rule,is_compute_rate,created_by,created_date,deleted_flag) VALUES
('020_405','020_4','uuid-temp-020','本月多品类洽谈门店','monthlyMultiCategoryNegotStore020','int',5,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类洽谈门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N'),
('020_406','020_4','uuid-temp-020','本月多品类签约门店','monthlyMultiCategoryContraStore020','int',6,'请输入',NULL,'家',NULL,'{"type": "input","maxlength": 4, "width": "224px","addHtml": "text", "sortable": "custom", "isLabelNoLine":true, "inputAlign": "left", "rule": [{"required": true,"message": "本月多品类签约门店不能为空"},{"validator": "ruleFn"}]}',1,'system','2025-11-20 00:00:00','N');
### 杨卫 -----------------end----------------------
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!