{"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\\mail\\mailGet.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\mail\\mailGet.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":["//\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 { mapState, mapActions } from \"vuex\";\nimport req from \"@/request.js\";\nimport { Message } from \"element-ui\";\nvar portal = window.context.portal;\nexport default {\n  props: [\"id\"],\n  name: \"mailGet\",\n  data: function data() {\n    return {\n      mailAttachments: [],\n      length: 0\n    };\n  },\n  computed: mapState({\n    data: function data(state) {\n      return state.mail.mailData;\n    }\n  }),\n  methods: {\n    back: function back() {\n      this.$router.go(-1); //返回上一层\n    },\n    reply: function reply() {\n      this.$router.push(\"/mail/mailEdit/\" + this.id);\n    },\n    deletes: function deletes() {\n      var _this = this;\n\n      this.$confirm('此操作将删除该文件, 是否继续?', '提示', {\n        confirmButtonText: '确定',\n        cancelButtonText: '取消',\n        type: 'warning'\n      }).then(function () {\n        _this.$store.dispatch(\"mail/deleteMaliOnes\", _this.data).then(function () {\n          _this.back();\n        });\n      }).catch(function () {\n        _this.$message({\n          type: 'info',\n          message: '已取消删除'\n        });\n      });\n    },\n    download: function download(item) {\n      req.download(\"${portal}/system/file/v1/downloadFile?fileId=\" + item.id);\n    }\n  },\n  created: function created() {\n    var _this2 = this;\n\n    this.$store.dispatch(\"mail/getMailById\", this.id).then(function (data) {\n      _this2.mailAttachments = data.mailAttachments;\n      _this2.length = data.mailAttachments.length;\n    });\n  }\n};",null]}