NC65点击按钮后直接跳转到卡片界面或列表界面

  • NC65点击修改,直接跳转到卡片界面:

在xml文件中找到修改按钮动作,添加拦截器:

<property name="interceptor">
            <bean class="nc.ui.pubapp.uif2app.actions.interceptor.CompositeActionInterceptor">
                <property name="interceptors">
                    <list>
                        <bean class="nc.ui.pubapp.uif2app.actions.interceptor.ShowUpComponentInterceptor">
                            <property name="showUpComponent" ref="billForm" />
                        </bean>
                        <!--此处可以扩展添加自己的拦截器-->
                    </list>
                </property>
            </bean>
        </property>

  • NC65点击保存,直接跳转到列表界面:

在xml文件中找到保存按钮动作,添加拦截器:

<property name="interceptor">
            <bean class="nc.ui.pubapp.uif2app.actions.interceptor.CompositeActionInterceptor">
                <property name="interceptors">
                    <list>
                        <bean class="nc.ui.pubapp.uif2app.actions.interceptor.ShowUpComponentInterceptor">
                            <property name="showUpComponent" ref="billListView" />
                        </bean>
                        <!--此处可以扩展添加自己的拦截器-->
                    </list>
                </property>
            </bean>
        </property>

猜你喜欢

转载自blog.csdn.net/D_C_Hao/article/details/86098885
今日推荐