docs: 流程配置
diff --git a/docs/formflow/comment-init.js b/docs/formflow/comment-init.js
new file mode 100644
index 0000000..7701be0
--- /dev/null
+++ b/docs/formflow/comment-init.js
@@ -0,0 +1,37 @@
+
+
+(function () {
+
+ // 业务部门管理员字段: comment_1617789305692
+ // 部门领导字段: comment_1617789469827
+
+ //获取表单数据
+ function getData(model){
+ var temp;
+ window.globalBus.$on('getData',function(data){
+ //子表数据返回list
+ if(data.model.indexOf("sonform") != -1){
+ temp = data.sonValues;
+ }else{
+ temp = data.options.value;
+ }
+ });
+ window.globalBus.$emit('findData',model);
+ return temp;
+ }
+
+ function contains(arr, obj) {
+ var i = arr.length;
+ while (i--) {
+ if (arr[i] === obj) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+
+ var comment = getData('comment_1617789305692'); console.log('comment', comment);
+
+
+})();