1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import '../../css/bootstrap.less';
- import 'bootstrap/dist/js/bootstrap.js';
- import '../../css/public.css';
- import '../../css/main_banner.css';
- import '../../js/public.js';
- import '../../js/main_banner.js';
- import '../../css/technologyTrading/achievementOrder.css';
- (function(){
- $(".order_button div").click(function(){
- var theId = $("#id_").attr('val');
- $.ajax({
- method: "post",
- dataType: "json",
- url: globalConfig.context + "/api/user/portal/order/orderAchievement",
- data: {
- achievementId:theId
- },
- success: function (data) {
- console.log(data.error);
- if(data.error==""){
- window.open(globalConfig.context+ '/user/account/index.html#techList');
- }else{
- return;
- }
- }
- });
- })
- })();
|