management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/4a260b9ec1b5e4c841ed51a2954...

1 line
4.6 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\\sys\\menu.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\menu.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\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './menu-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/menu/list',\n deleteURL: '/sys/menu'\n }\n }\n },\n components: {\n AddOrUpdate\n }\n}\n",{"version":3,"sources":["menu.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"menu.vue","sourceRoot":"src/views/modules/sys","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-sys__menu\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-button v-if=\"$hasPermission('sys:menu:save')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table v-loading=\"dataListLoading\" :data=\"dataList\" row-key=\"id\" border style=\"width: 100%;\">\n <el-table-column prop=\"name\" :label=\"$t('menu.name')\" header-align=\"center\" min-width=\"150\"></el-table-column>\n <el-table-column prop=\"icon\" :label=\"$t('menu.icon')\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <svg class=\"icon-svg\" aria-hidden=\"true\"><use :xlink:href=\"`#${scope.row.icon}`\"></use></svg>\n </template>\n </el-table-column>\n <el-table-column prop=\"type\" :label=\"$t('menu.type')\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.type === 0\" size=\"small\">{{ $t('menu.type0') }}</el-tag>\n <el-tag v-else size=\"small\" type=\"info\">{{ $t('menu.type1') }}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"sort\" :label=\"$t('menu.sort')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"url\" :label=\"$t('menu.url')\" header-align=\"center\" align=\"center\" width=\"150\" :show-overflow-tooltip=\"true\" ></el-table-column>\n <el-table-column prop=\"permissions\" :label=\"$t('menu.permissions')\" header-align=\"center\" align=\"center\" width=\"150\" :show-overflow-tooltip=\"true\"></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=\"$hasPermission('sys:menu:update')\" type=\"text\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\n <el-button v-if=\"$hasPermission('sys:menu:delete')\" type=\"text\" size=\"small\" @click=\"deleteHandle(scope.row.id)\">{{ $t('delete') }}</el-button>\n </template>\n </el-table-column>\n </el-table>\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 './menu-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/menu/list',\n deleteURL: '/sys/menu'\n }\n }\n },\n components: {\n AddOrUpdate\n }\n}\n</script>\n"]}]}