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

1 line
8.2 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\\StudentManage\\BasicInfo.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\StudentManage\\BasicInfo.vue","mtime":1619333190000},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './zhyybasicinfo-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/basicinfo/page',\n getDataListIsPage: true,\n deleteURL: '/system/basicinfo',\n deleteIsBatch: true,\n\t\texportURL: '/system/basicinfo/export'\n },\n dataForm: {\n\t\t id: '',\n\t\t xm: '',\n\t\t sjhm: '',\n\t\t xb: ''\n\t\t \n \n },\n\t options: [{\n\t value: '0',\n\t label: '男'\n\t }, {\n\t value: '1',\n\t label: '女'\n\t }],\n\t\t\t\n\t addOrUpdateVisible: true\n\t \t\t\t\n\t \t \n\n\t \n\t \n }\n\t\n },\n // created() {\n // \tthis.getDataList()\n // },\n methods:{\n\t findbyName(){\n\t\t this.$http.get('system/basicinfo/find/'+this.dataForm.xm).then(data =>{\n\t\t\t console.log(data.data.data);\n\t\t\t this.dataList = [data.data.data];\n\t\t\t // this.$set(this.dataForm,data.data.data)\n\t\t\t \n\t\t\t \n\t\t })\n\t }\n },\n components: {\n AddOrUpdate\n }\n}\n",{"version":3,"sources":["BasicInfo.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;AAMA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA","file":"BasicInfo.vue","sourceRoot":"src/views/modules/StudentManage","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-demo__zhyybasicinfo}\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n\t <!-- <el-form :inline=\"true\" :model=\"dataForm\"> -->\n <el-form-item>\n <el-input v-model=\"dataForm.xm\" placeholder=\"姓名\" clearable></el-input>\n </el-form-item>\n\t\t<el-form-item>\n\t\t <el-input v-model=\"dataForm.id\" placeholder=\"用户id\" clearable></el-input>\n\t\t</el-form-item>\n\t\t<el-form-item>\n\t\t <el-input v-model=\"dataForm.sjhm\" placeholder=\"手机号码\" clearable></el-input>\n\t\t</el-form-item>\n\t\t<el-form-item>\n\t\t\t <el-select v-model=\"dataForm.xb\" placeholder=\"性别\">\n\t\t\t <el-option\n\t\t\t v-for=\"item in options\"\n\t\t\t :key=\"item.value\"\n\t\t\t :label=\"item.label\"\n\t\t\t :value=\"item.value\">\n\t\t\t </el-option>\n\t\t\t </el-select>\n\t\t</el-form-item>\n <el-form-item>\n <!-- <el-button @click=\"findbyName()\">{{ $t('query') }}</el-button> -->\n\t\t <!-- <el-button @click=\"findbyName()\">{{ $t('query') }}</el-button> -->\n\t\t <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button v-if=\"$hasPermission('sys:people:save')\" type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button v-if=\"$hasPermission('sys:people:delete')\" type=\"danger\" @click=\"deleteHandle()\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item>\n\t\t<el-form-item>\n\t\t <el-button v-if=\"$hasPermission('sys:people:export')\" type=\"export\" @click=\"exportHandle()\">{{ $t('export') }}</el-button>\n\t\t</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=\"id\" label=\"\" header-align=\"center\" align=\"center\"></el-table-column> -->\n <el-table-column prop=\"xm\" label=\"姓名\" header-align=\"center\" align=\"center\"></el-table-column>\n \n \n <el-table-column prop=\"xb\" label=\"性别\" header-align=\"center\" align=\"center\">\n\t\t\t<template slot-scope=\"scope\"> \n\t\t\t<span v-if=\"scope.row.xb == 0\">男</span>\n\t\t\t<span v-if=\"scope.row.xb == 1\">女</span>\n\t\t\t</template>\n\t\t</el-table-column>\n\n <el-table-column prop=\"sfzh\" label=\"身份证号\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"sjhm\" label=\"手机号码\" header-align=\"center\" align=\"center\"></el-table-column>\n \n <el-table-column prop=\"yx\" label=\"院系\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"nj\" label=\"年级\" header-align=\"center\" align=\"center\"></el-table-column>\n \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:people:update')\" type=\"primary\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\n <el-button v-if=\"$hasPermission('sys:people:delete')\" type=\"danger\" 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 './zhyybasicinfo-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/basicinfo/page',\n getDataListIsPage: true,\n deleteURL: '/system/basicinfo',\n deleteIsBatch: true,\n\t\texportURL: '/system/basicinfo/export'\n },\n dataForm: {\n\t\t id: '',\n\t\t xm: '',\n\t\t sjhm: '',\n\t\t xb: ''\n\t\t \n \n },\n\t options: [{\n\t value: '0',\n\t label: '男'\n\t }, {\n\t value: '1',\n\t label: '女'\n\t }],\n\t\t\t\n\t addOrUpdateVisible: true\n\t \t\t\t\n\t \t \n\n\t \n\t \n }\n\t\n },\n // created() {\n // \tthis.getDataList()\n // },\n methods:{\n\t findbyName(){\n\t\t this.$http.get('system/basicinfo/find/'+this.dataForm.xm).then(data =>{\n\t\t\t console.log(data.data.data);\n\t\t\t this.dataList = [data.data.data];\n\t\t\t // this.$set(this.dataForm,data.data.data)\n\t\t\t \n\t\t\t \n\t\t })\n\t }\n },\n components: {\n AddOrUpdate\n }\n}\n</script>\n"]}]}