|
@@ -1275,10 +1275,33 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, und
|
|
}
|
|
}
|
|
});
|
|
});
|
|
})
|
|
})
|
|
|
|
+ // 单选框选择显示对应input
|
|
|
|
+ $(document).on('click', '.radio-inline', function () {
|
|
|
|
+ let copyright_files_value = $("input[name='row[is_copyright]']:checked").val();
|
|
|
|
+ if (copyright_files_value == 'normal') {
|
|
|
|
+ $('.copyright_files').show();
|
|
|
|
+ } else {
|
|
|
|
+ $('.copyright_files').hide();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ let is_funding_value = $("input[name='row[is_funding]']:checked").val();
|
|
|
|
+ if (is_funding_value == 'normal') {
|
|
|
|
+ $('.funding_content').show();
|
|
|
|
+ } else {
|
|
|
|
+ $('.funding_content').hide();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ let is_interest_value = $("input[name='row[is_interest]']:checked").val();
|
|
|
|
+ if (is_interest_value == 'normal') {
|
|
|
|
+ $('.interest_content').show();
|
|
|
|
+ } else {
|
|
|
|
+ $('.interest_content').hide();
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
|
|
Form.api.bindevent($("#submit-manuscript-form"), function () {
|
|
Form.api.bindevent($("#submit-manuscript-form"), function () {
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
- location.href = window.history.go(-1);
|
|
|
|
|
|
+ location.href = '/index/user/display_submitted';
|
|
}, 2000);
|
|
}, 2000);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -1337,7 +1360,7 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, und
|
|
handing_suggestions: function () {
|
|
handing_suggestions: function () {
|
|
Form.api.bindevent($("#submit-comments-form"), function () {
|
|
Form.api.bindevent($("#submit-comments-form"), function () {
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
- location.href = window.history.go(-1);
|
|
|
|
|
|
+ location.href = '/index/user/show_reviewed_manuscripts';
|
|
}, 2000);
|
|
}, 2000);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -1867,7 +1890,7 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, und
|
|
conduct_review: function () {
|
|
conduct_review: function () {
|
|
Form.api.bindevent($("#submit-comments-form"), function () {
|
|
Form.api.bindevent($("#submit-comments-form"), function () {
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
- location.href = window.history.go(-1);
|
|
|
|
|
|
+ location.href = '/index/user/show_reviewed_manuscripts';
|
|
}, 2000);
|
|
}, 2000);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -1890,11 +1913,8 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, und
|
|
reviewer_information: function () {
|
|
reviewer_information: function () {
|
|
//为表单绑定事件
|
|
//为表单绑定事件
|
|
Form.api.bindevent($("#reviewer-information-form"), function (data, ret) {
|
|
Form.api.bindevent($("#reviewer-information-form"), function (data, ret) {
|
|
- // setTimeout(function () {
|
|
|
|
- // location.href = ret.url ? ret.url : "/";
|
|
|
|
- // }, 6000);
|
|
|
|
|
|
+
|
|
}, function (data) {
|
|
}, function (data) {
|
|
- // $("input[name=captcha]").next(".input-group-btn").find("img").trigger("click");
|
|
|
|
});
|
|
});
|
|
},
|
|
},
|
|
become_an_editor: function () {
|
|
become_an_editor: function () {
|
|
@@ -1941,7 +1961,7 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, und
|
|
//为表单绑定事件
|
|
//为表单绑定事件
|
|
Form.api.bindevent($("#review-comments-form"), function (data, ret) {
|
|
Form.api.bindevent($("#review-comments-form"), function (data, ret) {
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
- location.href = window.history.go(-1);
|
|
|
|
|
|
+ location.href = '/index/user/display_submitted';
|
|
}, 2000);
|
|
}, 2000);
|
|
}, function (data) {
|
|
}, function (data) {
|
|
|
|
|
|
@@ -1976,7 +1996,7 @@ define(['jquery', 'bootstrap', 'frontend', 'form', 'template'], function ($, und
|
|
//为表单绑定事件
|
|
//为表单绑定事件
|
|
Form.api.bindevent($("#invite-editor-form"), function (data, ret) {
|
|
Form.api.bindevent($("#invite-editor-form"), function (data, ret) {
|
|
setTimeout(function () {
|
|
setTimeout(function () {
|
|
- location.href = window.history.go(-1);
|
|
|
|
|
|
+ location.href = '/index/user/editing_manuscripts';
|
|
}, 2000);
|
|
}, 2000);
|
|
}, function (data) {
|
|
}, function (data) {
|
|
|
|
|