Link query of another WorkFlow Method in the Tongda OA workflow form (source code)
In a workflow form, it is necessary to easily query the relevant workflow Form Content and repeatedly open various menus, resulting in a waste of time to click multiple times. Switching will also lead to interruption of thinking. This problem is solved through js Code.
<Style> </style> <script> </script> <input title = "Serial Number" align = "left" hidden = "0" style = "text-align: left "name =" DATA_1 "type =" text "/> <input onclick =" click_fun () "type =" button "align =" left "size =" 67 "hidden =" 0 "name =" DATA_2 "value =" View "/> <br/> <a href = "#" onclick = "click_fun () "> View </a> <script> function click_fun () {if (document. form1.DATA _ 1. value! = "") {Window. open ("/general/workflow/list/print. php? FLOW_ID = 101 & PRCS_ID = undefined & FLOW_VIEW = 1234 & RUN_ID = "+ document. form1.DATA _ 1. value);} else {alert (" no serial number is entered! ") ;}}</Script>