forked from zhurui/management
1 line
7.1 KiB
JSON
1 line
7.1 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\\views\\modules\\test\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\test\\index.vue","mtime":1618452637717},{"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//\nexport default {\n name: \"index\",\n data: function data() {\n return {\n dialogFormVisible: false,\n form: {\n name: '',\n no: ''\n },\n formLabelWidth: '120px',\n tableData: []\n };\n },\n created: function created() {\n this.selectStudent();\n },\n methods: {\n handleEdit: function handleEdit(index, row) {\n this.dialogFormVisible = true;\n this.form = row; // 返回索引index和这一行的数据row\n // console.log(index, row);\n },\n handleDelete: function handleDelete(index, row) {\n var _this = this;\n\n this.$http.delete('system/student' + \"/\" + row.id).then(function (data) {\n console.log(data);\n _this.dialogFormVisible = false;\n\n _this.selectStudent();\n });\n console.log(index, row);\n },\n insertStudent: function insertStudent() {\n var _this2 = this;\n\n this.$http.post('system/student', this.form).then(function (data) {\n console.log(data);\n _this2.dialogFormVisible = false;\n\n _this2.selectStudent();\n });\n },\n selectStudent: function selectStudent() {\n var _this3 = this;\n\n this.$http.get('system/student').then(function (data) {\n console.log(data);\n _this3.tableData = data.data;\n });\n }\n }\n};",{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDA,eAAA;AACA,EAAA,IAAA,EAAA,OADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,iBAAA,EAAA,KADA;AAEA,MAAA,IAAA,EAAA;AACA,QAAA,IAAA,EAAA,EADA;AAEA,QAAA,EAAA,EAAA;AAFA,OAFA;AAMA,MAAA,cAAA,EAAA,OANA;AAQA,MAAA,SAAA,EAAA;AARA,KAAA;AAUA,GAbA;AAeA,EAAA,OAfA,qBAeA;AACA,SAAA,aAAA;AACA,GAjBA;AAmBA,EAAA,OAAA,EAAA;AACA,IAAA,UADA,sBACA,KADA,EACA,GADA,EACA;AACA,WAAA,iBAAA,GAAA,IAAA;AACA,WAAA,IAAA,GAAA,GAAA,CAFA,CAGA;AACA;AACA,KANA;AAOA,IAAA,YAPA,wBAOA,KAPA,EAOA,GAPA,EAOA;AAAA;;AACA,WAAA,KAAA,CAAA,MAAA,CAAA,mBAAA,GAAA,GAAA,GAAA,CAAA,EAAA,EAAA,IAAA,CAAA,UAAA,IAAA,EAAA;AACA,QAAA,OAAA,CAAA,GAAA,CAAA,IAAA;AACA,QAAA,KAAA,CAAA,iBAAA,GAAA,KAAA;;AACA,QAAA,KAAA,CAAA,aAAA;AACA,OAJA;AAKA,MAA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