Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
96c6429b
Commit
96c6429b
authored
Aug 10, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
else {
YHHUD.flash(message: "保存失败,请检查系统权限") }
parent
cc34de1d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
6 deletions
+41
-6
YHInvatationShareViewController.swift
...onWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
+2
-0
YHConsultantQRCodeView.swift
...y/Classes/Modules/Home(首页)/V/YHConsultantQRCodeView.swift
+1
-1
YHPrincleViewModel.swift
...erService/PrincipleBatch(原则批)/VM/YHPrincleViewModel.swift
+29
-1
YHFileListViewController.swift
...ice(服务中心)/FileList(文件清单)/C/YHFileListViewController.swift
+1
-1
YHMyFileListViewController.swift
...e(服务中心)/FileList(文件清单)/C/YHMyFileListViewController.swift
+1
-1
YHH5WebViewVC.swift
.../Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
+2
-0
YHLongtapPictureSheetView.swift
...dules/PictureReview(图片预览)/YHLongtapPictureSheetView.swift
+2
-0
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+3
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
View file @
96c6429b
...
...
@@ -160,6 +160,8 @@ extension YHInvatationShareViewController {
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHConsultantQRCodeView.swift
View file @
96c6429b
...
...
@@ -195,7 +195,7 @@ class YHConsultantQRCodeView: UIView {
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(image:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"
没有访问图库
权限"
)
YHHUD
.
flash
(
message
:
"
保存失败,请检查系统
权限"
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/VM/YHPrincleViewModel.swift
View file @
96c6429b
...
...
@@ -20,7 +20,6 @@ class YHPrincleViewModel: YHBaseViewModel {
var
alertStatusModel
:
YHPrincipleAlertStatusModel
?
//正式批 操作指引是否确认
// var officialGuildCheckModel : YHPrincipleAlertStatusModel?
var
isOfficialGuildCheckFlag
:
Bool
=
false
}
...
...
@@ -28,6 +27,35 @@ class YHPrincleViewModel: YHBaseViewModel {
extension
YHPrincleViewModel
{
//获取获批信列表
func
getApprovalLetter
(
param
:[
String
:
Any
],
callback
:((
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())?)
{
let
param
=
[
"IdentifyGetHKAcceptOperateGuid"
:
2
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Principle
.
getApprovalLetterApi
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
param
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
printLog
(
"model 是 ==>
\(
json
)
"
)
if
json
.
code
==
200
{
// guard let resultModel = YHPrincipleAlertStatusModel.deserialize(dict: dic as? [AnyHashable : Any]) else {
// let err = YHErrorModel(errorCode: YHErrorCode.dictParseError.rawValue, errorMsg: YHErrorCode.dictParseError.description())
// callback?(false, err)
// return
// }
// self.alertStatusModel = resultModel
// callback?(true, nil)
}
else
{
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
callback
?(
false
,
err
)
}
}
failBlock
:
{
err
in
callback
?(
false
,
err
)
}
}
//上报弹窗状态
func
postAlertStatus
(
_
type
:
Int
,
callback
:((
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())?)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/C/YHFileListViewController.swift
View file @
96c6429b
...
...
@@ -237,7 +237,7 @@ extension YHFileListViewController {
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(image:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"
没有访问图库
权限"
)
YHHUD
.
flash
(
message
:
"
保存失败,请检查系统
权限"
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/C/YHMyFileListViewController.swift
View file @
96c6429b
...
...
@@ -493,7 +493,7 @@ extension YHMyFileListViewController {
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(image:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"
没有访问图库
权限"
)
YHHUD
.
flash
(
message
:
"
保存失败,请检查系统
权限"
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
View file @
96c6429b
...
...
@@ -310,6 +310,8 @@ extension YHH5WebViewVC {
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/PictureReview(图片预览)/YHLongtapPictureSheetView.swift
View file @
96c6429b
...
...
@@ -258,6 +258,8 @@ private extension YHLongtapPictureSheetView {
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
96c6429b
...
...
@@ -378,14 +378,15 @@ class YHAllApiName {
}
struct
Principle
{
//获取 获批信列表
static
let
getApprovalLetterApi
=
"super-app/order/information/approval-letter"
//上报原则批弹窗已展示
static
let
postAlertStatusApi
=
"super-app/common/agreement/add"
//原则批、正式批弹窗状态
static
let
getAlertStatusApi
=
"super-app/home/agreement-check"
//正式批操作指引是否确认
static
let
getOfficialCheckStatusApi
=
"super-app/common/agreement/check"
// 原则批审批结果
static
let
getReviewResult
=
"super-app/order/approval/principle"
// 获取档案号列表
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment