{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\dialog\\EipScriptDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\dialog\\EipScriptDialog.vue","mtime":1675071991725},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport req from \"@/request.js\";\r\n\r\nexport default {\r\n name: \"eip-script-dialog\",\r\n props: {\r\n value: String,\r\n name: String,\r\n appendToBody: {\r\n type: Boolean,\r\n default: false\r\n },\r\n destroyOnClose: {\r\n type: Boolean,\r\n default: false\r\n },\r\n script: {\r\n type: String,\r\n default: \"\"\r\n }\r\n\r\n },\r\n data() {\r\n return {\r\n data: [],\r\n tableColumns: [\r\n { prop: \"name\", label: \"名称\"},\r\n { prop: \"script\", label: \"脚本\" },\r\n { prop: \"memo\", label: \"备注\" }\r\n ],\r\n pagination: {\r\n page: 1,\r\n pageSize: 50,\r\n total: 0,\r\n showTotal: true\r\n }\r\n };\r\n },\r\n methods: {\r\n showDialog() {\r\n this.$refs.htDialog.showDialog();\r\n },\r\n handleLoad(queryFilter, cb) {\r\n req\r\n .post(\"${bpmRunTime}/runtime/script/v1/list\", queryFilter)\r\n .then(response => {\r\n this.data = response.data.rows;\r\n this.pagination.page = response.data.page;\r\n this.pagination.pageSize = response.data.pageSize;\r\n this.pagination.total = response.data.total;\r\n }).finally(()=> cb());\r\n },\r\n onConfirm(selection) {\r\n this.$emit(\"onConfirm\", selection[0].script,this.name);\r\n if (this.value) {\r\n this.$emit(\"input\", this.value + selection[0].script);\r\n }else{\r\n this.$emit(\"input\", selection[0].script);\r\n }\r\n }\r\n }\r\n};\r\n",null]}