Commit 3518ab38 by chenwq

新增深圳广联作为合同组织选项

1 parent 648f9585
...@@ -78,6 +78,7 @@ const EVALUATION_SOURCES = [ ...@@ -78,6 +78,7 @@ const EVALUATION_SOURCES = [
const CONTRACT_ORGS = [ const CONTRACT_ORGS = [
{ value: 'hzglsk', label: '惠州广联' }, { value: 'hzglsk', label: '惠州广联' },
{ value: 'szyjzh', label: '优加' }, { value: 'szyjzh', label: '优加' },
{ value: 'szglsk', label: '深圳广联' },
]; ];
const labelOf = ( const labelOf = (
options: Array<{ value: string | number; label: string }>, options: Array<{ value: string | number; label: string }>,
......
...@@ -55,6 +55,7 @@ export const SIGNER_TYPES: OperationOption[] = [ ...@@ -55,6 +55,7 @@ export const SIGNER_TYPES: OperationOption[] = [
export const CONTRACT_ORGS: OperationOption[] = [ export const CONTRACT_ORGS: OperationOption[] = [
{ value: 'hzglsk', label: '惠州广联' }, { value: 'hzglsk', label: '惠州广联' },
{ value: 'szyjzh', label: '优加' }, { value: 'szyjzh', label: '优加' },
{ value: 'szglsk', label: '深圳广联' },
]; ];
export const optionLabel = (options: OperationOption[], value: unknown): string => export const optionLabel = (options: OperationOption[], value: unknown): string =>
options.find((option) => String(option.value) === String(value))?.label ?? '-'; options.find((option) => String(option.value) === String(value))?.label ?? '-';
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!