management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/75bfdaa7d7b4d6ef53053dfd134...

1 line
6.7 KiB
JSON

{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\message\\sms.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\message\\sms.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './sms-add-or-update'\nimport Send from './sms-send'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/message/sms/page',\n getDataListIsPage: true,\n deleteURL: '/message/sms',\n deleteIsBatch: true\n },\n dataForm: {\n mobile: '',\n status: null\n },\n sendVisible: false\n }\n },\n components: {\n AddOrUpdate,\n Send\n },\n methods: {\n // 发送短信\n sendHandle (row) {\n this.sendVisible = true\n this.$nextTick(() => {\n this.$refs.send.dataForm.smsCode = row.smsCode\n this.$refs.send.init()\n })\n }\n }\n}\n",{"version":3,"sources":["sms.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"sms.vue","sourceRoot":"src/views/modules/message","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-message__sms\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-select v-model=\"dataForm.platform\" :placeholder=\"$t('sms.platform')\" clearable>\n <el-option :label=\"$t('sms.platform1')\" :value=\"1\"></el-option>\n <el-option :label=\"$t('sms.platform2')\" :value=\"2\"></el-option>\n <el-option :label=\"$t('sms.platform3')\" :value=\"3\"></el-option>\n </el-select>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"danger\" @click=\"deleteHandle()\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table\n v-loading=\"dataListLoading\"\n :data=\"dataList\"\n border\n @selection-change=\"dataListSelectionChangeHandle\"\n @sort-change=\"dataListSortChangeHandle\"\n style=\"width: 100%;\">\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\n <el-table-column prop=\"smsCode\" :label=\"$t('sms.smsCode')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"platform\" :label=\"$t('sms.platform')\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.platform === 1\" size=\"small\">{{ $t('sms.platform1') }}</el-tag>\n <el-tag v-else-if=\"scope.row.platform === 2\" size=\"small\">{{ $t('sms.platform2') }}</el-tag>\n <el-tag v-else-if=\"scope.row.platform === 3\" size=\"small\">{{ $t('sms.platform3') }}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"remark\" label=\"备注\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"createDate\" :label=\"$t('sms.createDate')\" sortable=\"custom\" header-align=\"center\" align=\"center\" width=\"180\"></el-table-column>\n <el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"150\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" size=\"small\" @click=\"sendHandle(scope.row)\">{{ $t('sms.send') }}</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"deleteHandle(scope.row.id)\">{{ $t('delete') }}</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 50, 100]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n <!-- 弹窗, 新增 / 修改 -->\n <add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>\n <!-- 弹窗, 发送短信 -->\n <send v-if=\"sendVisible\" ref=\"send\" @refreshDataList=\"getDataList\"></send>\n </div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './sms-add-or-update'\nimport Send from './sms-send'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/message/sms/page',\n getDataListIsPage: true,\n deleteURL: '/message/sms',\n deleteIsBatch: true\n },\n dataForm: {\n mobile: '',\n status: null\n },\n sendVisible: false\n }\n },\n components: {\n AddOrUpdate,\n Send\n },\n methods: {\n // 发送短信\n sendHandle (row) {\n this.sendVisible = true\n this.$nextTick(() => {\n this.$refs.send.dataForm.smsCode = row.smsCode\n this.$refs.send.init()\n })\n }\n }\n}\n</script>\n"]}]}