Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7453129c
authored
2022-12-30 17:02:32 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add ecm insurance
1 parent
8d595a3e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/apps/doc/consts.py
src/apps/doc/ocr/ecm.py
src/apps/doc/consts.py
View file @
7453129
...
...
@@ -10,7 +10,7 @@ PAGE_SIZE_DEFAULT = 10
FIXED_APPLICATION_ID_PREFIX
=
'CH-S'
DOC_SCHEME_LIST
=
[
'ACCEPTANCE'
,
'SETTLEMENT'
,
'CONTRACTMANAGEMENT'
]
DOC_SCHEME_LIST
=
[
'ACCEPTANCE'
,
'SETTLEMENT'
,
'CONTRACTMANAGEMENT'
,
'INSURANCE'
]
DATA_SOURCE_LIST
=
[
'POS'
,
'EAPP'
,
'ECONTRACT'
,
'OVP'
]
COMPARE_DOC_SCHEME_LIST
=
[
'CA'
,
'SE'
]
...
...
src/apps/doc/ocr/ecm.py
View file @
7453129
...
...
@@ -34,6 +34,7 @@ class ECM:
'ACCEPTANCE'
:
(
'acceptance'
,
conf
.
ECM_FOLDER_CA
,
conf
.
ECM_FOLDER_CA_HIL
),
'SETTLEMENT'
:
(
self
.
settlement_type
,
conf
.
ECM_FOLDER_SE
,
conf
.
ECM_FOLDER_SE_HIL
),
'CONTRACTMANAGEMENT'
:
(
'contract_management'
,
conf
.
ECM_FOLDER_CA
,
conf
.
ECM_FOLDER_CA_HIL
),
'INSURANCE'
:
(
'insurance'
,
conf
.
ECM_FOLDER_INSURANCE
,
conf
.
ECM_FOLDER_INSURANCE_HIL
),
}
self
.
doc_base_map
=
{
'AFC'
:
'SF5_CN'
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment