-- 制造建模管理 - 首页卡片预置脚本
--zhaohui_zeng  2019-11-30

DELETE FROM t_bas_mainpagelayout WHERE FID = '770763994695791616';
insert into t_bas_mainpagelayout (FID, FUSERID, FTYPE, FBIZAPPID, FLAYOUT, FNUMBER, FENABLE, FCUSTOMABLE, FISPRESET, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FDISABLERID, FDISABLETIME, FSCHEMETYPE, FMASTERID, FFORMNUM, FISMULTIORG)
values ('770763994695791616', '0', 'app', '064+L=UVGI9P', '[{"w":6,"h":1,"x":0,"y":0,"i":"770763261019747328","moved":false,"static":false},{"w":6,"h":1,"x":6,"y":0,"i":"770763556424589312","moved":false,"static":false},{"w":8,"h":1,"x":0,"y":1,"i":"770764277240886272","moved":false,"static":false},{"w":4,"h":1,"x":8,"y":1,"i":"770764580480688128","moved":false,"static":false},{"w":12,"h":1,"x":0,"y":2,"i":"770764995607720960","moved":false,"static":false}]', 'HP-000019', '1', '1', '1', '13466739', {ts'2019-11-30  11:08:00'}, '13466739', {ts'2019-11-30  11:08:00'}, '0', null, '1', '0', ' ', '1');

DELETE FROM t_bas_mainpagelayout_l WHERE FID = '770763994695791616';
insert into t_bas_mainpagelayout_l (FPKID, FID, FLOCALEID, FNAME)
values ('0DNMY03A1Q2T', '770763994695791616', 'zh_CN', '制造建模管理应用首页默认方案');

DELETE FROM t_bas_cardconfig WHERE FID = '770766153487294468';
insert into t_bas_cardconfig (FID, FUSERID, FTYPE, FMAINPAGEID, FCARDID, FCONFIG)
values ('770766153487294468', '0', 'bos_card_msgcenter', '770763994695791616', '770764995607720960', '{"cardType":"bos_card_msgcenter","config":{"1":{"cardType":"bos_card_msgcenter","nodeId":"toHandle","nodeText":"待办任务"},"2":{"cardType":"bos_card_msgcenter","nodeId":"toApply","nodeText":"在办申请"},"3":{"cardType":"bos_card_msgcenter","nodeId":"unread","nodeText":"未读消息"},"4":{"cardType":"bos_card_msgcenter","nodeId":"475779342555701248","nodeText":"报警"},"5":{"cardType":"bos_card_msgcenter","nodeId":"475779578418192384","nodeText":"预警"},"6":{"cardType":"bos_card_msgcenter","nodeId":"handled","nodeText":"已办任务"},"7":{"cardType":"bos_card_msgcenter","nodeId":"applyed","nodeText":"已办申请"}}}');

DELETE FROM t_bas_cardconfig WHERE FID = '770766153487294464';
insert into t_bas_cardconfig (FID, FUSERID, FTYPE, FMAINPAGEID, FCARDID, FCONFIG)
values ('770766153487294464', '0', 'bos_card_quicklaunch', '770763994695791616', '770763261019747328', '{"cardType":"bos_card_quicklaunch","config":{"0AC5DC86YJAX":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0AC5DC86YJAX","launchType":"launchType_menu"},"0DH7Y1CMD47D":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH7Y1CMD47D","launchType":"launchType_menu"},"0DH8+++=/OS3":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH8+++=/OS3","launchType":"launchType_menu"},"0=3ANPLPIODV":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0=3ANPLPIODV","launchType":"launchType_menu"},"0DH82VUA9RE6":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH82VUA9RE6","launchType":"launchType_menu"}}}');

DELETE FROM t_bas_cardconfig WHERE FID = '770766153487294465';
insert into t_bas_cardconfig (FID, FUSERID, FTYPE, FMAINPAGEID, FCARDID, FCONFIG)
values ('770766153487294465', '0', 'bos_card_quicklaunch', '770763994695791616', '770763556424589312', '{"cardType":"bos_card_quicklaunch","config":{"0DH634SRR32O":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH634SRR32O","launchType":"launchType_menu"},"0DH65HL0YFG3":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH65HL0YFG3","launchType":"launchType_menu"},"0DH6OKR4/LR/":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH6OKR4/LR/","launchType":"launchType_menu"},"0DH6Q=FKBS0G":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH6Q=FKBS0G","launchType":"launchType_menu"},"0DH6SE2NAYZX":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH6SE2NAYZX","launchType":"launchType_menu"},"0DH6YY0XW3EW":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH6YY0XW3EW","launchType":"launchType_menu"}}}');

DELETE FROM t_bas_cardconfig WHERE FID = '770766153487294466';
insert into t_bas_cardconfig (FID, FUSERID, FTYPE, FMAINPAGEID, FCARDID, FCONFIG)
values ('770766153487294466', '0', 'bos_card_quicklaunch', '770763994695791616', '770764277240886272', '{"cardType":"bos_card_quicklaunch","config":{"0DH70XN0D=0M":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH70XN0D=0M","launchType":"launchType_menu"},"0DH721RDS0=Q":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH721RDS0=Q","launchType":"launchType_menu"},"0DH7369GPKU+":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH7369GPKU+","launchType":"launchType_menu"},"0DH74DEM7KC2":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH74DEM7KC2","launchType":"launchType_menu"},"0DH75N1A8KTW":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH75N1A8KTW","launchType":"launchType_menu"},"0DH79KKXM5Y9":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH79KKXM5Y9","launchType":"launchType_menu"},"0DH7A55+VMF3":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"0DH7A55+VMF3","launchType":"launchType_menu"}}}');

DELETE FROM t_bas_cardconfig WHERE FID = '770766153487294467';
insert into t_bas_cardconfig (FID, FUSERID, FTYPE, FMAINPAGEID, FCARDID, FCONFIG)
values ('770766153487294467', '0', 'bos_card_quicklaunch', '770763994695791616', '770764580480688128', '{"cardType":"bos_card_quicklaunch","config":{"08PYVOMIL4BF":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"08PYVOMIL4BF","launchType":"launchType_menu"},"09LFXNAWH0/H":{"cache_sel_appId":"064+L=UVGI9P","cache_sel_menuId":"09LFXNAWH0/H","launchType":"launchType_menu"}}}');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=J';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=J', '770766153487294468', 'zh_CN', '消息中心', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=I';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=I', '770766153487294468', 'zh_TW', '消息中心', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=B';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=B', '770766153487294464', 'zh_CN', '基础资料', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=A';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=A', '770766153487294464', 'zh_TW', '基礎資料', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=D';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=D', '770766153487294465', 'zh_CN', '资源基础设置', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=C';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=C', '770766153487294465', 'zh_TW', '資源基礎設置', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=F';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=F', '770766153487294466', 'zh_CN', '资源基础资料', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=E';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=E', '770766153487294466', 'zh_TW', '資源基礎資料', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=H';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=H', '770766153487294467', 'zh_CN', '工作中心', ' ');

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0DNNARM9TB=G';
insert into t_bas_cardconfig_l (FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME)
values ('0DNNARM9TB=G', '770766153487294467', 'zh_TW', '工作中心', ' ');