1
0

2 Ревизии 224f72a0fe ... f7ccb39dfa

Автор SHA1 Съобщение Дата
  Liuteng f7ccb39dfa 1 преди 1 месец
  Liuteng 39b71e3388 1 преди 1 месец
променени са 2 файла, в които са добавени 7 реда и са изтрити 4 реда
  1. 2 2
      src/api/report.js
  2. 5 2
      src/views/report/components/selectDate.vue

+ 2 - 2
src/api/report.js

@@ -83,11 +83,11 @@ export function wfwzxx(data) {
   });
 }
 //
-export function getGZ(data) {
+export function getGZ(params) {
   return request({
     url: `/tax/informationSelect/getGZ`,
     method: "get",
-    data,
+    params,
   });
 }
 //代办事项

+ 5 - 2
src/views/report/components/selectDate.vue

@@ -236,8 +236,11 @@ export default {
     //获取章子
     getGZ() {
       return new Promise((resolve, reject) => {
-        getGZ().then((res) => {
-          if (res.code == 200) {
+        let form = {
+          swjgdm: this.$route.query.swjgdm || "",
+        };
+        getGZ(form).then((res) => {
+          if (res.code == 200 && res.result[0]) {
             resolve(res.result[0].imageUrl || "");
           } else {
             resolve("");