Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
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
hanpeng
wechat_lung
Commits
51c92a59
Commit
51c92a59
authored
Jul 17, 2020
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'id-315-处理老数据已‘,’开头问题'
parent
2155d79a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
targetedTherapy-12.js
wechat_lung_questionnaire/javaScript/targetedTherapy-12.js
+5
-1
No files found.
wechat_lung_questionnaire/javaScript/targetedTherapy-12.js
View file @
51c92a59
...
@@ -746,7 +746,11 @@ checkedState:'',
...
@@ -746,7 +746,11 @@ checkedState:'',
}
else
{
}
else
{
$
(
'.content_body_reimbursement_has,.content_body_drugCost_has'
).
hide
()
$
(
'.content_body_reimbursement_has,.content_body_drugCost_has'
).
hide
()
}
}
console
.
log
(
targetedTherapy
.
preTreatmentTypeVal
)
// 处理老数据 以,开头的数据 不处理会报错
if
(
targetedTherapy
.
preTreatmentTypeVal
.
startsWith
(
','
)){
targetedTherapy
.
preTreatmentTypeVal
=
targetedTherapy
.
preTreatmentTypeVal
.
substring
(
1
,
targetedTherapy
.
preTreatmentTypeVal
.
length
)
}
var
acceptingCureArr
=
targetedTherapy
.
preTreatmentTypeVal
.
split
(
','
)
var
acceptingCureArr
=
targetedTherapy
.
preTreatmentTypeVal
.
split
(
','
)
console
.
log
(
acceptingCureArr
)
console
.
log
(
acceptingCureArr
)
var
accArr
=
[]
var
accArr
=
[]
...
...
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