1 line
7.4 KiB
JSON
1 line
7.4 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\\user.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\user.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//\n//\n//\n//\n//\n//\n//\n//\nimport mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./user-add-or-update\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/user/page',\n getDataListIsPage: true,\n deleteURL: '/sys/user',\n deleteIsBatch: true,\n exportURL: '/sys/user/export'\n },\n dataForm: {\n username: '',\n deptId: '',\n gender: ''\n }\n };\n },\n components: {\n AddOrUpdate: AddOrUpdate\n }\n};",{"version":3,"sources":["user.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,gBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,WAHA;AAIA,QAAA,aAAA,EAAA,IAJA;AAKA,QAAA,SAAA,EAAA;AALA,OADA;AAQA,MAAA,QAAA,EAAA;AACA,QAAA,QAAA,EAAA,EADA;AAEA,QAAA,MAAA,EAAA,EAFA;AAGA,QAAA,MAAA,EAAA;AAHA;AARA,KAAA;AAcA,GAjBA;AAkBA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA;AADA;AAlBA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-sys__user\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-input v-model=\"dataForm.username\" :placeholder=\"$t('user.username')\" clearable></el-input>\n </el-form-item>\n <el-form-item>\n <ren-select v-model=\"dataForm.gender\" dict-type=\"gender\" :placeholder=\"$t('user.gender')\"></ren-select>\n </el-form-item>\n <el-form-item>\n <ren-dept-tree v-model=\"dataForm.deptId\" :placeholder=\"$t('dept.title')\" :query=\"true\"></ren-dept-tree>\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 v-if=\"$hasPermission('sys:user:save')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n </el-form-item>\n <!-- <el-form-item>\n <el-button v-if=\"$hasPermission('sys:user:delete')\" type=\"danger\" @click=\"deleteHandle()\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item> -->\n <!-- <el-form-item>\n <el-button v-if=\"$hasPermission('sys:user:export')\" type=\"info\" @click=\"exportHandle()\">{{ $t('export') }}</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=\"username\" :label=\"$t('user.username')\" sortable=\"custom\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"deptName\" :label=\"$t('user.deptName')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"email\" :label=\"$t('user.email')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"mobile\" :label=\"$t('user.mobile')\" sortable=\"custom\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"gender\" :label=\"$t('user.gender')\" sortable=\"custom\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n {{ $getDictLabel(\"gender\", scope.row.gender) }}\n </template>\n </el-table-column>\n <el-table-column prop=\"status\" :label=\"$t('user.status')\" sortable=\"custom\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.status === 0\" size=\"small\" type=\"danger\">{{ $t('user.status0') }}</el-tag>\n <el-tag v-else size=\"small\" type=\"success\">{{ $t('user.status1') }}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"createDate\" :label=\"$t('user.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 v-if=\"$hasPermission('sys:user:update')\" type=\"text\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\n <!-- <el-button v-if=\"$hasPermission('sys:user:delete')\" 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 './user-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/user/page',\n getDataListIsPage: true,\n deleteURL: '/sys/user',\n deleteIsBatch: true,\n exportURL: '/sys/user/export'\n },\n dataForm: {\n username: '',\n deptId: '',\n gender: ''\n }\n }\n },\n components: {\n AddOrUpdate\n }\n}\n</script>\n"],"sourceRoot":"src/views/modules/sys"}]} |