Commit aef9bcf4 by peii

feat: 自助下单增加各种字段

parent d4018b0a
...@@ -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)
......
...@@ -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()
......
...@@ -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)
......
...@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment