zsw007 3 gadi atpakaļ
vecāks
revīzija
3e4f065ff2

+ 2 - 2
src/api/index.js

@@ -3,8 +3,8 @@ import config from './config.js';
 
 axios.default.timeout = 500000;
 axios.defaults.headers.post['Content-Type'] = "application/json;charset=utf-8";
-// axios.defaults.baseURL = 'http://192.168.2.236:6060';
-// axios.defaults.baseURL = 'http://192.168.2.241';
+//axios.defaults.baseURL = 'http://192.168.2.236:6060';
+axios.defaults.baseURL = 'http://192.168.2.241';
 // axios.defaults.baseURL = 'http://192.168.3.113:6060';
 
 

+ 8 - 7
src/components/callRecord/CallRecordManager.vue

@@ -312,6 +312,8 @@ export default {
     setTimeout(function () {
       that.getDataList();
     });
+
+    
   },
   computed: {
   //   pickerOptions: {
@@ -385,13 +387,11 @@ export default {
           loading.close();
           if (res.data.code == "0") {
             const data = res.data.data;
+            console.log('data???', data);
             for (let j = 0; j < data.records.length; j++) {
               data.records[j].successFlag == "1" ? "成功" : "失败";
             }
             this.list = data.records;
-            this.gmtReq = list.map(item => {
-              return item.gmtReq.tofixed(2)
-            })
             console.log("调用接口数据:", this.list);
             if (!flag) {
               //搜索时不缓存
@@ -400,6 +400,7 @@ export default {
               this.cacheData = {};
             }
             this.total = data.total;
+            console.log('total????', this.total);
             if (this.inCurrentPage !== undefined) {
               this.currentPage = this.inCurrentPage;
               this.inCurrentPage = undefined;
@@ -456,10 +457,10 @@ export default {
         patientId: this.filter.patientId.trim(), // 患者标识
         sceneName: this.filter.sceneName.trim(), // 服务名
         successFlag: this.filter.successFlag,
-        startGmtReq: startGmtReq ? startGmtReq : null,
-        endGmtReq: endGmtReq ? endGmtReq : null,
-        startGmtResp: startGmtResp ? startGmtResp : null,
-        endGmtResp: endGmtResp ? endGmtResp : null,
+        startGmtReq: startGmtReq,
+        endGmtReq: endGmtReq,
+        startGmtResp: startGmtResp,
+        endGmtResp: endGmtResp,
         subHospitalName: this.filter.subHospitalName.trim(), // 子院区
       };
       return param;

+ 2 - 0
src/components/knowledgeExtra/RuleManager.vue

@@ -278,6 +278,7 @@ export default {
           loading.close();
           if (res.data.code == '0') {
             const data = res.data.data;
+            console.log('data????', data);
             for (let j = 0; j < data.records.length; j++) {
               data.records[j].condition =
                 data.records[j].parStatus == '1' ? '启用' : '禁用';
@@ -290,6 +291,7 @@ export default {
               this.cacheData = {};
             }
             this.total = data.total;
+            console.log('total????', this.total);
             if (this.inCurrentPage !== undefined) {
               this.currentPage = this.inCurrentPage;
               this.inCurrentPage = undefined;