1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/c65b70b08dd6d8f2749ea64ae08...

1 line
5.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\\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//\n\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",{"version":3,"sources":["select-user.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA;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;AACA;AACA;AACA;AACA;AACA;AACA","file":"select-user.vue","sourceRoot":"src/components/ren-process-running/src","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"]}]}