1 |
- {"version":3,"sources":["webpack:///./src/components/Page.vue?abc6","webpack:///./src/components/Page.vue?38ff","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?35a6","webpack:///./src/components/Page.vue","webpack:///./src/views/user/index.vue?4bf7","webpack:///src/views/user/index.vue","webpack:///./src/views/user/index.vue?4bdd","webpack:///./src/views/user/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","page_size","current","total","on","getData","handleSizeChange","staticRenderFns","component","staticClass","_v","$event","model","value","queryParams","callback","$$v","$set","expression","staticStyle","handleAdd","handleFastAdd","directives","name","rawName","list","scopedSlots","_u","key","fn","scope","row","edit","id","del","ref","form","page","gopage","title","open","rules","_e","slot","submitForm","open1","form1","rules1","_l","item","fastSavePlayer","components","Page","data","loading","matchList","groupList","username","fund","match_id","match_group","match_status","methods","$confirm","type","message","size","$refs","pageButton","$api","getMatchList","then","getGroupList","getUserList","getUserInfo","validate","valid","res","code","created"],"mappings":"kHAAA,W,kCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACE,MAAM,CAAC,WAAa,GAAG,YAAYN,EAAIO,UAAUP,EAAIO,UAAU,GAAG,eAAeP,EAAIQ,QAAQ,aAAa,CAAC,GAAG,GAAI,GAAI,GAAI,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,OAAS,gCAAgC,MAAQR,EAAIS,OAAOC,GAAG,CAAC,iBAAiBV,EAAIW,QAAQ,cAAcX,EAAIY,qBAC7WC,EAAkB,GCwBtB,GACE,KADF,WAEI,MAAJ,CACM,KAAN,IAGE,MAAF,CACI,MAAJ,GACI,UAAJ,GACI,QAAJ,IAEE,QAAF,CACI,QADJ,SACA,GAMM,KAAN,OACM,KAAN,qBAEI,iBAVJ,SAUA,GACM,KAAN,wBAGE,QAzBF,cCzBkb,I,wBCQ9aC,EAAY,eACd,EACAf,EAC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SACgB,EAAhB,WAEgB,EAAhB,kCAQEC,QAzJF,WA0JIpF,KAAKU,YCjUyb,I,YCO9bG,EAAY,eACd,EACAf,EACAc,GACA,EACA,KACA,KACA,MAIa,aAAAC,E","file":"js/chunk-7b04c026.e4295a14.js","sourcesContent":["export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.7@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.7@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{\"background\":\"\",\"page-size\":_vm.page_size?_vm.page_size:20,\"current-page\":_vm.current,\"page-sizes\":[10,20, 30, 40, 50,60,70,80,90,100],\"layout\":\"total,sizes,prev, pager, next\",\"total\":_vm.total},on:{\"current-change\":_vm.getData,\"size-change\":_vm.handleSizeChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n @import '../style/style.scss';\r\n .el-pagination{\r\n li,button{\r\n border: 1px solid #CACACA !important;\r\n background-color: #fff !important;\r\n }\r\n .active{\r\n border:none !important;\r\n background: #3895FE !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <el-pagination\r\n @current-change=\"getData\"\r\n background :page-size='page_size?page_size:20'\r\n @size-change=\"handleSizeChange\"\r\n :current-page=\"current\"\r\n :page-sizes=\"[10,20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"total,sizes,prev, pager, next\"\r\n :total=\"total\">\r\n </el-pagination>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n page:1\r\n }\r\n },\r\n props: {\r\n total:'',\r\n page_size:'',\r\n current:''\r\n },\r\n methods:{\r\n getData(type){\r\n // if(type == 1){\r\n // this.data.pageNumber=this.data.pageNumber-1\r\n // }else if(type == 2){\r\n // this.data.pageNumber=this.data.pageNumber+1\r\n // }\r\n this.page=type\r\n this.$emit('pageChange')\r\n },\r\n handleSizeChange(val){\r\n this.$emit('pageChange',val)\r\n }\r\n },\r\n created(){\r\n }\r\n}\r\n</script>","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.7@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.7@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Page.vue?vue&type=template&id=df237d3a&\"\nimport script from \"./Page.vue?vue&type=script&lang=js&\"\nexport * from \"./Page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Page.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.7@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"content\"},[_c('h4',[_vm._v(\"用户管理\")]),_c('el-divider'),_c('el-form',{staticClass:\"filter-form\",attrs:{\"label-width\":\"40px\"}},[_c('el-row',[_c('el-col',{attrs:{\"span\":4}},[_c('el-form-item',{attrs:{\"label\":\"用户\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入用户名/代码\",\"size\":\"mini\"},on:{\"clear\":function($event){return _vm.getData()}},model:{value:(_vm.queryParams.username),callback:function ($$v) {_vm.$set(_vm.queryParams, \"username\", $$v)},expression:\"queryParams.username\"}})],1)],1),_c('el-col',{attrs:{\"span\":8}},[_c('el-form-item',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"label-width\":\"10\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":_vm.getData}},[_vm._v(\"筛选\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"icon\":\"el-icon-plus\",\"size\":\"mini\"},on:{\"click\":_vm.handleAdd}},[_vm._v(\"新增用户\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-plus\",\"size\":\"mini\"},on:{\"click\":_vm.handleFastAdd}},[_vm._v(\"新增选手\")])],1)],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\",\"margin-top\":\"10px\"},attrs:{\"data\":_vm.list,\"height\":\"50vh\"}},[_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"usercode\",\"label\":\"代码\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"username\",\"label\":\"用户名\"}}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"date\",\"label\":\"绑定\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.is_bind)?_c('span',[_vm._v(\"已绑定\")]):_c('span',[_vm._v(\"未绑定\")])]}}])}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"date\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"warning\"},on:{\"click\":function($event){return _vm.edit(scope.row.id)}}},[_vm._v(\"编辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.del(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('Page',{ref:\"pageButton\",attrs:{\"current\":_vm.form.page,\"page_size\":_vm.form.page_size,\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}}),_c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.open,\"width\":\"500px\",\"append-to-body\":\"\"},on:{\"update:visible\":function($event){_vm.open=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入用户名\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"用户代码\",\"prop\":\"usercode\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入代码\"},model:{value:(_vm.form.usercode),callback:function ($$v) {_vm.$set(_vm.form, \"usercode\", $$v)},expression:\"form.usercode\"}})],1),(_vm.form.id)?_c('el-form-item',{attrs:{\"label\":\"用户代码\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择比赛分组\"},model:{value:(_vm.form.is_bind),callback:function ($$v) {_vm.$set(_vm.form, \"is_bind\", $$v)},expression:\"form.is_bind\"}},[_c('el-option',{attrs:{\"label\":\"已绑定\",\"value\":1}}),_c('el-option',{attrs:{\"label\":\"未绑定\",\"value\":0}})],1)],1):_vm._e()],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitForm}},[_vm._v(\"确 定\")]),_c('el-button',{on:{\"click\":function($event){_vm.open = false}}},[_vm._v(\"取 消\")])],1)],1),_c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.open1,\"width\":\"500px\",\"append-to-body\":\"\"},on:{\"update:visible\":function($event){_vm.open1=$event}}},[_c('el-form',{ref:\"form1\",attrs:{\"model\":_vm.form1,\"rules\":_vm.rules1,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"username\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入用户名\"},model:{value:(_vm.form1.username),callback:function ($$v) {_vm.$set(_vm.form1, \"username\", $$v)},expression:\"form1.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"用户代码\",\"prop\":\"usercode\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入用户代码\"},model:{value:(_vm.form1.usercode),callback:function ($$v) {_vm.$set(_vm.form1, \"usercode\", $$v)},expression:\"form1.usercode\"}})],1),_c('el-form-item',{attrs:{\"label\":\"初始资金\",\"prop\":\"fund\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入初始资金\"},model:{value:(_vm.form1.fund),callback:function ($$v) {_vm.$set(_vm.form1, \"fund\", $$v)},expression:\"form1.fund\"}},[_c('template',{slot:\"append\"},[_vm._v(\"万元\")])],2)],1),_c('el-form-item',{attrs:{\"label\":\"比赛名称\",\"prop\":\"match_id\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择比赛\"},model:{value:(_vm.form1.match_id),callback:function ($$v) {_vm.$set(_vm.form1, \"match_id\", $$v)},expression:\"form1.match_id\"}},_vm._l((_vm.matchList),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"比赛分组\",\"prop\":\"match_group\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择比赛分组\"},model:{value:(_vm.form1.match_group),callback:function ($$v) {_vm.$set(_vm.form1, \"match_group\", $$v)},expression:\"form1.match_group\"}},_vm._l((_vm.groupList),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"参数状态\",\"prop\":\"match_status\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择参数状态\"},model:{value:(_vm.form1.match_status),callback:function ($$v) {_vm.$set(_vm.form1, \"match_status\", $$v)},expression:\"form1.match_status\"}},[_c('el-option',{key:\"1\",attrs:{\"label\":\"参赛中\",\"value\":1}}),_c('el-option',{key:\"0\",attrs:{\"label\":\"暂停\",\"value\":0}}),_c('el-option',{key:\"-1\",attrs:{\"label\":\"已退赛\",\"value\":-1}})],1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.fastSavePlayer}},[_vm._v(\"确 定\")]),_c('el-button',{on:{\"click\":function($event){_vm.open1 = false}}},[_vm._v(\"取 消\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <section class=\"content\">\r\n <h4>用户管理</h4>\r\n <el-divider></el-divider>\r\n <el-form label-width=\"40px\" class=\"filter-form\">\r\n <el-row>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"用户\">\r\n <el-input\r\n clearable\r\n @clear=\"getData()\"\r\n v-model=\"queryParams.username\"\r\n placeholder=\"请输入用户名/代码\"\r\n size=\"mini\"\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"8\">\r\n <el-form-item label-width=\"10\" style=\"margin-left: 10px\">\r\n <el-button type=\"primary\" @click=\"getData\" size=\"mini\"\r\n >筛选</el-button\r\n >\r\n <el-button\r\n type=\"primary\"\r\n plain\r\n icon=\"el-icon-plus\"\r\n size=\"mini\"\r\n @click=\"handleAdd\"\r\n >新增用户</el-button\r\n >\r\n <el-button\r\n type=\"primary\"\r\n icon=\"el-icon-plus\"\r\n size=\"mini\"\r\n @click=\"handleFastAdd\"\r\n >新增选手</el-button\r\n >\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n </el-form>\r\n <el-table\r\n v-loading=\"loading\"\r\n :data=\"list\"\r\n style=\"width: 100%; margin-top: 10px\"\r\n height=\"50vh\"\r\n >\r\n <el-table-column align=\"center\" prop=\"usercode\" label=\"代码\" />\r\n <el-table-column align=\"center\" prop=\"username\" label=\"用户名\" />\r\n <el-table-column align=\"center\" prop=\"date\" label=\"绑定\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.is_bind\">已绑定</span>\r\n <span v-else>未绑定</span>\r\n </template>\r\n </el-table-column>\r\n <!-- <el-table-column align=\"center\" prop=\"date\" label=\"资产\"/> -->\r\n <el-table-column align=\"center\" prop=\"date\" label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button @click=\"edit(scope.row.id)\" size=\"mini\" type=\"warning\"\r\n >编辑</el-button\r\n >\r\n <el-button @click=\"del(scope.row.id)\" size=\"mini\" type=\"danger\"\r\n >删除</el-button\r\n >\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page\r\n ref=\"pageButton\"\r\n :current=\"form.page\"\r\n :page_size=\"form.page_size\"\r\n :total=\"total\"\r\n @pageChange=\"gopage\"\r\n />\r\n <!-- 新增用户 -->\r\n <el-dialog :title=\"title\" :visible.sync=\"open\" width=\"500px\" append-to-body>\r\n <el-form ref=\"form\" :model=\"form\" :rules=\"rules\" label-width=\"80px\">\r\n <el-form-item label=\"用户名\" prop=\"username\">\r\n <el-input\r\n clearable\r\n v-model=\"form.username\"\r\n placeholder=\"请输入用户名\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"用户代码\" prop=\"usercode\">\r\n <el-input\r\n clearable\r\n v-model=\"form.usercode\"\r\n placeholder=\"请输入代码\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"用户代码\" v-if=\"form.id\">\r\n <el-select v-model=\"form.is_bind\" placeholder=\"请选择比赛分组\">\r\n <el-option label=\"已绑定\" :value=\"1\"></el-option>\r\n <el-option label=\"未绑定\" :value=\"0\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-form>\r\n <div slot=\"footer\" class=\"dialog-footer\">\r\n <el-button type=\"primary\" @click=\"submitForm\">确 定</el-button>\r\n <el-button @click=\"open = false\">取 消</el-button>\r\n </div>\r\n </el-dialog>\r\n <!-- 新增选手 -->\r\n <el-dialog\r\n :title=\"title\"\r\n :visible.sync=\"open1\"\r\n width=\"500px\"\r\n append-to-body\r\n >\r\n <el-form ref=\"form1\" :model=\"form1\" :rules=\"rules1\" label-width=\"80px\">\r\n <el-form-item label=\"用户名\" prop=\"username\">\r\n <el-input\r\n clearable\r\n v-model=\"form1.username\"\r\n placeholder=\"请输入用户名\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"用户代码\" prop=\"usercode\">\r\n <el-input\r\n clearable\r\n v-model=\"form1.usercode\"\r\n placeholder=\"请输入用户代码\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"初始资金\" prop=\"fund\">\r\n <el-input clearable v-model=\"form1.fund\" placeholder=\"请输入初始资金\">\r\n <template slot=\"append\">万元</template>\r\n </el-input>\r\n </el-form-item>\r\n <el-form-item label=\"比赛名称\" prop=\"match_id\">\r\n <el-select v-model=\"form1.match_id\" placeholder=\"请选择比赛\">\r\n <el-option\r\n v-for=\"item in matchList\"\r\n :key=\"item.id\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"比赛分组\" prop=\"match_group\">\r\n <el-select v-model=\"form1.match_group\" placeholder=\"请选择比赛分组\">\r\n <el-option\r\n v-for=\"item in groupList\"\r\n :key=\"item.id\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"参数状态\" prop=\"match_status\">\r\n <el-select v-model=\"form1.match_status\" placeholder=\"请选择参数状态\">\r\n <el-option key=\"1\" label=\"参赛中\" :value=\"1\"></el-option>\r\n <el-option key=\"0\" label=\"暂停\" :value=\"0\"></el-option>\r\n <el-option key=\"-1\" label=\"已退赛\" :value=\"-1\"></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-form>\r\n <div slot=\"footer\" class=\"dialog-footer\">\r\n <el-button type=\"primary\" @click=\"fastSavePlayer\">确 定</el-button>\r\n <el-button @click=\"open1 = false\">取 消</el-button>\r\n </div>\r\n </el-dialog>\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from \"../../components/Page\";\r\nexport default {\r\n components: {\r\n Page,\r\n },\r\n data() {\r\n return {\r\n loading: false,\r\n queryParams: {\r\n page: 1,\r\n },\r\n form: {},\r\n form1: {},\r\n list: [{}, {}],\r\n total: 0,\r\n title: \"新增用户\",\r\n open: false,\r\n open1: false,\r\n matchList: [],\r\n groupList: [],\r\n rules: {\r\n username: [\r\n { required: true, message: \"请输入用户名\", trigger: \"blur\" },\r\n ],\r\n },\r\n rules1: {\r\n fund: [{ required: true, message: \"请输入比赛资金\", trigger: \"blur\" }],\r\n match_id: [\r\n { required: true, message: \"请选择比赛\", trigger: \"change\" },\r\n ],\r\n username: [\r\n { required: true, message: \"请输入用户名\", trigger: \"blur\" },\r\n ],\r\n match_group: [\r\n { required: true, message: \"请选择分组\", trigger: \"change\" },\r\n ],\r\n match_status: [\r\n { required: true, message: \"请选择参数状态\", trigger: \"change\" },\r\n ],\r\n },\r\n };\r\n },\r\n methods: {\r\n del(id) {\r\n this.$confirm(\"删除用户会删除相关数据,确定删除吗?\", \"提示\", {\r\n type: \"warning\",\r\n }).then(() => {\r\n this.$api.delUser({ id: id }).then((res) => {\r\n this.$message({\r\n message: \"删除成功\",\r\n type: \"success\",\r\n });\r\n this.getData();\r\n });\r\n });\r\n },\r\n gopage(size) {\r\n if (size) {\r\n this.queryParams.page_size = size;\r\n }\r\n this.queryParams.page = this.$refs.pageButton.page;\r\n this.getData();\r\n },\r\n getData() {\r\n this.loading = true;\r\n this.$api.getMatchList().then((res) => {\r\n this.matchList = res.data.data;\r\n });\r\n this.$api.getGroupList().then((res) => {\r\n this.groupList = res.data.data;\r\n });\r\n this.$api.getUserList(this.queryParams).then((res) => {\r\n this.list = res.data.data.list;\r\n this.total = res.data.data.total;\r\n this.loading = false;\r\n });\r\n },\r\n handleAdd() {\r\n this.open = true;\r\n this.title = \"新增用户\";\r\n this.form = {};\r\n },\r\n handleFastAdd() {\r\n this.open1 = true;\r\n this.title = \"新增选手\";\r\n this.form1 = {\r\n match_status: 1,\r\n match_id: this.matchList[0].id,\r\n };\r\n },\r\n edit(id) {\r\n this.title = \"编辑用户\";\r\n this.$api.getUserInfo({ id: id }).then((res) => {\r\n this.form = res.data.data;\r\n this.open = true;\r\n });\r\n },\r\n /** 提交按钮 */\r\n submitForm() {\r\n this.$refs[\"form\"].validate((valid) => {\r\n if (valid) {\r\n if (this.form.id != null) {\r\n this.$api.editUser(this.form).then((res) => {\r\n if (res.data.code == 0) {\r\n this.msgSuccess(\"成功!\");\r\n this.open = false;\r\n this.getData();\r\n } else {\r\n this.msgError(res.data.message);\r\n }\r\n });\r\n } else {\r\n this.$api.addUser(this.form).then((res) => {\r\n if (res.data.code == 0) {\r\n this.msgSuccess(\"成功!\");\r\n this.open = false;\r\n this.getData();\r\n } else {\r\n this.msgError(res.data.message);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n },\r\n // 创建选手同时创建用户\r\n fastSavePlayer() {\r\n this.$refs[\"form1\"].validate((valid) => {\r\n if (valid) {\r\n if (this.form1.id != null) {\r\n this.$api.fastSavePlayer(this.form1).then((res) => {\r\n if (res.data.code == 0) {\r\n this.msgSuccess(\"成功!\");\r\n this.open = false;\r\n this.getData();\r\n } else {\r\n this.msgError(res.data.message);\r\n }\r\n });\r\n } else {\r\n this.$api.fastSavePlayer(this.form1).then((res) => {\r\n if (res.data.code == 0) {\r\n this.msgSuccess(\"成功!\");\r\n this.open1 = false;\r\n this.getData();\r\n } else {\r\n this.msgError(res.data.message);\r\n }\r\n });\r\n }\r\n }\r\n });\r\n },\r\n },\r\n created() {\r\n this.getData();\r\n },\r\n};\r\n</script>","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.7@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.7@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=cb462348&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.7@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|