Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
zhangzhonghua
/
BoneHouse_Business_APP
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
aef9bcf4
authored
Apr 25, 2023
by
peii
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat: 自助下单增加各种字段
parent
d4018b0a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
app/action/SelfAction.js
app/containers/home/HomePage.js
app/containers/selfOrder/SelfOrderPage.js
app/containers/selfOrder/module/ChooseProductPage.js
app/reducers/module/login.js
app/action/SelfAction.js
View file @
aef9bcf4
...
@@ -433,7 +433,7 @@ export async function requestSurgeryType(global_domain_config, params) {
...
@@ -433,7 +433,7 @@ export async function requestSurgeryType(global_domain_config, params) {
}
}
/**
/**
* @description: 请求
临调订单
各种显示
* @description: 请求
自助下单病人
各种显示
* @param {*}
* @param {*}
* @return {*}
* @return {*}
*/
*/
...
@@ -442,7 +442,7 @@ export function getLendOrderCodeValues() {
...
@@ -442,7 +442,7 @@ export function getLendOrderCodeValues() {
let
{
global_domain_config
,
token
}
=
getState
().
login
let
{
global_domain_config
,
token
}
=
getState
().
login
const
params
=
{
const
params
=
{
access_token
:
token
,
access_token
:
token
,
value_set_code
:
'OBS_MOBILE_
LEND_ORDER
'
,
value_set_code
:
'OBS_MOBILE_
PATIENT_INFO
'
,
}
}
GetRequest
(
global_domain_config
,
getUrlParams
(
'/system/value_set/search'
,
params
)).
then
(
res
=>
{
GetRequest
(
global_domain_config
,
getUrlParams
(
'/system/value_set/search'
,
params
)).
then
(
res
=>
{
const
values
=
R
.
pathOr
([],
[
'data'
,
'sys_values'
])(
res
)
const
values
=
R
.
pathOr
([],
[
'data'
,
'sys_values'
])(
res
)
...
...
app/containers/home/HomePage.js
View file @
aef9bcf4
...
@@ -242,7 +242,7 @@ class HomePage extends Component {
...
@@ -242,7 +242,7 @@ class HomePage extends Component {
const
{
tabs
}
=
this
.
state
const
{
tabs
}
=
this
.
state
const
businessModule
=
R
.
find
(
R
.
propEq
(
'code'
,
'MOBILE_BUSINESS_MODULE'
))(
tabs
)
const
businessModule
=
R
.
find
(
R
.
propEq
(
'code'
,
'MOBILE_BUSINESS_MODULE'
))(
tabs
)
if
(
isBlank
(
businessModule
))
return
if
(
isBlank
(
businessModule
))
return
const
lendOrder
=
R
.
find
(
R
.
propEq
(
'function_code'
,
'MOBILE_
LEND
_ORDER'
))(
businessModule
.
children
)
const
lendOrder
=
R
.
find
(
R
.
propEq
(
'function_code'
,
'MOBILE_
SELF_HELP
_ORDER'
))(
businessModule
.
children
)
if
(
isBlank
(
lendOrder
))
return
if
(
isBlank
(
lendOrder
))
return
this
.
props
.
getLendOrderCodeValues
()
this
.
props
.
getLendOrderCodeValues
()
...
...
app/containers/selfOrder/SelfOrderPage.js
View file @
aef9bcf4
This diff is collapsed.
Click to expand it.
app/containers/selfOrder/module/ChooseProductPage.js
View file @
aef9bcf4
...
@@ -140,7 +140,7 @@ class ChooseProductPage extends Component {
...
@@ -140,7 +140,7 @@ class ChooseProductPage extends Component {
item
=
R
.
mergeDeepLeft
(
topItem
,
item
)
item
=
R
.
mergeDeepLeft
(
topItem
,
item
)
}
}
return
item
return
item
})(
originManufacterList
)
})(
originManufacterList
||
[]
)
setSelectProductOpts
(
res
)
setSelectProductOpts
(
res
)
this
.
props
.
navigation
.
state
.
params
.
productCallBack
(
res
)
this
.
props
.
navigation
.
state
.
params
.
productCallBack
(
res
)
...
...
app/reducers/module/login.js
View file @
aef9bcf4
...
@@ -42,6 +42,7 @@ const defaultState = {
...
@@ -42,6 +42,7 @@ const defaultState = {
SUR_FEE_TYPE
:
[],
SUR_FEE_TYPE
:
[],
SUR_ORDER_TYPE
:
[],
SUR_ORDER_TYPE
:
[],
ORTHOPEDICS_PRODUCT_CLASS
:
[],
ORTHOPEDICS_PRODUCT_CLASS
:
[],
SUR_COLLECT_PRINT_TEMPLATE
:
[]
},
},
organizations
:
[],
organizations
:
[],
}
}
...
@@ -68,6 +69,7 @@ export const originSysValueSets = {
...
@@ -68,6 +69,7 @@ export const originSysValueSets = {
SUR_FEE_TYPE
:
[],
SUR_FEE_TYPE
:
[],
SUR_ORDER_TYPE
:
[],
SUR_ORDER_TYPE
:
[],
ORTHOPEDICS_PRODUCT_CLASS
:
[],
ORTHOPEDICS_PRODUCT_CLASS
:
[],
SUR_COLLECT_PRINT_TEMPLATE
:
[]
}
}
export
default
login
=
(
state
=
defaultState
,
action
)
=>
{
export
default
login
=
(
state
=
defaultState
,
action
)
=>
{
...
...
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