cnhis-design-vue 3.1.46-beta.3 → 3.1.46-beta.30

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.
Files changed (134) hide show
  1. package/es/components/button-print/index.d.ts +1 -1
  2. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  3. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  4. package/es/components/button-print/src/utils/print.js +1 -1
  5. package/es/components/classification/index.d.ts +1 -1
  6. package/es/components/classification/src/index.vue.d.ts +1 -1
  7. package/es/components/classification/src/index.vue2.js +1 -1
  8. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  9. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  13. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  17. package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
  18. package/es/components/fabric-chart/src/utils/index.js +1 -1
  19. package/es/components/form-config/index.d.ts +23 -1
  20. package/es/components/form-config/src/FormConfig.vue.d.ts +23 -1
  21. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  22. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -0
  23. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +11 -0
  24. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  25. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  26. package/es/components/form-config/src/types/index.d.ts +1 -1
  27. package/es/components/form-render/index.d.ts +11 -0
  28. package/es/components/form-render/src/FormRender.vue.d.ts +12 -1
  29. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  30. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -0
  31. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  32. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +7 -0
  33. package/es/components/form-render/src/hooks/useOperationalForm.js +1 -0
  34. package/es/components/form-render/src/types/index.d.ts +2 -1
  35. package/es/components/iho-table/index.d.ts +14 -0
  36. package/es/components/iho-table/src/IhoTable.vue.d.ts +14 -0
  37. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  38. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -0
  39. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  40. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  41. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  42. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  43. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  44. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  45. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  46. package/es/components/iho-table/src/plugins/index.js +1 -1
  47. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  48. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -0
  49. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -0
  50. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  51. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  52. package/es/components/iho-table/src/types/index.d.ts +3 -1
  53. package/es/components/iho-table/src/types/pluginType.d.ts +2 -0
  54. package/es/components/iho-table/style/index.css +1 -1
  55. package/es/components/index.css +1 -1
  56. package/es/components/index.d.ts +2 -1
  57. package/es/components/index.js +1 -1
  58. package/es/components/info-header/index.d.ts +26 -0
  59. package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -0
  60. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +11 -0
  61. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +11 -0
  62. package/es/components/quick-search/src/index.vue2.js +1 -1
  63. package/es/components/scale-view/index.d.ts +8 -8
  64. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  65. package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +4 -4
  66. package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
  67. package/es/components/scale-view/src/components/formitem/r-radio.d.ts +4 -4
  68. package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
  69. package/es/components/scale-view/src/hooks/use-component.d.ts +16 -16
  70. package/es/components/scale-view/style/index.css +1 -1
  71. package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
  72. package/es/components/select-person/index.d.ts +123 -0
  73. package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +88 -0
  74. package/es/components/select-person/src/SearchOrgAndStaff.vue.js +1 -0
  75. package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -0
  76. package/es/components/select-person/src/SelectPerson.vue.d.ts +123 -0
  77. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  78. package/es/components/select-person/src/types/enums.d.ts +4 -0
  79. package/es/components/select-person/src/types/enums.js +1 -0
  80. package/es/components/select-person/src/utils/index.d.ts +1 -1
  81. package/es/components/select-person/src/utils/index.js +1 -1
  82. package/es/components/select-person/style/index.css +1 -1
  83. package/es/components/shortcut-setter/index.d.ts +11 -0
  84. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +11 -0
  85. package/es/components/table-export-field/index.d.ts +1057 -0
  86. package/es/components/table-export-field/index.js +1 -0
  87. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +270 -0
  88. package/es/components/table-export-field/src/components/ExportModal.vue.js +1 -0
  89. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  90. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +700 -0
  91. package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +1 -0
  92. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -0
  93. package/es/components/table-export-field/src/constants/index.d.ts +3 -0
  94. package/es/components/table-export-field/src/constants/index.js +1 -0
  95. package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +6 -0
  96. package/es/components/table-export-field/src/hooks/useAsyncData.js +1 -0
  97. package/es/components/table-export-field/src/index.vue.d.ts +1058 -0
  98. package/es/components/table-export-field/src/index.vue.js +1 -0
  99. package/es/components/table-export-field/src/index.vue2.js +1 -0
  100. package/es/components/table-export-field/src/tool.d.ts +1 -0
  101. package/es/components/table-export-field/src/tool.js +1 -0
  102. package/es/components/table-export-field/src/types/index.d.ts +6 -0
  103. package/es/components/table-export-field/src/types/index.js +1 -0
  104. package/es/components/table-export-field/style/index.css +1 -0
  105. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  106. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
  107. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -1
  108. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  109. package/es/shared/hooks/useDateTime.d.ts +1 -1
  110. package/es/shared/hooks/useDateTime.js +1 -1
  111. package/es/shared/package.json.js +1 -1
  112. package/es/shared/types/business.d.ts +6 -0
  113. package/es/shared/types/index.d.ts +1 -0
  114. package/es/shared/utils/business.d.ts +6 -1
  115. package/es/shared/utils/business.js +1 -1
  116. package/es/shared/utils/fabricjs/index.js +1 -1
  117. package/es/shared/utils/index.js +1 -1
  118. package/es/shared/utils/tapableLess.d.ts +28 -0
  119. package/es/shared/utils/tapableLess.js +1 -0
  120. package/package.json +2 -2
  121. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  122. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  123. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  124. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  125. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  126. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  127. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  128. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  129. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  130. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  131. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  132. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  133. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  134. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
@@ -64,11 +64,11 @@ export declare const componentMap: {
64
64
  RADIO_BLOCK: import("vue").ShallowRef<import("vue").DefineComponent<{
65
65
  form: {
66
66
  type: ObjectConstructor;
67
- default: () => void;
67
+ default: () => {};
68
68
  };
69
69
  item: {
70
70
  type: ObjectConstructor;
71
- default: () => void;
71
+ default: () => {};
72
72
  };
73
73
  isLock: {
74
74
  type: BooleanConstructor;
@@ -81,11 +81,11 @@ export declare const componentMap: {
81
81
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
82
82
  form: {
83
83
  type: ObjectConstructor;
84
- default: () => void;
84
+ default: () => {};
85
85
  };
86
86
  item: {
87
87
  type: ObjectConstructor;
88
- default: () => void;
88
+ default: () => {};
89
89
  };
90
90
  isLock: {
91
91
  type: BooleanConstructor;
@@ -106,11 +106,11 @@ export declare const componentMap: {
106
106
  CHECKBOX_BLOCK: import("vue").ShallowRef<import("vue").DefineComponent<{
107
107
  form: {
108
108
  type: ObjectConstructor;
109
- default: () => void;
109
+ default: () => {};
110
110
  };
111
111
  item: {
112
112
  type: ObjectConstructor;
113
- default: () => void;
113
+ default: () => {};
114
114
  };
115
115
  isLock: {
116
116
  type: BooleanConstructor;
@@ -123,11 +123,11 @@ export declare const componentMap: {
123
123
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
124
124
  form: {
125
125
  type: ObjectConstructor;
126
- default: () => void;
126
+ default: () => {};
127
127
  };
128
128
  item: {
129
129
  type: ObjectConstructor;
130
- default: () => void;
130
+ default: () => {};
131
131
  };
132
132
  isLock: {
133
133
  type: BooleanConstructor;
@@ -1455,11 +1455,11 @@ export declare const componentMap: {
1455
1455
  EVALUATE_RADIO_BLOCK: import("vue").ShallowRef<import("vue").DefineComponent<{
1456
1456
  form: {
1457
1457
  type: ObjectConstructor;
1458
- default: () => void;
1458
+ default: () => {};
1459
1459
  };
1460
1460
  item: {
1461
1461
  type: ObjectConstructor;
1462
- default: () => void;
1462
+ default: () => {};
1463
1463
  };
1464
1464
  isLock: {
1465
1465
  type: BooleanConstructor;
@@ -1472,11 +1472,11 @@ export declare const componentMap: {
1472
1472
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1473
1473
  form: {
1474
1474
  type: ObjectConstructor;
1475
- default: () => void;
1475
+ default: () => {};
1476
1476
  };
1477
1477
  item: {
1478
1478
  type: ObjectConstructor;
1479
- default: () => void;
1479
+ default: () => {};
1480
1480
  };
1481
1481
  isLock: {
1482
1482
  type: BooleanConstructor;
@@ -1497,11 +1497,11 @@ export declare const componentMap: {
1497
1497
  EVALUATE_CHECKBOX_BLOCK: import("vue").ShallowRef<import("vue").DefineComponent<{
1498
1498
  form: {
1499
1499
  type: ObjectConstructor;
1500
- default: () => void;
1500
+ default: () => {};
1501
1501
  };
1502
1502
  item: {
1503
1503
  type: ObjectConstructor;
1504
- default: () => void;
1504
+ default: () => {};
1505
1505
  };
1506
1506
  isLock: {
1507
1507
  type: BooleanConstructor;
@@ -1514,11 +1514,11 @@ export declare const componentMap: {
1514
1514
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1515
1515
  form: {
1516
1516
  type: ObjectConstructor;
1517
- default: () => void;
1517
+ default: () => {};
1518
1518
  };
1519
1519
  item: {
1520
1520
  type: ObjectConstructor;
1521
- default: () => void;
1521
+ default: () => {};
1522
1522
  };
1523
1523
  isLock: {
1524
1524
  type: BooleanConstructor;
@@ -1 +1 @@
1
- @font-face{font-family:scale-view-iconfont;src:url(scale-view-iconfont.ttf?t=1682489008262) format("truetype")}.scale-view-iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:scale-view-iconfont!important;font-size:14px;font-style:normal}.icon-scale-view-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-scale-view-shijian:before{content:"\e8c5"}.icon-scale-view-qianming:before{content:"\e6ca"}.icon-scale-view-cuo:before{content:"\e6e5"}.icon-scale-view-dui:before{content:"\e7c8"}.icon-scale-view-dengpao:before{content:"\e719"}.c-scale-view-block .c-choice-wrap{display:flex;flex-wrap:wrap;width:100%}.c-scale-view-block .c-choice-wrap .n-radio-input{height:14px;width:14px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap{background:#fff;border:1px solid #d5d5d5;border-radius:4px;display:inline-block;height:62px;margin-right:16px;min-width:74px;position:relative;width:74px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap:hover .scale-preview-wrap{display:flex}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap>img{height:100%;object-fit:cover;width:100%}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap{align-items:center;background:rgba(0,0,0,.75);border-radius:8px;bottom:0;display:none;font-size:20px;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap i.anticon{color:#fff;margin:0}.c-scale-view-block .c-choice-wrap .presuffix-wrap{align-items:center;display:inline-flex;white-space:normal;width:100%}.c-scale-view-block .c-choice-wrap .n-input{border-bottom:1px solid #d9d9d9;flex:1;max-width:300px}.c-scale-view-block .c-choice-wrap .choose-other{flex:1}.c-scale-view-block .c-choice-wrap .other-span{word-break:break-all}.c-scale-view-block .c-choice-wrap.choice-wrap-1 label{width:100%}.c-scale-view-block .c-choice-wrap.choice-wrap-1 label .n-input{max-width:300px}.c-scale-view-block .c-choice-wrap.choice-wrap-2 label{width:50%}.c-scale-view-block .c-choice-wrap.choice-wrap-3 label{width:33%}.c-scale-view-block .c-choice-wrap.choice-wrap-4 label{width:25%}.c-scale-view-block .c-choice-wrap label{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap label .n-radio__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block .c-choice-wrap>.n-checkbox{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap>.n-checkbox .n-checkbox__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .n-checkbox{width:100%}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .n-checkbox .n-input{max-width:300px}.c-scale-view-block .c-choice-wrap.choice-wrap-2 .n-checkbox{width:50%}.c-scale-view-block .c-choice-wrap.choice-wrap-3 .n-checkbox{width:33%}.c-scale-view-block .c-choice-wrap.choice-wrap-4 .n-checkbox{width:25%}.c-scale-view-block{box-sizing:border-box;color:rgba(0,0,0,.65);display:flex;flex-direction:column;height:100%;overflow:hidden;padding-top:4px;position:relative;text-align:left;width:100%}.c-scale-view-block .scale-container{box-sizing:border-box;height:100%;overflow-y:auto;transform-origin:0 0;width:100%}.c-scale-view-block .scale-container.scale-container-nopadding{display:flex;flex-direction:column;height:100%}.c-scale-view-block .scale-container.scale-container-hasfooter{flex:1}.c-scale-view-block .scale-container::-webkit-scrollbar{background-color:#f5f5f5;height:6px;width:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-track{background-color:#f2f2f2;border-radius:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-thumb{background-color:#dbdcdc;border-radius:10px}.c-scale-view-block .lb-title{text-align:center}.c-scale-view-block .map-container{cursor:pointer}.c-scale-view-block .linebar-div{margin-top:24px;text-align:center;width:100%}.c-scale-view-block .linebar-div .n-divider{margin-top:4px}.c-scale-view-block .my-prompt{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);padding:10px}.c-scale-view-block .img-card{width:100%}.c-scale-view-block .main{box-sizing:border-box}.c-scale-view-block .main .scale-label-required{font-weight:700}.c-scale-view-block .main .required-text{color:#e02828;font-weight:700}.c-scale-view-block .main .score-i{word-break:keep-all}.c-scale-view-block .main .evalute-label{background:rgba(45,122,255,.1);border:1px solid rgba(45,122,255,.5);border-radius:4px;color:#2d7aff;display:inline-block;font-size:12px;height:20px;line-height:20px;margin-left:4px;padding:0 5px}.c-scale-view-block .main .evalute-tip{background:rgba(255,194,0,.15);border-radius:2px;color:#fe9626;cursor:pointer;display:inline-block;margin-left:8px;padding:0 5px}.c-scale-view-block .footer{align-items:center;background:#fff;border-top:1px solid #e8e8e8;box-sizing:border-box;display:flex;flex-basis:50px;height:50px;width:100%}.c-scale-view-block .footer .n-button+.n-button{margin-left:8px}.n-dialog.n-modal.c-evatip-dialog-wrap{max-height:unset;overflow-y:hidden;padding:0;width:494px!important}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__title{border-bottom:1px solid #e8e8e8;font-weight:600;height:52px;line-height:52px;padding-left:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-base-icon{color:#666;margin:0;position:absolute}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__content{margin:0}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container{color:#2e2e2e;font-size:16px;max-height:60vh;min-height:100px;overflow-y:auto;padding:26px 16px}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container p{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;font-size:14px;margin-bottom:0;margin-top:12px;padding:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__action{border-top:1px solid #e8e8e8;box-sizing:border-box;display:block;padding:10px 16px;text-align:right;width:100%}.c-scale-view-block .c-answerParse{background:hsla(0,64%,98%,.6);border-radius:8px;color:#2e2e2e;margin-bottom:12px;margin-top:6px;padding:16px}.c-scale-view-block .c-answerParse .answer-res-wrap{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res{align-items:center;background:#f06f64;border-radius:18px;color:#fff;display:inline-flex;font-weight:700;line-height:36px;padding:0 18px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res svg{font-size:16px;margin-right:8px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-score{color:#2e2e2e;font-size:14px;font-weight:600}.c-scale-view-block .c-answerParse .correct-answer{line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .correct-answer p{display:inline-block;font-weight:700}.c-scale-view-block .c-answerParse .correct-answer span{color:#91c850;font-size:16px;word-break:break-all}.c-scale-view-block .c-answerParse .answer-key{line-height:20px}.c-scale-view-block .c-answerParse .answer-key p{font-weight:700;line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-key span{word-break:break-all}.c-scale-view-block .c-answerParse.answerParse-success{background:rgba(234,251,228,.6)}.c-scale-view-block .c-answerParse.answerParse-success .answer-res{background:#91c850}.c-scale-view-block .c-evaluateCountdown{background:#f2f2f4;border-radius:8px;color:#212121;min-width:166px;padding:8px 12px;position:absolute;right:0;text-align:center;top:0;z-index:1}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover{background:#f1f1f4;padding:8px 32px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .countdown{font-size:26px;line-height:40px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .countdown span{line-height:unset}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .countdown svg{display:none}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .answered-wrap{display:block}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime .answered-wrap{display:none}.c-scale-view-block .c-evaluateCountdown .countdown{align-content:center;color:#000;display:flex;font-size:14px;justify-content:center}.c-scale-view-block .c-evaluateCountdown .countdown span{line-height:18px}.c-scale-view-block .c-evaluateCountdown .countdown svg{color:#969696;font-size:16px;margin-left:8px}.c-scale-view-block .c-evaluateCountdown .countdown.countdown-red{color:#ff1818}.c-scale-view-block .c-evaluateCountdown .answered-wrap span{color:#2d7aff}.c-scale-view-block .c-evaluate-page{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.c-scale-view-block .c-evaluate-page .evaluate-container{border:1px solid #e0e0e0;border-radius:15px;padding:45px 32px;text-align:center;width:620px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-name{color:#212121;font-size:20px;line-height:28px;margin-bottom:10px;max-height:88px;overflow-y:auto;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain{background:#f2f2f4;border-radius:8px;margin-bottom:24px;overflow:hidden;padding:12px 22px 12px 30px;text-align:left}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain>div{max-height:206px;overflow-y:auto;padding-right:8px;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score{display:flex;margin-bottom:24px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li+li{border-left:1px solid hsla(0,0%,84%,.6)}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li{flex:1}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li div{color:#000;font-size:36px;line-height:50px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li span{color:rgba(0,0,0,.6);font-size:14px;line-height:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-time-range{color:#000;font-size:14px;line-height:20px;margin-bottom:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-btn{border-radius:8px;color:#fff;font-size:18px;height:unset;padding:16px 0;text-align:center;width:380px}.c-scale-view-block .c-totalScore-warp{background:#f2f2f4;border-radius:6px;color:#666;font-size:14px;font-weight:400;margin-bottom:16px;padding:16px}.c-scale-view-block .c-totalScore-warp div+div{margin-top:4px}.c-scale-view-block .c-totalScore-warp span{color:#090909;font-weight:500}.c-scale-view-block .c-totalScore-warp .score-result{color:#2d7aff}.c-scale-view-block .c-sign-wrap .sigan-content-wrap{display:flex;flex-wrap:wrap}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item{border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;height:96px;margin-right:16px;overflow:hidden;position:relative;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>img{height:100%;width:100%}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item:hover>div{display:flex}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div{align-items:center;background:rgba(0,0,0,.8);border-radius:4px;bottom:0;display:none;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon{color:#fff;cursor:pointer;font-size:18px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon+.n-icon{margin-left:20px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap{align-items:center;background:#fafafa;border:1px dashed #d5d5d5;border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;height:96px;justify-content:center;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap .scale-view-iconfont{color:#000;font-size:32px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap span,.c-scale-view-block .sign-com-wrap>span{color:#585858}.c-scale-view-block .sign-com-wrap .sign-canvas{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;margin-top:16px}.c-scale-view-block li,.c-scale-view-block ul{list-style:none;margin:0;padding:0}.c-scale-view-block .n-input{text-align:left;width:100%}.c-scale-view-block .n-form-item{--n-label-height:unset!important}.c-scale-view-block .c-scle-form-item>.n-form-item-blank{display:block}.c-scale-view-block .no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.c-scale-view-block .no-data-tip>img{max-width:70%;width:260px}.c-scale-view-block .no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.c-scale-view-block .no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.c-scale-view-block .c-scale-address{max-width:500px}.c-scale-view-block .c-scale-address .field-row{display:flex;overflow:hidden;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select{flex:1;padding:0 5px 5px 0;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select:last-child{padding-right:0}.c-scale-view-block .c-scale-collection,.c-scale-view-block .c-scale-collection .img-card{width:100%}.c-scale-view-block .c-scale-collection.scale-collection-title{text-align:center}.c-scale-view-block .c-scale-collection.scale-collection-title h1{font-weight:500}.c-scale-view-block .c-scale-collection.prompt-message{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);color:#666;padding:10px;position:relative}.c-scale-view-block .c-scale-collection.prompt-message.is-weak{color:#999}.c-scale-view-block .c-scale-collection.prompt-message.is-strong{color:#ff1818;padding:8px 8px 8px 35px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-icon{font-size:18px;left:8px;position:absolute;top:8px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-message-content{font-size:14px;line-height:16px;word-break:break-all}.c-scale-view-block .c-time-range{align-items:center;display:flex}.c-scale-view-block .c-map-container{cursor:pointer;width:100%}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix{transform:rotate(180deg)}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix .n-icon{color:rgba(0,0,0,.65)}.c-scale-view-block .c-map-container .n-input.map-input.n-input--disabled .n-input__input-el{background-color:#fff;color:rgba(0,0,0,.65);cursor:pointer}.c-scale-view-block .c-scale-upload{width:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list{display:flex}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type{background:rgba(0,0,0,.5);box-sizing:border-box}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type span.n-button__icon{color:#fff}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-trigger.n-upload-trigger--image-card{background-color:#fafafa;border-color:#d5d5d5;height:184px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type{background-color:#fafafa;border-color:#d5d5d5;height:184px;padding:8px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type .n-image{height:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type img{object-fit:cover!important}.c-scale-view-block .c-scale-upload .upload-img-wrap{align-items:center;display:flex;flex-direction:column}.c-scale-view-block .c-scale-upload .dragger-upload-text{align-items:center;display:flex}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-dragger{padding:16px 0}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload{--n-item-disabled-opacity:1!important;opacity:1!important}.c-scale-view-block .c-scale-upload.scale-upload-file .dragger-upload-text{color:rgba(0,0,0,.65)}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list{display:flex;flex-direction:column;width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list .n-upload-file{width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-trigger{background:#fafafa;border-color:#d5d5d5;width:100%}.c-scale-view-block .text-over-tooltip-components{display:inline-block;max-width:98%}.c-scale-view-block .text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-scale-view-block .text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.c-scale-view-block .text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.c-scale-view-block .text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.c-scale-map-modal .n-card__content{overflow:hidden}.c-scale-modal-container.n-dialog{display:flex;flex-direction:column;height:60vh}.c-scale-modal-container.n-dialog.n-modal{min-width:560px;padding:0;width:50vw}.c-scale-modal-container.n-dialog .n-dialog__title{background:#fff;border-bottom:1px solid #e8e8e8;border-radius:8px 8px 0 0;box-sizing:border-box;height:52px;line-height:52px;padding:14px 16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content{align-items:center;color:#000;display:flex;font-size:16px;height:100%;justify-content:space-between;overflow:hidden;width:100%}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .modal-title-drag{flex:1}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap{right:16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg{cursor:pointer;font-size:14px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg+svg{margin-left:16px}.c-scale-modal-container.n-dialog .n-dialog__content{height:100%;margin:0;overflow:hidden;padding:16px}.c-scale-modal-container.n-dialog .n-dialog__action{background:transparent;border-radius:0 0 8px 8px;border-top:1px solid #e8e8e8;box-sizing:border-box;height:52px;padding:10px 16px;text-align:right}
1
+ @font-face{font-family:scale-view-iconfont;src:url(scale-view-iconfont.ttf?t=1682489008262) format("truetype")}.scale-view-iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:scale-view-iconfont!important;font-size:14px;font-style:normal}.icon-scale-view-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-scale-view-shijian:before{content:"\e8c5"}.icon-scale-view-qianming:before{content:"\e6ca"}.icon-scale-view-cuo:before{content:"\e6e5"}.icon-scale-view-dui:before{content:"\e7c8"}.icon-scale-view-dengpao:before{content:"\e719"}.c-scale-view-block .c-choice-wrap{display:flex;flex-wrap:wrap;width:100%}.c-scale-view-block .c-choice-wrap .c-choice-radio-div{align-items:center;display:flex;flex-wrap:wrap}.c-scale-view-block .c-choice-wrap .n-radio-input{height:14px;width:14px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap{background:#fff;border:1px solid #d5d5d5;border-radius:4px;display:inline-block;height:62px;margin-right:16px;min-width:74px;position:relative;width:74px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap:hover .scale-preview-wrap{display:flex}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap>img{height:100%;object-fit:cover;width:100%}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap{align-items:center;background:rgba(0,0,0,.75);border-radius:8px;bottom:0;display:none;font-size:20px;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap i.anticon{color:#fff;margin:0}.c-scale-view-block .c-choice-wrap .presuffix-wrap{align-items:center;display:inline-flex;white-space:normal;width:100%}.c-scale-view-block .c-choice-wrap .n-input{border-bottom:1px solid #d9d9d9;flex:1;max-width:300px}.c-scale-view-block .c-choice-wrap .choose-other{flex:1}.c-scale-view-block .c-choice-wrap .other-span{word-break:break-all}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .c-choice-radio-div{width:100%}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .c-choice-radio-div .n-input{max-width:300px}.c-scale-view-block .c-choice-wrap.choice-wrap-2 .c-choice-radio-div{width:50%}.c-scale-view-block .c-choice-wrap.choice-wrap-3 .c-choice-radio-div{width:33%}.c-scale-view-block .c-choice-wrap.choice-wrap-4 .c-choice-radio-div{width:25%}.c-scale-view-block .c-choice-wrap label{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap label .n-radio__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block .c-choice-wrap .n-checkbox{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap .n-checkbox .n-checkbox__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block{box-sizing:border-box;color:rgba(0,0,0,.65);display:flex;flex-direction:column;height:100%;overflow:hidden;padding-top:4px;position:relative;text-align:left;width:100%}.c-scale-view-block .scale-container{box-sizing:border-box;height:100%;overflow-y:auto;transform-origin:0 0;width:100%}.c-scale-view-block .scale-container.scale-container-nopadding{display:flex;flex-direction:column;height:100%}.c-scale-view-block .scale-container.scale-container-hasfooter{flex:1}.c-scale-view-block .scale-container::-webkit-scrollbar{background-color:#f5f5f5;height:6px;width:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-track{background-color:#f2f2f2;border-radius:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-thumb{background-color:#dbdcdc;border-radius:10px}.c-scale-view-block .lb-title{text-align:center}.c-scale-view-block .map-container{cursor:pointer}.c-scale-view-block .linebar-div{margin-top:24px;text-align:center;width:100%}.c-scale-view-block .linebar-div .n-divider{margin-top:4px}.c-scale-view-block .my-prompt{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);padding:10px}.c-scale-view-block .img-card{width:100%}.c-scale-view-block .main{box-sizing:border-box}.c-scale-view-block .main .scale-label-required{font-weight:700}.c-scale-view-block .main .required-text{color:#e02828;font-weight:700}.c-scale-view-block .main .score-i{word-break:keep-all}.c-scale-view-block .main .evalute-label{background:rgba(45,122,255,.1);border:1px solid rgba(45,122,255,.5);border-radius:4px;color:#2d7aff;display:inline-block;font-size:12px;height:20px;line-height:20px;margin-left:4px;padding:0 5px}.c-scale-view-block .main .evalute-tip{background:rgba(255,194,0,.15);border-radius:2px;color:#fe9626;cursor:pointer;display:inline-block;margin-left:8px;padding:0 5px}.c-scale-view-block .footer{align-items:center;background:#fff;border-top:1px solid #e8e8e8;box-sizing:border-box;display:flex;flex-basis:50px;height:50px;width:100%}.c-scale-view-block .footer .n-button+.n-button{margin-left:8px}.n-dialog.n-modal.c-evatip-dialog-wrap{max-height:unset;overflow-y:hidden;padding:0;width:494px!important}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__title{border-bottom:1px solid #e8e8e8;font-weight:600;height:52px;line-height:52px;padding-left:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-base-icon{color:#666;margin:0;position:absolute}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__content{margin:0}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container{color:#2e2e2e;font-size:16px;max-height:60vh;min-height:100px;overflow-y:auto;padding:26px 16px}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container p{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;font-size:14px;margin-bottom:0;margin-top:12px;padding:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__action{border-top:1px solid #e8e8e8;box-sizing:border-box;display:block;padding:10px 16px;text-align:right;width:100%}.c-scale-view-block .c-answerParse{background:hsla(0,64%,98%,.6);border-radius:8px;color:#2e2e2e;margin-bottom:12px;margin-top:6px;padding:16px}.c-scale-view-block .c-answerParse .answer-res-wrap{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res{align-items:center;background:#f06f64;border-radius:18px;color:#fff;display:inline-flex;font-weight:700;line-height:36px;padding:0 18px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res svg{font-size:16px;margin-right:8px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-score{color:#2e2e2e;font-size:14px;font-weight:600}.c-scale-view-block .c-answerParse .correct-answer{line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .correct-answer p{display:inline-block;font-weight:700}.c-scale-view-block .c-answerParse .correct-answer span{color:#91c850;font-size:16px;word-break:break-all}.c-scale-view-block .c-answerParse .answer-key{line-height:20px}.c-scale-view-block .c-answerParse .answer-key p{font-weight:700;line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-key span{word-break:break-all}.c-scale-view-block .c-answerParse.answerParse-success{background:rgba(234,251,228,.6)}.c-scale-view-block .c-answerParse.answerParse-success .answer-res{background:#91c850}.c-scale-view-block .c-evaluateCountdown{background:#f2f2f4;border-radius:8px;color:#212121;min-width:166px;padding:8px 12px;position:absolute;right:0;text-align:center;top:0;z-index:1}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover{background:#f1f1f4;padding:8px 32px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .countdown{font-size:26px;line-height:40px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .countdown span{line-height:unset}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .countdown svg{display:none}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:hover .answered-wrap{display:block}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime .answered-wrap{display:none}.c-scale-view-block .c-evaluateCountdown .countdown{align-content:center;color:#000;display:flex;font-size:14px;justify-content:center}.c-scale-view-block .c-evaluateCountdown .countdown span{line-height:18px}.c-scale-view-block .c-evaluateCountdown .countdown svg{color:#969696;font-size:16px;margin-left:8px}.c-scale-view-block .c-evaluateCountdown .countdown.countdown-red{color:#ff1818}.c-scale-view-block .c-evaluateCountdown .answered-wrap span{color:#2d7aff}.c-scale-view-block .c-evaluate-page{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.c-scale-view-block .c-evaluate-page .evaluate-container{border:1px solid #e0e0e0;border-radius:15px;padding:45px 32px;text-align:center;width:620px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-name{color:#212121;font-size:20px;line-height:28px;margin-bottom:10px;max-height:88px;overflow-y:auto;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain{background:#f2f2f4;border-radius:8px;margin-bottom:24px;overflow:hidden;padding:12px 22px 12px 30px;text-align:left}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain>div{max-height:206px;overflow-y:auto;padding-right:8px;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score{display:flex;margin-bottom:24px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li+li{border-left:1px solid hsla(0,0%,84%,.6)}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li{flex:1}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li div{color:#000;font-size:36px;line-height:50px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li span{color:rgba(0,0,0,.6);font-size:14px;line-height:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-time-range{color:#000;font-size:14px;line-height:20px;margin-bottom:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-btn{border-radius:8px;color:#fff;font-size:18px;height:unset;padding:16px 0;text-align:center;width:380px}.c-scale-view-block .c-totalScore-warp{background:#f2f2f4;border-radius:6px;color:#666;font-size:14px;font-weight:400;margin-bottom:16px;padding:16px}.c-scale-view-block .c-totalScore-warp div+div{margin-top:4px}.c-scale-view-block .c-totalScore-warp span{color:#090909;font-weight:500}.c-scale-view-block .c-totalScore-warp .score-result{color:#2d7aff}.c-scale-view-block .c-sign-wrap .sigan-content-wrap{display:flex;flex-wrap:wrap}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item{border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;height:96px;margin-right:16px;overflow:hidden;position:relative;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>img{height:100%;width:100%}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item:hover>div{display:flex}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div{align-items:center;background:rgba(0,0,0,.8);border-radius:4px;bottom:0;display:none;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon{color:#fff;cursor:pointer;font-size:18px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon+.n-icon{margin-left:20px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap{align-items:center;background:#fafafa;border:1px dashed #d5d5d5;border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;height:96px;justify-content:center;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap .scale-view-iconfont{color:#000;font-size:32px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap span,.c-scale-view-block .sign-com-wrap>span{color:#585858}.c-scale-view-block .sign-com-wrap .sign-canvas{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;margin-top:16px}.c-scale-view-block li,.c-scale-view-block ul{list-style:none;margin:0;padding:0}.c-scale-view-block .n-input{text-align:left;width:100%}.c-scale-view-block .n-form-item{--n-label-height:unset!important}.c-scale-view-block .c-scle-form-item>.n-form-item-blank{display:block}.c-scale-view-block .no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.c-scale-view-block .no-data-tip>img{max-width:70%;width:260px}.c-scale-view-block .no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.c-scale-view-block .no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.c-scale-view-block .c-scale-address{max-width:500px}.c-scale-view-block .c-scale-address .field-row{display:flex;overflow:hidden;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select{flex:1;padding:0 5px 5px 0;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select:last-child{padding-right:0}.c-scale-view-block .c-scale-collection,.c-scale-view-block .c-scale-collection .img-card{width:100%}.c-scale-view-block .c-scale-collection.scale-collection-title{text-align:center}.c-scale-view-block .c-scale-collection.scale-collection-title h1{font-weight:500}.c-scale-view-block .c-scale-collection.prompt-message{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);color:#666;padding:10px;position:relative}.c-scale-view-block .c-scale-collection.prompt-message.is-weak{color:#999}.c-scale-view-block .c-scale-collection.prompt-message.is-strong{color:#ff1818;padding:8px 8px 8px 35px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-icon{font-size:18px;left:8px;position:absolute;top:8px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-message-content{font-size:14px;line-height:16px;word-break:break-all}.c-scale-view-block .c-time-range{align-items:center;display:flex}.c-scale-view-block .c-map-container{cursor:pointer;width:100%}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix{transform:rotate(180deg)}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix .n-icon{color:rgba(0,0,0,.65)}.c-scale-view-block .c-map-container .n-input.map-input.n-input--disabled .n-input__input-el{background-color:#fff;color:rgba(0,0,0,.65);cursor:pointer}.c-scale-view-block .c-scale-upload{width:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list{display:flex}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type{background:rgba(0,0,0,.5);box-sizing:border-box}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type span.n-button__icon{color:#fff}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-trigger.n-upload-trigger--image-card{background-color:#fafafa;border-color:#d5d5d5;height:184px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type{background-color:#fafafa;border-color:#d5d5d5;height:184px;padding:8px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type .n-image{height:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type img{object-fit:cover!important}.c-scale-view-block .c-scale-upload .upload-img-wrap{align-items:center;display:flex;flex-direction:column}.c-scale-view-block .c-scale-upload .dragger-upload-text{align-items:center;display:flex}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-dragger{padding:16px 0}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload{--n-item-disabled-opacity:1!important;opacity:1!important}.c-scale-view-block .c-scale-upload.scale-upload-file .dragger-upload-text{color:rgba(0,0,0,.65)}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list{display:flex;flex-direction:column;width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list .n-upload-file{width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-trigger{background:#fafafa;border-color:#d5d5d5;width:100%}.c-scale-view-block .text-over-tooltip-components{display:inline-block;max-width:98%}.c-scale-view-block .text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-scale-view-block .text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.c-scale-view-block .text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.c-scale-view-block .text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.c-scale-map-modal .n-card__content{overflow:hidden}.c-scale-modal-container.n-dialog{display:flex;flex-direction:column;height:60vh}.c-scale-modal-container.n-dialog.n-modal{min-width:560px;padding:0;width:50vw}.c-scale-modal-container.n-dialog .n-dialog__title{background:#fff;border-bottom:1px solid #e8e8e8;border-radius:8px 8px 0 0;box-sizing:border-box;height:52px;line-height:52px;padding:14px 16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content{align-items:center;color:#000;display:flex;font-size:16px;height:100%;justify-content:space-between;overflow:hidden;width:100%}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .modal-title-drag{flex:1}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap{right:16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg{cursor:pointer;font-size:14px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg+svg{margin-left:16px}.c-scale-modal-container.n-dialog .n-dialog__content{height:100%;margin:0;overflow:hidden;padding:16px}.c-scale-modal-container.n-dialog .n-dialog__action{background:transparent;border-radius:0 0 8px 8px;border-top:1px solid #e8e8e8;box-sizing:border-box;height:52px;padding:10px 16px;text-align:right}
@@ -1 +1 @@
1
- import{defineComponent as e,computed as a,provide as l,ref as t,nextTick as o,watch as r,openBlock as u,createBlock as n,unref as s,isRef as i,normalizeStyle as c,withCtx as v,createVNode as d,createElementVNode as p,renderSlot as f}from"vue";import{useTheme as y}from"../../../shared/hooks/useTheme.js";import{useDebounceFn as h,useEventBus as m,useVModel as g,onClickOutside as b}from"@vueuse/core";import"date-fns";import{isString as w,isArray as k,isObject as S,isFunction as K}from"lodash-es";import{uuidGenerator as _}from"../../../shared/utils/index.js";import{NOOP as N}from"@vue/shared";import{NPopover as C,NInput as P}from"naive-ui";import{InjectionSearchCascaderCheckAbleLevel as j,InjectionKeyboardEventBus as x,InjectionSearchCascaderLoadingNode as A,InjectionSearchCascaderValue as U}from"./constants/index.js";import{SearchMenu as W}from"./components/SearchMenu.js";const F=["id"];var L=e({__name:"SearchCascader",props:{value:{type:[String,Array]},show:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},childKey:{type:String,default:"children"},placeholder:{type:String,default:"请选择"},editPlaceholder:{type:String,default:"请输入关键字进行搜索"},options:{type:Array,default:()=>[]},search:{type:Function},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},checkAbleLevel:{type:[Number,String],default:"last"},beforeSetValue:{type:Function},menuWidth:{type:[Number,String],default:150}},emits:["update:value","focus","update:show"],setup(e,{expose:L,emit:T}){const V=e,B=y();function E(){var e;e=[],Promise.resolve(K(V.beforeSetValue)?V.beforeSetValue(e):e).then((e=>T("update:value",e)),N)}function I(e){var a;"INPUT"===(null==(a=e.target)?void 0:a.tagName)&&O()}const R=h((e=>{var a;"INPUT"!==(null==(a=e.target)?void 0:a.tagName)||"Enter"!==e.code||z.value?M.emit(e.key):O()}),50),$=a((()=>({"--menu-width":V.menuWidth}))),M=m("cascaderKeydown"),q=_(),z=g(V,"show",T);l(j,a((()=>V.checkAbleLevel))),l(x,M);const D=t(""),G=a((()=>w(V.value)&&V.value?V.value:k(V.value)&&V.value.length?V.value.map((e=>S(e)?e[V.labelKey]:e)).join(" / "):V.editPlaceholder)),H=a({get:()=>z.value?D.value:w(V.value)?V.value:k(V.value)?V.value.reduce(((e,a,l)=>0===l?a[V.labelKey]:e+" / "+a[V.labelKey]),""):"",set(e){D.value=e,le(void 0,e)}});function J(e){T("focus",e)}function O(){z.value||(z.value=!0,D.value="",le())}async function Q(){var e;z.value=!1,null==(e=X.value)||e.blur()}const X=t();b(X,(e=>{var a;if(!z.value)return;const l=e;if(!l.target)return Q();!function(e){let a=!1,l=e;for(;l;){if(l.id===q){a=!0;break}l=l.parentElement}return a}(l.target)?Q():null==(a=X.value)||a.focus()}));const Y=t(),Z=t(),ee=t(),ae=t(null);l(A,ae),l(U,a((()=>V.value)));const le=h((async(e,a)=>{var l;const{type:t,node:r}=e||{};try{if("update"===t)return void(K(V.search)&&V.search({...r,isLeaf:!0}));ae.value=r;const e=await(K(V.search)&&V.search(r,a));Z.value=S(e)||k(e)?e:r,console.log("current_node_value=>",Z.value)}finally{ae.value=null,await o(),null==(l=Y.value)||l.syncPosition()}}),400),te=e=>{ee.value=e};return r((()=>V.show),(e=>{e&&(ee.value={})})),L({getWidth(){var e;if(!X.value)return 0;const a=null==(e=X.value)?void 0:e.$el;return a?a.clientWidth:void 0}}),(a,l)=>(u(),n(s(C),{class:"search-cascader",trigger:"manual",show:s(z),"onUpdate:show":l[1]||(l[1]=e=>i(z)?z.value=e:null),"show-arrow":!1,placement:"bottom-start",style:c(s($)),width:e.options.length?void 0:"trigger",ref_key:"popoverRef",ref:Y},{trigger:v((()=>[d(s(P),{class:"search-cascader__input",placeholder:s(z)?s(G):e.placeholder,clearable:e.clearable,onClear:E,value:s(H),"onUpdate:value":l[0]||(l[0]=e=>i(H)?H.value=e:null),ref_key:"inputRef",ref:X,onFocus:J,onClick:I,onKeydown:s(R)},null,8,["placeholder","clearable","value","onKeydown"])])),default:v((()=>[p("section",{id:s(q)},[d(s(W),{style:c(s(B)),"label-key":e.labelKey,"value-key":e.valueKey,options:e.options,onNodeClick:s(le),onChangeCursor:te,"current-node":Z.value,"cursor-node":ee.value},{empty:v((()=>[f(a.$slots,"empty")])),_:3},8,["style","label-key","value-key","options","onNodeClick","current-node","cursor-node"])],8,F)])),_:3},8,["show","style","width"]))}});export{L as default};
1
+ import{defineComponent as e,computed as a,provide as l,ref as t,nextTick as o,watch as r,openBlock as u,createBlock as n,unref as s,isRef as i,normalizeStyle as c,withCtx as v,createVNode as d,createElementVNode as p,renderSlot as f}from"vue";import{useTheme as h}from"../../../shared/hooks/useTheme.js";import{useDebounceFn as y,useEventBus as m,useVModel as g,onClickOutside as b}from"@vueuse/core";import"date-fns";import{isString as w,isArray as k,isObject as S,isFunction as K}from"lodash-es";import{uuidGenerator as _}from"../../../shared/utils/index.js";import{NOOP as N}from"@vue/shared";import{NPopover as C,NInput as P}from"naive-ui";import{InjectionSearchCascaderCheckAbleLevel as j,InjectionKeyboardEventBus as x,InjectionSearchCascaderLoadingNode as A,InjectionSearchCascaderValue as U}from"./constants/index.js";import{SearchMenu as W}from"./components/SearchMenu.js";const F=["id"];var L=e({__name:"SearchCascader",props:{value:{type:[String,Array]},show:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},childKey:{type:String,default:"children"},placeholder:{type:String,default:"请选择"},editPlaceholder:{type:String,default:"请输入关键字进行搜索"},options:{type:Array,default:()=>[]},search:{type:Function},labelKey:{type:String,default:"label"},valueKey:{type:String,default:"value"},checkAbleLevel:{type:[Number,String],default:"last"},beforeSetValue:{type:Function},menuWidth:{type:[Number,String],default:150}},emits:["update:value","focus","update:show"],setup(e,{expose:L,emit:T}){const V=e,B=h();function E(){var e;e=[],Promise.resolve(K(V.beforeSetValue)?V.beforeSetValue(e):e).then((e=>T("update:value",e)),N)}function I(e){var a;"INPUT"===(null==(a=e.target)?void 0:a.tagName)&&O()}const R=y((e=>{var a;"INPUT"!==(null==(a=e.target)?void 0:a.tagName)||"Enter"!==e.code||z.value?M.emit(e.key):O()}),50),$=a((()=>({"--menu-width":V.menuWidth}))),M=m("cascaderKeydown"),q=_(),z=g(V,"show",T);l(j,a((()=>V.checkAbleLevel))),l(x,M);const D=t(""),G=a((()=>w(V.value)&&V.value?V.value:k(V.value)&&V.value.length?V.value.map((e=>S(e)?e[V.labelKey]:e)).join(" / "):V.editPlaceholder)),H=a({get:()=>z.value?D.value:w(V.value)?V.value:k(V.value)?V.value.reduce(((e,a,l)=>0===l?a[V.labelKey]:e+" / "+a[V.labelKey]),""):"",set(e){D.value=e,le(void 0,e)}});function J(e){T("focus",e)}function O(){z.value||(z.value=!0,D.value="",le())}async function Q(){var e;z.value=!1,null==(e=X.value)||e.blur()}const X=t();b(X,(e=>{var a;if(!z.value)return;const l=e;if(!l.target)return Q();!function(e){let a=!1,l=e;for(;l;){if(l.id===q){a=!0;break}l=l.parentElement}return a}(l.target)?Q():null==(a=X.value)||a.focus()}));const Y=t(),Z=t(),ee=t(),ae=t(null);l(A,ae),l(U,a((()=>V.value)));const le=y((async(e,a)=>{var l;const{type:t,node:r}=e||{};try{if("update"===t)return void(K(V.search)&&V.search({...r,isLeaf:!0}));ae.value=r;const e=await(K(V.search)&&V.search(r,a));Z.value=S(e)||k(e)?e:r,console.log("current_node_value=>",Z.value)}finally{ae.value=null,await o(),null==(l=Y.value)||l.syncPosition()}}),400),te=e=>{ee.value=e};return r((()=>V.show),(e=>{e&&(ee.value={})})),r((()=>V.options),(e=>{e.length>0&&H.value?ee.value=e[0]:ee.value={}})),L({getWidth(){var e;if(!X.value)return 0;const a=null==(e=X.value)?void 0:e.$el;return a?a.clientWidth:void 0}}),(a,l)=>(u(),n(s(C),{class:"search-cascader",trigger:"manual",show:s(z),"onUpdate:show":l[1]||(l[1]=e=>i(z)?z.value=e:null),"show-arrow":!1,placement:"bottom-start",style:c(s($)),width:e.options.length?void 0:"trigger",ref_key:"popoverRef",ref:Y},{trigger:v((()=>[d(s(P),{class:"search-cascader__input",placeholder:s(z)?s(G):e.placeholder,clearable:e.clearable,onClear:E,value:s(H),"onUpdate:value":l[0]||(l[0]=e=>i(H)?H.value=e:null),ref_key:"inputRef",ref:X,onFocus:J,onClick:I,onKeydown:s(R)},null,8,["placeholder","clearable","value","onKeydown"])])),default:v((()=>[p("section",{id:s(q)},[d(s(W),{style:c(s(B)),"label-key":e.labelKey,"value-key":e.valueKey,options:e.options,onNodeClick:s(le),onChangeCursor:te,"current-node":Z.value,"cursor-node":ee.value},{empty:v((()=>[f(a.$slots,"empty")])),_:3},8,["style","label-key","value-key","options","onNodeClick","current-node","cursor-node"])],8,F)])),_:3},8,["show","style","width"]))}});export{L as default};
@@ -53,6 +53,10 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
53
53
  type: BooleanConstructor;
54
54
  default: boolean;
55
55
  };
56
+ isSearchFilter: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
56
60
  treeSetting: {
57
61
  type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
58
62
  [k: string]: unknown;
@@ -122,6 +126,10 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
122
126
  type: BooleanConstructor;
123
127
  default: boolean;
124
128
  };
129
+ isSearchFilter: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
125
133
  treeSetting: {
126
134
  type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
127
135
  [k: string]: unknown;
@@ -186,6 +194,7 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
186
194
  setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
187
195
  setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
188
196
  setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
197
+ searchSetting: () => string;
189
198
  onSearch: () => Promise<void>;
190
199
  onClear: () => void;
191
200
  setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
@@ -211,6 +220,11 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
211
220
  name: string;
212
221
  }) => void;
213
222
  notifyCheck: (keys: (string | number)[]) => void;
223
+ getCheckWithLevel: () => {
224
+ [x: string]: any;
225
+ key: string | number;
226
+ name: string;
227
+ }[];
214
228
  NButton: any;
215
229
  NInput: any;
216
230
  NInputGroup: import("vue").DefineComponent<{
@@ -421,6 +435,110 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
421
435
  treeData: any[];
422
436
  checkedKeys: (string | number)[];
423
437
  }>;
438
+ SearchOrgAndStaff: import("vue").DefineComponent<{
439
+ treeData: {
440
+ type: import("vue").PropType<any[]>;
441
+ default: () => never[];
442
+ };
443
+ checkedKeys: {
444
+ type: import("vue").PropType<(string | number)[]>;
445
+ default: () => never[];
446
+ };
447
+ }, {
448
+ $message: import("naive-ui").MessageApi;
449
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
450
+ treeData: {
451
+ type: import("vue").PropType<any[]>;
452
+ default: () => never[];
453
+ };
454
+ checkedKeys: {
455
+ type: import("vue").PropType<(string | number)[]>;
456
+ default: () => never[];
457
+ };
458
+ }>> & {
459
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
460
+ }>>;
461
+ emit: (event: "notifyCheck", ...args: any[]) => void;
462
+ staffDataRef: import("vue").ComputedRef<any[]>;
463
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
464
+ staffContainerProps: {
465
+ ref: import("vue").Ref<any>;
466
+ onScroll: () => void;
467
+ style: Partial<CSSStyleDeclaration>;
468
+ };
469
+ staffWrapperProps: import("vue").ComputedRef<{
470
+ style: {
471
+ width: string;
472
+ height: string;
473
+ marginTop: string;
474
+ };
475
+ }>;
476
+ staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
477
+ orgDataRef: import("vue").ComputedRef<any[]>;
478
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
479
+ orgContainerProps: {
480
+ ref: import("vue").Ref<any>;
481
+ onScroll: () => void;
482
+ style: Partial<CSSStyleDeclaration>;
483
+ };
484
+ orgWrapperProps: import("vue").ComputedRef<{
485
+ style: {
486
+ width: string;
487
+ height: string;
488
+ marginTop: string;
489
+ };
490
+ }>;
491
+ orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
492
+ searchCheckKeys: import("vue").Ref<(string | number)[]>;
493
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
494
+ handleClick: (tree: any) => void;
495
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: {
496
+ [key: string]: any;
497
+ key: string | number;
498
+ children: any[];
499
+ parentNode: any;
500
+ }, value: string | number) => false | undefined;
501
+ findParent: (baseKeys: (string | number)[], currentTree: {
502
+ [key: string]: any;
503
+ key: string | number;
504
+ children: any[];
505
+ parentNode: any;
506
+ }) => false | undefined;
507
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: {
508
+ [key: string]: any;
509
+ key: string | number;
510
+ children: any[];
511
+ parentNode: any;
512
+ }, value: string | number) => void;
513
+ handleFindChildren: (treeList: {
514
+ [key: string]: any;
515
+ key: string | number;
516
+ children: any[];
517
+ parentNode: any;
518
+ }[]) => void;
519
+ checkInitTree: (tree: {
520
+ [key: string]: any;
521
+ key: string | number;
522
+ children: any[];
523
+ parentNode: any;
524
+ }, baseKey: string | number) => false | undefined;
525
+ ref: typeof import("vue").ref;
526
+ NEmpty: any;
527
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
528
+ treeData: {
529
+ type: import("vue").PropType<any[]>;
530
+ default: () => never[];
531
+ };
532
+ checkedKeys: {
533
+ type: import("vue").PropType<(string | number)[]>;
534
+ default: () => never[];
535
+ };
536
+ }>> & {
537
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
538
+ }, {
539
+ treeData: any[];
540
+ checkedKeys: (string | number)[];
541
+ }>;
424
542
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "checkWithLevel")[], "check" | "checkWithLevel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
425
543
  defaultList: {
426
544
  type: import("vue").PropType<((string | number) | {
@@ -475,6 +593,10 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
475
593
  type: BooleanConstructor;
476
594
  default: boolean;
477
595
  };
596
+ isSearchFilter: {
597
+ type: BooleanConstructor;
598
+ default: boolean;
599
+ };
478
600
  treeSetting: {
479
601
  type: import("vue").PropType<import("naive-ui/es/tree/src/interface").TreeOptionBase & {
480
602
  [k: string]: unknown;
@@ -516,6 +638,7 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
516
638
  showClear: boolean;
517
639
  multiple: boolean;
518
640
  searchInner: boolean;
641
+ isSearchFilter: boolean;
519
642
  treeSetting: import("naive-ui/es/tree/src/interface").TreeOptionBase & {
520
643
  [k: string]: unknown;
521
644
  } & import("../../../es/shared/types").AnyObject;
@@ -0,0 +1,88 @@
1
+ import { ref, PropType, CSSProperties } from 'vue';
2
+ declare type IKey = string | number;
3
+ declare type ITreeOption = {
4
+ key: IKey;
5
+ children: any[];
6
+ parentNode: any;
7
+ [key: string]: any;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<{
10
+ treeData: {
11
+ type: PropType<any[]>;
12
+ default: () => never[];
13
+ };
14
+ checkedKeys: {
15
+ type: PropType<IKey[]>;
16
+ default: () => never[];
17
+ };
18
+ }, {
19
+ $message: import("naive-ui").MessageApi;
20
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
21
+ treeData: {
22
+ type: PropType<any[]>;
23
+ default: () => never[];
24
+ };
25
+ checkedKeys: {
26
+ type: PropType<IKey[]>;
27
+ default: () => never[];
28
+ };
29
+ }>> & {
30
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
31
+ }>>;
32
+ emit: (event: "notifyCheck", ...args: any[]) => void;
33
+ staffDataRef: import("vue").ComputedRef<any[]>;
34
+ staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
35
+ staffContainerProps: {
36
+ ref: import("vue").Ref<any>;
37
+ onScroll: () => void;
38
+ style: Partial<CSSStyleDeclaration>;
39
+ };
40
+ staffWrapperProps: import("vue").ComputedRef<{
41
+ style: {
42
+ width: string;
43
+ height: string;
44
+ marginTop: string;
45
+ };
46
+ }>;
47
+ staffContainerStyleWithHeight: import("vue").ComputedRef<CSSProperties>;
48
+ orgDataRef: import("vue").ComputedRef<any[]>;
49
+ orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
50
+ orgContainerProps: {
51
+ ref: import("vue").Ref<any>;
52
+ onScroll: () => void;
53
+ style: Partial<CSSStyleDeclaration>;
54
+ };
55
+ orgWrapperProps: import("vue").ComputedRef<{
56
+ style: {
57
+ width: string;
58
+ height: string;
59
+ marginTop: string;
60
+ };
61
+ }>;
62
+ orgContainerStyleWithHeight: import("vue").ComputedRef<CSSProperties>;
63
+ searchCheckKeys: import("vue").Ref<IKey[]>;
64
+ showSelectKeys: import("vue").Ref<(string | number)[]>;
65
+ handleClick: (tree: any) => void;
66
+ handleStaffClick: (baseKeys: (string | number)[], currentTree: ITreeOption, value: string | number) => false | undefined;
67
+ findParent: (baseKeys: (string | number)[], currentTree: ITreeOption) => false | undefined;
68
+ handleOrgClick: (baseKeys: (string | number)[], currentTree: ITreeOption, value: string | number) => void;
69
+ handleFindChildren: (treeList: ITreeOption[]) => void;
70
+ checkInitTree: (tree: ITreeOption, baseKey: string | number) => false | undefined;
71
+ ref: typeof ref;
72
+ NEmpty: any;
73
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ treeData: {
75
+ type: PropType<any[]>;
76
+ default: () => never[];
77
+ };
78
+ checkedKeys: {
79
+ type: PropType<IKey[]>;
80
+ default: () => never[];
81
+ };
82
+ }>> & {
83
+ onNotifyCheck?: ((...args: any[]) => any) | undefined;
84
+ }, {
85
+ treeData: any[];
86
+ checkedKeys: IKey[];
87
+ }>;
88
+ export default _default;
@@ -0,0 +1 @@
1
+ import r from"./SearchOrgAndStaff.vue2.js";import e from"../../../_virtual/_plugin-vue_export-helper.js";var a=e(r,[["__file","SearchOrgAndStaff.vue"]]);export{a as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as t,ref as l,watch as a,openBlock as r,createElementBlock as n,Fragment as i,unref as s,createElementVNode as c,normalizeStyle as o,renderList as d,normalizeClass as p,toDisplayString as h,createCommentVNode as u,createBlock as f}from"vue";import{useMessage as v,NEmpty as y}from"naive-ui";import{isEqual as k}from"lodash-es";import{useVirtualList as m}from"@vueuse/core";const g={class:"searchOrgAndStaff"},_={key:0,class:"searchOption"},N=c("h4",{class:"title"},"联系人",-1),S=["onClick"],D={class:"title"},b={class:"desc"},C={key:1,class:"SearchOption"},O=c("h4",{class:"title"},"部门",-1),x=["onClick"],A={class:"title"},K={class:"desc"};var P=e({__name:"SearchOrgAndStaff",props:{treeData:{type:Array,default:()=>[]},checkedKeys:{type:Array,default:()=>[]}},emits:["notifyCheck"],setup(e,{emit:P}){var w;const E=e,H=v(),T=null!=(w=t((()=>E.treeData.filter((e=>!e.children)))))?w:[],{list:W,containerProps:j,wrapperProps:q}=m(T,{itemHeight:62,overscan:5}),z=t((()=>({...j.style,height:"308px"}))),B=t((()=>E.treeData.filter((e=>e.children&&e.children.length>0)))),{list:F,containerProps:G,wrapperProps:I}=m(B,{itemHeight:62,overscan:5}),J=t((()=>({...G.style,height:"308px"}))),L=l(E.checkedKeys),M=l([]);function Q(e){var t;if(L.value.find((t=>t===e.key)))return void H.info("当前项已被选择");if(e.disabled)return void H.info("当前项已被禁用");switch((null==(t=e.children)?void 0:t.length)>0?"org":"staff"){case"org":l=L.value,a=e,r=e.key,R(l,a,r),a.children.length>0&&V(a.children);break;case"staff":R(L.value,e,e.key)}var l,a,r;P("notifyCheck",L.value)}function R(e,t,l){var a;if(!(null==t?void 0:t.parentNode))return L.value=[...e,l],!1;const r=null==(a=t.parentNode)?void 0:a.key;if(e.includes(r))return L.value=e,H.info("当前项已存在于选择的部门中"),!1;if(t.parentNode.children){const a=t.parentNode.children.every((t=>[...e,l].includes(t.key)));if(a){const l=null==t?void 0:t.parentNode.children.map((e=>e.key)),r=e.filter((e=>!l.includes(e)));return a&&U(r,t.parentNode),!1}}R(e,t.parentNode,l)}function U(e,t){if(!t.parentNode||t.parentNode.children.length>1)return L.value=[...e,t.key],!1;U(e,t.parentNode)}function V(e){e.forEach((e=>{var t;if(L.value.includes(e.key)){const t=L.value.indexOf(e.key);L.value.splice(t,1)}(null==(t=e.children)?void 0:t.length)>0&&V(e.children)}))}function X(e,t){const l=E.checkedKeys;return!!e&&(l.includes(e.key)?(M.value.push(t),!1):void X(e.parentNode,t))}return a((()=>E.treeData),(e=>{e&&e.length>0&&(M.value=[],e.forEach((e=>{X(e,e.key)})))}),{deep:!0,immediate:!0}),a((()=>E.checkedKeys),((e,t)=>{k(e,t)||E.treeData.length>0&&(M.value=[],L.value=e,E.treeData.forEach((e=>{X(e,e.key)})))}),{immediate:!0}),(t,l)=>(r(),n("div",g,[e.treeData.length>0?(r(),n(i,{key:0},[s(T).length>0?(r(),n("div",_,[N,c("section",{class:"select-person__multipleWrapper",ref:s(j).ref,style:o(s(W).length>5?s(z):{}),onScroll:l[0]||(l[0]=(...e)=>s(j).onScroll&&s(j).onScroll(...e))},[c("section",{style:o(s(q).style)},[(r(!0),n(i,null,d(s(W),(e=>(r(),n("div",{class:"select-person__multiple-search",key:e.data.key},[c("div",{class:p(["search_item",e.data.disabled?"search_disabled":""]),onClick:t=>Q(e.data)},[c("span",D,h(e.data.title),1),c("p",b,h(e.data.tempTitle),1)],10,S)])))),128))],4)],36)])):u("v-if",!0),s(B).length>0?(r(),n("div",C,[O,c("section",{class:"person__OrgWrapper",ref:s(G).ref,style:o(s(F).length>5?s(J):{}),onScroll:l[1]||(l[1]=(...e)=>s(G).onScroll&&s(G).onScroll(...e))},[c("section",{style:o(s(I).style)},[(r(!0),n(i,null,d(s(F),(e=>(r(),n("div",{class:"select-person__multiple-search",key:e.data.key},[c("div",{class:p(["search_item",e.data.disabled?"search_disabled":""]),onClick:t=>Q(e.data)},[c("span",A,h(e.data.title),1),c("p",K,h(e.data.tempTitle),1)],10,x)])))),128))],4)],36)])):u("v-if",!0)],64)):(r(),f(s(y),{key:1,description:"暂无数据"}))]))}});export{P as default};