Personnel Dynamic Kanban of Fenwei oa Help Document

Element address: /page/element/hdpanel/View.jsp
Element more button address: /hdpanel/data/DataFrame.jsp
Background data source configuration page: /hdpanel/base/SourceEdit.jsp Corresponding permissions: Personnel status source maintenance
read Schedule source configuration (SQL statements are as follows)

select a.resourceid as hrmid,
b.workPlanTypeName as content,
b.workPlanTypeColor as color,
a.begindate as startdate,
a.begintime as starttime,
a.enddate as enddate,
a.endtime as endtime  
from WorkPlan a join 
WorkPlanType b on a.type_n=b.workPlanTypeID 
where a.status=0 and a.deleted <> 1

Solve the problem that the data source setting page cannot be saved: the
following sentence is placed in
...\WEB—INF\securityXML\weaver_security_custom_rules_1.xml.

<special-reg>
	<urls>
		<url>
			<value>/hdpanel/base/SourceOperation.jsp </value>
			<params>
				<param>
					<value>^sqlstr_\d+$</value>
					<rules>
						<rule >##sqlkeyword1##</rule>
					</rules>
				</param>
			</params>
		</url>
		<url>
			<value>/hdpanel/base/SourceOperation.jsp </value>
			<params>
				<param>
					<value>sqlstr</value>
					<rules>
						<rule >##sqlkeyword1##</rule>
					</rules>
				</param>
			</params>
		</url>
	</urls>
</special-reg>

After adding and saving, update the rules again, enter http://ip:port/updateRules.jsp, enter in the browser address bar, and the page will take effect after the page is swiped out.

Please leave a message in the comment area and discuss together~~~

If necessary, please contact WeChat: hdygzh2019 At the same time, please explain your intention and make progress together! ! !

Guess you like

Origin blog.csdn.net/Y_6155/article/details/109018074