|
@ -58,7 +58,7 @@ mui.ready(function() {
|
58
|
58
|
|
59
|
59
|
if(userid){
|
60
|
60
|
ifcollectionAbout(demandId,oifCollect, 7);
|
61
|
|
ifcollectionAbout(orgThis,attBtn, 6,1);
|
|
61
|
|
62
|
62
|
}
|
63
|
63
|
attBtn.addEventListener('tap', function() {
|
64
|
64
|
if(userid && userid != null && userid != "null") {
|
|
@ -136,8 +136,6 @@ mui.ready(function() {
|
136
|
136
|
"async": false,
|
137
|
137
|
"dataType": "json",
|
138
|
138
|
"success": function(data) {
|
139
|
|
console.log(111111111111111111111)
|
140
|
|
console.log(JSON.stringify(data));
|
141
|
139
|
if(data.success) {
|
142
|
140
|
var ws=plus.webview.currentWebview();
|
143
|
141
|
|
|
@ -218,8 +216,6 @@ mui.ready(function() {
|
218
|
216
|
}
|
219
|
217
|
}
|
220
|
218
|
cmpFun($da.orgName);
|
221
|
|
|
222
|
|
orgThis=$da.orgId;
|
223
|
219
|
consuId = $da.creator;
|
224
|
220
|
demandTitle = $da.title;
|
225
|
221
|
demandContent = $da.descp;
|
|
@ -244,6 +240,7 @@ mui.ready(function() {
|
244
|
240
|
"success": function(data) {
|
245
|
241
|
if(data.success) {
|
246
|
242
|
if(data.data != null) {
|
|
243
|
orgThis=data.data.id;
|
247
|
244
|
tiaoFlag = true;
|
248
|
245
|
document.getElementById('attBtn').style.display = 'block';
|
249
|
246
|
if(data.data.forShort) {
|
|
@ -251,6 +248,7 @@ mui.ready(function() {
|
251
|
248
|
}else{
|
252
|
249
|
document.getElementById("cmpname").innerHTML=data.data.name;
|
253
|
250
|
}
|
|
251
|
ifcollectionAbout(orgThis,attBtn, 6,1);
|
254
|
252
|
var img="../images/default-icon.jpg";
|
255
|
253
|
if(data.data.hasOrgLogo==1){
|
256
|
254
|
img=baseUrl+"/images/org/" + data.data.id + ".jpg";
|