|
@ -90,6 +90,7 @@ $(document).ready(function () {
|
90
|
90
|
arr.push(res.data[i].name)
|
91
|
91
|
dom.push(res.data[i].professorId)
|
92
|
92
|
}
|
|
93
|
|
93
|
94
|
$.ajax({ //导入状态数据
|
94
|
95
|
'url': '/ajax/resResult/selectbyidandPid',
|
95
|
96
|
'data': {
|
|
@ -98,7 +99,7 @@ $(document).ready(function () {
|
98
|
99
|
},
|
99
|
100
|
'type': 'get',
|
100
|
101
|
success: function (res) {
|
101
|
|
|
|
102
|
console.log(res)
|
102
|
103
|
var cc = res.data //状态值 []
|
103
|
104
|
if ($data.name) { //分隔数组[]
|
104
|
105
|
oSpec = "研究者:" + arr.join(',');
|
|
@ -154,10 +155,12 @@ $(document).ready(function () {
|
154
|
155
|
$(".importUl").on("click", ".importSpan-1", function () {
|
155
|
156
|
var oF = $(this).attr("flag");
|
156
|
157
|
var $this = $(this);
|
|
158
|
|
157
|
159
|
$.ajax({
|
158
|
160
|
"url": "/ajax/resResult/ass",
|
159
|
161
|
"type": "POST",
|
160
|
162
|
"success": function (data) {
|
|
163
|
console.log(data)
|
161
|
164
|
if (data.success) {
|
162
|
165
|
if (data.data > 0) {
|
163
|
166
|
$this.text("导入成功").addClass("importSpan-3").removeClass("importSpan-1").removeClass("importSpan-2").css("cursor", "auto");
|