{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowAutoStartSetting.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowAutoStartSetting.vue","mtime":1675071991756},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport utils from \"@/hotent-ui-util.js\";\n\nvar eipRoleSelector = function eipRoleSelector() {\n  return import(\"@/components/selector/EipRoleSelector.vue\");\n};\n\nvar eipOrgSelector = function eipOrgSelector() {\n  return import(\"@/components/selector/EipOrgSelector.vue\");\n};\n\nvar eipPostSelector = function eipPostSelector() {\n  return import(\"@/components/selector/EipPostSelector.vue\");\n};\n\nvar eipUserSelector = function eipUserSelector() {\n  return import(\"@/components/selector/EipUserSelector.vue\");\n};\n\nvar FlowVarSelector = function FlowVarSelector() {\n  return import(\"@/components/flow/FlowVarSelector.vue\");\n};\n\nvar eipScriptDialog = function eipScriptDialog() {\n  return import(\"@/components/dialog/EipScriptDialog.vue\");\n};\n\nexport default {\n  props: [\"defId\"],\n  components: {\n    eipUserSelector: eipUserSelector,\n    eipOrgSelector: eipOrgSelector,\n    eipRoleSelector: eipRoleSelector,\n    eipPostSelector: eipPostSelector,\n    FlowVarSelector: FlowVarSelector,\n    eipScriptDialog: eipScriptDialog\n  },\n  data: function data() {\n    return {\n      dialogVisible: false,\n      title: \"流程自动发起设置\",\n      curEditTab: \"first\",\n      startUser: [{\n        title: \"用户\",\n        type: \"user\",\n        name: \"\",\n        id: \"\"\n      }, {\n        title: \"角色\",\n        groupType: \"role\",\n        type: \"group\",\n        name: \"\",\n        id: \"\"\n      }, {\n        title: \"组织\",\n        groupType: \"org\",\n        type: \"group\",\n        name: \"\",\n        id: \"\"\n      }, {\n        title: \"岗位\",\n        groupType: \"position\",\n        type: \"group\",\n        name: \"\",\n        id: \"\"\n      }],\n      selectorKey: 1,\n      conf: {},\n      treeData: [],\n      //树数据\n      defaultProps: {\n        children: \"children\",\n        label: \"desc\"\n      },\n      formDataConf: {},\n      selectFiled: \"\",\n      triggerConf: {},\n      selEveryDays: [{\n        key: 1,\n        value: \"1分钟\"\n      }, {\n        key: 5,\n        value: \"5分钟\"\n      }, {\n        key: 10,\n        value: \"10分钟\"\n      }, {\n        key: 15,\n        value: \"15分钟\"\n      }, {\n        key: 30,\n        value: \"30分钟\"\n      }, {\n        key: 60,\n        value: \"1小时\"\n      }],\n      chkWeek: [{\n        key: \"1\",\n        value: \"星期一\"\n      }, {\n        key: \"2\",\n        value: \"星期二\"\n      }, {\n        key: \"3\",\n        value: \"星期三\"\n      }, {\n        key: \"4\",\n        value: \"星期四\"\n      }, {\n        key: \"5\",\n        value: \"星期五\"\n      }, {\n        key: \"6\",\n        value: \"星期六\"\n      }, {\n        key: \"7\",\n        value: \"星期天\"\n      }],\n      options: [{\n        key: \"1\",\n        value: \"一次：\"\n      }, {\n        key: \"0\",\n        value: \"每天：\"\n      }, {\n        key: \"0\",\n        value: \"每周：\"\n      }, {\n        key: \"0\",\n        value: \"每月：\"\n      }, {\n        key: \"0\",\n        value: \"Cron表达式：\"\n      }],\n      chkMons: []\n    };\n  },\n  methods: {\n    varTreeWhenSave: function varTreeWhenSave() {},\n    onConfirm: function onConfirm(data) {\n      this.selectFiled = data.path + \".\" + data.name;\n    },\n    show: function show() {\n      this.dialogVisible = true;\n      this.curEditTab = \"first\";\n      this.selectFiled = \"\";\n      this.formDataConf = {};\n      this.triggerConf = {};\n      var this_ = this;\n      this.$http.get(\"${bpmRunTime}/bpm/bpmAutoStartConf/v1/getByDefId?defId=\" + this.defId).then(function (respose) {\n        var data = respose.data;\n\n        if (!data) {\n          return;\n        }\n\n        this_.conf = data;\n\n        if (data.startUser) {\n          this_.startUser = JSON.parse(data.startUser);\n        }\n\n        if (data.formData) {\n          this_.formDataConf = JSON.parse(data.formData);\n        }\n\n        if (data.trigger) {\n          this_.triggerConf = JSON.parse(data.trigger);\n        }\n      });\n    },\n    handleClose: function handleClose() {\n      this.conf.startUser = JSON.stringify(this.startUser);\n      this.conf.formData = JSON.stringify(this.formDataConf);\n      this.conf.trigger = JSON.stringify(this.triggerConf);\n      var this_ = this;\n      this.$http.post(\"${bpmRunTime}/bpm/bpmAutoStartConf/v1/save\", this.conf).then(function (respose) {\n        var data = respose.data;\n\n        if (data && data.state) {\n          this_.$message.success(\"保存成功\");\n          this_.dialogVisible = false;\n        }\n      });\n    },\n    updateNeedSetArr: function updateNeedSetArr(index) {\n      this.startUser[index].id = \"\";\n      this.startUser[index].name = \"\";\n      ++this.selectorKey;\n    }\n  },\n  created: function created() {\n    for (var index = 1; index < 32; index++) {\n      //this.chkMons.push({ key: '\"'+index+'\"', value: index});\n      this.chkMons.push({\n        key: index.toString(),\n        value: index.toString()\n      });\n    }\n  }\n};",null]}