@jescon-technologies/react-native-ui-kit 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Common/ErrorBoundary.d.ts +15 -0
- package/dist/Common/ErrorBoundary.d.ts.map +1 -0
- package/dist/Common/ErrorBoundary.js +64 -0
- package/dist/Common/ErrorBoundary.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/src/Common/ErrorBoundary.d.ts +15 -0
- package/dist/src/Common/ErrorBoundary.d.ts.map +1 -0
- package/dist/src/Common/ErrorBoundary.js +64 -0
- package/dist/src/Common/ErrorBoundary.js.map +1 -0
- package/package.json +17 -5
- package/.gitattributes +0 -2
- package/index.d.ts +0 -66
- package/index.js +0 -66
- package/src/Alerts/AAlert.js +0 -137
- package/src/Alerts/AAlertIOS.js +0 -97
- package/src/Alerts/ABlink.js +0 -40
- package/src/Common/ErrorBoundary.tsx +0 -73
- package/src/Common/Icons.js +0 -49
- package/src/Common/NetworkServiceCall.js +0 -265
- package/src/CommonStyle/CommonTheme.js +0 -11
- package/src/CommonStyle/ComponentFunctions.js +0 -632
- package/src/CommonStyle/PopupStyle.js +0 -146
- package/src/CommonStyle/commonStyle.js +0 -93
- package/src/CommonStyle/componentStyle.js +0 -545
- package/src/CommonStyle/optionListStyles.js +0 -175
- package/src/Components/ByProductPage.js +0 -200
- package/src/Components/CDropDownListNew.js +0 -153
- package/src/Components/CSupplierList.js +0 -88
- package/src/Components/CVerificationCard.js +0 -2822
- package/src/Components/CustomButton.js +0 -67
- package/src/Components/CustomCard.js +0 -127
- package/src/Components/CustomTextInput.js +0 -47
- package/src/Components/EquipmentPage.js +0 -313
- package/src/Components/FilterInput.Copy.js +0 -723
- package/src/Components/FilterInput.js +0 -569
- package/src/Components/HSubHeading.js +0 -68
- package/src/Components/HeaderCard.js +0 -40
- package/src/Components/MoreOptionsScreen.js +0 -251
- package/src/Components/NonSwipableProductCard.js +0 -226
- package/src/Components/NonSwipableSupplierCard.js +0 -348
- package/src/Components/ProductCard.js +0 -1336
- package/src/Components/QualityProductCard.js +0 -1059
- package/src/Components/RateProductCard.js +0 -1452
- package/src/Components/RawMaterial.js +0 -261
- package/src/Components/SDropDownEdited.js +0 -549
- package/src/Components/SDropDownNew.js +0 -529
- package/src/Components/SHelpDescription.js +0 -147
- package/src/Components/STextInputNew.js +0 -510
- package/src/Components/SearchProductCard.js +0 -470
- package/src/Components/StageByProduct.js +0 -199
- package/src/Components/SupplierCard.js +0 -243
- package/src/Components/SupplierInvoiceCard.js +0 -405
- package/src/Components/SwipableSupplierCard.js +0 -136
- package/src/Components/TagTemplate.js +0 -74
- package/src/Components/WrappedComponent.js +0 -25
- package/src/Custom/CBooking.js +0 -944
- package/src/Custom/CBookingPostpone.js +0 -1822
- package/src/Custom/CCalendar.js +0 -560
- package/src/Custom/CCard.js +0 -880
- package/src/Custom/CDetailCard.js +0 -205
- package/src/Custom/CHelpImage.js +0 -52
- package/src/Custom/CReport.js +0 -569
- package/src/Custom/CScrollView.js +0 -73
- package/src/Custom/CSignature.js +0 -112
- package/src/Custom/CSliderMenu.js +0 -339
- package/src/Custom/CSupplierCard.js +0 -99
- package/src/Custom/CTemplateCard.js +0 -438
- package/src/Custom/CTokenAllocation.js +0 -1402
- package/src/Custom/CTokenListOverlay.js +0 -122
- package/src/Custom/CWardStatus.js +0 -444
- package/src/Custom/Charts/CBarChart.js +0 -218
- package/src/Custom/Charts/CDashBoardList.js +0 -133
- package/src/Custom/Charts/CDashBoardTable.js +0 -172
- package/src/Custom/Charts/CLineChart.js +0 -193
- package/src/Custom/Charts/CPieChart.js +0 -186
- package/src/Custom/Loader.js +0 -182
- package/src/Custom/OUserView.js +0 -1121
- package/src/Custom/PreviewDosage.js +0 -115
- package/src/Custom/SearchLoader.js +0 -32
- package/src/Custom/TableComponent/CActivityTable.js +0 -707
- package/src/Custom/TableComponent/CMoreButtonTable.js +0 -197
- package/src/Custom/TableComponent/CTable.js +0 -185
- package/src/Custom/TableComponent/CTextBody.js +0 -40
- package/src/Custom/TableComponent/CTextHeader.js +0 -17
- package/src/Custom/TableComponent/PreviewPrescriptionNew.js +0 -1011
- package/src/Custom/TableComponent/SDropdownTable.js +0 -491
- package/src/Custom/TableComponent/TagTable.js +0 -1200
- package/src/CustomComponents/CAddColumn.js +0 -140
- package/src/CustomComponents/CAssessmentDelete.js +0 -307
- package/src/CustomComponents/CAwesomeButton.js +0 -83
- package/src/CustomComponents/CAwesomeMoreButton.js +0 -54
- package/src/CustomComponents/CBackHandler.js +0 -273
- package/src/CustomComponents/CCalendar.js +0 -243
- package/src/CustomComponents/CCommentOverlay.js +0 -202
- package/src/CustomComponents/CComments.js +0 -162
- package/src/CustomComponents/CContainerView.js +0 -24
- package/src/CustomComponents/CCustomTextInput.js +0 -336
- package/src/CustomComponents/CDetailView.js +0 -40
- package/src/CustomComponents/CDropDownList.js +0 -153
- package/src/CustomComponents/CDropdownSelect.js +0 -555
- package/src/CustomComponents/CFooterView.js +0 -42
- package/src/CustomComponents/CImagePickerSave.js +0 -316
- package/src/CustomComponents/CModalOverlay.js +0 -91
- package/src/CustomComponents/CNetworkStatus.js +0 -327
- package/src/CustomComponents/CNotesInstructions.js +0 -1000
- package/src/CustomComponents/COverlay.js +0 -81
- package/src/CustomComponents/CRemarks.js +0 -176
- package/src/CustomComponents/CRowAdd.js +0 -143
- package/src/CustomComponents/CSummaryDropDown.js +0 -327
- package/src/CustomComponents/CText.js +0 -9
- package/src/CustomComponents/CVectorIcon.js +0 -34
- package/src/CustomComponents/HtmlContentViewer.js +0 -65
- package/src/CustomComponents/PdfContentViewer.js +0 -90
- package/src/CustomComponents/SDropDownDosage.js +0 -1087
- package/src/CustomComponents/SwipableProductCard.js +0 -246
- package/src/CustomComponents/SwipableProductImageCard.js +0 -254
- package/src/CustomComponents/WorkOrderDetails.js +0 -1216
- package/src/CustomComponents/WorkOrderDetailsPage.js +0 -1213
- package/src/HOC/ConfirmOverlay.js +0 -192
- package/src/HOC/HHeading.js +0 -70
- package/src/HOC/HMoreButton.js +0 -88
- package/src/HOC/HNatureHeading.js +0 -402
- package/src/HOC/HOCIcons.js +0 -80
- package/src/HOC/HOverlayCentered.js +0 -140
- package/src/HOC/HShadowButton.js +0 -45
- package/src/HOC/HShadowCountButton.js +0 -82
- package/src/HOC/OptionOverlay.js +0 -48
- package/src/Json/Chart.json +0 -818
- package/src/Json/Consultation.json +0 -622
- package/src/Json/CreditBill.json +0 -490
- package/src/Json/Dropdown.json +0 -216
- package/src/Json/DropdownConsultation.json +0 -228
- package/src/Json/DynamicReports.json +0 -623
- package/src/Json/Footer.json +0 -79
- package/src/Media/AudioScreen.js +0 -342
- package/src/Media/BarcodeScan.js +0 -145
- package/src/Media/CAudioPlay.js +0 -228
- package/src/Media/CCaptureImageWithoutEdit.js +0 -330
- package/src/Media/CImageGallery.js +0 -289
- package/src/Media/CImageZoom.js +0 -82
- package/src/Media/CSingleImage.js +0 -391
- package/src/Media/CSketchCanvas.js +0 -76
- package/src/Media/CVideoPlay.js +0 -31
- package/src/Media/DocumentScreen.js +0 -362
- package/src/Media/DrawingScreen.js +0 -578
- package/src/Media/ImageScreen.js +0 -309
- package/src/Media/RecordAudio.js +0 -250
- package/src/Media/RecordVideo.js +0 -223
- package/src/Media/VideoScreen.js +0 -378
- package/src/Navigation/PageNavigation.js +0 -224
- package/src/Navigation/useFocusEffect.js +0 -2
- package/src/Navigation/useFocusEffect.native.js +0 -1
- package/src/Navigation/useFocusEffect.web.js +0 -1
- package/src/Navigation/useIsFocused.js +0 -1
- package/src/Navigation/useIsFocused.native.js +0 -1
- package/src/Navigation/useIsFocused.web.js +0 -1
- package/src/Navigation/useNavigation.js +0 -2
- package/src/Navigation/useNavigation.native.js +0 -1
- package/src/Navigation/useNavigation.web.js +0 -1
- package/src/Screens/CMedications.js +0 -528
- package/src/Screens/CWebViewGallery.js +0 -203
- package/src/Screens/ChartScan.js +0 -279
- package/src/Screens/ChartScreenNew.js +0 -1579
- package/src/Screens/Consultation.js +0 -1500
- package/src/Screens/Dashboard.js +0 -778
- package/src/Screens/FileExplorer.js +0 -288
- package/src/Screens/Footer.js +0 -340
- package/src/Screens/ForgotPassword.js +0 -288
- package/src/Screens/HeaderBlock.js +0 -353
- package/src/Screens/Login.js +0 -328
- package/src/Screens/Notification.js +0 -149
- package/src/Screens/OcrScreen.js +0 -20
- package/src/Screens/PdfPreview.js +0 -507
- package/src/Screens/RegistrationDetails.js +0 -467
- package/src/Screens/SearchScreen.js +0 -582
- package/src/Screens/Splash.js +0 -788
- package/src/Screens/SwipeLeftView.js +0 -1867
- package/src/StaticComponents/SAlphabet.js +0 -47
- package/src/StaticComponents/SCheckBox.js +0 -42
- package/src/StaticComponents/SDatePicker.js +0 -208
- package/src/StaticComponents/SDatePickerLabel.js +0 -253
- package/src/StaticComponents/SDatePickerNew.js +0 -258
- package/src/StaticComponents/SDateTimePickerNew.js +0 -381
- package/src/StaticComponents/SDropDownGenerate.js +0 -450
- package/src/StaticComponents/SDropDownHoc.js +0 -636
- package/src/StaticComponents/SDropDownIcon.js +0 -500
- package/src/StaticComponents/SMenuBox.js +0 -131
- package/src/StaticComponents/SOverlay.js +0 -177
- package/src/StaticComponents/SOverlayTextInput.js +0 -109
- package/src/StaticComponents/SSearch.js +0 -438
- package/src/StaticComponents/SSearchBar.js +0 -53
- package/src/StaticComponents/SSpeedDial.js +0 -303
- package/src/StaticComponents/STextInput.js +0 -289
- package/src/StaticComponents/STextInputProps.js +0 -36
- package/src/StaticComponents/STimePicker.js +0 -171
- package/src/StaticComponents/STimingDropDownNew.js +0 -1585
- package/src/StaticComponents/STimingSwitch.js +0 -34
- package/src/layout/CContainerView.js +0 -21
- package/src/layout/CDetailView.js +0 -81
- package/src/layout/HeaderBlock.js +0 -353
- package/src/layout/INVLoginLayout.js +0 -657
- package/src/layout/Loader.js +0 -176
package/src/Custom/OUserView.js
DELETED
|
@@ -1,1121 +0,0 @@
|
|
|
1
|
-
import React, { useContext, useState } from 'react';
|
|
2
|
-
import { Dimensions, Image, KeyboardAvoidingView, ScrollView, Platform, TouchableOpacity, View, Text, Switch, TouchableWithoutFeedback } from 'react-native';
|
|
3
|
-
import { Global } from '../../../../../src/Common/Global';
|
|
4
|
-
import CText from '../CustomComponents/CText';
|
|
5
|
-
import { normalize } from '../CommonStyle/componentStyle';
|
|
6
|
-
import { APIURL, EMRAPI, imageURL } from '../../../../../src/Common/apiConstants';
|
|
7
|
-
import { isNU, isNUQ, isPermitted, notifyMessage, ValueCheck } from '../CommonStyle/ComponentFunctions';
|
|
8
|
-
import Barcode from '@kichiyaki/react-native-barcode-generator';
|
|
9
|
-
import CAwesomeButton from '../CustomComponents/CAwesomeButton';
|
|
10
|
-
import { NetworkServiceCall } from '@jescon-technologies/react-native-ui-kit';
|
|
11
|
-
import { useNavigation } from '../Navigation/useNavigation';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { useEffect } from 'react';
|
|
15
|
-
import { Menu, MenuOptions, MenuTrigger, MenuOption, MenuProvider } from 'react-native-popup-menu';
|
|
16
|
-
import HOCIcons from '../HOC/HOCIcons';
|
|
17
|
-
import CDropDownList from '../CustomComponents/CDropDownList';
|
|
18
|
-
import SDropDownNew from '../Components/SDropDownNew';
|
|
19
|
-
|
|
20
|
-
import HHeading from '../HOC/HHeading';
|
|
21
|
-
import CCustomTextInput from '../CustomComponents/CCustomTextInput';
|
|
22
|
-
import CImagePickerSave from '../CustomComponents/CImagePickerSave';
|
|
23
|
-
|
|
24
|
-
const OUserView = (props) => {
|
|
25
|
-
|
|
26
|
-
const navigation = useNavigation();
|
|
27
|
-
const [data, setData] = useState({
|
|
28
|
-
'imageurl': ValueCheck(Global.userData.photo) ? Global.userData.photo : '',
|
|
29
|
-
'experience': ValueCheck(Global.userData.experience) ? Global.userData.experience : '',
|
|
30
|
-
'qualification': ValueCheck(Global.userData.qualification) ? Global.userData.qualification : '',
|
|
31
|
-
'achievement': ValueCheck(Global.userData.achievement) ? Global.userData.achievement : '',
|
|
32
|
-
'registrationno': ValueCheck(Global.userData.registrationno) ? Global.userData.registrationno : '',
|
|
33
|
-
'mobileno': ValueCheck(Global.userData.mobileno) ? Global.userData.mobileno : '',
|
|
34
|
-
'oplocation': ValueCheck(Global.userData.oplocation) ? Global.userData.oplocation : '',
|
|
35
|
-
'gendergroup': ValueCheck(Global.userData.gendergroup) ? Global.userData.gendergroup : 0,
|
|
36
|
-
'gendergroupname': ValueCheck(Global.userData.gendergroupname) ? Global.userData.gendergroupname : 'All',
|
|
37
|
-
'agegroup': ValueCheck(Global.userData.agegroup) ? Global.userData.agegroup : 0,
|
|
38
|
-
'agegroupname': ValueCheck(Global.userData.agegroupname) ? Global.userData.agegroupname : 'All',
|
|
39
|
-
'hospitalblockname': ValueCheck(Global.userData.hospitalblockname) ? Global.userData.hospitalblockname : '',
|
|
40
|
-
'hospitalblock': ValueCheck(Global.userData.hospitalblock) ? Global.userData.hospitalblock : 0,
|
|
41
|
-
'floorno': ValueCheck(Global.userData.floorno) ? Global.userData.floorno : '',
|
|
42
|
-
'roomno': ValueCheck(Global.userData.roomno) ? Global.userData.roomno : '',
|
|
43
|
-
});
|
|
44
|
-
const [refresh, setRefresh] = useState(0);
|
|
45
|
-
|
|
46
|
-
const dropdownarray = {
|
|
47
|
-
'data': {
|
|
48
|
-
'data': [
|
|
49
|
-
{ 'datavalue': 1, 'icon': 'human-male', 'displayvalue': 'MALE', 'value': 'M', 'selected': false },
|
|
50
|
-
{ 'datavalue': 2, 'icon': 'human-female', 'displayvalue': 'FEMALE', 'value': 'F', 'selected': false },
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
'httpstatus': 200,
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
function fnSignatureEdit() {
|
|
57
|
-
if (isPermitted()) {
|
|
58
|
-
try {
|
|
59
|
-
props.visibility(false),
|
|
60
|
-
navigation.navigate('CSignatureScreen');
|
|
61
|
-
} catch (error) {
|
|
62
|
-
notifyMessage('cancelled');
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
notifyMessage('Storage Permission required.');
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
return (
|
|
71
|
-
<KeyboardAvoidingView
|
|
72
|
-
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
|
|
73
|
-
style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}
|
|
74
|
-
>
|
|
75
|
-
<MenuProvider>
|
|
76
|
-
<View style={{ flex: 1, width: Dimensions.get('screen').width - normalize(10) }}>
|
|
77
|
-
<CText style={{ fontSize: normalize(12), fontWeight: 'bold', alignSelf: 'center', marginTop: normalize(-15) }}>User Details</CText>
|
|
78
|
-
<TouchableWithoutFeedback>
|
|
79
|
-
<ScrollView style={{ marginBottom: normalize(45) }}>
|
|
80
|
-
<View style={{ borderWidth: 0 }}>
|
|
81
|
-
<View style={{
|
|
82
|
-
backgroundColor: '#2A81FF',
|
|
83
|
-
borderTopLeftRadius: 20,
|
|
84
|
-
borderTopEndRadius: 20,
|
|
85
|
-
height: normalize(55),
|
|
86
|
-
borderLeftWidth: 3,
|
|
87
|
-
borderColor: Global.AppTheme.primary_color,
|
|
88
|
-
}}>
|
|
89
|
-
<View style={{ paddingHorizontal: 10, paddingVertical: 5, flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
90
|
-
<View>
|
|
91
|
-
<CText style={{ fontSize: normalize(14), fontWeight: 'bold', color: '#fff' }}>{Global.userData.registrationno} </CText>
|
|
92
|
-
<CText style={{ fontSize: normalize(10), fontWeight: 'bold', color: '#fff' }}>{Global.userData.department}</CText>
|
|
93
|
-
<CText style={{ fontSize: normalize(10), fontWeight: 'bold', color: '#fff' }}>{Global.userData.designation}</CText>
|
|
94
|
-
</View>
|
|
95
|
-
<View>
|
|
96
|
-
{Platform.OS !== 'web' && <Barcode
|
|
97
|
-
lineColor={Global.AppTheme.primary_color}
|
|
98
|
-
format="CODE128B"
|
|
99
|
-
value={ValueCheck(Global.userData) ? (Global.userData.hrenemp).toString() : ''}
|
|
100
|
-
maxWidth={normalize(145)}
|
|
101
|
-
height={normalize(45)}
|
|
102
|
-
/>}
|
|
103
|
-
</View>
|
|
104
|
-
</View>
|
|
105
|
-
</View>
|
|
106
|
-
<View style={{
|
|
107
|
-
flexDirection: 'row',
|
|
108
|
-
borderLeftWidth: 3,
|
|
109
|
-
borderColor: Global.AppTheme.primary_color,
|
|
110
|
-
borderBottomWidth: 3,
|
|
111
|
-
borderBottomEndRadius: 20,
|
|
112
|
-
borderBottomLeftRadius: 20,
|
|
113
|
-
justifyContent: 'flex-start',
|
|
114
|
-
alignItems: 'flex-start',
|
|
115
|
-
backgroundColor: '#d4e4f9',
|
|
116
|
-
// flex: 1,
|
|
117
|
-
width: '100%',
|
|
118
|
-
// paddingHorizontal: 20
|
|
119
|
-
}}>
|
|
120
|
-
{/* <View style={{ borderWidth: 1}}>
|
|
121
|
-
<CSingleImage
|
|
122
|
-
hidephoto={true}
|
|
123
|
-
doctorprofile={true}
|
|
124
|
-
profilelink={EMRAPI.getDoctorProfile}
|
|
125
|
-
imageurl={ValueCheck(Global.userData.photo) ? EMRAPI.getDoctorProfile + Global.userData.photo : null}
|
|
126
|
-
callBack={(val) => (val == undefined ? null : (data.imageurl = val, Global.userData.photo = val))}
|
|
127
|
-
/>
|
|
128
|
-
</View> */}
|
|
129
|
-
<View style={{ borderWidth: 0, width: '25%', alignItems: 'center', justifyContent: 'center', paddingTop: normalize(5) }}>
|
|
130
|
-
<CImagePickerSave
|
|
131
|
-
disabled={false}
|
|
132
|
-
height={normalize(90)}
|
|
133
|
-
width={normalize(100)}
|
|
134
|
-
uselinkprops={true}
|
|
135
|
-
imagelink={EMRAPI.getPatientProfile}
|
|
136
|
-
savelink={EMRAPI.savePatientProfile}
|
|
137
|
-
imageurl={ValueCheck(Global.userData.photo) ? EMRAPI.getDoctorProfile + Global.userData.photo : null}
|
|
138
|
-
callBack={(val) => (val == undefined ? null : data.imageurl = val, setEditStatus(true), setRefresh(refresh + 1))}
|
|
139
|
-
/>
|
|
140
|
-
<View style={{ borderRadius: 5, borderWidth: 0, width: '100%', borderColor: 'lightgrey', flexDirection: 'row', alignItems: 'center' }}>
|
|
141
|
-
<HOCIcons.Entypo
|
|
142
|
-
icongroup={5}
|
|
143
|
-
name={'info-with-circle'}
|
|
144
|
-
size={normalize(8)}
|
|
145
|
-
color={'grey'}
|
|
146
|
-
style={{ textAlign: 'center', paddingHorizontal: normalize(5) }}
|
|
147
|
-
/>
|
|
148
|
-
<Text adjustsFontSizeToFit style={{ width: '90%', color: 'grey', fontStyle: 'italic', fontSize: normalize(8), textAlign: 'left' }}>
|
|
149
|
-
{'Edit profile Photo.'}
|
|
150
|
-
</Text>
|
|
151
|
-
</View>
|
|
152
|
-
</View>
|
|
153
|
-
|
|
154
|
-
<View style={{ paddingLeft: normalize(5), paddingTop: normalize(5), borderWidth: 0, width: '75%' }}>
|
|
155
|
-
<CText style={{ fontSize: normalize(18), fontWeight: 'bold', color: 'black' }}>{Global.userData.username}</CText>
|
|
156
|
-
<CText style={{ fontSize: normalize(12), fontWeight: 'bold', color: 'black', paddingTop: 2 }}>{Global.userData.qualification}</CText>
|
|
157
|
-
<CText style={{ fontSize: normalize(12), fontWeight: 'bold', color: 'black', paddingTop: 2 }}>{Global.userData.experience}</CText>
|
|
158
|
-
<CText style={{ fontSize: normalize(12), fontWeight: 'bold', color: 'black', paddingTop: 2 }}>{Global.userData.mobileno}</CText>
|
|
159
|
-
<TouchableOpacity
|
|
160
|
-
disabled={false}
|
|
161
|
-
onPress={() => (
|
|
162
|
-
fnSignatureEdit()
|
|
163
|
-
)}
|
|
164
|
-
style={{
|
|
165
|
-
borderWidth: 1,
|
|
166
|
-
backgroundColor: 'white',
|
|
167
|
-
borderRadius: 10,
|
|
168
|
-
borderColor: 'lightgrey',
|
|
169
|
-
elevation: 2,
|
|
170
|
-
width: normalize(150),
|
|
171
|
-
height: normalize(50),
|
|
172
|
-
}}>
|
|
173
|
-
<Image
|
|
174
|
-
style={{ width: normalize(150), height: normalize(50), borderRadius: 10, resizeMode: 'stretch' }}
|
|
175
|
-
source={{ uri: imageURL + Global.userData.signatureurl }}
|
|
176
|
-
/>
|
|
177
|
-
<Text style={{ position: 'absolute', fontSize: normalize(15), width: '100%', textAlign: 'center', bottom: normalize(15), color: '#ebebebff' }}>S I G N A T U R E</Text>
|
|
178
|
-
</TouchableOpacity>
|
|
179
|
-
<View style={{ marginTop: normalize(3), borderRadius: 5, borderWidth: 0, width: '100%', borderColor: 'lightgrey', flexDirection: 'row', alignItems: 'center' }}>
|
|
180
|
-
<HOCIcons.Entypo
|
|
181
|
-
icongroup={5}
|
|
182
|
-
name={'info-with-circle'}
|
|
183
|
-
size={normalize(8)}
|
|
184
|
-
color={'grey'}
|
|
185
|
-
style={{ textAlign: 'center', paddingHorizontal: normalize(5) }}
|
|
186
|
-
/>
|
|
187
|
-
<Text adjustsFontSizeToFit style={{ width: '90%', color: 'grey', fontStyle: 'italic', fontSize: normalize(8), textAlign: 'left' }}>
|
|
188
|
-
{'Tap to edit signature.'}
|
|
189
|
-
</Text>
|
|
190
|
-
</View>
|
|
191
|
-
</View>
|
|
192
|
-
|
|
193
|
-
{/* <TouchableOpacity
|
|
194
|
-
disabled={false}
|
|
195
|
-
onPress={() => (props.visibility(false), navigation.navigate('CSignatureScreen'))}
|
|
196
|
-
style={{ position: 'absolute', right: normalize(10), bottom: normalize(5) }}>
|
|
197
|
-
<Image
|
|
198
|
-
style={{ width: normalize(150), height: normalize(50), borderRadius: 10, resizeMode: 'stretch' }}
|
|
199
|
-
source={{ uri: imageURL + Global.userData.signatureurl }}
|
|
200
|
-
/>
|
|
201
|
-
</TouchableOpacity> */}
|
|
202
|
-
</View>
|
|
203
|
-
</View>
|
|
204
|
-
|
|
205
|
-
<View style={{ marginTop: normalize(10) }}>
|
|
206
|
-
<View style={{ width: '100%' }}>
|
|
207
|
-
<CCustomTextInput
|
|
208
|
-
required={false}
|
|
209
|
-
info={'Enter Qualification.'}
|
|
210
|
-
custompositiontextviewstyle={{
|
|
211
|
-
position: 'absolute',
|
|
212
|
-
top: normalize(-7),
|
|
213
|
-
left: normalize(7),
|
|
214
|
-
flexDirection: 'row',
|
|
215
|
-
alignItems: 'center',
|
|
216
|
-
backgroundColor: 'white',
|
|
217
|
-
}}
|
|
218
|
-
inputstyle={{
|
|
219
|
-
flexDirection: 'row',
|
|
220
|
-
borderWidth: 0.5,
|
|
221
|
-
borderColor: 'grey',
|
|
222
|
-
borderRadius: 5,
|
|
223
|
-
alignItems: 'center',
|
|
224
|
-
height: normalize(35),
|
|
225
|
-
backgroundColor: 'white',
|
|
226
|
-
elevation: 2,
|
|
227
|
-
}}
|
|
228
|
-
iconstyle={{
|
|
229
|
-
icongroup: 5,
|
|
230
|
-
iconname: 'user-graduate',
|
|
231
|
-
iconsize: normalize(18),
|
|
232
|
-
iconcolor: '#164c92',
|
|
233
|
-
style: {
|
|
234
|
-
paddingHorizontal: normalize(7),
|
|
235
|
-
},
|
|
236
|
-
}}
|
|
237
|
-
data={{
|
|
238
|
-
displaytext: 'Qualification',
|
|
239
|
-
type: 'default',
|
|
240
|
-
iconcolor: 'darkblue',
|
|
241
|
-
editable: true,
|
|
242
|
-
itemwidth: '100%',
|
|
243
|
-
iconname: 'id-badge',
|
|
244
|
-
value: data.qualification,
|
|
245
|
-
tfontweight: 'bold',
|
|
246
|
-
placeholder: 'Qualification',
|
|
247
|
-
placeholdercolor: 'lightgrey',
|
|
248
|
-
capitalize: 'characters',
|
|
249
|
-
tfontsize: normalize(12),
|
|
250
|
-
}}
|
|
251
|
-
callBack={val => (val == undefined ? null : (
|
|
252
|
-
// criteriaData.patientid = val,
|
|
253
|
-
data.qualification = val,
|
|
254
|
-
setRefresh(refresh + 1)
|
|
255
|
-
// handleSuffixChange(index, val)
|
|
256
|
-
// {}
|
|
257
|
-
))}
|
|
258
|
-
/>
|
|
259
|
-
|
|
260
|
-
</View>
|
|
261
|
-
</View>
|
|
262
|
-
|
|
263
|
-
<View style={{ marginTop: normalize(10) }}>
|
|
264
|
-
<View style={{ width: '100%' }}>
|
|
265
|
-
<CCustomTextInput
|
|
266
|
-
required={false}
|
|
267
|
-
info={'Enter Experience.'}
|
|
268
|
-
custompositiontextviewstyle={{
|
|
269
|
-
position: 'absolute',
|
|
270
|
-
top: normalize(-7),
|
|
271
|
-
left: normalize(7),
|
|
272
|
-
flexDirection: 'row',
|
|
273
|
-
alignItems: 'center',
|
|
274
|
-
backgroundColor: 'white',
|
|
275
|
-
}}
|
|
276
|
-
inputstyle={{
|
|
277
|
-
flexDirection: 'row',
|
|
278
|
-
borderWidth: 0.5,
|
|
279
|
-
borderColor: 'grey',
|
|
280
|
-
borderRadius: 5,
|
|
281
|
-
alignItems: 'center',
|
|
282
|
-
height: normalize(35),
|
|
283
|
-
backgroundColor: 'white',
|
|
284
|
-
elevation: 2,
|
|
285
|
-
}}
|
|
286
|
-
iconstyle={{
|
|
287
|
-
icongroup: 3,
|
|
288
|
-
iconname: 'book',
|
|
289
|
-
iconsize: normalize(18),
|
|
290
|
-
iconcolor: '#164c92',
|
|
291
|
-
style: {
|
|
292
|
-
paddingHorizontal: normalize(7),
|
|
293
|
-
},
|
|
294
|
-
}}
|
|
295
|
-
data={{
|
|
296
|
-
displaytext: 'Experience',
|
|
297
|
-
type: 'default',
|
|
298
|
-
iconcolor: 'darkblue',
|
|
299
|
-
editable: true,
|
|
300
|
-
itemwidth: '100%',
|
|
301
|
-
iconname: 'id-badge',
|
|
302
|
-
value: data.experience,
|
|
303
|
-
tfontweight: 'bold',
|
|
304
|
-
placeholder: 'Experience',
|
|
305
|
-
placeholdercolor: 'lightgrey',
|
|
306
|
-
capitalize: 'characters',
|
|
307
|
-
tfontsize: normalize(12),
|
|
308
|
-
}}
|
|
309
|
-
callBack={val => (val == undefined ? null : (
|
|
310
|
-
// criteriaData.patientid = val,
|
|
311
|
-
data.experience = val,
|
|
312
|
-
setRefresh(refresh + 1)
|
|
313
|
-
// handleSuffixChange(index, val)
|
|
314
|
-
// {}
|
|
315
|
-
))}
|
|
316
|
-
/>
|
|
317
|
-
|
|
318
|
-
</View>
|
|
319
|
-
</View>
|
|
320
|
-
|
|
321
|
-
{/* <View style={{ marginHorizontal: normalize(14), marginTop: normalize(0) }}>
|
|
322
|
-
<STextInput
|
|
323
|
-
data={{
|
|
324
|
-
value: data.qualification,
|
|
325
|
-
iconname: "book",
|
|
326
|
-
itemwidth: Dimensions.get('screen').width * 0.81,
|
|
327
|
-
displaytext: "Qualification",
|
|
328
|
-
}}
|
|
329
|
-
callBack={val => (val == undefined ? null : data.qualification = val)}
|
|
330
|
-
/>
|
|
331
|
-
</View> */}
|
|
332
|
-
|
|
333
|
-
{/* <View style={{ marginHorizontal: normalize(14) }}>
|
|
334
|
-
<STextInput
|
|
335
|
-
data={{
|
|
336
|
-
value: data.experience,
|
|
337
|
-
itemwidth: Dimensions.get('screen').width * 0.81,
|
|
338
|
-
displaytext: "Experience",
|
|
339
|
-
placeholder: "10 digit"
|
|
340
|
-
}}
|
|
341
|
-
callBack={val => (val == undefined ? null : data.experience = val)}
|
|
342
|
-
/>
|
|
343
|
-
</View> */}
|
|
344
|
-
|
|
345
|
-
<View style={{ marginTop: normalize(10), flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
346
|
-
<View style={{ width: '49%' }}>
|
|
347
|
-
<CCustomTextInput
|
|
348
|
-
required={false}
|
|
349
|
-
info={'Enter 10 digit Mobile No.'}
|
|
350
|
-
custompositiontextviewstyle={{
|
|
351
|
-
position: 'absolute',
|
|
352
|
-
top: normalize(-7),
|
|
353
|
-
left: normalize(7),
|
|
354
|
-
flexDirection: 'row',
|
|
355
|
-
alignItems: 'center',
|
|
356
|
-
backgroundColor: 'white',
|
|
357
|
-
}}
|
|
358
|
-
inputstyle={{
|
|
359
|
-
flexDirection: 'row',
|
|
360
|
-
borderWidth: 0.5,
|
|
361
|
-
borderColor: 'grey',
|
|
362
|
-
borderRadius: 5,
|
|
363
|
-
alignItems: 'center',
|
|
364
|
-
height: normalize(35),
|
|
365
|
-
backgroundColor: 'white',
|
|
366
|
-
elevation: 2,
|
|
367
|
-
}}
|
|
368
|
-
iconstyle={{
|
|
369
|
-
icongroup: 3,
|
|
370
|
-
iconname: 'phone',
|
|
371
|
-
iconsize: normalize(18),
|
|
372
|
-
iconcolor: '#164c92',
|
|
373
|
-
style: {
|
|
374
|
-
paddingHorizontal: normalize(7),
|
|
375
|
-
},
|
|
376
|
-
}}
|
|
377
|
-
data={{
|
|
378
|
-
displaytext: 'Mobile No',
|
|
379
|
-
type: 'numeric',
|
|
380
|
-
iconcolor: 'darkblue',
|
|
381
|
-
editable: true,
|
|
382
|
-
itemwidth: '100%',
|
|
383
|
-
iconname: 'id-badge',
|
|
384
|
-
value: data.mobileno,
|
|
385
|
-
tfontweight: 'bold',
|
|
386
|
-
placeholder: 'Mobile No',
|
|
387
|
-
placeholdercolor: 'lightgrey',
|
|
388
|
-
capitalize: 'characters',
|
|
389
|
-
tfontsize: normalize(12),
|
|
390
|
-
maxlength: 10,
|
|
391
|
-
alignment: 'right',
|
|
392
|
-
|
|
393
|
-
}}
|
|
394
|
-
callBack={val => (val == undefined ? null : (
|
|
395
|
-
// criteriaData.patientid = val,
|
|
396
|
-
data.mobileno = val,
|
|
397
|
-
setRefresh(refresh + 1)
|
|
398
|
-
// handleSuffixChange(index, val)
|
|
399
|
-
// {}
|
|
400
|
-
))}
|
|
401
|
-
/>
|
|
402
|
-
|
|
403
|
-
</View>
|
|
404
|
-
<View style={{ width: '49%' }}>
|
|
405
|
-
<CCustomTextInput
|
|
406
|
-
required={false}
|
|
407
|
-
info={'Enter Registration No.'}
|
|
408
|
-
custompositiontextviewstyle={{
|
|
409
|
-
position: 'absolute',
|
|
410
|
-
top: normalize(-7),
|
|
411
|
-
left: normalize(7),
|
|
412
|
-
flexDirection: 'row',
|
|
413
|
-
alignItems: 'center',
|
|
414
|
-
backgroundColor: 'white',
|
|
415
|
-
}}
|
|
416
|
-
inputstyle={{
|
|
417
|
-
flexDirection: 'row',
|
|
418
|
-
borderWidth: 0.5,
|
|
419
|
-
borderColor: 'grey',
|
|
420
|
-
borderRadius: 5,
|
|
421
|
-
alignItems: 'center',
|
|
422
|
-
height: normalize(35),
|
|
423
|
-
backgroundColor: 'white',
|
|
424
|
-
elevation: 2,
|
|
425
|
-
}}
|
|
426
|
-
iconstyle={{
|
|
427
|
-
icongroup: 3,
|
|
428
|
-
iconname: 'file-document-outline',
|
|
429
|
-
iconsize: normalize(18),
|
|
430
|
-
iconcolor: '#164c92',
|
|
431
|
-
style: {
|
|
432
|
-
paddingHorizontal: normalize(7),
|
|
433
|
-
},
|
|
434
|
-
}}
|
|
435
|
-
data={{
|
|
436
|
-
displaytext: 'Registration No.',
|
|
437
|
-
type: 'numeric',
|
|
438
|
-
iconcolor: 'darkblue',
|
|
439
|
-
editable: true,
|
|
440
|
-
itemwidth: '100%',
|
|
441
|
-
iconname: 'id-badge',
|
|
442
|
-
value: data.registrationno,
|
|
443
|
-
tfontweight: 'bold',
|
|
444
|
-
placeholder: 'Registration No',
|
|
445
|
-
placeholdercolor: 'lightgrey',
|
|
446
|
-
capitalize: 'characters',
|
|
447
|
-
tfontsize: normalize(12),
|
|
448
|
-
alignment: 'right',
|
|
449
|
-
}}
|
|
450
|
-
callBack={val => (val == undefined ? null : (
|
|
451
|
-
// criteriaData.patientid = val,
|
|
452
|
-
data.registrationno = val,
|
|
453
|
-
setRefresh(refresh + 1)
|
|
454
|
-
// handleSuffixChange(index, val)
|
|
455
|
-
// {}
|
|
456
|
-
))}
|
|
457
|
-
/>
|
|
458
|
-
|
|
459
|
-
</View>
|
|
460
|
-
</View>
|
|
461
|
-
|
|
462
|
-
{/* <View style={{ marginHorizontal: normalize(14), borderWidth: 0 }}>
|
|
463
|
-
<STextInput
|
|
464
|
-
data={{
|
|
465
|
-
value: data.mobileno,
|
|
466
|
-
iconname: "mobile",
|
|
467
|
-
type: 'number-pad',
|
|
468
|
-
itemwidth: Dimensions.get('screen').width * 0.35,
|
|
469
|
-
displaytext: "Mobile No.",
|
|
470
|
-
}}
|
|
471
|
-
callBack={val => (val == undefined ? null : data.mobileno = val)} />
|
|
472
|
-
</View> */}
|
|
473
|
-
|
|
474
|
-
{/* <STextInput
|
|
475
|
-
data={{
|
|
476
|
-
value: data.registrationno,
|
|
477
|
-
iconname: "file",
|
|
478
|
-
type: 'number-pad',
|
|
479
|
-
itemwidth: Dimensions.get('screen').width * 0.35,
|
|
480
|
-
displaytext: "Registration No.",
|
|
481
|
-
}}
|
|
482
|
-
callBack={val => (val == undefined ? null : data.registrationno = val)} /> */}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
<View style={{ marginTop: normalize(10), flexDirection: 'row', justifyContent: 'space-between' }}>
|
|
486
|
-
|
|
487
|
-
<View style={{ width: '32%', borderWidth: 0 }}>
|
|
488
|
-
<Menu>
|
|
489
|
-
<MenuTrigger
|
|
490
|
-
customStyles={{
|
|
491
|
-
triggerWrapper: {
|
|
492
|
-
borderWidth: 0,
|
|
493
|
-
justifyContent: 'center',
|
|
494
|
-
alignItems: 'center',
|
|
495
|
-
// width: '100%'
|
|
496
|
-
},
|
|
497
|
-
}}
|
|
498
|
-
>
|
|
499
|
-
<View style={{ width: '100%', borderWidth: 1, backgroundColor: 'white', borderColor: 'lightgrey', borderRadius: 5, elevation: 2, flexDirection: 'row', padding: normalize(4), alignItems: 'center', height: normalize(35) }}>
|
|
500
|
-
<HOCIcons.Icons
|
|
501
|
-
icongroup={5}
|
|
502
|
-
name={'hospital'}
|
|
503
|
-
size={normalize(15)}
|
|
504
|
-
color={Global.AppTheme.primary_color}
|
|
505
|
-
style={{ textAlign: 'center' }}
|
|
506
|
-
/>
|
|
507
|
-
<Text adjustsFontSizeToFit style={{
|
|
508
|
-
flex: 1,
|
|
509
|
-
color: isNUQ(data.hospitalblockname) ? 'black' : 'lightgrey',
|
|
510
|
-
fontSize: normalize(11),
|
|
511
|
-
fontWeight: isNUQ(data.hospitalblockname) ? 'bold' : 'normal',
|
|
512
|
-
paddingHorizontal: normalize(3),
|
|
513
|
-
}}>{isNUQ(data.hospitalblockname) ? data.hospitalblockname : 'Hospital Block'}</Text>
|
|
514
|
-
</View>
|
|
515
|
-
<View style={{ position: 'absolute', top: normalize(-6), left: normalize(10), backgroundColor: 'white', flexDirection: 'row', alignItems: 'center' }}>
|
|
516
|
-
<Text style={{ color: '#164c92', fontSize: normalize(10), textAlign: 'left', fontWeight: 'normal' }}>{' '}{'Hospital Block'}</Text>
|
|
517
|
-
</View>
|
|
518
|
-
</MenuTrigger>
|
|
519
|
-
<MenuOptions
|
|
520
|
-
optionsContainerStyle={{ marginTop: normalize(-70) }}
|
|
521
|
-
customStyles={{
|
|
522
|
-
optionsContainer: {
|
|
523
|
-
shadowColor: '#000000ff',
|
|
524
|
-
shadowRadius: 10,
|
|
525
|
-
borderRadius: 5,
|
|
526
|
-
borderWidth: 0.5,
|
|
527
|
-
borderColor: 'lightgrey',
|
|
528
|
-
elevation: 3,
|
|
529
|
-
// width: normalize(50)
|
|
530
|
-
width: '50%',
|
|
531
|
-
},
|
|
532
|
-
optionText: {},
|
|
533
|
-
}}>
|
|
534
|
-
<CDropDownList
|
|
535
|
-
dropdownapi={EMRAPI.getHospitalBlock}
|
|
536
|
-
// dropdownarray={dropdownarray}
|
|
537
|
-
callback={val => val == undefined ? null : (
|
|
538
|
-
data.hospitalblockname = val.displayvalue,
|
|
539
|
-
data.hospitalblock = val.blockid,
|
|
540
|
-
setRefresh(refresh + 1)
|
|
541
|
-
)}
|
|
542
|
-
/>
|
|
543
|
-
</MenuOptions>
|
|
544
|
-
</Menu>
|
|
545
|
-
</View>
|
|
546
|
-
|
|
547
|
-
<View style={{ width: '32%', borderWidth: 0 }}>
|
|
548
|
-
<SDropDownNew
|
|
549
|
-
buttonstyle={{
|
|
550
|
-
borderWidth: 1,
|
|
551
|
-
borderColor: 'lightgrey',
|
|
552
|
-
borderRadius: 5,
|
|
553
|
-
alignItems: 'center',
|
|
554
|
-
justifyContent: 'flex-start',
|
|
555
|
-
height: normalize(35),
|
|
556
|
-
flexDirection: 'row',
|
|
557
|
-
backgroundColor: 'white',
|
|
558
|
-
elevation: 2,
|
|
559
|
-
}}
|
|
560
|
-
icon={{
|
|
561
|
-
'icongroup': 3,
|
|
562
|
-
'name': 'floor-plan',
|
|
563
|
-
'size': normalize(15),
|
|
564
|
-
}}
|
|
565
|
-
iconstyle={{
|
|
566
|
-
color: Global.AppTheme.primary_color,
|
|
567
|
-
paddingLeft: normalize(5),
|
|
568
|
-
textAlign: 'center',
|
|
569
|
-
}}
|
|
570
|
-
textstyle={{
|
|
571
|
-
flex:1,
|
|
572
|
-
fontSize: normalize(12),
|
|
573
|
-
fontWeight: 'bold',
|
|
574
|
-
color: '#000000',
|
|
575
|
-
alignItems: 'flex-end',
|
|
576
|
-
textAlign: 'right',
|
|
577
|
-
justifyContent: 'flex-end',
|
|
578
|
-
paddingHorizontal: normalize(5),
|
|
579
|
-
}}
|
|
580
|
-
dropdownapi={'emr/emrcommonget/rnhosufloor ' + data.hospitalblock}
|
|
581
|
-
dropdowndata={isNUQ(data.floorno) ? data.floorno : null}
|
|
582
|
-
onChangeData={val =>
|
|
583
|
-
val == undefined ? null : (
|
|
584
|
-
data.floorno = val.displayvalue,
|
|
585
|
-
setRefresh(refresh + 1)
|
|
586
|
-
)}
|
|
587
|
-
editable={true}
|
|
588
|
-
widthArr={Dimensions.get('screen').width * 0.32}
|
|
589
|
-
iconName={'file-medical'}
|
|
590
|
-
refreshCount={val => val == undefined ? null : null}
|
|
591
|
-
/>
|
|
592
|
-
<Text style={{
|
|
593
|
-
position: 'absolute',
|
|
594
|
-
backgroundColor: 'white',
|
|
595
|
-
top: normalize(-6),
|
|
596
|
-
left: normalize(10),
|
|
597
|
-
fontSize: normalize(10),
|
|
598
|
-
color: Global.AppTheme.primary_color,
|
|
599
|
-
}}>
|
|
600
|
-
{' Floor No '}
|
|
601
|
-
</Text>
|
|
602
|
-
</View>
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
{/* <View style={{ width: '32%' }}>
|
|
607
|
-
<Menu>
|
|
608
|
-
<MenuTrigger
|
|
609
|
-
customStyles={{
|
|
610
|
-
triggerWrapper: {
|
|
611
|
-
borderWidth: 0,
|
|
612
|
-
justifyContent: 'center',
|
|
613
|
-
alignItems: 'center',
|
|
614
|
-
// width: '100%'
|
|
615
|
-
}
|
|
616
|
-
}}
|
|
617
|
-
>
|
|
618
|
-
<View style={{ width: '100%', borderWidth: 1, elevation: 2, borderColor: 'lightgrey', backgroundColor: 'white', borderRadius: 5, flexDirection: 'row', padding: normalize(4), alignItems: 'center', height: normalize(35) }}>
|
|
619
|
-
<HOCIcons.Icons
|
|
620
|
-
icongroup={3}
|
|
621
|
-
name={'floor-plan'}
|
|
622
|
-
size={normalize(15)}
|
|
623
|
-
color={Global.AppTheme.primary_color}
|
|
624
|
-
style={{ textAlign: 'center' }}
|
|
625
|
-
/>
|
|
626
|
-
<Text adjustsFontSizeToFit style={{
|
|
627
|
-
flex: 1,
|
|
628
|
-
color: isNUQ(data.floorno) ? 'black' : 'lightgrey',
|
|
629
|
-
fontSize: normalize(11),
|
|
630
|
-
fontWeight: isNUQ(data.floorno) ? 'bold' : 'normal',
|
|
631
|
-
paddingHorizontal: normalize(3),
|
|
632
|
-
textAlign: 'right'
|
|
633
|
-
}}>
|
|
634
|
-
{isNUQ(data.floorno) ? data.floorno : 'Floor No'}
|
|
635
|
-
</Text>
|
|
636
|
-
</View>
|
|
637
|
-
</MenuTrigger>
|
|
638
|
-
<MenuOptions
|
|
639
|
-
optionsContainerStyle={{ marginTop: normalize(-200)}}
|
|
640
|
-
customStyles={{
|
|
641
|
-
optionsContainer: {
|
|
642
|
-
shadowColor: '#000000ff',
|
|
643
|
-
shadowRadius: 10,
|
|
644
|
-
borderRadius: 5,
|
|
645
|
-
borderWidth: 0.5,
|
|
646
|
-
borderColor: 'lightgrey',
|
|
647
|
-
elevation: 3,
|
|
648
|
-
width: '25%'
|
|
649
|
-
},
|
|
650
|
-
optionText: {},
|
|
651
|
-
}}>
|
|
652
|
-
<CDropDownList
|
|
653
|
-
dropdownapi={EMRAPI.getFloorNo + data.hospitalblock}
|
|
654
|
-
callback={val => val == undefined ? null : (
|
|
655
|
-
data.floorno = val.displayvalue,
|
|
656
|
-
setRefresh(refresh + 1)
|
|
657
|
-
)}
|
|
658
|
-
/>
|
|
659
|
-
</MenuOptions>
|
|
660
|
-
</Menu>
|
|
661
|
-
<View style={{ position: 'absolute', top: normalize(-6), left: normalize(10), backgroundColor: 'white', flexDirection: 'row', alignItems: 'center' }}>
|
|
662
|
-
<Text style={{ color: '#164c92', fontSize: normalize(10), textAlign: 'left', fontWeight: 'normal' }}>{" "}{"Floor No:"}</Text>
|
|
663
|
-
</View>
|
|
664
|
-
</View> */}
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
{/* <View style={{ width: '32%' }}>
|
|
668
|
-
<CCustomTextInput
|
|
669
|
-
required={false}
|
|
670
|
-
info={"Enter Registration No."}
|
|
671
|
-
custompositiontextviewstyle={{
|
|
672
|
-
position: 'absolute',
|
|
673
|
-
top: normalize(-7),
|
|
674
|
-
left: normalize(7),
|
|
675
|
-
flexDirection: 'row',
|
|
676
|
-
alignItems: 'center',
|
|
677
|
-
backgroundColor: 'white',
|
|
678
|
-
}}
|
|
679
|
-
inputstyle={{
|
|
680
|
-
flexDirection: 'row',
|
|
681
|
-
borderWidth: 0.5,
|
|
682
|
-
borderColor: 'grey',
|
|
683
|
-
borderRadius: 5,
|
|
684
|
-
alignItems: 'center',
|
|
685
|
-
height: normalize(35),
|
|
686
|
-
backgroundColor: 'white',
|
|
687
|
-
elevation: 2
|
|
688
|
-
}}
|
|
689
|
-
iconstyle={{
|
|
690
|
-
icongroup: 3,
|
|
691
|
-
iconname: "book",
|
|
692
|
-
iconsize: normalize(18),
|
|
693
|
-
iconcolor: '#164c92',
|
|
694
|
-
style: {
|
|
695
|
-
paddingHorizontal: normalize(7)
|
|
696
|
-
}
|
|
697
|
-
}}
|
|
698
|
-
data={{
|
|
699
|
-
displaytext: 'Floor No:',
|
|
700
|
-
type: 'default',
|
|
701
|
-
iconcolor: 'darkblue',
|
|
702
|
-
editable: true,
|
|
703
|
-
itemwidth: '100%',
|
|
704
|
-
iconname: 'id-badge',
|
|
705
|
-
value: data.registrationno,
|
|
706
|
-
tfontweight: 'bold',
|
|
707
|
-
placeholder: 'Mobile No',
|
|
708
|
-
placeholdercolor: 'lightgrey',
|
|
709
|
-
capitalize: 'characters',
|
|
710
|
-
tfontsize: normalize(12)
|
|
711
|
-
}}
|
|
712
|
-
callBack={val => (val == undefined ? null : (
|
|
713
|
-
// criteriaData.patientid = val,
|
|
714
|
-
data.registrationno = val,
|
|
715
|
-
setRefresh(refresh + 1)
|
|
716
|
-
// handleSuffixChange(index, val)
|
|
717
|
-
// {}
|
|
718
|
-
))}
|
|
719
|
-
/>
|
|
720
|
-
|
|
721
|
-
</View> */}
|
|
722
|
-
<View style={{ width: '32%' }}>
|
|
723
|
-
<CCustomTextInput
|
|
724
|
-
required={false}
|
|
725
|
-
info={'Enter 3 Digit Room No.'}
|
|
726
|
-
custompositiontextviewstyle={{
|
|
727
|
-
position: 'absolute',
|
|
728
|
-
top: normalize(-7),
|
|
729
|
-
left: normalize(7),
|
|
730
|
-
flexDirection: 'row',
|
|
731
|
-
alignItems: 'center',
|
|
732
|
-
backgroundColor: 'white',
|
|
733
|
-
}}
|
|
734
|
-
inputstyle={{
|
|
735
|
-
flexDirection: 'row',
|
|
736
|
-
borderWidth: 0.5,
|
|
737
|
-
borderColor: 'grey',
|
|
738
|
-
borderRadius: 5,
|
|
739
|
-
alignItems: 'center',
|
|
740
|
-
height: normalize(35),
|
|
741
|
-
backgroundColor: 'white',
|
|
742
|
-
elevation: 2,
|
|
743
|
-
}}
|
|
744
|
-
iconstyle={{
|
|
745
|
-
icongroup: 3,
|
|
746
|
-
iconname: 'door',
|
|
747
|
-
iconsize: normalize(18),
|
|
748
|
-
iconcolor: '#164c92',
|
|
749
|
-
style: {
|
|
750
|
-
paddingHorizontal: normalize(7),
|
|
751
|
-
},
|
|
752
|
-
}}
|
|
753
|
-
data={{
|
|
754
|
-
displaytext: 'Room No:',
|
|
755
|
-
type: 'numeric',
|
|
756
|
-
iconcolor: 'darkblue',
|
|
757
|
-
editable: true,
|
|
758
|
-
itemwidth: '100%',
|
|
759
|
-
iconname: 'id-badge',
|
|
760
|
-
value: data.roomno,
|
|
761
|
-
tfontweight: 'bold',
|
|
762
|
-
placeholder: 'eg:- 001',
|
|
763
|
-
placeholdercolor: 'lightgrey',
|
|
764
|
-
capitalize: 'characters',
|
|
765
|
-
tfontsize: normalize(12),
|
|
766
|
-
maxlength: 3,
|
|
767
|
-
alignment: 'right',
|
|
768
|
-
}}
|
|
769
|
-
callBack={val => (val == undefined ? null : (
|
|
770
|
-
// criteriaData.patientid = val,
|
|
771
|
-
data.roomno = val,
|
|
772
|
-
setRefresh(refresh + 1)
|
|
773
|
-
// handleSuffixChange(index, val)
|
|
774
|
-
// {}
|
|
775
|
-
))}
|
|
776
|
-
/>
|
|
777
|
-
</View>
|
|
778
|
-
</View>
|
|
779
|
-
|
|
780
|
-
{/* <View style={{ marginHorizontal: normalize(14), marginTop: normalize(0), flexDirection: 'row' }}>
|
|
781
|
-
<STextInput
|
|
782
|
-
data={{
|
|
783
|
-
value: data.oplocation,
|
|
784
|
-
iconname: "file",
|
|
785
|
-
type: 'number-pad',
|
|
786
|
-
itemwidth: Dimensions.get('screen').width * 0.35,
|
|
787
|
-
displaytext: "OP Location.",
|
|
788
|
-
}}
|
|
789
|
-
callBack={val => (val == undefined ? null : data.oplocation = val)} />
|
|
790
|
-
|
|
791
|
-
</View> */}
|
|
792
|
-
|
|
793
|
-
<View style={{ marginTop: normalize(10) }}>
|
|
794
|
-
<View style={{ width: '100%' }}>
|
|
795
|
-
<CCustomTextInput
|
|
796
|
-
required={false}
|
|
797
|
-
info={'Enter Achievements.'}
|
|
798
|
-
custompositiontextviewstyle={{
|
|
799
|
-
position: 'absolute',
|
|
800
|
-
top: normalize(-7),
|
|
801
|
-
left: normalize(7),
|
|
802
|
-
flexDirection: 'row',
|
|
803
|
-
alignItems: 'center',
|
|
804
|
-
backgroundColor: 'white',
|
|
805
|
-
}}
|
|
806
|
-
inputstyle={{
|
|
807
|
-
flexDirection: 'row',
|
|
808
|
-
borderWidth: 0.5,
|
|
809
|
-
borderColor: 'grey',
|
|
810
|
-
borderRadius: 5,
|
|
811
|
-
alignItems: 'center',
|
|
812
|
-
height: normalize(60),
|
|
813
|
-
backgroundColor: 'white',
|
|
814
|
-
elevation: 2,
|
|
815
|
-
}}
|
|
816
|
-
iconstyle={{
|
|
817
|
-
icongroup: 3,
|
|
818
|
-
iconname: 'card-account-details-star',
|
|
819
|
-
iconsize: normalize(18),
|
|
820
|
-
iconcolor: '#164c92',
|
|
821
|
-
style: {
|
|
822
|
-
paddingHorizontal: normalize(7),
|
|
823
|
-
},
|
|
824
|
-
}}
|
|
825
|
-
data={{
|
|
826
|
-
displaytext: 'Achievements',
|
|
827
|
-
type: 'default',
|
|
828
|
-
iconcolor: 'darkblue',
|
|
829
|
-
editable: true,
|
|
830
|
-
itemwidth: '100%',
|
|
831
|
-
iconname: 'id-badge',
|
|
832
|
-
value: data.achievement,
|
|
833
|
-
tfontweight: 'bold',
|
|
834
|
-
placeholder: 'Achievements',
|
|
835
|
-
placeholdercolor: 'lightgrey',
|
|
836
|
-
capitalize: 'characters',
|
|
837
|
-
tfontsize: normalize(12),
|
|
838
|
-
textarea: true,
|
|
839
|
-
maxlength: 1000,
|
|
840
|
-
}}
|
|
841
|
-
callBack={val => (val == undefined ? null : (
|
|
842
|
-
// criteriaData.patientid = val,
|
|
843
|
-
data.achievement = val,
|
|
844
|
-
setRefresh(refresh + 1)
|
|
845
|
-
// handleSuffixChange(index, val)
|
|
846
|
-
// {}
|
|
847
|
-
))}
|
|
848
|
-
/>
|
|
849
|
-
</View>
|
|
850
|
-
</View>
|
|
851
|
-
|
|
852
|
-
{/* <View style={{ marginHorizontal: normalize(14) }}>
|
|
853
|
-
<STextInput
|
|
854
|
-
data={{
|
|
855
|
-
height: normalize(50),
|
|
856
|
-
iconname: 'trophy',
|
|
857
|
-
value: data.achievement,
|
|
858
|
-
itemwidth: Dimensions.get('screen').width * 0.81,
|
|
859
|
-
displaytext: "Achievements",
|
|
860
|
-
}}
|
|
861
|
-
callBack={val => (val == undefined ? null : data.achievement = val)}
|
|
862
|
-
/>
|
|
863
|
-
</View> */}
|
|
864
|
-
|
|
865
|
-
<View style={{}}>
|
|
866
|
-
|
|
867
|
-
<HHeading
|
|
868
|
-
styles={{
|
|
869
|
-
'iconname': 'user-md',
|
|
870
|
-
'bgcolor': '#f2efef',
|
|
871
|
-
'iconsize': normalize(12),
|
|
872
|
-
'iconcolor': Global.AppTheme.primary_color,
|
|
873
|
-
'displaytext': 'CONSULTATION RESTRICTION',
|
|
874
|
-
'textsize': normalize(12),
|
|
875
|
-
'textcolor': Global.AppTheme.primary_color,
|
|
876
|
-
}}
|
|
877
|
-
callBack={val => (val == undefined ? null : console.log(val))} />
|
|
878
|
-
|
|
879
|
-
<View style={{ width: '100%', flexDirection: 'row', alignItems: 'center', justifyContent: 'space-evenly', marginTop: normalize(5) }}>
|
|
880
|
-
<View style={{ width: '47%', borderWidth: 0 }}>
|
|
881
|
-
<SDropDownNew
|
|
882
|
-
buttonstyle={{
|
|
883
|
-
borderWidth: 1,
|
|
884
|
-
borderColor: 'lightgrey',
|
|
885
|
-
borderRadius: 5,
|
|
886
|
-
alignItems: 'center',
|
|
887
|
-
justifyContent: 'flex-start',
|
|
888
|
-
height: normalize(30),
|
|
889
|
-
flexDirection: 'row',
|
|
890
|
-
backgroundColor: 'white',
|
|
891
|
-
elevation: 5,
|
|
892
|
-
}}
|
|
893
|
-
icon={{
|
|
894
|
-
'icongroup': 3,
|
|
895
|
-
'name': 'human-male-female',
|
|
896
|
-
'size': normalize(18),
|
|
897
|
-
}}
|
|
898
|
-
iconstyle={{
|
|
899
|
-
color: Global.AppTheme.primary_color,
|
|
900
|
-
paddingLeft: normalize(5),
|
|
901
|
-
textAlign: 'center',
|
|
902
|
-
}}
|
|
903
|
-
textstyle={{
|
|
904
|
-
fontSize: normalize(12),
|
|
905
|
-
fontWeight: 'bold',
|
|
906
|
-
color: '#000000',
|
|
907
|
-
alignItems: 'center',
|
|
908
|
-
textAlign: 'center',
|
|
909
|
-
justifyContent: 'center',
|
|
910
|
-
paddingHorizontal: normalize(5),
|
|
911
|
-
}}
|
|
912
|
-
dropdownapi={'emr/emrcommonget/rnladropdown 25'}
|
|
913
|
-
dropdowndata={isNUQ(data.gendergroupname) ? data.gendergroupname : null}
|
|
914
|
-
onChangeData={val =>
|
|
915
|
-
val == undefined ? null : (
|
|
916
|
-
data.gendergroup = val.datavalue,
|
|
917
|
-
data.gendergroupname = val.displayvalue,
|
|
918
|
-
setRefresh(refresh + 1)
|
|
919
|
-
)}
|
|
920
|
-
editable={true}
|
|
921
|
-
widthArr={Dimensions.get('screen').width * 0.32}
|
|
922
|
-
iconName={'file-medical'}
|
|
923
|
-
refreshCount={val => val == undefined ? null : null}
|
|
924
|
-
/>
|
|
925
|
-
<Text style={{
|
|
926
|
-
position: 'absolute',
|
|
927
|
-
backgroundColor: 'white',
|
|
928
|
-
top: normalize(-6),
|
|
929
|
-
left: normalize(10),
|
|
930
|
-
fontSize: normalize(10),
|
|
931
|
-
color: Global.AppTheme.primary_color,
|
|
932
|
-
}}>
|
|
933
|
-
{' Gender '}
|
|
934
|
-
</Text>
|
|
935
|
-
</View>
|
|
936
|
-
|
|
937
|
-
<View style={{ width: '47%', borderWidth: 0 }}>
|
|
938
|
-
{/* <Text style={{ fontSize: normalize(12), paddingHorizontal: 5 }}>Age Group</Text> */}
|
|
939
|
-
<SDropDownNew
|
|
940
|
-
buttonstyle={{
|
|
941
|
-
borderWidth: 1,
|
|
942
|
-
borderColor: 'lightgrey',
|
|
943
|
-
borderRadius: 5,
|
|
944
|
-
alignItems: 'center',
|
|
945
|
-
justifyContent: 'flex-start',
|
|
946
|
-
backgroundColor: 'white',
|
|
947
|
-
height: normalize(30),
|
|
948
|
-
flexDirection: 'row',
|
|
949
|
-
elevation: 5,
|
|
950
|
-
}}
|
|
951
|
-
icon={{
|
|
952
|
-
'icongroup': 3,
|
|
953
|
-
'name': 'human-male-board-poll',
|
|
954
|
-
'size': normalize(20),
|
|
955
|
-
}}
|
|
956
|
-
iconstyle={{
|
|
957
|
-
color: Global.AppTheme.primary_color,
|
|
958
|
-
paddingLeft: normalize(5),
|
|
959
|
-
textAlign: 'center',
|
|
960
|
-
}}
|
|
961
|
-
textstyle={{
|
|
962
|
-
fontSize: normalize(12),
|
|
963
|
-
fontWeight: 'bold',
|
|
964
|
-
color: '#000000',
|
|
965
|
-
alignItems: 'center',
|
|
966
|
-
textAlign: 'center',
|
|
967
|
-
justifyContent: 'center',
|
|
968
|
-
paddingHorizontal: normalize(5),
|
|
969
|
-
}}
|
|
970
|
-
dropdownapi={'emr/emrcommonget/rnladropdown 24'}
|
|
971
|
-
dropdowndata={isNUQ(data.agegroupname) ? data.agegroupname : null}
|
|
972
|
-
onChangeData={val =>
|
|
973
|
-
val == undefined ? null : (
|
|
974
|
-
data.agegroup = val.datavalue,
|
|
975
|
-
data.agegroupname = val.displayvalue,
|
|
976
|
-
setRefresh(refresh + 1)
|
|
977
|
-
)}
|
|
978
|
-
editable={true}
|
|
979
|
-
widthArr={Dimensions.get('screen').width * 0.32}
|
|
980
|
-
iconName={'file-medical'}
|
|
981
|
-
refreshCount={val =>
|
|
982
|
-
val == undefined ? null : null
|
|
983
|
-
}
|
|
984
|
-
/>
|
|
985
|
-
<Text style={{
|
|
986
|
-
position: 'absolute',
|
|
987
|
-
backgroundColor: 'white',
|
|
988
|
-
top: normalize(-6),
|
|
989
|
-
left: normalize(10),
|
|
990
|
-
fontSize: normalize(10),
|
|
991
|
-
color: Global.AppTheme.primary_color,
|
|
992
|
-
}}>
|
|
993
|
-
{' Age Group '}
|
|
994
|
-
</Text>
|
|
995
|
-
</View>
|
|
996
|
-
|
|
997
|
-
{/* <View>
|
|
998
|
-
{[
|
|
999
|
-
{ "name": "All", "value": "A", "datavalue": 0, "icon": 'human-male-female', "selected": false },
|
|
1000
|
-
{ "name": "Male", "value": "M", "datavalue": 1, "icon": 'human-male', "selected": false },
|
|
1001
|
-
{ "name": "Female", "value": "F", "datavalue": 2, "icon": 'human-female', "selected": false }
|
|
1002
|
-
].map((val) => {
|
|
1003
|
-
return (
|
|
1004
|
-
<View style={{ width: '100%', flexDirection: 'row', alignItems: 'center', borderWidth: 0.5, borderLeftWidth: 2, borderBottomWidth: 2, elevation: 5, borderColor: 'white', backgroundColor: 'white' }}>
|
|
1005
|
-
<View style={{ width: '10%', alignItems: 'center', borderWidth: 0 }}>
|
|
1006
|
-
<HOCIcons.MaterialCommunityIcons
|
|
1007
|
-
name={val.icon}
|
|
1008
|
-
color={"grey"}
|
|
1009
|
-
size={normalize(20)}
|
|
1010
|
-
/>
|
|
1011
|
-
</View>
|
|
1012
|
-
|
|
1013
|
-
<View style={{ width: '75%', alignItems: 'flex-start', borderWidth: 0 }}>
|
|
1014
|
-
<Text
|
|
1015
|
-
style={{
|
|
1016
|
-
textShadowRadius: 2,
|
|
1017
|
-
fontSize: 14,
|
|
1018
|
-
fontWeight: '600',
|
|
1019
|
-
color: 'grey',
|
|
1020
|
-
}}>
|
|
1021
|
-
{val.name}
|
|
1022
|
-
</Text>
|
|
1023
|
-
</View>
|
|
1024
|
-
<View style={{ width: '15%', alignItems: 'center' }}>
|
|
1025
|
-
<HOCIcons.AntDesign
|
|
1026
|
-
name={"checksquareo"}
|
|
1027
|
-
color={"grey"}
|
|
1028
|
-
size={normalize(20)}
|
|
1029
|
-
style={{ paddingHorizontal: 5 }}
|
|
1030
|
-
disabled={false}
|
|
1031
|
-
/>
|
|
1032
|
-
</View>
|
|
1033
|
-
</View>
|
|
1034
|
-
)
|
|
1035
|
-
})
|
|
1036
|
-
}
|
|
1037
|
-
</View> */}
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
</View>
|
|
1041
|
-
|
|
1042
|
-
</View>
|
|
1043
|
-
|
|
1044
|
-
</ScrollView>
|
|
1045
|
-
</TouchableWithoutFeedback>
|
|
1046
|
-
|
|
1047
|
-
<View style={{ backgroundColor: 'transparent', position: 'absolute', bottom: normalize(-10) }}>
|
|
1048
|
-
<View style={{ flexDirection: 'row' }}>
|
|
1049
|
-
{[{
|
|
1050
|
-
'displaytext': 'Update & Logout',
|
|
1051
|
-
'textwidth': 80,
|
|
1052
|
-
'width': 80,
|
|
1053
|
-
'size': 10,
|
|
1054
|
-
'iconname': 'save',
|
|
1055
|
-
'iconcolor': 'darkblue',
|
|
1056
|
-
'fontcolor': 'darkblue',
|
|
1057
|
-
'shadowcolor': '#fff',
|
|
1058
|
-
'selected': false,
|
|
1059
|
-
'visibility': true,
|
|
1060
|
-
'iconsize': 20,
|
|
1061
|
-
'functionid': 'CPR02',
|
|
1062
|
-
'componentname': 'SetUpVitalSign',
|
|
1063
|
-
}].map((item, i) => {
|
|
1064
|
-
return (
|
|
1065
|
-
<View key={i} style={{ paddingLeft: normalize(5) }}>
|
|
1066
|
-
<CAwesomeButton
|
|
1067
|
-
data={item}
|
|
1068
|
-
callBack={val => val == undefined ? null : getSave()}
|
|
1069
|
-
/>
|
|
1070
|
-
</View>
|
|
1071
|
-
);
|
|
1072
|
-
})}
|
|
1073
|
-
</View>
|
|
1074
|
-
</View>
|
|
1075
|
-
|
|
1076
|
-
</View>
|
|
1077
|
-
</MenuProvider>
|
|
1078
|
-
</KeyboardAvoidingView>
|
|
1079
|
-
);
|
|
1080
|
-
|
|
1081
|
-
function getSave() {
|
|
1082
|
-
|
|
1083
|
-
var output = {
|
|
1084
|
-
'groups': {
|
|
1085
|
-
'procedurename': 'rnhosuconsultantupdation1',
|
|
1086
|
-
'suuser': Global.userData.suuser,
|
|
1087
|
-
'hosuconsultant': Global.userData.hosuconsultant,
|
|
1088
|
-
'data': {
|
|
1089
|
-
...data,
|
|
1090
|
-
'oplocation': `${data.hospitalblock}${data.floorno}${data.roomno}`,
|
|
1091
|
-
},
|
|
1092
|
-
},
|
|
1093
|
-
};
|
|
1094
|
-
let buttonapi = APIURL + 'commontemplatesave/RnCommonTemplateSave';
|
|
1095
|
-
|
|
1096
|
-
console.log('Buttonnnnnnnnnn apiiiiiiiiiiiiiiiiiiiiii', JSON.stringify(buttonapi));
|
|
1097
|
-
console.log('output OUserView apiiiiiiiiiiiiiiiiiiiiii', JSON.stringify(output));
|
|
1098
|
-
|
|
1099
|
-
NetworkServiceCall('post', buttonapi, output).then(function (response) {
|
|
1100
|
-
// console.log("output OuserView apiiiiiiiiiiiiiiiiiiiiii", JSON.stringify(response))
|
|
1101
|
-
if (response.httpstatus == 200 && isNU(response.data) && isNU(response.data.code) && response.data.code > 0) {
|
|
1102
|
-
ValueCheck(Global.userData.photo) ? Global.userData.photo = data.imageurl : null,
|
|
1103
|
-
ValueCheck(Global.userData.experience) ? Global.userData.experience = data.experience : null,
|
|
1104
|
-
ValueCheck(Global.userData.qualification) ? Global.userData.qualification = data.qualification : null,
|
|
1105
|
-
ValueCheck(Global.userData.achievement) ? Global.userData.achievement = data.achievement : null,
|
|
1106
|
-
ValueCheck(Global.userData.mobileno) ? Global.userData.mobileno = data.mobileno : null,
|
|
1107
|
-
// console.log('oplocation old', Global.userData.oplocation),
|
|
1108
|
-
(Global.userData.oplocation = `${data.hospitalblock}${data.floorno}${data.roomno}`),
|
|
1109
|
-
// console.log('oplocation updated', `${data.hospitalblock}${data.floorno}${data.roomno}`),
|
|
1110
|
-
navigation.navigate('Login', { data: {} });
|
|
1111
|
-
// navigation.goBack();
|
|
1112
|
-
// console.log('Global.userData.oplocation', Global.userData.oplocation);
|
|
1113
|
-
notifyMessage('User details updated successfully.', 1);
|
|
1114
|
-
props.visibility(false);
|
|
1115
|
-
} else {
|
|
1116
|
-
notifyMessage('Data Not Updated!', 2);
|
|
1117
|
-
}
|
|
1118
|
-
});
|
|
1119
|
-
}
|
|
1120
|
-
};
|
|
1121
|
-
export default OUserView;
|