zhangjie 1 lună în urmă
părinte
comite
503e6d3001

+ 8 - 0
src/render/components.d.ts

@@ -13,6 +13,8 @@ declare module 'vue' {
     ACol: typeof import('@qmth/ui')['Col']
     ACollapse: typeof import('@qmth/ui')['Collapse']
     ACollapsePanel: typeof import('@qmth/ui')['CollapsePanel']
+    ADescriptions: typeof import('@qmth/ui')['Descriptions']
+    ADescriptionsItem: typeof import('@qmth/ui')['DescriptionsItem']
     ADivider: typeof import('@qmth/ui')['Divider']
     AForm: typeof import('@qmth/ui')['Form']
     AFormItem: typeof import('@qmth/ui')['FormItem']
@@ -20,6 +22,7 @@ declare module 'vue' {
     AInputNumber: typeof import('@qmth/ui')['InputNumber']
     AModal: typeof import('@qmth/ui')['Modal']
     APagination: typeof import('@qmth/ui')['Pagination']
+    AProgress: typeof import('@qmth/ui')['Progress']
     ARadio: typeof import('@qmth/ui')['Radio']
     ARadioGroup: typeof import('@qmth/ui')['RadioGroup']
     ARow: typeof import('@qmth/ui')['Row']
@@ -27,13 +30,18 @@ declare module 'vue' {
     ASpace: typeof import('@qmth/ui')['Space']
     ASpin: typeof import('@qmth/ui')['Spin']
     ATable: typeof import('@qmth/ui')['Table']
+    ATableSummaryCell: typeof import('@qmth/ui')['TableSummaryCell']
+    ATableSummaryRow: typeof import('@qmth/ui')['TableSummaryRow']
     ATabPane: typeof import('@qmth/ui')['TabPane']
     ATabs: typeof import('@qmth/ui')['Tabs']
     ATag: typeof import('@qmth/ui')['Tag']
+    ATextarea: typeof import('@qmth/ui')['Textarea']
     ATooltip: typeof import('@qmth/ui')['Tooltip']
     AUpload: typeof import('@qmth/ui')['Upload']
     QmButton: typeof import('@qmth/ui')['QmButton']
     QmConfigProvider: typeof import('@qmth/ui')['QmConfigProvider']
+    QmDateRangePicker: typeof import('@qmth/ui')['QmDateRangePicker']
+    QmLowForm: typeof import('@qmth/ui')['QmLowForm']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
   }

+ 1 - 1
src/render/views/ExamNumberCheck/api.ts

@@ -45,7 +45,7 @@ export const getExamNumberInfo = async (
   }
   const item = students[0];
   const questions = (item.smda ? item.smda.split("|") : []).map((item) =>
-    item.trim().replace(/[\.\?]/g, "#")
+    item.trim().replace(/[\?]/g, "").replace(/[\.]/g, "#")
   );
   return Promise.resolve({ ...students[0], questions });
 };

+ 1 - 1
src/render/views/ExamNumberCheck/index.vue

@@ -119,7 +119,7 @@ function buildStudentList(dataList: StudentCheckItem[]): DataCheckListItem[] {
   const data: DataCheckListItem[] = (dataList || []).map((item) => {
     const studentId = `${item.imageName}_${randomCode(8)}`;
     const questions = (item.smda ? item.smda.split("|") : []).map((item) =>
-      item.trim().replace(/[\.\?]/g, "#")
+      item.trim().replace(/[\?]/g, "").replace(/[\.]/g, "#")
     );
     return {
       ...item,