{"ast":null,"code":"export default {\n name: \"DeletePerson\",\n data() {\n return {\n proxy: \"/springbootServer\",\n urlDelete: \"/personBaseInfo_881_1/delete\",\n message: \"如确定删除请点击删除按钮\",\n id: this.$route.query.id\n };\n },\n methods: {\n deletePerson() {\n let url = this.proxy + this.urlDelete + \"?id=\" + this.id;\n console.log(url);\n let that = this;\n this.axios.get(url).then(function (response) {\n console.log(response);\n //console.log(response.data.code);\n that.message = \"删除成功\";\n }, function (error) {\n that.message = \"删除失败\";\n console.log(error.data);\n });\n }\n },\n mounted() {\n //this.delete();\n window.myVue = this;\n }\n};","map":{"version":3,"names":["name","data","proxy","urlDelete","message","id","$route","query","methods","deletePerson","url","console","log","that","axios","get","then","response","error","mounted","window","myVue"],"sources":["C:\\exam_app\\app_vue\\src\\components\\person_881_1\\DeletePerson.vue"],"sourcesContent":["\r\n\r\n\r\n\r\n\r\n\r\n\r\n"],"mappings":"AAOI,eAAe;EACXA,IAAI,EAAE,cAAc;EACpBC,IAAIA,CAAA,EAAE;IACF,OAAM;MACFC,KAAK,EAAC,mBAAmB;MACzBC,SAAS,EAAC,8BAA8B;MACxCC,OAAO,EAAC,cAAc;MACtBC,EAAE,EAAC,IAAI,CAACC,MAAM,CAACC,KAAK,CAACF;IAEzB;EACJ,CAAC;EACDG,OAAO,EAAC;IACJC,YAAYA,CAAA,EAAE;MACV,IAAIC,GAAE,GAAI,IAAI,CAACR,KAAK,GAAC,IAAI,CAACC,SAAS,GAAC,MAAM,GAAC,IAAI,CAACE,EAAE;MAClDM,OAAO,CAACC,GAAG,CAACF,GAAG,CAAC;MAChB,IAAIG,IAAG,GAAI,IAAI;MAEf,IAAI,CAACC,KAAK,CAACC,GAAG,CAACL,GAAG,CAAC,CAACM,IAAI,CACpB,UAAUC,QAAQ,EAAE;QAChBN,OAAO,CAACC,GAAG,CAACK,QAAQ;QACpB;QACAJ,IAAI,CAACT,OAAO,GAAC,MAAM;MACvB,CAAC,EACD,UAAUc,KAAK,EAAE;QACbL,IAAI,CAACT,OAAO,GAAC,MAAM;QACnBO,OAAO,CAACC,GAAG,CAACM,KAAK,CAACjB,IAAI,CAAC;MAC3B,CACJ;IACJ;EACJ,CAAC;EACDkB,OAAOA,CAAA,EAAG;IACN;IACAC,MAAM,CAACC,KAAK,GAAC,IAAI;EACrB;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}