流程阅览展开缩放功能
This commit is contained in:
		
							parent
							
								
									deac10facd
								
							
						
					
					
						commit
						136b351e97
					
				| @ -1023,12 +1023,9 @@ function openRelationDialog(obj, callback) { | ||||
| 								methodId:method | ||||
| 							}, | ||||
| 							success : function(msg) { | ||||
| 								debugger; | ||||
| 								if (msg.result == "ok") { | ||||
| 									window.open("./w?uuid=" + msg.data.uuid+"&teamId" | ||||
| 										+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid=" + encodeURIComponent($('#sid').val())); | ||||
| 
 | ||||
| 
 | ||||
| 								} | ||||
| 
 | ||||
| 							} | ||||
|  | ||||
| @ -1752,7 +1752,15 @@ function initShapeAttribute(obj) { | ||||
|                 } | ||||
| 			} | ||||
| 			var t = ''; | ||||
| 			t += '<table class="awsui-table awsui-table-bordered" name="' + shape.id + '">'; | ||||
| 			t += '<table>'; | ||||
| 			t += '<tr>'; | ||||
| 			t += '<button type="button" class="awsui-btn awsui-btn-blue awsui-btn-sm"  onclick="searchChange(\''+shape.id+'\')">'; | ||||
| 			t +='<i class="awsui-iconfont" id="searchChange'+shape.id+'"></i>'; | ||||
| 			t += '</button>'; | ||||
| 			t += '</tr>'; | ||||
| 			t += '</table>'; | ||||
| 			t +='<input type="hidden" name="searchChangeFlg" id="searchChangeFlg'+shape.id+'" value="0" />'; | ||||
| 			t += '<table class="awsui-table awsui-table-bordered" name="' + shape.id + '"  id="' +shape.id+ 'change" >'; | ||||
| 			t += '<tr name="trHeader">'; | ||||
| 			t += '<td class="tableHeader" colspan="3">' + shape.text + '</td>'; | ||||
| 			t += '</tr>'; | ||||
| @ -1786,6 +1794,21 @@ function initShapeAttribute(obj) { | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| function searchChange(id) { | ||||
| 
 | ||||
| 	if (document.getElementById("searchChangeFlg"+id).value == "1") { | ||||
| 		document.getElementById(id+"change").style.display=""; | ||||
| 		document.getElementById("searchChange"+id).innerHTML = ""; | ||||
| 		document.getElementById("searchChangeFlg"+id).value = "0"; | ||||
| 	} else { | ||||
| 		document.getElementById(id+"change").style.display="none"; | ||||
| 		document.getElementById("searchChange"+id).innerHTML = ""; | ||||
| 		document.getElementById("searchChangeFlg"+id).value = "1"; | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| //获取select类型属性的option
 | ||||
| var comboboxs = []; | ||||
| function getSelectOptions(category, selectValues) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user