\r\n \r\n\r\n \r\n
\r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Servico.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Servico.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Servico.vue?vue&type=template&id=c3a93f6c&\"\nimport script from \"./Servico.vue?vue&type=script&lang=js&\"\nexport * from \"./Servico.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/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","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service';\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/tributario/contribuinteservico/';\r\n\r\nclass ContribuinteServicoService {\r\n constructor() {\r\n this.idCliente = null;\r\n LoginService.currentUser.subscribe(data => {\r\n this.headers = {\r\n 'Content-Type':'application/json',\r\n 'authorization':'Bearer ' + (data ? data.token:'')\r\n };\r\n });\r\n }\r\n\r\n findAllServicos(idContribuinte) {\r\n return axios.get(API_URL + 'all?idContribuinte='+idContribuinte, {headers: this.headers});\r\n }\r\n\r\n findAllNfAvulsa(filtro, idContribuinte) {\r\n this.idCliente = LoginService.currentUserValue.usuario.idCliente;\r\n return axios.get(API_URL + 'allNfAvulsa?filtro='+filtro+'&idCliente='+this.idCliente+'&idContribuinte='+idContribuinte, {headers: this.headers}).then(response => (this.data = response.data));\r\n }\r\n\r\n findAllServicosByContribuinteFiltro(filtro, idContribuinte) {\r\n return axios.get(API_URL + 'filter?idContribuinte='+idContribuinte+'&filtro='+filtro, {headers: this.headers}).then(response => (this.data = response.data.elements));\r\n }\r\n \r\n}\r\n\r\nexport default new ContribuinteServicoService();","import axios from 'axios';\r\nimport LoginService from '../acesso/login.service';\r\n\r\nconst API_URL = process.env.VUE_APP_BASE_URL + '/api/tributario/servico/';\r\n\r\nclass ServicosService {\r\n constructor() {\r\n LoginService.currentUser.subscribe(data => {\r\n this.headers = {\r\n 'Content-Type':'application/json',\r\n 'authorization':'Bearer ' + (data ? data.token:'')\r\n };\r\n });\r\n }\r\n\r\n findAllServicos(idCliente) {\r\n return axios.get(API_URL + 'all?idCliente='+idCliente, {headers: this.headers});\r\n }\r\n\r\n findAllByClienteFiltro(filtro, idCliente) {\r\n return axios.get(API_URL + 'filter?filtro='+filtro+'&idCliente='+idCliente, {headers: this.headers}).then(response => (this.data = response.data));\r\n }\r\n}\r\n\r\nexport default new ServicosService();"],"sourceRoot":""}