forked from zhurui/management
1 line
6.5 KiB
JSON
1 line
6.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\\components\\ren-process-running\\src\\select-user.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\ren-process-running\\src\\select-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//\nimport mixinViewModule from '@/mixins/view-module';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n visibleSelect: false,\n mixinViewModuleOptions: {\n getDataListURL: '/sys/user/page',\n getDataListIsPage: true\n },\n dataForm: {\n username: ''\n },\n callback: null\n };\n },\n components: {},\n methods: {\n init: function init(callback) {\n var _this = this;\n\n this.visibleSelect = true;\n this.callback = callback;\n this.$nextTick(function () {\n _this.getDataList();\n });\n },\n cancelHandle: function cancelHandle() {\n this.visibleSelect = false;\n },\n commitHandle: function commitHandle() {\n if (this.callback) {\n if (this.dataListSelections.length !== 1) {\n this.$message.error(this.$t('user.selecterror'));\n return;\n } else {\n this.callback(this.dataListSelections[0]);\n }\n }\n\n this.visibleSelect = false;\n }\n }\n};",{"version":3,"sources":["select-user.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,OAAA,eAAA,MAAA,sBAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,aAAA,EAAA,KADA;AAEA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,gBADA;AAEA,QAAA,iBAAA,EAAA;AAFA,OAFA;AAMA,MAAA,QAAA,EAAA;AACA,QAAA,QAAA,EAAA;AADA,OANA;AASA,MAAA,QAAA,EAAA;AATA,KAAA;AAWA,GAdA;AAeA,EAAA,UAAA,EAAA,EAfA;AAgBA,EAAA,OAAA,EAAA;AACA,IAAA,IADA,gBACA,QADA,EACA;AAAA;;AACA,WAAA,aAAA,GAAA,IAAA;AACA,WAAA,QAAA,GAAA,QAAA;AACA,WAAA,SAAA,CAAA,YAAA;AACA,QAAA,KAAA,CAAA,WAAA;AACA,OAFA;AAGA,KAPA;AAQA,IAAA,YARA,0BAQA;AACA,WAAA,aAAA,GAAA,KAAA;AACA,KAVA;AAWA,IAAA,YAXA,0BAWA;AACA,UAAA,KAAA,QAAA,EAAA;AACA,YAAA,KAAA,kBAAA,CAAA,MAAA,KAAA,CAAA,EAAA;AACA,eAAA,QAAA,CAAA,KAAA,CAAA,KAAA,EAAA,CAAA,kBAAA,CAAA;AACA;AACA,SAHA,MAGA;AACA,eAAA,QAAA,CAAA,KAAA,kBAAA,CAAA,CAAA,CAAA;AACA;AACA;;AACA,WAAA,aAAA,GAAA,KAAA;AACA;AArBA;AAhBA,CAAA","sourcesContent":["<template>\n <el-dialog :visible.sync=\"visibleSelect\" width=\"60%\" :modal=\"false\" :title=\"$t('user.select')\" :close-on-click-modal=\"false\" :close-on-press-escape=\"false\">\n <div class=\"mod-sys__user\">\n <el-form :inline=\"true\" size=\"mini\" :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 <el-button @click=\"getDataList()\">{{ $t('query') }}</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%;\" size=\"mini\">\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>\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 </div>\n <template slot=\"footer\">\n <el-button type=\"default\" @click=\"cancelHandle()\">{{ $t('cancel') }}</el-button>\n <el-button type=\"primary\" @click=\"commitHandle()\">{{ $t('confirm') }}</el-button>\n </template>\n </el-dialog>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n visibleSelect: false,\n mixinViewModuleOptions: {\n getDataListURL: '/sys/user/page',\n getDataListIsPage: true\n },\n dataForm: {\n username: ''\n },\n callback: null\n }\n },\n components: {},\n methods: {\n init (callback) {\n this.visibleSelect = true\n this.callback = callback\n this.$nextTick(() => {\n this.getDataList()\n })\n },\n cancelHandle () {\n this.visibleSelect = false\n },\n commitHandle () {\n if (this.callback) {\n if (this.dataListSelections.length !== 1) {\n this.$message.error(this.$t('user.selecterror'))\n return\n } else {\n this.callback(this.dataListSelections[0])\n }\n }\n this.visibleSelect = false\n }\n }\n}\n</script>\n"],"sourceRoot":"src/components/ren-process-running/src"}]} |