Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b49a9fb1
authored
2020-05-17 18:10:43 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除测试代码
1 parent
308baf14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/pages/custom-service/components/e-correspondence-head-list.js
src/pages/custom-service/components/e-correspondence-head-list.js
View file @
b49a9fb
...
...
@@ -60,14 +60,14 @@ export default {
url
:
api
.
letterRecordList
,
sid
:
true
}).
then
(
res
=>
{
if
(
window
.
global
.
mockData
)
{
res
.
push
({
"recordId"
:
"10"
,
"bizNo"
:
"P000000000000318"
,
"letterType"
:
"2"
,
"printTime"
:
"2020-05-03 16:02:21"
,
"key"
:
"c4ace2829737459cb6c95f523e0f5223"
,
"isRead"
:
"N"
})
res
.
push
({
"recordId"
:
"10"
,
"bizNo"
:
"P000000000000319"
,
"letterType"
:
"2"
,
"printTime"
:
"2020-05-04 16:02:21"
,
"key"
:
"c4ace2829737459cb6c95f523e0f5223"
,
"isRead"
:
"N"
})
res
.
push
({
"recordId"
:
"10"
,
"bizNo"
:
"P000000000000320"
,
"letterType"
:
"2"
,
"printTime"
:
"2020-05-05 16:02:21"
,
"key"
:
"c4ace2829737459cb6c95f523e0f5223"
,
"isRead"
:
"Y"
})
res
.
push
({
"recordId"
:
"10"
,
"bizNo"
:
"P000000000000321"
,
"letterType"
:
"2"
,
"printTime"
:
"2020-05-06 16:02:21"
,
"key"
:
"c4ace2829737459cb6c95f523e0f5223"
,
"isRead"
:
"Y"
})
res
.
push
({
"recordId"
:
"10"
,
"bizNo"
:
"P000000000000322"
,
"letterType"
:
"2"
,
"printTime"
:
"2020-05-07 16:02:21"
,
"key"
:
"c4ace2829737459cb6c95f523e0f5223"
,
"isRead"
:
"Y"
})
res
.
push
({
"recordId"
:
"10"
,
"bizNo"
:
"P000000000000323"
,
"letterType"
:
"2"
,
"printTime"
:
"2020-05-08 16:02:21"
,
"key"
:
"c4ace2829737459cb6c95f523e0f5223"
,
"isRead"
:
"Y"
})
}
//
if (window.global.mockData) {
//
res.push({ "recordId": "10", "bizNo": "P000000000000318", "letterType": "2", "printTime": "2020-05-03 16:02:21", "key": "c4ace2829737459cb6c95f523e0f5223", "isRead": "N" })
//
res.push({ "recordId": "10", "bizNo": "P000000000000319", "letterType": "2", "printTime": "2020-05-04 16:02:21", "key": "c4ace2829737459cb6c95f523e0f5223", "isRead": "N" })
//
res.push({ "recordId": "10", "bizNo": "P000000000000320", "letterType": "2", "printTime": "2020-05-05 16:02:21", "key": "c4ace2829737459cb6c95f523e0f5223", "isRead": "Y" })
//
res.push({ "recordId": "10", "bizNo": "P000000000000321", "letterType": "2", "printTime": "2020-05-06 16:02:21", "key": "c4ace2829737459cb6c95f523e0f5223", "isRead": "Y" })
//
res.push({ "recordId": "10", "bizNo": "P000000000000322", "letterType": "2", "printTime": "2020-05-07 16:02:21", "key": "c4ace2829737459cb6c95f523e0f5223", "isRead": "Y" })
//
res.push({ "recordId": "10", "bizNo": "P000000000000323", "letterType": "2", "printTime": "2020-05-08 16:02:21", "key": "c4ace2829737459cb6c95f523e0f5223", "isRead": "Y" })
//
}
for
(
let
index
=
0
;
index
<
res
.
length
;
index
++
)
{
let
letter
=
res
[
index
];
if
(
letter
.
letterType
==
"2"
)
{
...
...
Please
register
or
sign in
to post a comment