LiuTeng 1 year ago
parent
commit
e152ffb1ba
2 changed files with 31 additions and 31 deletions
  1. 5 5
      src/api/report.js
  2. 26 26
      src/views/report/components/selectDate.vue

+ 5 - 5
src/api/report.js

@@ -42,7 +42,7 @@ export function qylb(data) {
   })
 }
 //查询纳税人信息
-export function info1(data) {
+export function nsrxx(data) {
   return request({
     url: `/tax/informationSelect/enterpriseInformationQuery`,
     method: 'post',
@@ -50,7 +50,7 @@ export function info1(data) {
   })
 }
 //纳税信用级别查询
-export function info2(data) {
+export function nsxyjb(data) {
   return request({
     url: `/tax/informationSelect/currentCreditRating`,
     method: 'post',
@@ -58,7 +58,7 @@ export function info2(data) {
   })
 }
 //纳税人缴纳税款信息
-export function info3(data) {
+export function skxx(data) {
   return request({
     url: `/tax/informationSelect/queryBusinessWss`,
     method: 'post',
@@ -66,7 +66,7 @@ export function info3(data) {
   })
 }
 //欠税信息查询
-export function info4(data) {
+export function qsxx(data) {
   return request({
     url: `/tax/informationSelect/qsxxcx`,
     method: 'post',
@@ -74,7 +74,7 @@ export function info4(data) {
   })
 }
 //违法违章信息查询
-export function info5(data) {
+export function wfwzxx(data) {
   return request({
     url: `/tax/informationSelect/illegalInformationSelect`,
     method: 'post',

+ 26 - 26
src/views/report/components/selectDate.vue

@@ -104,11 +104,11 @@
 
 <script>
 import {
-  info1,
-  info2,
-  info3,
-  info4,
-  info5,
+  nsrxx,
+  nsxyjb,
+  skxx,
+  qsxx,
+  wfwzxx,
   pzhd,
   getGZ,
   ysbxxcx,
@@ -198,14 +198,14 @@ export default {
     async nextStep() {
       this.showLoading = true;
       await this.getGZ();
-      await this.info1();
-      await this.info2();
-      await this.info3();
-      await this.info4();
-      await this.info5();
-      await this.info6();
-      await this.info7();
-      await this.info8();
+      await this.nsrxx();
+      await this.nsxyjb();
+      await this.skxx();
+      await this.qsxx();
+      await this.wfwzxx();
+      await this.dbsx();
+      await this.fxtx();
+      await this.pzhd();
       setTimeout(() => {
         this.showLoading = false;
         this.$emit("update:nowPage", {
@@ -226,7 +226,7 @@ export default {
       });
     },
     //查询纳税人信息
-    info1() {
+    nsrxx() {
       return new Promise((resolve, reject) => {
         let from = {};
         from.djxh = JSON.parse(sessionStorage.getItem("enterprise")).djxh;
@@ -237,7 +237,7 @@ export default {
           sjry: "96109970015",
         };
         from.headVo = headVo;
-        info1(from).then((res) => {
+        nsrxx(from).then((res) => {
           if (res.code == 200) {
             sessionStorage.setItem(
               "MESSAGE",
@@ -249,7 +249,7 @@ export default {
       });
     },
     //纳税信用级别查询
-    info2() {
+    nsxyjb() {
       return new Promise((resolve, reject) => {
         let from = {};
         from.reqVO = {
@@ -260,7 +260,7 @@ export default {
           sjjg: "16109970500",
           sjry: "96109970015",
         };
-        info2(from).then((res) => {
+        nsxyjb(from).then((res) => {
           if (res.code == 200 && res.data != null) {
             sessionStorage.setItem("RANK", JSON.stringify(res.data));
             if (res.data.zbList) {
@@ -277,7 +277,7 @@ export default {
       });
     },
     //纳税人缴纳税款信息
-    info3() {
+    skxx() {
       return new Promise((resolve, reject) => {
         let from = {};
         from.zmWszjnskcxtjVO = {
@@ -301,7 +301,7 @@ export default {
           sjjg: "16109970500",
           sjry: "96109970015",
         };
-        info3(from).then((res) => {
+        skxx(from).then((res) => {
           if (res.code == 200) {
             sessionStorage.setItem("RECORD", JSON.stringify(res.result));
           }
@@ -310,7 +310,7 @@ export default {
       });
     },
     //欠税信息查询
-    info4() {
+    qsxx() {
       return new Promise((resolve, reject) => {
         let from = {};
         from.lxzlDm = "";
@@ -320,7 +320,7 @@ export default {
           sjjg: "16109970500",
           sjry: "96109970015",
         };
-        info4(from).then((res) => {
+        qsxx(from).then((res) => {
           if (res.code == 200) {
             sessionStorage.setItem(
               "TAXLIST",
@@ -332,7 +332,7 @@ export default {
       });
     },
     //违法违章信息
-    info5() {
+    wfwzxx() {
       return new Promise((resolve, reject) => {
         let from = {};
         from.djxh = JSON.parse(sessionStorage.getItem("enterprise")).djxh;
@@ -343,7 +343,7 @@ export default {
           sjjg: "16109970500",
           sjry: "96109970015",
         };
-        info5(from).then((res) => {
+        wfwzxx(from).then((res) => {
           if (res.code == 200 && res.data.wfwzxxGridlb) {
             sessionStorage.setItem(
               "WFWZLIST",
@@ -354,7 +354,7 @@ export default {
         });
       });
     },
-    info6() {
+    dbsx() {
       return new Promise((resolve, reject) => {
         let form = {
           nsrsbh: JSON.parse(sessionStorage.getItem("enterprise")).nsrsbh,
@@ -367,7 +367,7 @@ export default {
         });
       });
     },
-    info7() {
+    fxtx() {
       return new Promise((resolve, reject) => {
         let form = {
           nsrsbh: JSON.parse(sessionStorage.getItem("enterprise")).nsrsbh,
@@ -380,7 +380,7 @@ export default {
         });
       });
     },
-    info8() {
+    pzhd() {
       return new Promise((resolve, reject) => {
         let from = {};
         from.djxh = JSON.parse(sessionStorage.getItem("enterprise")).djxh;