| 1 |
- {"remainingRequest":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\message\\mail-template.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\message\\mail-template.vue","mtime":1581948666000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\babel.config.js","mtime":1581948662000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./mail-template-add-or-update\";\nimport Config from \"./mail-template-config\";\nimport Send from \"./mail-template-send\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/mailtemplate/page',\n getDataListIsPage: true,\n deleteURL: '/sys/mailtemplate',\n deleteIsBatch: true\n },\n dataForm: {\n name: ''\n },\n configVisible: false,\n sendVisible: false\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate,\n Config: Config,\n Send: Send\n },\n methods: {\n // 邮件配置\n configHandle: function configHandle() {\n var _this = this;\n this.configVisible = true;\n this.$nextTick(function () {\n _this.$refs.config.init();\n });\n },\n // 发送邮件\n sendHandle: function sendHandle(id) {\n var _this2 = this;\n this.sendVisible = true;\n this.$nextTick(function () {\n _this2.$refs.send.dataForm.id = id;\n _this2.$refs.send.init();\n });\n }\n }\n};",{"version":3,"names":["mixinViewModule","AddOrUpdate","Config","Send","mixins","data","mixinViewModuleOptions","getDataListURL","getDataListIsPage","deleteURL","deleteIsBatch","dataForm","name","configVisible","sendVisible","components","methods","configHandle","_this","$nextTick","$refs","config","init","sendHandle","id","_this2","send"],"sources":["src/views/modules/message/mail-template.vue"],"sourcesContent":["<template>\r\n <el-card shadow=\"never\" class=\"aui-card--fill\">\r\n <div class=\"mod-message__mail-template\">\r\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\r\n <el-form-item>\r\n <el-input v-model=\"dataForm.name\" :placeholder=\"$t('mail.name')\" clearable></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"configHandle()\">{{ $t('mail.config') }}</el-button>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"danger\" @click=\"deleteHandle()\">{{ $t('deleteBatch') }}</el-button>\r\n </el-form-item>\r\n </el-form>\r\n <el-table\r\n v-loading=\"dataListLoading\"\r\n :data=\"dataList\"\r\n border\r\n @selection-change=\"dataListSelectionChangeHandle\"\r\n @sort-change=\"dataListSortChangeHandle\"\r\n style=\"width: 100%;\">\r\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\r\n <el-table-column prop=\"name\" :label=\"$t('mail.name')\" header-align=\"center\" align=\"center\"></el-table-column>\r\n <el-table-column prop=\"subject\" :label=\"$t('mail.subject')\" header-align=\"center\" align=\"center\"></el-table-column>\r\n <el-table-column prop=\"createDate\" :label=\"$t('mail.createDate')\" sortable=\"custom\" header-align=\"center\" align=\"center\" width=\"180\"></el-table-column>\r\n <el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"150\">\r\n <template slot-scope=\"scope\">\r\n <el-button type=\"text\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\r\n <el-button type=\"text\" size=\"small\" @click=\"sendHandle(scope.row.id)\">{{ $t('mail.send') }}</el-button>\r\n <el-button type=\"text\" size=\"small\" @click=\"deleteHandle(scope.row.id)\">{{ $t('delete') }}</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <el-pagination\r\n :current-page=\"page\"\r\n :page-sizes=\"[10, 20, 50, 100]\"\r\n :page-size=\"limit\"\r\n :total=\"total\"\r\n layout=\"total, sizes, prev, pager, next, jumper\"\r\n @size-change=\"pageSizeChangeHandle\"\r\n @current-change=\"pageCurrentChangeHandle\">\r\n </el-pagination>\r\n <!-- 弹窗, 新增 / 修改 -->\r\n <add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>\r\n <!-- 弹窗, 邮件配置 -->\r\n <config v-if=\"configVisible\" ref=\"config\"></config>\r\n <!-- 弹窗, 发送邮件 -->\r\n <send v-if=\"sendVisible\" ref=\"send\" @refreshDataList=\"getDataList\"></send>\r\n </div>\r\n </el-card>\r\n</template>\r\n\r\n<script>\r\nimport mixinViewModule from '@/mixins/view-module'\r\nimport AddOrUpdate from './mail-template-add-or-update'\r\nimport Config from './mail-template-config'\r\nimport Send from './mail-template-send'\r\nexport default {\r\n mixins: [mixinViewModule],\r\n data () {\r\n return {\r\n mixinViewModuleOptions: {\r\n getDataListURL: '/sys/mailtemplate/page',\r\n getDataListIsPage: true,\r\n deleteURL: '/sys/mailtemplate',\r\n deleteIsBatch: true\r\n },\r\n dataForm: {\r\n name: ''\r\n },\r\n configVisible: false,\r\n sendVisible: false\r\n }\r\n },\r\n components: {\r\n AddOrUpdate,\r\n Config,\r\n Send\r\n },\r\n methods: {\r\n // 邮件配置\r\n configHandle () {\r\n this.configVisible = true\r\n this.$nextTick(() => {\r\n this.$refs.config.init()\r\n })\r\n },\r\n // 发送邮件\r\n sendHandle (id) {\r\n this.sendVisible = true\r\n this.$nextTick(() => {\r\n this.$refs.send.dataForm.id = id\r\n this.$refs.send.init()\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n"],"mappings":"AA2DA,OAAAA,eAAA;AACA,OAAAC,WAAA;AACA,OAAAC,MAAA;AACA,OAAAC,IAAA;AACA;EACAC,MAAA,GAAAJ,eAAA;EACAK,IAAA,WAAAA,KAAA;IACA;MACAC,sBAAA;QACAC,cAAA;QACAC,iBAAA;QACAC,SAAA;QACAC,aAAA;MACA;MACAC,QAAA;QACAC,IAAA;MACA;MACAC,aAAA;MACAC,WAAA;IACA;EACA;EACAC,UAAA;IACAd,WAAA,EAAAA,WAAA;IACAC,MAAA,EAAAA,MAAA;IACAC,IAAA,EAAAA;EACA;EACAa,OAAA;IACA;IACAC,YAAA,WAAAA,aAAA;MAAA,IAAAC,KAAA;MACA,KAAAL,aAAA;MACA,KAAAM,SAAA;QACAD,KAAA,CAAAE,KAAA,CAAAC,MAAA,CAAAC,IAAA;MACA;IACA;IACA;IACAC,UAAA,WAAAA,WAAAC,EAAA;MAAA,IAAAC,MAAA;MACA,KAAAX,WAAA;MACA,KAAAK,SAAA;QACAM,MAAA,CAAAL,KAAA,CAAAM,IAAA,CAAAf,QAAA,CAAAa,EAAA,GAAAA,EAAA;QACAC,MAAA,CAAAL,KAAA,CAAAM,IAAA,CAAAJ,IAAA;MACA;IACA;EACA;AACA","ignoreList":[]}]}
|