【研讨生 招生】等待报考上海大学生命科学学院硕士研讨生

【研讨生 招生】等待报考上海大学生命科学学院硕士研讨生

2024年 7月 22日 0 By gong2022

使用维护中!

$(“#divu2”).html($(“#htmlu2”).text());

var appowner = “1656223304”;
var token = gettoken(10);
var urlprefix = “/aop_component/”;

jquery.support.cors = true;
$.ajaxsetup({
beforesend: function (request, settings) {
request.setrequestheader(“authorization”, token);
request.setrequestheader(“owner”, appowner);
}
});

new vue({
el: “#appu2”,
data: function () {
return {
query: {
keyword: “”,//查找要害词
owner: appowner,
token: token,
urlprefix: urlprefix,
lang:”i18n_zh_cn”
},
iserror: false
}
},
mounted: function () {
var _this = this;
// _this.init();
},
methods: {
init: function(){
$.ajax({

【研讨生 招生】等待报考上海大学生命科学学院硕士研讨生插图
url: “/aop_component//webber/search/test”,
type: “get”,
success: function (response) {
if (response.code == “0000”) {
} else if (response.code == “220”) {
_this.iserror = true;
console.log(response);
} else if (!response.code) {
_this.iserror = true;
console.log(response);
}
},
error: function (response) {
_this.iserror = true;
}
});
},
onsubmit: function (e) {
var url = “/views/search/modules/resultpc/soso.html”;
if (“10” == “1” || “10” == “2”) {
url = “https://2022openlab.shu.edu.cn/” + url;
}
var _this = this;
var query = _this.query;
if (url.indexof(“?”) > -1) {
url = url.split(“?”)[0];
}
if (query.keyword) {
var query = new base64().encode(json.stringify(query));
window.open(url + “?query=” + query);
} else {
alert(“请填写查找内容”)
}
},
}
})