10.18云许可增加影像服务的许可
报价库表 找刘嫚拿最新的
这是新增一个扩展模块,相对简单一、增加影像服务的许可
###1.sql
产品id:10003002 (专业版)、10003003(高级版)
模块id: 9303016 (影像服务)、9303096 (影像服务32核)、9303097 (影像服务附加2核)
# SuperMap iServer 影像服务
insert into online_timelicensemodule values
(9303016,null,'影像服务扩展模块',1,1,1,null,'1699','5669','13219','22669','37779','67999','101999',11015,0);
# SuperMap iServer 影像服务(32核)
insert into online_timelicensemodule values
(9303096,null,'影像服务扩展模块32核',1,1,1,null,'1699','5669','13219','22669','37779','67999','101999',11095,1);
# SuperMap iServer 影像服务(附加2核)
insert into online_timelicensemodule values
(9303097,null,'影像服务扩展模块附加2核',1,1,1,null,'169','569','1329','2279','3799','6799','10199',11096,1);
#关联表 专业版、
insert into timelicenseproduct_to_module(productId,moduleId) values(10003002,9303016),(10003002,9303096),(10003002,9303097);
#关联表 高级版
insert into timelicenseproduct_to_module(productId,moduleId) values(10003003,9303016),(10003003,9303096),(10003003,9303097);
价格(主版本和32核价格相同):
SuperMap iServer 影像服务
1年 37779
1周=37779*0.15*0.3=1700.055=1699
1月=37779*0.15=5666.85=5669
1季=37779*0.35=13222.65=13219
半年=37779*0.6=22667.4=22669
1年 37779 定价
2年 67999 定价
3年 101999 定价
SuperMap iServer 影像服务
1年 3799
1周=3799*0.15*0.3=170.955=169
1月=3799*0.15=569.85=569
1季=3799*0.35=1329.65=1329
半年=3799*0.6=2279.4=2279
1年 3799 定价
2年 6799 定价
3年 10199 定价
###2.旧版页面
staticFiles/js/resources/i18n/LimitedTimeLicenseModuleResource_zh_CN.js
staticFiles/js/resources/i18n/LimitedTimeLicenseModuleResource_en_US.js
"9303016" : {
"moduleCode" : "11015",
"moduleGeneralName" : "影像服务",
"moduleName" : "影像服务扩展模块"
},
"9303095" : {
"moduleCode" : "11094",
"moduleGeneralName" : "影像服务",
"moduleName" : "影像服务扩展模块(16核) "
},
"9303096" : {
"moduleCode" : "11095",
"moduleGeneralName" : "影像服务",
"moduleName" : "影像服务扩展模块(32核) "
},
"9303097" : {
"moduleCode" : "11096",
"moduleGeneralName" : "影像服务",
"moduleName" : "影像服务扩展模块(附加2核) "
},
_____________________________________________
"9303016" : {
"moduleCode" : "11015",
"moduleGeneralName" : "Image",
"moduleName" : "Image Extension"
},
"9303095" : {
"moduleCode" : "11094",
"moduleGeneralName" : "Image",
"moduleName" : "Image Extension(16 Cores) "
},
"9303096" : {
"moduleCode" : "11095",
"moduleGeneralName" : "Image",
"moduleName" : "Image Extension(32 Cores)"
},
"9303097" : {
"moduleCode" : "11096",
"moduleGeneralName" : "Image",
"moduleName" : "Image Extension(Additional 2 Cores)"
},
_____________________________________________
licenseProduct.js
因为licModule.type === 1, 0是普通,1是扩展32核,附加2核
86: var image = false,imageStr = false;
155:else if(licModule.moduleId == "9303095" || licModule.moduleId == "9303096" || licModule.moduleId == "9303097"){
image = true;
}
202:if(image && !imageStr){
imageStr = true;
productModuleQuota.push(licProduct.quotaHtml(licModule.moduleId,"9303095_9303096_9303097"));
}###3.新版ui
TimeLicenseProductPage.vue###4.测试
查询报价项参数 = {"Codes":["11015","11028","11095","11096"],"ProductName":"SuperMap iServer Java","VersionHF":"ADVANCED","OperatePlatform":"Windows","ProVersion":"10.0","HardwarePlatform":"X64","key":"286cc92783f24a755648a4d3fbf8d2ff1ffd69e95d70ea72da297ea6e7946ab268a47859c2c9b3778e4a949e6a21e0273a33095ae4ea45662949472e106ee1cf"}
查询报价项结果 = {"msg":"请求成功","code":200,"data":[{"QUOTATIONID":"SM-A-0012-0096-0013","CODE":"11028","QUOTATIONNAME":"SuperMap iServer 10i 简体中文高级版32核(64位Windows版)-基础平台"},{"QUOTATIONID":"SM-A-0012-0096-37065","CODE":"11095","QUOTATIONNAME":"SuperMap iServer 10i 简体中文高级版32核(64位Windows版)-影像服务扩展模块"},{"QUOTATIONID":"SM-A-0012-0096-37066","CODE":"11096","QUOTATIONNAME":"SuperMap iServer 10i 简体中文高级版附加2核(64位Windows版)-影像服务扩展模块"},{"QUOTATIONID":"SM-A-0012-0096-37067","CODE":"11015","QUOTATIONNAME":"SuperMap iServer 10i 简体中文高级版2物理CPU(64位Windows版)-影像服务扩展模块"}]}
data = [com.supermap.online.serp.commontypes.QuotationResult@24707379, com.supermap.online.serp.commontypes.QuotationResult@4ce93939, com.supermap.online.serp.commontypes.QuotationResult@21c54576, com.supermap.online.serp.commontypes.QuotationResult@54709196]
创建合同参数 = {"Ctr_ChgCon":0.01,"ShopName":["SuperMap iServer 10i 简体中文高级版32核(64位Windows版)-基础平台","SuperMap iServer 10i 简体中文高级版32核(64位Windows版)-影像服务扩展模块","SuperMap iServer 10i 简体中文高级版附加2核(64位Windows版)-影像服务扩展模块","SuperMap iServer 10i 简体中文高级版2物理CPU(64位Windows版)-影像服务扩展模块"],"ProductCount":[1,1,1,1],"InvoiceTitle":"","IsInvoice":0,"IndentID":"02-202110181704564560000","ShopID":["SM-A-0012-0096-0013","SM-A-0012-0096-37065","SM-A-0012-0096-37066","SM-A-0012-0096-37067"],"key":"286cc92783f24a755648a4d3fbf8d2ff1ffd69e95d70ea72da297ea6e7946ab268a47859c2c9b3778e4a949e6a21e0273a33095ae4ea45662949472e106ee1cf","Unitprice":[37779.0,80679.0,37779.0,3799.0]}
创建合同结果 = {"msg":"请求成功","code":200,"data":1}
生成序列号参数 = {"lpt":"File","lPt":"USB","hardwareID":"","series":"_10i","IndentID":"02-202110181704564560000","Software_Num":0,"lat":"NetWork","CanActivateCount":0,"key":"286cc92783f24a755648a4d3fbf8d2ff1ffd69e95d70ea72da297ea6e7946ab268a47859c2c9b3778e4a949e6a21e0273a33095ae4ea45662949472e106ee1cf","flt":"None"}
生成序列号结果 = {"serialNumber":"2XSY6-OSLV6-22I0W-JLI7H-6RVVT"}
查询报价项参数 = {"Codes":["11015","11025","11095","11096"],"ProductName":"SuperMap iServer Java","VersionHF":"PROFESSIONAL","OperatePlatform":"Windows","ProVersion":"10.0","HardwarePlatform":"X64","key":"286cc92783f24a755648a4d3fbf8d2ff1ffd69e95d70ea72da297ea6e7946ab268a47859c2c9b3778e4a949e6a21e0273a33095ae4ea45662949472e106ee1cf"}
查询报价项结果 = {"msg":"请求成功","code":200,"data":[{"QUOTATIONID":"SM-A-0012-0095-0010","CODE":"11025","QUOTATIONNAME":"SuperMap iServer 10i 简体中文版专业版32核(64位Windows版)-基础平台"},{"QUOTATIONID":"SM-A-0012-0095-37062","CODE":"11015","QUOTATIONNAME":"SuperMap iServer 10i 简体中文专业版2物理CPU(64位Windows版)-影像服务扩展模块"},{"QUOTATIONID":"SM-A-0012-0095-37063","CODE":"11095","QUOTATIONNAME":"SuperMap iServer 10i 简体中文专业版32核(64位Windows版)-影像服务扩展模块"},{"QUOTATIONID":"SM-A-0012-0095-37064","CODE":"11096","QUOTATIONNAME":"SuperMap iServer 10i 简体中文专业版附加2核(64位Windows版)-影像服务扩展模块"}]}
data = [com.supermap.online.serp.commontypes.QuotationResult@5ccacb1f, com.supermap.online.serp.commontypes.QuotationResult@7410e13, com.supermap.online.serp.commontypes.QuotationResult@66bd4e72, com.supermap.online.serp.commontypes.QuotationResult@7c251998]
创建合同参数 = {"Ctr_ChgCon":0.01,"ShopName":["SuperMap iServer 10i 简体中文版专业版32核(64位Windows版)-基础平台","SuperMap iServer 10i 简体中文专业版2物理CPU(64位Windows版)-影像服务扩展模块","SuperMap iServer 10i 简体中文专业版32核(64位Windows版)-影像服务扩展模块","SuperMap iServer 10i 简体中文专业版附加2核(64位Windows版)-影像服务扩展模块"],"ProductCount":[1,1,1,1],"InvoiceTitle":"","IsInvoice":0,"IndentID":"02-202110181704224220000","ShopID":["SM-A-0012-0095-0010","SM-A-0012-0095-37062","SM-A-0012-0095-37063","SM-A-0012-0095-37064"],"key":"286cc92783f24a755648a4d3fbf8d2ff1ffd69e95d70ea72da297ea6e7946ab268a47859c2c9b3778e4a949e6a21e0273a33095ae4ea45662949472e106ee1cf","Unitprice":[37779.0,47679.0,37779.0,3799.0]}
创建合同结果 = {"msg":"请求成功","code":200,"data":1}
生成序列号参数 = {"lpt":"File","lPt":"USB","hardwareID":"","series":"_10i","IndentID":"02-202110181704224220000","Software_Num":0,"lat":"NetWork","CanActivateCount":0,"key":"286cc92783f24a755648a4d3fbf8d2ff1ffd69e95d70ea72da297ea6e7946ab268a47859c2c9b3778e4a949e6a21e0273a33095ae4ea45662949472e106ee1cf","flt":"None"}
生成序列号结果 = {"serialNumber":"09K09-K1WLD-10PBG-6P35C-60M19"}