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
c8f045e7
Commit
c8f045e7
authored
Mar 21, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 测试代码
parent
d0adfc21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
41 deletions
+41
-41
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+23
-23
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+18
-18
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
c8f045e7
...
...
@@ -139,17 +139,17 @@ extension YHServiceCenterMainViewModel {
if
resultModel
.
supplement_not_submit_num
>
0
{
let
model2
=
YHContactMainItemStatusModel
()
model2
.
type
=
2
model2
.
isFinished
=
false
arrContactStausItmes
.
append
(
model2
)
}
else
{
let
model2
=
YHContactMainItemStatusModel
()
model2
.
type
=
2
model2
.
isFinished
=
true
arrContactStausItmes
.
append
(
model2
)
}
//
if resultModel.supplement_not_submit_num > 0 {
//
let model2 = YHContactMainItemStatusModel()
//
model2.type = 2
//
model2.isFinished = false
//
arrContactStausItmes.append(model2)
//
} else {
//
let model2 = YHContactMainItemStatusModel()
//
model2.type = 2
//
model2.isFinished = true
//
arrContactStausItmes.append(model2)
//
}
//我的评分
...
...
@@ -160,27 +160,27 @@ extension YHServiceCenterMainViewModel {
// if resultModel.my_document {
//我的文书
let
model4
=
YHContactMainItemStatusModel
()
model4
.
type
=
4
model4
.
isFinished
=
true
arrContactStausItmes
.
append
(
model4
)
//
let model4 = YHContactMainItemStatusModel()
//
model4.type = 4
//
model4.isFinished = true
//
arrContactStausItmes.append(model4)
// }
// if resultModel.my_signature {
//我的签字
let
model5
=
YHContactMainItemStatusModel
()
model5
.
type
=
5
model5
.
isFinished
=
true
arrContactStausItmes
.
append
(
model5
)
//
let model5 = YHContactMainItemStatusModel()
//
model5.type = 5
//
model5.isFinished = true
//
arrContactStausItmes.append(model5)
// }
// if resultModel.scheme_position_switch == 1 {
//我的方案
let
model6
=
YHContactMainItemStatusModel
()
model6
.
type
=
6
model6
.
isFinished
=
true
arrContactStausItmes
.
append
(
model6
)
//
let model6 = YHContactMainItemStatusModel()
//
model6.type = 6
//
model6.isFinished = true
//
arrContactStausItmes.append(model6)
// }
}
else
{
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
c8f045e7
...
...
@@ -209,24 +209,24 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
}
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
];
// 预览文件预研 杜宇todo
if
item
.
title
==
"我的消息"
{
YHHUD
.
flash
(
message
:
"预览image"
)
self
.
openXLSXRemoteFile
(
urlString
:
"https://upload-cdn.galaxy-immi.com/crm/production/1620280305822.jpg"
)
}
else
if
item
.
title
==
"我的进度"
{
YHHUD
.
flash
(
message
:
"预览pdf"
)
self
.
openXLSXRemoteFile
(
urlString
:
"https://upload-cdn.galaxy-immi.com/crm/production/1620271660487.pdf"
)
}
else
if
item
.
title
==
"积分中心"
{
YHHUD
.
flash
(
message
:
"预览xlsx"
)
self
.
openXLSXRemoteFile
(
urlString
:
"https://test-cdn.galaxy-immi.com/4001001/8979989729091623170120240321152216.xlsx?Expires=1711007546&OSSAccessKeyId=LTAI5tNFvK2xGRrBeJ2z8R2j&Signature=UfM6tRcws5ObN4rp/3ZESEWbM2E%3D&v=1711005746"
)
}
else
if
item
.
title
==
"推荐有理"
{
}
else
if
item
.
title
==
"我的海报"
{
}
else
if
item
.
title
==
"我的测评码"
{
}
//
let item: PersonalModuleItem = items[indexPath.row];
//
// 预览文件预研 杜宇todo
//
if item.title == "我的消息" {
//
YHHUD.flash(message: "预览image")
//
self.openXLSXRemoteFile(urlString: "https://upload-cdn.galaxy-immi.com/crm/production/1620280305822.jpg")
//
} else if item.title == "我的进度" {
//
YHHUD.flash(message: "预览pdf")
//
self.openXLSXRemoteFile(urlString: "https://upload-cdn.galaxy-immi.com/crm/production/1620271660487.pdf")
//
} else if item.title == "积分中心" {
//
YHHUD.flash(message: "预览xlsx")
//
self.openXLSXRemoteFile(urlString: "https://test-cdn.galaxy-immi.com/4001001/8979989729091623170120240321152216.xlsx?Expires=1711007546&OSSAccessKeyId=LTAI5tNFvK2xGRrBeJ2z8R2j&Signature=UfM6tRcws5ObN4rp/3ZESEWbM2E%3D&v=1711005746")
//
} else if item.title == "推荐有理" {
//
//
} else if item.title == "我的海报" {
//
//
} else if item.title == "我的测评码" {
//
//
}
// if item.title == "关于我们" {
...
...
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