adjust scroll area expertise | deploy sudirman
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -60,3 +60,4 @@ tests/playwright-report/
|
|||||||
# Dummy
|
# Dummy
|
||||||
/dump
|
/dump
|
||||||
platform/app/dist.zip
|
platform/app/dist.zip
|
||||||
|
platform/app/dist-sudirman.zip
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ function ViewerLayout({
|
|||||||
side="right"
|
side="right"
|
||||||
activeTabIndex={rightPanelClosedState ? null : 0}
|
activeTabIndex={rightPanelClosedState ? null : 0}
|
||||||
servicesManager={servicesManager}
|
servicesManager={servicesManager}
|
||||||
|
expandedWidth={400}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|||||||
@@ -24,22 +24,10 @@ window.config = {
|
|||||||
prefetch: 25,
|
prefetch: 25,
|
||||||
},
|
},
|
||||||
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
||||||
expertise_host: `http://192.168.1.29`, //* Tambahan untuk fetch data Expertise)
|
expertise_host: `http://192.168.2.13`, // IP ke NV di PACS Server, untuk fetch expertise bawaan versi NV
|
||||||
pacs_document_host: `192.168.1.29`,
|
pacs_document_host: `192.168.2.13`, // IP ke NV di PACS Server untuk ambil pdf
|
||||||
pacs_document_port: 8080,
|
pacs_document_port: 8080,
|
||||||
// filterQueryParam: false,
|
|
||||||
// defaultDataSourceName: 'dicomweb',
|
|
||||||
defaultDataSourceName: 'local-proxy',
|
defaultDataSourceName: 'local-proxy',
|
||||||
/* Dynamic config allows user to pass "configUrl" query string this allows to load config without recompiling application. The regex will ensure valid configuration source */
|
|
||||||
// dangerouslyUseDynamicConfig: {
|
|
||||||
// enabled: true,
|
|
||||||
// // regex will ensure valid configuration source and default is /.*/ which matches any character. To use this, setup your own regex to choose a specific source of configuration only.
|
|
||||||
// // Example 1, to allow numbers and letters in an absolute or sub-path only.
|
|
||||||
// // regex: /(0-9A-Za-z.]+)(\/[0-9A-Za-z.]+)*/
|
|
||||||
// // Example 2, to restricts to either hosptial.com or othersite.com.
|
|
||||||
// // regex: /(https:\/\/hospital.com(\/[0-9A-Za-z.]+)*)|(https:\/\/othersite.com(\/[0-9A-Za-z.]+)*)/
|
|
||||||
// regex: /.*/,
|
|
||||||
// },
|
|
||||||
dataSources: [
|
dataSources: [
|
||||||
{
|
{
|
||||||
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
||||||
@@ -47,9 +35,8 @@ window.config = {
|
|||||||
configuration: {
|
configuration: {
|
||||||
friendlyName: 'Static WADO Local Data',
|
friendlyName: 'Static WADO Local Data',
|
||||||
name: 'DCM4CHEE',
|
name: 'DCM4CHEE',
|
||||||
qidoRoot: `http://192.168.1.29:5000/rs`,
|
qidoRoot: `http://192.168.2.13:5000/rs`, // IP ke dicomweb-proxy PACS Server. URI selalu /rs
|
||||||
wadoRoot: `http://192.168.1.29:5000/rs`,
|
wadoRoot: `http://192.168.2.13:5000/rs`, // IP ke dicomweb-proxy PACS Server. URI selalu /rs qidoSupportsIncludeField: false,
|
||||||
qidoSupportsIncludeField: false,
|
|
||||||
supportsReject: true,
|
supportsReject: true,
|
||||||
supportsStow: true,
|
supportsStow: true,
|
||||||
imageRendering: 'wadors',
|
imageRendering: 'wadors',
|
||||||
|
|||||||
@@ -441,7 +441,7 @@ const SidePanel = ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ScrollArea className="border-input bg-background h-[500px] w-[350px] rounded-md border p-2 text-sm text-white">
|
<ScrollArea className="border-input bg-background h-[500px] w-full rounded-md border p-2 text-sm text-white">
|
||||||
<h3 className="mb-4 text-lg font-bold">Expertise</h3>
|
<h3 className="mb-4 text-lg font-bold">Expertise</h3>
|
||||||
{formattedData.map((section, index) => (
|
{formattedData.map((section, index) => (
|
||||||
<div
|
<div
|
||||||
@@ -452,11 +452,16 @@ const SidePanel = ({
|
|||||||
{Array.isArray(section.value) ? (
|
{Array.isArray(section.value) ? (
|
||||||
<ul className="list-disc pl-6">
|
<ul className="list-disc pl-6">
|
||||||
{section.value.map((item, idx) => (
|
{section.value.map((item, idx) => (
|
||||||
<li key={idx}>{item}</li>
|
<li
|
||||||
|
key={idx}
|
||||||
|
className="break-words"
|
||||||
|
>
|
||||||
|
{item}
|
||||||
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
) : (
|
) : (
|
||||||
<p>{section.value}</p>
|
<p className="break-words">{section.value}</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user