{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\home\\oftenFlowList.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\home\\oftenFlowList.vue","mtime":1667327529575},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\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//\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() {//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 = \"\";\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\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\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\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\n if (keyCode == 13) {\n this.searchFlow();\n }\n }\n }\n};",null]}