{"remainingRequest":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xypm-web\\src\\components\\home\\oftenFlowList.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xypm-web\\src\\components\\home\\oftenFlowList.vue","mtime":1675214577526},{"path":"D:\\jenkins\\workspace\\xypm-web\\babel.config.js","mtime":1675214572901},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\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 { mapState } from \"vuex\";\nexport default {\n  data: function data() {\n    return {\n      dialogVisible: false,\n      flowSearchKey: \"\"\n    };\n  },\n  computed: mapState({\n    completeInit: function completeInit(state) {\n      return state.oftenFlow.completeInit;\n    },\n    hasAuthFlowList: function hasAuthFlowList(state) {\n      return state.oftenFlow.hasAuthFlowList;\n    }\n  }),\n  created: function created() {\n    //this.$store.dispatch(\"oftenFlow/getMyOftenFlowdw\");\n  },\n  methods: {\n    //启动流程\n    startFlow: function startFlow(row) {\n      if (!row.leaders || row.leaders.length == 0) {\n        this.$router.push(\"/agentStart/\" + row.id + \"/0\");\n        this.dialogVisible = false;\n      } else {\n        var html = \"<select ref=\" + Math.random() + ' id=\"approvalLeaderSelect\" style=\"width: 200px;height: 30px;border-radius: 4px;margin: 20px 70px;\" ><option value=\"\">请选择</option>';\n        row.leaders.forEach(function (identity) {\n          html += '<option value=\"' + identity.id + '\">' + identity.name + \"</option>\";\n        });\n        html += \"</select>\";\n        var this_ = this;\n        this.$alert(html, \"选择发起人\", {\n          dangerouslyUseHTMLString: true,\n          beforeClose: function beforeClose(action, instance, done) {\n            if (action == \"confirm\") {\n              var se = document.getElementById(\"approvalLeaderSelect\");\n              if (se.selectedIndex == 0) {\n                this.$message.warning(\"请选择一个发起人\");\n              } else {\n                instance.close();\n                this_.$router.push(\"/agentStart/\" + row.id + \"/\" + se[se.selectedIndex].value);\n                this.dialogVisible = false;\n              }\n            } else {\n              instance.close();\n            }\n          }\n        });\n      }\n    },\n    oftenFlowListOpen: function oftenFlowListOpen() {\n      this.dialogVisible = true;\n      this.flowSearchKey = \"\";\n      this.$store.dispatch(\"oftenFlow/initOftenFlowManageData\", {\n        init: true\n      });\n    },\n    //查询流程\n    searchFlow: function searchFlow() {\n      var queryFilter = {};\n      if (this.flowSearchKey) {\n        queryFilter = {\n          querys: [{\n            property: \"DEF_KEY_\",\n            value: this.flowSearchKey,\n            group: \"main\",\n            operation: \"LIKE\",\n            relation: \"OR\"\n          }, {\n            property: \"name_\",\n            value: this.flowSearchKey,\n            group: \"main\",\n            operation: \"LIKE\",\n            relation: \"OR\"\n          }]\n        };\n      }\n      this.$store.dispatch(\"oftenFlow/initOftenFlowManageData\", {\n        init: false,\n        filter: queryFilter\n      });\n    },\n    //回车查询\n    searchEnterFun: function searchEnterFun(e) {\n      var keyCode = window.event ? e.keyCode : e.which;\n      if (keyCode == 13) {\n        this.searchFlow();\n      }\n    }\n  }\n};",null]}