{"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\\EipMsgTemplateDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\dialog\\EipMsgTemplateDialog.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//\n\nimport req from \"@/request.js\";\nexport default {\n name: \"eip-msg-template-dialog\",\n data() {\n return {\n data: [],\n tableColumns: [\n { prop: \"key\", label: \"模板编码\" },\n { prop: \"name\", label: \"模板名称\"},\n { prop: \"subject\", label: \"模板内容\" }\n ],\n pagination: {\n page: 1,\n pageSize: 50,\n total: 0,\n showTotal: true\n }\n }\n },\n props: {\n value: String,\n name: String,\n appendToBody: {\n type: Boolean,\n default: false\n },\n destroyOnClose: {\n type: Boolean,\n default: false\n },\n script: {\n type: String,\n default: \"\"\n }\n\n },\n methods: {\n showDialog() {\n this.$refs.htDialog.showDialog();\n },\n handleLoad(queryFilter, cb) {\n req\n .post(\"${portal}/msg/MsgTemplate/v1/listJson\", queryFilter)\n .then(response => {\n this.data = response.data.rows;\n this.pagination.page = response.data.page;\n this.pagination.pageSize = response.data.pageSize;\n this.pagination.total = response.data.total;\n }).finally(()=> cb());\n },\n onConfirm(selection) {\n this.$emit(\"onConfirm\", selection[0].plain,this.name);\n if (this.value) {\n this.$emit(\"input\", this.value + selection[0].plain);\n }else{\n this.$emit(\"input\", selection[0].plain);\n }\n }\n }\n}\n",null]}