Commit 25a5dec2 authored by 艾娇平's avatar 艾娇平

更改引用方式

parent ecfaba77
...@@ -21,9 +21,8 @@ ...@@ -21,9 +21,8 @@
#import "GMToFacePayPopView.h" #import "GMToFacePayPopView.h"
#import "RequestHeader.h" #import "RequestHeader.h"
#import <GMBase/GMBaseTool.h> #import <GMBase/GMBaseTool.h>
#import <GMBaseWeb/GMBaseWeb-Swift.h>
#import <GMBaseWeb/GMWebutil.h>
@import GMBaseWeb;
#define counsellorAllHeight (573 + UIView.safeAreaInsetsBottom) #define counsellorAllHeight (573 + UIView.safeAreaInsetsBottom)
#define counsellorHalfHeight (366 + UIView.safeAreaInsetsBottom) #define counsellorHalfHeight (366 + UIView.safeAreaInsetsBottom)
#define doctorAllHeight (573 + UIView.safeAreaInsetsBottom) #define doctorAllHeight (573 + UIView.safeAreaInsetsBottom)
......
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
#import "GMEndConsultView.h" #import "GMEndConsultView.h"
#import "RequestHeader.h" #import "RequestHeader.h"
#import "GMToFaceNetworking.h" #import "GMToFaceNetworking.h"
#import <GMBaseWeb/GMBaseWeb-Swift.h> @import GMBaseWeb;
#import <WebKit/WebKit.h>
@import GMHud; @import GMHud;
@interface GMTofaceOrderDetailViewController () <WKBaseWebViewDelegate> @interface GMTofaceOrderDetailViewController () <WKBaseWebViewDelegate>
@property (nonatomic, strong) GMComplaintObject *complaintObject; @property (nonatomic, strong) GMComplaintObject *complaintObject;
...@@ -72,7 +71,7 @@ ...@@ -72,7 +71,7 @@
view.complaintType = GMComplaintTypeDoctor; view.complaintType = GMComplaintTypeDoctor;
view.complaintFinish = ^(NSInteger complaintStatus) { view.complaintFinish = ^(NSInteger complaintStatus) {
NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('notificReportState')"]; NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('notificReportState')"];
[self.webCompent.webView evaluateJavaScript:jsStr completionHandler:nil]; [self.webCompent.webView _safeAsyncEvaluateJavaScript:jsStr completionHandler:nil];
}; };
[[GMBaseTool getCurrentViewController].view addSubview:view]; [[GMBaseTool getCurrentViewController].view addSubview:view];
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#import "NSString+CalculateSize.h" #import "NSString+CalculateSize.h"
#import "WMTagObject.h" #import "WMTagObject.h"
#import <GMBase/GMBaseTool.h> #import <GMBase/GMBaseTool.h>
#import <GMBaseWeb/GMWebutil.h> @import GMBaseWeb;
@import GMHud; @import GMHud;
@import GMRouter; @import GMRouter;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#import "GMGMDiagnosisWorkingTableScrollView.h" #import "GMGMDiagnosisWorkingTableScrollView.h"
#import "RequestHeader.h" #import "RequestHeader.h"
#import "GMLibraryHeader.h" #import "GMLibraryHeader.h"
//#import "WMBrowserViewController.h"
@import GMRouter; @import GMRouter;
@interface GMServiceDataItemView() @interface GMServiceDataItemView()
@property (nonatomic, strong) UILabel *line; @property (nonatomic, strong) UILabel *line;
......
...@@ -12,10 +12,9 @@ ...@@ -12,10 +12,9 @@
#import "GMComplaintResultView.h" #import "GMComplaintResultView.h"
#import "GMComplaintObject.h" #import "GMComplaintObject.h"
#import "RequestHeader.h" #import "RequestHeader.h"
#import <GMBaseWeb/GMBaseWeb-Swift.h>
#import <GMFoundation/GMFoundation-umbrella.h> #import <GMFoundation/GMFoundation-umbrella.h>
@import GMBaseWeb;
@import GMNetworking; @import GMNetworking;
@import WebKit.WKWebView;
@interface GMBusinessReportListController () <WKBaseWebViewDelegate> @interface GMBusinessReportListController () <WKBaseWebViewDelegate>
@end @end
...@@ -42,7 +41,7 @@ ...@@ -42,7 +41,7 @@
@"state" : @(1) @"state" : @(1)
}; };
NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('notificReportState','%@')", [NSString convertToBriefJsonString:params]]; NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('notificReportState','%@')", [NSString convertToBriefJsonString:params]];
[self.webCompent.webView evaluateJavaScript:jsStr completionHandler:nil]; [self.webCompent.webView _safeAsyncEvaluateJavaScript:jsStr completionHandler:nil];
} }
- (NSString *)moreQueryParameters { - (NSString *)moreQueryParameters {
...@@ -60,7 +59,7 @@ ...@@ -60,7 +59,7 @@
@"state" : @(complaintStatus) @"state" : @(complaintStatus)
}; };
NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('notificReportState','%@')", [NSString convertToBriefJsonString:params]]; NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('notificReportState','%@')", [NSString convertToBriefJsonString:params]];
[self.webCompent.webView evaluateJavaScript:jsStr completionHandler:nil]; [self.webCompent.webView _safeAsyncEvaluateJavaScript:jsStr completionHandler:nil];
}; };
[[GMBaseTool getCurrentViewController].view addSubview:view]; [[GMBaseTool getCurrentViewController].view addSubview:view];
} else { } else {
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
#import "RequestHeader.h" #import "RequestHeader.h"
#import "GMAIUploadImagesManager.h" #import "GMAIUploadImagesManager.h"
//#import "GMUploadImagesManager.h" //#import "GMUploadImagesManager.h"
#import <GMBaseWeb/GMBaseWeb-Swift.h>
#import <GMbase/GMBaseTool.h> #import <GMbase/GMBaseTool.h>
@import GMBaseWeb;
@import GMHud; @import GMHud;
@import GMNetworking; @import GMNetworking;
@import GMFoundation; @import GMFoundation;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#import "GMEditQuesPartViewModel.h" #import "GMEditQuesPartViewModel.h"
#import "GMBusinessReportListController.h" #import "GMBusinessReportListController.h"
#import <GMBase/GMBaseTool.h> #import <GMBase/GMBaseTool.h>
//#import "WMBrowserViewController.h"
#import "RequestHeader.h" #import "RequestHeader.h"
@import GMHud; @import GMHud;
@import GMRouter; @import GMRouter;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// Copyright © 2020 更美互动信息科技有限公司. All rights reserved. // Copyright © 2020 更美互动信息科技有限公司. All rights reserved.
// //
#import "GMWebViewController.h" @import GMBaseWeb;
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
......
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
#import "GMToFaceOrderInfoModel.h" #import "GMToFaceOrderInfoModel.h"
#import "GMToFaceNetworking.h" #import "GMToFaceNetworking.h"
#import "NSString+AIJsonData.h" #import "NSString+AIJsonData.h"
#import <GMBase/GMBase-Swift.h> //#import <GMBase/GMBase-Swift.h>
#import "RequestHeader.h" #import "RequestHeader.h"
#import <GMBaseWeb/GMBaseWeb-Swift.h>
@import GMBase; @import GMBase;
@import WebKit.WKWebView; @import GMBaseWeb;
@interface GMViewEvaluateModel: GMObject @interface GMViewEvaluateModel: GMObject
//面诊id //面诊id
@property (nonatomic, copy) NSString *consultationId; @property (nonatomic, copy) NSString *consultationId;
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
//页面名称 //页面名称
@property (nonatomic, copy) NSString *tabName; @property (nonatomic, copy) NSString *tabName;
@end @end
@implementation GMViewEvaluateModel @end @implementation GMViewEvaluateModel @end
@interface GMDiagnoseRecordWebViewController () <WKBaseWebViewDelegate> @interface GMDiagnoseRecordWebViewController () <WKBaseWebViewDelegate>
...@@ -103,7 +104,7 @@ ...@@ -103,7 +104,7 @@
} }
NSString *str = [NSDictionary dictionaryToJson:dict]; NSString *str = [NSDictionary dictionaryToJson:dict];
NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('evaluateCallback',%@)", str]; NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('evaluateCallback',%@)", str];
[weakSelf.webCompent.webView evaluateJavaScript:jsStr completionHandler:nil]; [weakSelf.webCompent.webView _safeAsyncEvaluateJavaScript:jsStr completionHandler:nil];
}; };
view.showComplaint = model.showComplaint; view.showComplaint = model.showComplaint;
view.recordId = model.consultationId; view.recordId = model.consultationId;
...@@ -160,7 +161,7 @@ ...@@ -160,7 +161,7 @@
NSDictionary *dict = @{@"type":@(type),@"star":@(star),@"desc":desc}; NSDictionary *dict = @{@"type":@(type),@"star":@(star),@"desc":desc};
NSString *str = [NSDictionary dictionaryToJson:dict]; NSString *str = [NSDictionary dictionaryToJson:dict];
NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('confirmCallback',%@)", str]; NSString *jsStr = [NSString stringWithFormat:@"window.gm&&window.gm.pack&&window.gm.pack.run('confirmCallback',%@)", str];
[weakSelf.webCompent.webView evaluateJavaScript:jsStr completionHandler:nil]; [weakSelf.webCompent.webView _safeAsyncEvaluateJavaScript:jsStr completionHandler:nil];
}; };
popView.infoModel = infoModel; popView.infoModel = infoModel;
[[GMBaseTool mainWindow] addSubview:popView]; [[GMBaseTool mainWindow] addSubview:popView];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment