1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/6561eadbd9863cdecf6caae8596...

1 line
7.5 KiB
JSON

{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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\\sys\\notice.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\notice.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":["import \"core-js/modules/es6.function.name\";\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 \"./notice-add-or-update\";\nimport { addDynamicRoute } from '@/router';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/notice/page',\n getDataListIsPage: true,\n deleteURL: '/sys/notice',\n deleteIsBatch: true\n },\n dataForm: {\n type: ''\n }\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\n viewHandle: function viewHandle(row) {\n // 路由参数\n var routeParams = {\n routeName: \"\".concat(this.$route.name, \"__\").concat(row.id),\n title: this.$t('notice.view1'),\n path: 'sys/notice-view',\n params: {\n id: row.id\n } // 动态路由\n\n };\n addDynamicRoute(routeParams, this.$router);\n }\n }\n};",{"version":3,"sources":["notice.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AACA,SAAA,eAAA,QAAA,UAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,kBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,aAHA;AAIA,QAAA,aAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,IAAA,EAAA;AADA;AAPA,KAAA;AAWA,GAdA;AAeA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA;AADA,GAfA;AAkBA,EAAA,OAAA,EAAA;AACA,IAAA,UADA,sBACA,GADA,EACA;AACA;AACA,UAAA,WAAA,GAAA;AACA,QAAA,SAAA,YAAA,KAAA,MAAA,CAAA,IAAA,eAAA,GAAA,CAAA,EAAA,CADA;AAEA,QAAA,KAAA,EAAA,KAAA,EAAA,CAAA,cAAA,CAFA;AAGA,QAAA,IAAA,EAAA,iBAHA;AAIA,QAAA,MAAA,EAAA;AACA,UAAA,EAAA,EAAA,GAAA,CAAA;AADA,SAJA,CAQA;;AARA,OAAA;AASA,MAAA,eAAA,CAAA,WAAA,EAAA,KAAA,OAAA,CAAA;AACA;AAbA;AAlBA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-demo__sysnotice\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <ren-select v-model=\"dataForm.type\" dict-type=\"notice_type\" :placeholder=\"$t('notice.type')\"></ren-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 v-loading=\"dataListLoading\" :data=\"dataList\" border @selection-change=\"dataListSelectionChangeHandle\" style=\"width: 100%;\">\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\n <el-table-column prop=\"title\" :label=\"$t('notice.title')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"type\" :label=\"$t('notice.type')\" header-align=\"center\" align=\"center\" width=\"150\">\n <template slot-scope=\"scope\">\n {{ $getDictLabel(\"notice_type\", scope.row.type) }}\n </template>\n </el-table-column>\n <el-table-column prop=\"senderName\" :label=\"$t('notice.senderName')\" header-align=\"center\" align=\"center\" width=\"150\"></el-table-column>\n <el-table-column prop=\"senderDate\" :label=\"$t('notice.senderDate')\" header-align=\"center\" align=\"center\" width=\"170\"></el-table-column>\n <el-table-column prop=\"status\" :label=\"$t('notice.status')\" header-align=\"center\" align=\"center\" width=\"130\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.status === 0\" size=\"small\" type=\"danger\">{{ $t('notice.status0') }}</el-tag>\n <el-tag v-else size=\"small\" type=\"success\">{{ $t('notice.status1') }}</el-tag>\n </template>\n </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 v-if=\"scope.row.status === 0\" type=\"text\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\n <el-button v-if=\"scope.row.status === 1\" type=\"text\" size=\"small\" @click=\"viewHandle(scope.row)\">{{ $t('notice.view') }}</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 </div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './notice-add-or-update'\nimport { addDynamicRoute } from '@/router'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/notice/page',\n getDataListIsPage: true,\n deleteURL: '/sys/notice',\n deleteIsBatch: true\n },\n dataForm: {\n type: ''\n }\n }\n },\n components: {\n AddOrUpdate\n },\n methods: {\n viewHandle (row) {\n // 路由参数\n const routeParams = {\n routeName: `${this.$route.name}__${row.id}`,\n title: this.$t('notice.view1'),\n path: 'sys/notice-view',\n params: {\n id: row.id\n }\n }\n // 动态路由\n addDynamicRoute(routeParams, this.$router)\n }\n }\n}\n</script>\n"],"sourceRoot":"src/views/modules/sys"}]}