Browse Source

添加草稿

lyn7568 5 years ago
parent
commit
dea6ab2aa3
2 changed files with 5 additions and 2 deletions
  1. 4 1
      js/unPatentImport.js
  2. 1 1
      js/unPatentList.js

+ 4 - 1
js/unPatentImport.js

@ -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");

+ 1 - 1
js/unPatentList.js

@ -15,7 +15,7 @@ $(document).ready(function () {
15 15
			$info.key = resourceNameVa;
16 16
		}
17 17
		$info.pageNo = n;
18
		$info.status = ['1'];
18
		$info.status = ['1','2'];
19 19
		$info.id = userid
20 20
		$.ajax({ //获取全部非专数据
21 21
			// /ajax/resResult/pq/creator