chunk-b9fc2d1c.f852cf0b.js.map 16 KB

1
  1. {"version":3,"sources":["webpack:///./src/components/Page.vue?35b0","webpack:///./src/views/system/Index.vue?e34f","webpack:///./src/views/system/Index.vue?4907","webpack:///src/views/system/Index.vue","webpack:///./src/views/system/Index.vue?943a","webpack:///./src/views/system/Index.vue","webpack:///./src/components/Page.vue?6178","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?2cee","webpack:///./src/components/Page.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","model","value","form","callback","$$v","$set","expression","on","$event","$router","push","path","staticStyle","list","scopedSlots","_u","key","fn","scope","query","id","row","del","ref","total","gopage","staticRenderFns","name","components","Page","data","methods","getData","$api","getAccountList","parm","then","res","status","message","type","created","component","handleSizeChange"],"mappings":"kHAAA,yBAA0pB,EAAG,G,kCCA7pB,yBAAgrB,EAAG,G,oECAnrB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,SAAS,CAACF,EAAG,IAAI,CAACJ,EAAIO,GAAG,iBAAiBH,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,UAAU,CAACI,MAAM,CAAC,cAAc,OAAO,QAAS,EAAK,KAAO,UAAU,CAACJ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,QAAQ,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,YAAYC,MAAM,CAACC,MAAOV,EAAIW,KAAS,KAAEC,SAAS,SAAUC,GAAMb,EAAIc,KAAKd,EAAIW,KAAM,OAAQE,IAAME,WAAW,gBAAgB,GAAGX,EAAG,eAAe,CAACA,EAAG,YAAY,CAACI,MAAM,CAAC,KAAO,UAAU,KAAO,mBAAmB,CAACR,EAAIO,GAAG,QAAQH,EAAG,YAAY,CAACI,MAAM,CAAC,KAAO,WAAWQ,GAAG,CAAC,MAAQ,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kBAEM,KAAN,qCACM,KAAN,WAEIO,QARJ,WAQA,WACA,YACMxC,KAAKyC,KAAKC,eAAeC,GAAMC,MAAK,SAA1C,GAC0B,KAAdC,EAAIC,QACN,EAAV,sBACU,EAAV,yBAEU,EAAV,UACYC,QAASF,EAAIE,QACbC,KAAM,cAKdlB,IAtBJ,SAsBA,cACM,KAAN,uBACQ,KAAR,YACA,iBACQ,EAAR,iBAAU,GAAV,sBACU,EAAV,UACY,QAAZ,OACY,KAAZ,YAEU,EAAV,kBAKEmB,QAhDF,WAiDIjD,KAAKwC,YC7Gyb,I,wBCQ9bU,EAAY,eACd,EACApD,EACAoC,GACA,EACA,KACA,KACA,MAIa,aAAAgB,E,2CCnBf,IAAIpD,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACI,MAAM,CAAC,WAAa,GAAG,YAAY,GAAG,aAAa,CAAC,GAAI,GAAI,GAAI,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,OAAS,gCAAgC,MAAQR,EAAIiC,OAAOjB,GAAG,CAAC,iBAAiBhB,EAAIyC,QAAQ,cAAczC,EAAIoD,qBACnTjB,EAAkB,GCuBtB,GACE,KADF,WAEI,MAAJ,CACM,KAAN,IAGE,MAAF,CACI,MAAJ,IAEE,QAAF,CACI,QADJ,SACA,GAMM,KAAN,OACM,KAAN,qBAEI,iBAVJ,SAUA,GACM,KAAN,yBC5Ckb,I,wBCQ9agB,EAAY,eACd,EACApD,EACAoC,GACA,EACA,KACA,KACA,MAIa,OAAAgB,E","file":"js/chunk-b9fc2d1c.f852cf0b.js","sourcesContent":["import mod 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.2@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.2@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"; export default mod; 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.2@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.2@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","import mod 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.2@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.2@vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; 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.2@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.2@vue-loader/lib/index.js??vue-loader-options!./Index.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('section',{staticClass:\"apply\"},[_c('p',[_vm._v(\"系统管理 > 账号管理\")]),_c('div',{staticClass:\"filter\"},[_c('el-form',{attrs:{\"label-width\":\"60px\",\"inline\":true,\"size\":\"small\"}},[_c('el-form-item',{attrs:{\"label\":\"用户名\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入用户/姓名\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-search\"}},[_vm._v(\"搜索\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.$router.push({path:'/system/addAccount'})}}},[_vm._v(\"新增用户\")])],1)],1)],1),_c('el-table',{staticClass:\"table\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"border\":\"\",\"height\":\"450px\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"账号\"}}),_c('el-table-column',{attrs:{\"prop\":\"realname\",\"label\":\"姓名\"}}),_c('el-table-column',{attrs:{\"prop\":\"ctime\",\"label\":\"创建时间\"}}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"200\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"warning\"},on:{\"click\":function($event){return _vm.$router.push({path:'/system/addAccount',query:{id: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:{\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n.apply {\r\n .filter {\r\n background: #fff;\r\n padding: 20px 20px 10px;\r\n border: 1px solid #ededed;\r\n border-radius: 2px;\r\n margin-bottom: 10px;\r\n margin-top: 10px;\r\n .el-form-item {\r\n margin-bottom: 10px;\r\n }\r\n .el-input,\r\n .el-select {\r\n width: 150px;\r\n }\r\n }\r\n thead {\r\n th {\r\n background: #eee;\r\n }\r\n }\r\n}\r\n</style>\r\n<template>\r\n <section class=\"apply\">\r\n <p>系统管理 > 账号管理</p>\r\n <div class=\"filter\">\r\n <el-form label-width=\"60px\" :inline=\"true\" size=\"small\">\r\n <el-form-item label=\"用户名\">\r\n <el-input placeholder=\"请输入用户/姓名\" v-model=\"form.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" icon=\"el-icon-search\">搜索</el-button>\r\n <el-button @click=\"$router.push({path:'/system/addAccount'})\" type=\"primary\">新增用户</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <el-table class=\"table\" :data=\"list\" border style=\"width: 100%\" height=\"450px\">\r\n <!-- <el-table-column type=\"selection\" fixed=\"left\" width=\"55\"></el-table-column> -->\r\n <el-table-column prop=\"name\" label=\"账号\"></el-table-column>\r\n <el-table-column prop=\"realname\" label=\"姓名\"></el-table-column>\r\n <!-- <el-table-column prop=\"permissions\" label=\"权限\"></el-table-column> -->\r\n <el-table-column prop=\"ctime\" label=\"创建时间\"></el-table-column>\r\n <el-table-column prop=\"zip\" width=\"200\" label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button\r\n @click=\"$router.push({path:'/system/addAccount',query:{id:scope.row.id}})\"\r\n size=\"mini\"\r\n type=\"warning\"\r\n >编辑</el-button>\r\n <el-button @click=\"del(scope.row.id)\" size=\"mini\" type=\"danger\">删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page ref=\"pageButton\" :total=\"total\" @pageChange=\"gopage\" />\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from \"../../components/Page\";\r\nexport default {\r\n name: \"account\",\r\n components: {\r\n Page\r\n },\r\n data() {\r\n return {\r\n form: { name: \"\" ,page_size:2,page:1},\r\n total: 1,\r\n list: []\r\n };\r\n },\r\n methods: {\r\n gopage(size){\r\n if(size){\r\n this.form.page_size=size\r\n }\r\n this.form.page=this.$refs.pageButton.page\r\n this.getData()\r\n },\r\n getData() {\r\n let parm=this.form\r\n this.$api.getAccountList(parm).then(res => {\r\n if (res.status == 200) {\r\n this.list = res.data.data.list;\r\n this.total = res.data.data.total;\r\n } else {\r\n this.$message({\r\n message: res.message,\r\n type: \"error\"\r\n });\r\n }\r\n });\r\n },\r\n del(id){\r\n this.$confirm('确定删除吗', '提示', {\r\n type: 'warning'\r\n }).then(() => {\r\n this.$api.delAccount({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 },\r\n created() {\r\n this.getData();\r\n }\r\n};\r\n</script>\r\n","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.1.0@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.2@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.1.0@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.2@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=78885b82&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.2@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('el-pagination',{attrs:{\"background\":\"\",\"page-size\":20,\"page-sizes\":[20, 30, 40, 50,60,70,80,90,100],\"layout\":\"sizes,total,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: $mainColor !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='20'\r\n @size-change=\"handleSizeChange\"\r\n :page-sizes=\"[20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"sizes,total,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 },\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}\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.1.0@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.2@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.1.0@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.2@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=19b5a85e&\"\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.2@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":""}