Browse Source

需求跳转

jack 7 years ago
parent
commit
b8ee5abe74
2 changed files with 16 additions and 2 deletions
  1. 8 1
      app/js/cmpInforShow.js
  2. 8 1
      app/js/userInforShow.js

+ 8 - 1
app/js/cmpInforShow.js

@ -125,6 +125,7 @@ mui.ready(function() {
125 125
					if(obj.length>0){
126 126
						for(var i=0;i<obj.length;i++){
127 127
							var li = document.createElement("li");
128
							li.setAttribute("id",obj[i].id);
128 129
							var needDate=obj[i].invalidDay;
129 130
							var lastDate=TimeTr(needDate);
130 131
							li.className = "mui-table-view-cell";
@ -155,7 +156,13 @@ mui.ready(function() {
155 156
		})
156 157
		
157 158
	}
158
		
159
		mui("#bower_u").on("tap","li",function(){
160
		var dId=this.getAttribute("id");
161
		plus.nativeUI.showWaiting();
162
		plus.webview.create("../html/needShow.html", 'needShow.html', {}, {
163
			demanid: dId
164
		});
165
	})
159 166
		function companyMessage(id) {
160 167
			mui.ajax(baseUrl + "/ajax/org/" + id, {
161 168
				dataType: 'json', //数据格式类型

+ 8 - 1
app/js/userInforShow.js

@ -198,6 +198,7 @@ mui.plusReady(function() {
198 198
					if(obj.length>0){
199 199
						for(var i=0;i<obj.length;i++){
200 200
							var li = document.createElement("li");
201
							li.setAttribute("id",obj[i].id);
201 202
							var needDate=obj[i].invalidDay;
202 203
							var lastDate=TimeTr(needDate);
203 204
							li.className = "mui-table-view-cell";
@ -228,7 +229,13 @@ mui.plusReady(function() {
228 229
		})
229 230
		
230 231
	}
231
	
232
	mui("#bower_u").on("tap","li",function(){
233
		var dId=this.getAttribute("id");
234
		plus.nativeUI.showWaiting();
235
		plus.webview.create("../html/needShow.html", 'needShow.html', {}, {
236
			demanid: dId
237
		});
238
	})
232 239
	function getResource() {
233 240
		mui.ajax(baseUrl + "/ajax/resource/pqProPublish", {
234 241
			type: "GET",