From e723c3bb7fb766abcbf275a4429a22988347b6ff Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 4 Jan 2021 23:54:31 +0800 Subject: [PATCH] jsodc --- o2web/jsdoc.conf.json | 1 + .../o2_core/o2/xScript/CMSEnvironment.js | 3 +- .../source/o2_core/o2/xScript/Environment.js | 12 +- .../o2_core/o2/xScript/PageEnvironment.js | 3 +- .../o2_core/o2/xScript/ViewEnvironment.js | 105 +++++++++--------- o2web/source/x_component_cms_Xform/Author.js | 19 ++++ o2web/source/x_component_cms_Xform/Comment.js | 24 +++- o2web/source/x_component_cms_Xform/Log.js | 25 ++++- o2web/source/x_component_cms_Xform/Reader.js | 19 ++++ .../x_component_process_Xform/$Input.js | 2 +- .../x_component_process_Xform/$Module.js | 2 +- .../x_component_process_Xform/Actionbar.js | 3 +- .../x_component_process_Xform/Address.js | 3 +- .../x_component_process_Xform/Attachment.js | 3 +- .../x_component_process_Xform/Button.js | 3 +- .../x_component_process_Xform/Calendar.js | 3 +- .../x_component_process_Xform/Checkbox.js | 3 +- .../x_component_process_Xform/Combox.js | 3 +- .../x_component_process_Xform/Common.js | 3 +- .../DatagridMobile.js | 3 +- .../x_component_process_Xform/DatagridPC.js | 3 +- o2web/source/x_component_process_Xform/Div.js | 3 +- .../Documenteditor.js | 3 +- .../source/x_component_process_Xform/Form.js | 3 +- .../x_component_process_Xform/Htmleditor.js | 3 +- .../x_component_process_Xform/Iframe.js | 3 +- .../source/x_component_process_Xform/Image.js | 3 +- .../x_component_process_Xform/ImageClipper.js | 3 +- .../source/x_component_process_Xform/Label.js | 3 +- o2web/source/x_component_process_Xform/Log.js | 3 +- .../x_component_process_Xform/Monitor.js | 3 +- .../x_component_process_Xform/Number.js | 3 +- .../x_component_process_Xform/Office.js | 3 +- .../x_component_process_Xform/Opinion.js | 3 +- o2web/source/x_component_process_Xform/Org.js | 3 +- .../source/x_component_process_Xform/Radio.js | 3 +- .../x_component_process_Xform/Select.js | 3 +- .../x_component_process_Xform/Sidebar.js | 3 +- .../x_component_process_Xform/Source.js | 3 +- .../x_component_process_Xform/SourceText.js | 3 +- .../source/x_component_process_Xform/Stat.js | 3 +- .../x_component_process_Xform/Statement.js | 3 +- .../StatementSelector.js | 3 +- .../x_component_process_Xform/SubSource.js | 3 +- .../x_component_process_Xform/Subform.js | 3 +- o2web/source/x_component_process_Xform/Tab.js | 3 +- .../source/x_component_process_Xform/Table.js | 5 +- .../x_component_process_Xform/Textarea.js | 3 +- .../x_component_process_Xform/Textfield.js | 3 +- .../source/x_component_process_Xform/Tree.js | 3 +- .../source/x_component_process_Xform/View.js | 3 +- .../x_component_process_Xform/ViewSelector.js | 3 +- .../x_component_process_Xform/Widget.js | 3 +- 53 files changed, 237 insertions(+), 106 deletions(-) diff --git a/o2web/jsdoc.conf.json b/o2web/jsdoc.conf.json index db896aff1b..2e28acb75e 100644 --- a/o2web/jsdoc.conf.json +++ b/o2web/jsdoc.conf.json @@ -18,6 +18,7 @@ "source": { "include": [ //需要抽取文档的源文件夹 "./o2web/source/x_component_process_Xform", + "./o2web/source/x_component_cms_Xform", "./o2web/source/o2_core/o2/xScript" ], "includePattern": ".+\\.js(doc|x)?$", //抽取的源文件名称正则表达式 diff --git a/o2web/source/o2_core/o2/xScript/CMSEnvironment.js b/o2web/source/o2_core/o2/xScript/CMSEnvironment.js index 296cec636b..ccff7c1786 100644 --- a/o2web/source/o2_core/o2/xScript/CMSEnvironment.js +++ b/o2web/source/o2_core/o2/xScript/CMSEnvironment.js @@ -64,7 +64,8 @@ MWF.xScript.CMSEnvironment = function(ev){ /** * 你可以通过documentContext获取内容管理实例相关的对象数据。 * @module documentContext - * @ordernumber 30 + * @o2range {CMS} + * @o2ordernumber 30 * @example * //您可以在内容管理表单中,通过this来获取当前实例的documentContext对象,如下: * var context = this.documentContext; diff --git a/o2web/source/o2_core/o2/xScript/Environment.js b/o2web/source/o2_core/o2/xScript/Environment.js index a95aa00422..ef56b246e7 100644 --- a/o2web/source/o2_core/o2/xScript/Environment.js +++ b/o2web/source/o2_core/o2/xScript/Environment.js @@ -252,7 +252,7 @@ MWF.xScript.Environment = function(ev){ * 这些数据一般情况下是通过您创建的表单收集而来的,也可以通过脚本创建和增删改查。
* data对象基本上是一个JSON对象,您可以用访问JSON对象的方法访问他对象的所有数据,但增加和删除数据时略有不同。 * @module data - * @ordernumber 10 + * @o2ordernumber 10 * @example * //您可以在表单或流程的各个嵌入脚本中,通过this来获取当前实例的业务数据,如下: * var data = this.data; @@ -400,7 +400,8 @@ MWF.xScript.Environment = function(ev){ /** * 你可以通过workContext获取和流程相关的流程实例对象数据。 * @module workContext - * @ordernumber 20 + * @o2range {Process} + * @o2ordernumber 20 * @example * //您可以在表单或流程的各个嵌入脚本中,通过this来获取当前流程实例数据,如下: * var context = this.workContext; @@ -1991,7 +1992,7 @@ MWF.xScript.Environment = function(ev){ * this.include是一个方法,当您在流程、门户或者内容管理中创建了脚本配置,可以使用this.include()用来引用脚本配置。
* (建议使用表单中的预加载脚本,需要判断加载的时候才使用本方法加载脚本,此时建议异步加载有助于表单加载速度。)
* @module include - * @ordernumber 140 + * @o2ordernumber 140 * @param {(String|Object|String[]|Object[])} optionsOrName 可以是脚本标识字符串(数组)或者是对象(数组)。 *

      * //如果需要引用本应用的脚本配置,将options设置为String或者String Array。
@@ -2154,7 +2155,7 @@ MWF.xScript.Environment = function(ev){
      * this.define是一个方法,您可以在流程、门户或者内容管理中创建脚本配置,在脚本配置中您可以通过this.define()来定义自己的方法。
* 通过这种方式定义方法,在不同的应用使用相同的方法名称也不会造成冲突。 * @module define - * @ordernumber 150 + * @o2ordernumber 150 * @param {(String)} name 定义的方法名称。 * @param {Function} fun 定义的方法 * @param {Boolean} [overwrite] 定义的方法是否能被覆盖重写。默认值为true。 @@ -2225,7 +2226,8 @@ MWF.xScript.Environment = function(ev){ /** * form对象可在流程表单或内容管理表单中可用。(仅前端脚本可用)。 * @module form - * @ordernumber 40 + * @o2range {Process|CMS} + * @o2ordernumber 40 * @example * //您可以在流程表单和内容管理的前端脚本中,通过this来获取form对象,如下: * var form = this.form; diff --git a/o2web/source/o2_core/o2/xScript/PageEnvironment.js b/o2web/source/o2_core/o2/xScript/PageEnvironment.js index 19c8a71bff..39689262f0 100644 --- a/o2web/source/o2_core/o2/xScript/PageEnvironment.js +++ b/o2web/source/o2_core/o2/xScript/PageEnvironment.js @@ -1427,7 +1427,8 @@ MWF.xScript.PageEnvironment = function (ev) { /** * page对象可在门户页面中可用。它的很多方法与form类似。(仅前端脚本可用)
* @module page - * @ordernumber 50 + * @o2range {Portal} + * @o2ordernumber 50 * @example * //您可以在门户表单中,通过this来获取page对象,如下: * var page = this.page; diff --git a/o2web/source/o2_core/o2/xScript/ViewEnvironment.js b/o2web/source/o2_core/o2/xScript/ViewEnvironment.js index 56bf850972..b01cbe4d85 100644 --- a/o2web/source/o2_core/o2/xScript/ViewEnvironment.js +++ b/o2web/source/o2_core/o2/xScript/ViewEnvironment.js @@ -158,7 +158,6 @@ /**在本API的this.org模块中返回的群组数据 * @typedef {Object} GroupData - * @category org * @example * { * "name": "工作汇报读者", //群组名称 @@ -377,7 +376,7 @@ MWF.xScript.ViewEnvironment = function (ev) { * this.Dict是一个工具类,如果您在流程、门户中创建了数据字典,可以使用this.Dict类对数据进行增删改查操作。
* 通过这种方式定义方法,在不同的应用使用相同的方法名称也不会造成冲突。 * @module Dict - * @ordernumber 120 + * @o2ordernumber 120 * @param {(String|Object)} optionsOrName 数据字典标识字符串或者是对象。 *
如果对本应用的数据字典操作,将optionsOrName设置为string。
*

@@ -866,7 +865,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * 你可以通过this.org获取组织中的人员、人员属性、组织、组织属性、身份、群组和角色。
      * @module org
-     * @ordernumber 100
+     * @o2ordernumber 100
      * @example
      * //您可以在流程表单、内容管理表单和门户页面中,通过this来获取当前实例的org对象,如下:
      * var org = this.org;
@@ -877,7 +876,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据身份标识获取对应的身份对象或数组
          * @method getIdentity
-         * @membercategory identity
+         * @o2membercategory identity
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} name - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -918,7 +917,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员标识获取对应的身份对象数组。
          * @method listIdentityWithPerson
-         * @membercategory identity
+         * @o2membercategory identity
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -959,7 +958,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织标识获取对应的身份对象数组:identity对象数组。
          * @method listIdentityWithUnit
-         * @membercategory identity
+         * @o2membercategory identity
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1022,7 +1021,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识获取对应的组织:unit对象或数组
          * @method getUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1064,7 +1063,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识获取下级组织的对象数组:unit对象数组。
          * @method listSubUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1112,7 +1111,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识批量获取上级组织的对象数组:unit对象数组。
          * @method listSupUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1178,7 +1177,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据个人身份获取组织:unit对象或数组。
          * @method getUnitByIdentity
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {IdentityFlag} name - 身份的distinguishedName、name、id、unique属性值,身份对象。
@@ -1274,7 +1273,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量查询身份所在的组织,并递归查找其上级组织对象.
          * @method listAllSupUnitWithIdentity
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} name - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -1314,7 +1313,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据个人标识批量获取组织对象成员:Unit对象数组。
          * @method listUnitWithPerson
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1354,7 +1353,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据个人标识批量查询所在组织及所有上级组织:Unit对象数组。
          * @method listAllSupUnitWithPerson
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1394,7 +1393,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织属性,获取所有符合的组织。
          * @method listUnitWithAttribute
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {String} attributeName 组织属性名称。
@@ -1435,7 +1434,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织职务,获取所有符合的组织。
          * @method listUnitWithDuty
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {String} dutyName 组织职务名称。
@@ -1476,7 +1475,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 列式所有顶层组织。
          * @method listTopUnit
-         * @membercategory unit
+         * @o2membercategory unit
          * @methodOf module:org
          * @static
          * @param {(Boolean|Function)} [asyncOrCallback] 当参数为boolean,表示是否异步执行,默认为false。当参数为function,表示回调方法。
@@ -1516,7 +1515,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据人员标识获取对应的人员对象或数组:person对象或数组
          * @method getPerson
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1562,7 +1561,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据人员标识获取下级人员的对象数组:person对象数组。该上下级关系被人员的汇报对象值(superior)决定。
          * @method listSubPerson
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1610,7 +1609,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          *根据人员标识获取上级人员的对象数组:person对象数组。该上下级关系被人员的汇报对象值(superior)决定。
          * @method listSupPerson
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -1656,7 +1655,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据群组标识获取人员对象成员:person对象数组。
          * @method listPersonWithGroup
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -1697,7 +1696,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据角色标识获取人员对象数组:person对象数组。
          * @method listPersonWithRole
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {RoleFlag|RoleFlag[]} name - 角色的distinguishedName、name、id、unique属性值,角色对象,或上述属性值和对象的数组。
@@ -1738,7 +1737,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据身份标识获取人员对象成员:person对象数组。
          * @method listPersonWithIdentity
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} name - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -1794,7 +1793,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据组织标识获取人员对象成员:person对象数组。
          * @method listPersonWithUnit
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -1845,7 +1844,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员属性名称和属性值获取人员对象成员:person对象数组。
          * @method listPersonWithAttribute
-         * @membercategory person
+         * @o2membercategory person
          * @methodOf module:org
          * @static
          * @param {String} name 人员属性名称。
@@ -1904,7 +1903,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据职务名称和组织名称获取身份。
          * @method getDuty
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {String} dutyName 组织职务名称。
@@ -1946,7 +1945,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量获取身份的所有职务名称。
          * @method listDutyNameWithIdentity
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {IdentityFlag|IdentityFlag[]} identity - 身份的distinguishedName、name、id、unique属性值,身份对象,或上述属性值和对象的数组。
@@ -1986,7 +1985,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量获取组织的所有职务名称。
          * @method listDutyNameWithUnit
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} unit - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2026,7 +2025,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 批量获取组织的所有职务。
          * @method listUnitAllDuty
-         * @membercategory duty
+         * @o2membercategory duty
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} unit - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2087,7 +2086,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据群组标识获取对应的群组对象或数组:group对象或数组
          * @method getGroup
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -2135,7 +2134,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据群组标识获取下级群组的对象数组:group对象数组。
          * @method listSubGroup
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -2195,7 +2194,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据群组标识获取上级群组的对象数组:group对象数组。
          * @method listSupGroup
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {GroupFlag|GroupFlag[]} name - 群组的distinguishedName、name、id、unique属性值,群组对象,或上述属性值和对象的数组。
@@ -2249,7 +2248,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员标识获取所有的群组对象数组。如果群组具有群组(group)成员,且群组成员中包含该人员,那么该群组也被返回。
          * @method listGroupWithPerson
-         * @membercategory group
+         * @o2membercategory group
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2295,7 +2294,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据角色标识获取对应的角色对象或数组。
          * @method getRole
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {RoleFlag|RoleFlag[]} name - 角色的distinguishedName、name、id、unique属性值,角色对象;或上述属性值和对象的数组。
@@ -2341,7 +2340,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 根据人员标识获取所有的角色对象数组。如果角色具有群组(group)成员,且群组中包含该人员,那么该角色也被返回。
          * @method listRoleWithPerson
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2387,7 +2386,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 人员是否拥有角色。
          * @method personHasRole
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {PersonFlag} name - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2434,7 +2433,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 群组是否拥有角色。
          * @method groupHasRole
-         * @membercategory role
+         * @o2membercategory role
          * @methodOf module:org
          * @static
          * @param {GroupFlag} name - 群组的distinguishedName、name、id、unique属性值,群组对象。
@@ -2483,7 +2482,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 添加人员属性值(在属性中添加values值,如果没有此属性,则创建一个)
          * @method appendPersonAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag} person - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2518,7 +2517,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 设置人员属性值(将属性值修改为values,如果没有此属性,则创建一个)
          * @method setPersonAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag} person - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2553,7 +2552,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据人员和属性名称获取属性值数组。
          * @method getPersonAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag} person - 人员的distinguishedName、name、id、unique属性值,人员对象。
@@ -2596,7 +2595,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出人员所有属性的名称数组。
          * @method listPersonAttributeName
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2637,7 +2636,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出人员的所有属性对象数组。
          * @method listPersonAllAttribute
-         * @membercategory personAttribute
+         * @o2membercategory personAttribute
          * @methodOf module:org
          * @static
          * @param {PersonFlag|PersonFlag[]} name - 人员的distinguishedName、name、id、unique属性值,人员对象,或上述属性值和对象的数组。
@@ -2686,7 +2685,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 添加组织属性值(在属性中添加values值,如果没有此属性,则创建一个)
          * @method appendUnitAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag} unit - 组织的distinguishedName、name、id、unique属性值,组织对象。
@@ -2731,7 +2730,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          * 设置组织属性值(将属性值修改为values,如果没有此属性,则创建一个)
          * @method setUnitAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag} unit - 组织的distinguishedName、name、id、unique属性值,组织对象。
@@ -2775,7 +2774,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          根据组织标识和属性名称获取对应属性值。
          * @method getUnitAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag} unit - 组织的distinguishedName、name、id、unique属性值,组织对象。
@@ -2818,7 +2817,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出组织所有属性的名称数组。
          * @method listUnitAttributeName
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2859,7 +2858,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
         /**
          列出组织的所有属性对象数组。
          * @method listUnitAllAttribute
-         * @membercategory unitAttribute
+         * @o2membercategory unitAttribute
          * @methodOf module:org
          * @static
          * @param {UnitFlag|UnitFlag[]} name - 组织的distinguishedName、name、id、unique属性值,组织对象,或上述属性值和对象的数组。
@@ -2948,7 +2947,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
     /**
      * 你可以通过view对象,获取视图数据或选择视图数据。
* @module view - * @ordernumber 70 + * @o2ordernumber 70 * @example * //您可以在流程表单、内容管理表单或门户页面中,通过this来获取view对象,如下: * var view = this.view; @@ -3188,7 +3187,7 @@ MWF.xScript.ViewEnvironment = function (ev) { /** * 你可以通过statement对象,获取执行查询语句或者对查询结果进行选择。
* @module statement - * @ordernumber 90 + * @o2ordernumber 90 * @example * //您可以在流程表单、内容管理表单、门户页面或视图中,通过this来获取statement对象,如下: * var statement = this.statement; @@ -3551,7 +3550,8 @@ MWF.xScript.ViewEnvironment = function (ev) { * 当查询设计中使用了select语句,并且配置了视图,可以在查询视图中使用本章API。
* queryStatement对象在查询视图中可用。它的很多方法与queryView类似。(仅前端脚本可用)
* @module queryStatement - * @ordernumber 80 + * @o2range {QueryStatement} + * @o2ordernumber 80 * @borrows module:queryView.confirm as confirm * @borrows module:queryView.alert as alert * @borrows module:queryView.notice as notice @@ -3706,7 +3706,8 @@ MWF.xScript.ViewEnvironment = function (ev) { /** * queryView对象可在视图中可用。它的很多方法与form类似。(仅前端脚本可用)
* @module queryView - * @ordernumber 60 + * @o2range {QueryView} + * @o2ordernumber 60 * @example * //您可以在视图中,通过this来获取queryView对象,如下: * var queryView = this.queryView; @@ -4443,7 +4444,7 @@ MWF.xScript.ViewEnvironment = function (ev) { /** * 在前端脚本中,可以通过this.session.user来获取当前用户信息。
* @module session - * @ordernumber 110 + * @o2ordernumber 110 * @example * //获取当前用户信息 * var user = this.session.user @@ -4511,7 +4512,7 @@ MWF.xScript.ViewEnvironment = function (ev) { * 本文档说明如何在前台脚本中使用Actions调用平台的RESTful服务。
* 通过访问以下地址来查询服务列表:http://server:20030/x_program_center/jest/list.html * @module Actions - * @ordernumber 130 + * @o2ordernumber 130 * @example * //获取Actions * this.Actions diff --git a/o2web/source/x_component_cms_Xform/Author.js b/o2web/source/x_component_cms_Xform/Author.js index 7378c997cf..5567ce2a06 100644 --- a/o2web/source/x_component_cms_Xform/Author.js +++ b/o2web/source/x_component_cms_Xform/Author.js @@ -1,4 +1,23 @@ MWF.xDesktop.requireApp("cms.Xform", "Org", null, false); +/** @class Author 作者组件。 + * @example + * //可以在脚本中获取该组件 + * //方法1: + * var field = this.form.get("fieldId"); //获取组件对象 + * //方法2 + * var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等 + * + * var data = field.getData(); //获取值 + * field.setData("字符串值"); //设置值 + * field.hide(); //隐藏字段 + * var id = field.json.id; //获取字段标识 + * var flag = field.isEmpty(); //字段是否为空 + * field.resetData(); //重置字段的值为默认值或置空 + * @extends MWF.xApplication.process.Xform.Org + * @o2category FormComponents + * @o2range {CMS} + * @hideconstructor + */ MWF.xApplication.cms.Xform.Author = MWF.CMSAuthor = new Class({ Extends: MWF.CMSOrg, iconStyle: "authorIcon" diff --git a/o2web/source/x_component_cms_Xform/Comment.js b/o2web/source/x_component_cms_Xform/Comment.js index 6c6a6484fc..172e2e11d0 100644 --- a/o2web/source/x_component_cms_Xform/Comment.js +++ b/o2web/source/x_component_cms_Xform/Comment.js @@ -1,6 +1,20 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); MWF.xDesktop.requireApp("cms.Xform", "widget.Comment", null, false); -MWF.xApplication.cms.Xform.Comment = MWF.CMSComment = new Class({ +/** @class Comment 评论组件。 + * @example + * //可以在脚本中获取该组件 + * //方法1: + * var datagrid = this.form.get("name"); //获取组件 + * //方法2 + * var datagrid = this.target; //在组件事件脚本中获取 + * @extends MWF.xApplication.process.Xform.$Module + * @o2category FormComponents + * @o2range {CMS} + * @hideconstructor + */ +MWF.xApplication.cms.Xform.Comment = MWF.CMSComment = new Class( + /** @lends MWF.xApplication.process.Xform.Comment# */ + { Extends: MWF.APP$Module, _loadUserInterface: function(){ this.node.empty(); @@ -21,6 +35,14 @@ MWF.xApplication.cms.Xform.Comment = MWF.CMSComment = new Class({ } } + /** + * @summary 评论组件使用this.comment实现功能 + * @member {MWF.xApplication.cms.Xform.widget.Comment} + * @example + * //可以在脚本中获取该组件 + * var field = this.form.get("fieldId"); //获取组件对象 + * var items = field.comment.editor; //获取评论的编辑器对象 + */ this.comment = new MWF.xApplication.cms.Xform.widget.Comment( this.form.app, this.node, { "documentId" : this.form.businessData.document.id, "countPerPage" : this.json.countPerPage || 10, diff --git a/o2web/source/x_component_cms_Xform/Log.js b/o2web/source/x_component_cms_Xform/Log.js index c241f56795..4e30c39f75 100644 --- a/o2web/source/x_component_cms_Xform/Log.js +++ b/o2web/source/x_component_cms_Xform/Log.js @@ -1,10 +1,33 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); MWF.xDesktop.requireApp("cms.Xform", "widget.Log", null, false); -MWF.xApplication.cms.Xform.Log = MWF.CMSLog = new Class({ +/** @class CMSLog 文档查看日志组件。 + * @alias CMSLog + * @example + * //可以在脚本中获取该组件 + * //方法1: + * var datagrid = this.form.get("name"); //获取组件 + * //方法2 + * var datagrid = this.target; //在组件事件脚本中获取 + * @extends MWF.xApplication.process.Xform.$Module + * @o2category FormComponents + * @o2range {CMS} + * @hideconstructor + */ +MWF.xApplication.cms.Xform.Log = MWF.CMSLog = new Class( + /** @lends MWF.xApplication.cms.Xform.Log# */ +{ Extends: MWF.APP$Module, _loadUserInterface: function(){ this.node.empty(); this.node.setStyle("-webkit-user-select", "text"); + /** + * @summary log组件使用this.log实现功能 + * @member {MWF.xApplication.cms.Xform.widget.Log} + * @example + * //可以在脚本中获取该组件 + * var field = this.form.get("fieldId"); //获取组件对象 + * var items = field.log.items; //获取日志的行对象 + */ this.log = new MWF.xApplication.cms.Xform.widget.Log( this.form.app, this.node, { "documentId" : this.form.businessData.document.id, "mode" : this.json.mode, diff --git a/o2web/source/x_component_cms_Xform/Reader.js b/o2web/source/x_component_cms_Xform/Reader.js index 4dc6f7fd23..55bbfef145 100644 --- a/o2web/source/x_component_cms_Xform/Reader.js +++ b/o2web/source/x_component_cms_Xform/Reader.js @@ -1,4 +1,23 @@ MWF.xDesktop.requireApp("cms.Xform", "Org", null, false); +/** @class Reader 读者组件。 + * @example + * //可以在脚本中获取该组件 + * //方法1: + * var field = this.form.get("fieldId"); //获取组件对象 + * //方法2 + * var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等 + * + * var data = field.getData(); //获取值 + * field.setData("字符串值"); //设置值 + * field.hide(); //隐藏字段 + * var id = field.json.id; //获取字段标识 + * var flag = field.isEmpty(); //字段是否为空 + * field.resetData(); //重置字段的值为默认值或置空 + * @extends MWF.xApplication.process.Xform.Org + * @o2category FormComponents + * @o2range {CMS} + * @hideconstructor + */ MWF.xApplication.cms.Xform.Reader = MWF.CMSReader = new Class({ Extends: MWF.CMSOrg, iconStyle: "readerIcon" diff --git a/o2web/source/x_component_process_Xform/$Input.js b/o2web/source/x_component_process_Xform/$Input.js index dc562b4c6a..0040fb8e20 100644 --- a/o2web/source/x_component_process_Xform/$Input.js +++ b/o2web/source/x_component_process_Xform/$Input.js @@ -1,7 +1,7 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); /** @class $Input 组件类,此类为所有输入组件的父类 * @hideconstructor - * @category FormComponents + * @o2category FormComponents * @extends MWF.xApplication.process.Xform.$Module * @abstract */ diff --git a/o2web/source/x_component_process_Xform/$Module.js b/o2web/source/x_component_process_Xform/$Module.js index e50f047eb7..864d2e65b0 100644 --- a/o2web/source/x_component_process_Xform/$Module.js +++ b/o2web/source/x_component_process_Xform/$Module.js @@ -1,7 +1,7 @@ MWF.require("MWF.widget.Common", null, false); /** @classdesc $Module 组件类,此类为所有组件的父类。 * @class - * @category FormComponents + * @o2category FormComponents * @hideconstructor * */ MWF.xApplication.process.Xform.$Module = MWF.APP$Module = new Class( diff --git a/o2web/source/x_component_process_Xform/Actionbar.js b/o2web/source/x_component_process_Xform/Actionbar.js index 7c1e15af8a..576b9ea663 100644 --- a/o2web/source/x_component_process_Xform/Actionbar.js +++ b/o2web/source/x_component_process_Xform/Actionbar.js @@ -10,7 +10,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var actionbar = this.target; //在操作条和操作本身的事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Actionbar = MWF.APPActionbar = new Class( diff --git a/o2web/source/x_component_process_Xform/Address.js b/o2web/source/x_component_process_Xform/Address.js index a019e5b4a5..1c5e598741 100644 --- a/o2web/source/x_component_process_Xform/Address.js +++ b/o2web/source/x_component_process_Xform/Address.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "Combox", null, false); * //方法2 * var address = this.target; //组件本身的事件和脚本中获取 * @extends MWF.xApplication.process.Xform.Combox - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Address = MWF.APPAddress = new Class( diff --git a/o2web/source/x_component_process_Xform/Attachment.js b/o2web/source/x_component_process_Xform/Attachment.js index efdeb780ab..80800d063b 100644 --- a/o2web/source/x_component_process_Xform/Attachment.js +++ b/o2web/source/x_component_process_Xform/Attachment.js @@ -1076,7 +1076,8 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({ * //方法2 * var attachment = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class( diff --git a/o2web/source/x_component_process_Xform/Button.js b/o2web/source/x_component_process_Xform/Button.js index 6d4696cb98..fccaa086ab 100644 --- a/o2web/source/x_component_process_Xform/Button.js +++ b/o2web/source/x_component_process_Xform/Button.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var button = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Button = MWF.APPButton = new Class({ diff --git a/o2web/source/x_component_process_Xform/Calendar.js b/o2web/source/x_component_process_Xform/Calendar.js index fbbc57ed6f..132e79e88d 100644 --- a/o2web/source/x_component_process_Xform/Calendar.js +++ b/o2web/source/x_component_process_Xform/Calendar.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false); * //方法2 * var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Calendar = MWF.APPCalendar = new Class( diff --git a/o2web/source/x_component_process_Xform/Checkbox.js b/o2web/source/x_component_process_Xform/Checkbox.js index bda3574284..d19df4d5cf 100644 --- a/o2web/source/x_component_process_Xform/Checkbox.js +++ b/o2web/source/x_component_process_Xform/Checkbox.js @@ -8,7 +8,8 @@ MWF.require("MWF.widget.UUID", null, false); * //方法2 * var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Checkbox = MWF.APPCheckbox = new Class( diff --git a/o2web/source/x_component_process_Xform/Combox.js b/o2web/source/x_component_process_Xform/Combox.js index b331c4429e..8744e0e44f 100644 --- a/o2web/source/x_component_process_Xform/Combox.js +++ b/o2web/source/x_component_process_Xform/Combox.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false); * //方法2 * var field = this.target; //在组件本身的脚本中获取,比如事件脚本、默认值脚本、校验脚本等等 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Combox = MWF.APPCombox = new Class( diff --git a/o2web/source/x_component_process_Xform/Common.js b/o2web/source/x_component_process_Xform/Common.js index efa1dfbc02..a00dd148d4 100644 --- a/o2web/source/x_component_process_Xform/Common.js +++ b/o2web/source/x_component_process_Xform/Common.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var el = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Common = MWF.APPCommon = new Class({ diff --git a/o2web/source/x_component_process_Xform/DatagridMobile.js b/o2web/source/x_component_process_Xform/DatagridMobile.js index b7ec85f2b0..aa88e64c7f 100644 --- a/o2web/source/x_component_process_Xform/DatagridMobile.js +++ b/o2web/source/x_component_process_Xform/DatagridMobile.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var datagrid = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.DatagridMobile = new Class( diff --git a/o2web/source/x_component_process_Xform/DatagridPC.js b/o2web/source/x_component_process_Xform/DatagridPC.js index 19d59fa1b9..a33ba3cbbc 100644 --- a/o2web/source/x_component_process_Xform/DatagridPC.js +++ b/o2web/source/x_component_process_Xform/DatagridPC.js @@ -74,7 +74,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var datagrid = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.DatagridPC = new Class( diff --git a/o2web/source/x_component_process_Xform/Div.js b/o2web/source/x_component_process_Xform/Div.js index 368bb9b91c..27cb5edef2 100644 --- a/o2web/source/x_component_process_Xform/Div.js +++ b/o2web/source/x_component_process_Xform/Div.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var div = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Div = MWF.APPDiv = new Class({ diff --git a/o2web/source/x_component_process_Xform/Documenteditor.js b/o2web/source/x_component_process_Xform/Documenteditor.js index c8790a70c1..4925eb878a 100644 --- a/o2web/source/x_component_process_Xform/Documenteditor.js +++ b/o2web/source/x_component_process_Xform/Documenteditor.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var documenteditor = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process} * @hideconstructor */ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Class( diff --git a/o2web/source/x_component_process_Xform/Form.js b/o2web/source/x_component_process_Xform/Form.js index 04d44d8b9d..f443a4711f 100644 --- a/o2web/source/x_component_process_Xform/Form.js +++ b/o2web/source/x_component_process_Xform/Form.js @@ -6,7 +6,8 @@ MWF.xDesktop.requireApp("process.Xform", "lp." + MWF.language, null, false); //MWF.xDesktop.requireApp("process.Xform", "Package", null, false); /** @class Form 流程表单。 - * @category FormComponents + * @o2category FormComponents + * @o2range {Process} * @example * //可以在脚本中获取表单 * //方法1: diff --git a/o2web/source/x_component_process_Xform/Htmleditor.js b/o2web/source/x_component_process_Xform/Htmleditor.js index 96c0fa1385..1f7037bf98 100644 --- a/o2web/source/x_component_process_Xform/Htmleditor.js +++ b/o2web/source/x_component_process_Xform/Htmleditor.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var htmlEditor = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Htmleditor = MWF.APPHtmleditor = new Class( diff --git a/o2web/source/x_component_process_Xform/Iframe.js b/o2web/source/x_component_process_Xform/Iframe.js index 0301d379d3..205635f580 100644 --- a/o2web/source/x_component_process_Xform/Iframe.js +++ b/o2web/source/x_component_process_Xform/Iframe.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var iframe = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Iframe = MWF.APPIframe = new Class({ diff --git a/o2web/source/x_component_process_Xform/Image.js b/o2web/source/x_component_process_Xform/Image.js index f5ec886003..62154e8aa3 100644 --- a/o2web/source/x_component_process_Xform/Image.js +++ b/o2web/source/x_component_process_Xform/Image.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var img = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Image = MWF.APPImage = new Class( diff --git a/o2web/source/x_component_process_Xform/ImageClipper.js b/o2web/source/x_component_process_Xform/ImageClipper.js index 6a748b9fe7..81a987e036 100644 --- a/o2web/source/x_component_process_Xform/ImageClipper.js +++ b/o2web/source/x_component_process_Xform/ImageClipper.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var imageClipper = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.ImageClipper = MWF.APPImageClipper = new Class( diff --git a/o2web/source/x_component_process_Xform/Label.js b/o2web/source/x_component_process_Xform/Label.js index 9bb67eafba..92455a67c1 100644 --- a/o2web/source/x_component_process_Xform/Label.js +++ b/o2web/source/x_component_process_Xform/Label.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var label = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Label = MWF.APPLabel = new Class( diff --git a/o2web/source/x_component_process_Xform/Log.js b/o2web/source/x_component_process_Xform/Log.js index 1f62fc66d0..553ef48bef 100644 --- a/o2web/source/x_component_process_Xform/Log.js +++ b/o2web/source/x_component_process_Xform/Log.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var log = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process} * @hideconstructor */ MWF.xApplication.process.Xform.Log = MWF.APPLog = new Class( diff --git a/o2web/source/x_component_process_Xform/Monitor.js b/o2web/source/x_component_process_Xform/Monitor.js index 74e7759e6d..c94fa7d347 100644 --- a/o2web/source/x_component_process_Xform/Monitor.js +++ b/o2web/source/x_component_process_Xform/Monitor.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var attachment = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process} * @hideconstructor */ MWF.xApplication.process.Xform.Monitor = MWF.APPMonitor = new Class( diff --git a/o2web/source/x_component_process_Xform/Number.js b/o2web/source/x_component_process_Xform/Number.js index 3666cb7fc7..56952a7439 100644 --- a/o2web/source/x_component_process_Xform/Number.js +++ b/o2web/source/x_component_process_Xform/Number.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "Textfield", null, false); * //方法2 * var field = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.Textfield - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Number = MWF.APPNumber = new Class({ diff --git a/o2web/source/x_component_process_Xform/Office.js b/o2web/source/x_component_process_Xform/Office.js index 3d749317ab..f24068b1a9 100644 --- a/o2web/source/x_component_process_Xform/Office.js +++ b/o2web/source/x_component_process_Xform/Office.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var attachment = this.target; //在组件事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Office = MWF.APPOffice = new Class( diff --git a/o2web/source/x_component_process_Xform/Opinion.js b/o2web/source/x_component_process_Xform/Opinion.js index dab78561bc..4f347a7dbd 100644 --- a/o2web/source/x_component_process_Xform/Opinion.js +++ b/o2web/source/x_component_process_Xform/Opinion.js @@ -15,7 +15,8 @@ MWF.xDesktop.requireApp("process.Work", "lp."+o2.language, null, false); * var flag = field.isEmpty(); //字段是否为空 * field.resetData(); //重置字段的值为默认值或置空 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process} * @hideconstructor */ MWF.xApplication.process.Xform.Opinion = MWF.APPOpinion = new Class( diff --git a/o2web/source/x_component_process_Xform/Org.js b/o2web/source/x_component_process_Xform/Org.js index dd4f5afee9..d4a52c8042 100644 --- a/o2web/source/x_component_process_Xform/Org.js +++ b/o2web/source/x_component_process_Xform/Org.js @@ -16,7 +16,8 @@ MWF.require("MWF.widget.O2Identity", null, false); * var flag = field.isEmpty(); //字段是否为空 * field.resetData(); //重置字段的值为默认值或置空 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class( diff --git a/o2web/source/x_component_process_Xform/Radio.js b/o2web/source/x_component_process_Xform/Radio.js index a898e686a1..87ba18b4f2 100644 --- a/o2web/source/x_component_process_Xform/Radio.js +++ b/o2web/source/x_component_process_Xform/Radio.js @@ -15,7 +15,8 @@ MWF.require("MWF.widget.UUID", null, false); * var flag = field.isEmpty(); //字段是否为空 * field.resetData(); //重置字段的值为默认值或置空 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Radio = MWF.APPRadio = new Class( diff --git a/o2web/source/x_component_process_Xform/Select.js b/o2web/source/x_component_process_Xform/Select.js index 9dd5d59638..88e4fa04d6 100644 --- a/o2web/source/x_component_process_Xform/Select.js +++ b/o2web/source/x_component_process_Xform/Select.js @@ -14,7 +14,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false); * var flag = field.isEmpty(); //字段是否为空 * field.resetData(); //重置字段的值为默认值或置空 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Select = MWF.APPSelect = new Class( diff --git a/o2web/source/x_component_process_Xform/Sidebar.js b/o2web/source/x_component_process_Xform/Sidebar.js index 1c2cfab179..dd9407caa3 100644 --- a/o2web/source/x_component_process_Xform/Sidebar.js +++ b/o2web/source/x_component_process_Xform/Sidebar.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var sidebar = this.target; //在侧边操作条和操作本身的事件脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process} * @hideconstructor */ MWF.xApplication.process.Xform.Sidebar = MWF.APPSidebar = new Class( diff --git a/o2web/source/x_component_process_Xform/Source.js b/o2web/source/x_component_process_Xform/Source.js index 99d8fdcbc6..24bc9ae2eb 100644 --- a/o2web/source/x_component_process_Xform/Source.js +++ b/o2web/source/x_component_process_Xform/Source.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "Div", null, false); * //方法2 * var source = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.Div - * @category FormComponents + * @o2category FormComponents + * @o2range {Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Source = MWF.APPSource = new Class( diff --git a/o2web/source/x_component_process_Xform/SourceText.js b/o2web/source/x_component_process_Xform/SourceText.js index 51461761a0..3cd0811358 100644 --- a/o2web/source/x_component_process_Xform/SourceText.js +++ b/o2web/source/x_component_process_Xform/SourceText.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var sourceText = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Portal} * @hideconstructor */ MWF.xApplication.process.Xform.SourceText = MWF.APPSourceText = new Class({ diff --git a/o2web/source/x_component_process_Xform/Stat.js b/o2web/source/x_component_process_Xform/Stat.js index b439c28ddd..ebc1c7136a 100644 --- a/o2web/source/x_component_process_Xform/Stat.js +++ b/o2web/source/x_component_process_Xform/Stat.js @@ -9,7 +9,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var stat = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Stat = MWF.APPStat = new Class( diff --git a/o2web/source/x_component_process_Xform/Statement.js b/o2web/source/x_component_process_Xform/Statement.js index b2a0403353..5cfbb7433e 100644 --- a/o2web/source/x_component_process_Xform/Statement.js +++ b/o2web/source/x_component_process_Xform/Statement.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var statement = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Statement = MWF.APPStatement = new Class( diff --git a/o2web/source/x_component_process_Xform/StatementSelector.js b/o2web/source/x_component_process_Xform/StatementSelector.js index 8240105785..46669a3fd0 100644 --- a/o2web/source/x_component_process_Xform/StatementSelector.js +++ b/o2web/source/x_component_process_Xform/StatementSelector.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "ViewSelector", null, false); * //方法2 * var statementSelector = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.ViewSelector - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.StatementSelector = MWF.APPStatementSelector = new Class({ diff --git a/o2web/source/x_component_process_Xform/SubSource.js b/o2web/source/x_component_process_Xform/SubSource.js index 583ee8c5dd..c452e98577 100644 --- a/o2web/source/x_component_process_Xform/SubSource.js +++ b/o2web/source/x_component_process_Xform/SubSource.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var subSource = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Portal} * @hideconstructor */ MWF.xApplication.process.Xform.SubSource = MWF.APPSubSource = new Class( diff --git a/o2web/source/x_component_process_Xform/Subform.js b/o2web/source/x_component_process_Xform/Subform.js index c9f70f017c..52b1fd33a6 100644 --- a/o2web/source/x_component_process_Xform/Subform.js +++ b/o2web/source/x_component_process_Xform/Subform.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var subform = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.Subform = MWF.APPSubform = new Class( diff --git a/o2web/source/x_component_process_Xform/Tab.js b/o2web/source/x_component_process_Xform/Tab.js index 90fe76e693..419a58cc3e 100644 --- a/o2web/source/x_component_process_Xform/Tab.js +++ b/o2web/source/x_component_process_Xform/Tab.js @@ -8,7 +8,8 @@ MWF.require("MWF.widget.Tab", null, false); * //方法2 * var tab = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Tab = MWF.APPTab = new Class( diff --git a/o2web/source/x_component_process_Xform/Table.js b/o2web/source/x_component_process_Xform/Table.js index 74298dc94c..aa912aa452 100644 --- a/o2web/source/x_component_process_Xform/Table.js +++ b/o2web/source/x_component_process_Xform/Table.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var table = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Table = MWF.APPTable = new Class( @@ -109,7 +110,7 @@ MWF.xApplication.process.Xform.Table = MWF.APPTable = new Class( * //方法2 * var td = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents * @hideconstructor */ MWF.xApplication.process.Xform.Table$Td = MWF.APPTable$Td = new Class({ diff --git a/o2web/source/x_component_process_Xform/Textarea.js b/o2web/source/x_component_process_Xform/Textarea.js index b4040fe7f9..afa04ae9e9 100644 --- a/o2web/source/x_component_process_Xform/Textarea.js +++ b/o2web/source/x_component_process_Xform/Textarea.js @@ -14,7 +14,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false); * var flag = field.isEmpty(); //字段是否为空 * field.resetData(); //重置字段的值为默认值或置空 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Textarea = MWF.APPTextarea = new Class({ diff --git a/o2web/source/x_component_process_Xform/Textfield.js b/o2web/source/x_component_process_Xform/Textfield.js index 768cb36d63..82a129a3ee 100644 --- a/o2web/source/x_component_process_Xform/Textfield.js +++ b/o2web/source/x_component_process_Xform/Textfield.js @@ -14,7 +14,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Input", null, false); * var flag = field.isEmpty(); //字段是否为空 * field.resetData(); //重置字段的值为默认值或置空 * @extends MWF.xApplication.process.Xform.$Input - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Textfield = MWF.APPTextfield = new Class({ diff --git a/o2web/source/x_component_process_Xform/Tree.js b/o2web/source/x_component_process_Xform/Tree.js index fa17013b26..b78ed86ae5 100644 --- a/o2web/source/x_component_process_Xform/Tree.js +++ b/o2web/source/x_component_process_Xform/Tree.js @@ -35,7 +35,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * var datagrid = this.target; //在组件事件脚本中获取 * @see {@link TreeData|树组件数据结构} * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Tree = MWF.APPTree = new Class( diff --git a/o2web/source/x_component_process_Xform/View.js b/o2web/source/x_component_process_Xform/View.js index 3c2e2a615d..332902b6fa 100644 --- a/o2web/source/x_component_process_Xform/View.js +++ b/o2web/source/x_component_process_Xform/View.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var view = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS|Portal} * @hideconstructor */ MWF.xApplication.process.Xform.View = MWF.APPView = new Class( diff --git a/o2web/source/x_component_process_Xform/ViewSelector.js b/o2web/source/x_component_process_Xform/ViewSelector.js index d33ee60bdf..6d14c9e5b2 100644 --- a/o2web/source/x_component_process_Xform/ViewSelector.js +++ b/o2web/source/x_component_process_Xform/ViewSelector.js @@ -8,7 +8,8 @@ MWF.xDesktop.requireApp("process.Xform", "Button", null, false); * //方法2 * var sourceText = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.Button - * @category FormComponents + * @o2category FormComponents + * @o2range {Process|CMS} * @hideconstructor */ MWF.xApplication.process.Xform.ViewSelector = MWF.APPViewSelector = new Class({ diff --git a/o2web/source/x_component_process_Xform/Widget.js b/o2web/source/x_component_process_Xform/Widget.js index 5417e87605..fb03483f46 100644 --- a/o2web/source/x_component_process_Xform/Widget.js +++ b/o2web/source/x_component_process_Xform/Widget.js @@ -7,7 +7,8 @@ MWF.xDesktop.requireApp("process.Xform", "$Module", null, false); * //方法2 * var widget = this.target; //在组件本身的脚本中获取 * @extends MWF.xApplication.process.Xform.$Module - * @category FormComponents + * @o2category FormComponents + * @o2range {Portal} * @hideconstructor */ MWF.xApplication.process.Xform.Widget = MWF.APPWidget = new Class( -- GitLab