Просмотр исходного кода

流程表单附件组件中增加queryLoad事件

unknown 4 лет назад
Родитель
Сommit
affd80c2e3

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
$search_index.json


+ 6 - 0
o2web/jsdoc.conf.json

@@ -50,6 +50,12 @@
         "actionOutPath" : "./o2server/{actionRoot}/src/main/webapp/describe/jsdoc/{actionName}.json",
         //"actionOutPath" : "./o2web/jsdoc/{actionRoot}/{actionName}.json",
         "actionOutExamplePath" : "./o2web/jsdoc_static/actionOut_examples/{actionRoot}.json"
+    },
+    "search" : {
+        "enable" : true,
+        "results_title" : "<span class='search-results-count'></span> results matching <span class='search-query'></span>",
+        "no_results_title" : "No results matching '<span class='search-query'></span>'",
+        "placeholder" : "输入关键字搜索"
     }
 }
 //执行命令: jsdoc -c ./o2web/jsdoc.conf.json -q version=v5.3.5

+ 2 - 2
o2web/source/x_component_process_Xform/Attachment.js

@@ -1097,7 +1097,7 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class(
          * @event MWF.xApplication.process.Xform.Attachment#open
          * @see {@link https://www.yuque.com/o2oa/ixsnyt/hm5uft#i0zTS|组件事件说明}
          */
-        "moduleEvents": ["upload", "delete", "afterDelete", "load", "change","download","open"]
+        "moduleEvents": ["upload", "delete", "afterDelete", "load", "change","download","open", "queryLoad "]
     },
 
     initialize: function (node, json, form, options) {
@@ -1135,7 +1135,7 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class(
             "isReplace": (this.json.isReplace === "y" || this.json.isReplace === "true"),
             "isDownload": (this.json.isDownload === "y" || this.json.isDownload === "true"),
             "isSizeChange": (this.json.isSizeChange === "y" || this.json.isSizeChange === "true"),
-            "readonly": (this.json.readonly === "y" || this.json.readonly === "true"),
+            "readonly": (this.json.readonly === "y" || this.json.readonly === "true" || this.json.isReadonly ),
             "availableListStyles": this.json.availableListStyles ? this.json.availableListStyles : ["list", "seq", "icon", "preview"],
             "isDeleteOption": this.json.isDelete,
             "isReplaceOption": this.json.isReplace,

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
search_index.json


Некоторые файлы не были показаны из-за большого количества измененных файлов