Prechádzať zdrojové kódy

fix: 接入订单管理以及商情报告列表

周玉环 4 dní pred
rodič
commit
4c380b243d

+ 1 - 1
xinkeaboard-admin/src/pages/manage/models/order.js

@@ -208,7 +208,7 @@ export default {
       },
       // ai商情报告列表
       *get_ai_business_list({ payload, callback }, { call }) {
-        const response = yield call(sldCommonService, payload, 'get', 'ai/aiList');
+        const response = yield call(sldCommonService, payload, 'get', 'v3/ai/history/aiList');
         if (callback) callback(response);
       }
     },

+ 5 - 2
xinkeaboard-admin/src/pages/manage/order/enquiry/ai_business_intelligence.js

@@ -72,7 +72,7 @@ export default class EnquiryLists extends Component {
         },
         {
           title: `${sldComLanguage("月份")}`,
-          dataIndex: "email",
+          dataIndex: "queryMonth",
           align: "center",
           width: 80,
         },
@@ -134,7 +134,10 @@ export default class EnquiryLists extends Component {
     this.get_list({ pageSize: pageSize });
   }
 
-  detailRecord = () => {
+  detailRecord = (record) => {
+    if (record.pdfUrl) {
+      window.open(record.pdfUrl, '_blank')
+    }
   }
 
   //获取数据列表