瀏覽代碼

流程配置项设计完成

刘洋 1 年之前
父節點
當前提交
e7f5b59bc9
共有 3 個文件被更改,包括 547 次插入2 次删除
  1. 1 0
      src/views/sop/components/TABLE.vue
  2. 1 1
      src/views/sop/sop-manage/sop-step/index.vue
  3. 545 1
      src/views/sop/sop-manage/test.js

+ 1 - 0
src/views/sop/components/TABLE.vue

@@ -118,6 +118,7 @@ const deleteRow = (row) => {
 <style lang="less" name="TABLE">
 .flow-table {
   width: 100%;
+  margin-bottom: 25px;
   .key-cell {
     .key-index {
       font-size: 14px;

+ 1 - 1
src/views/sop/sop-manage/sop-step/index.vue

@@ -50,7 +50,7 @@ const allConfigMap = ref(testData.setupMap);
 let baseConfig = ref(testData.setupMap.f_usertask_jwc_start.formProperty);
 
 // const curStep = ref('f_usertask_jwc_project');
-const curStep = ref('扫描仪出库登记');
+const curStep = ref('评卷校验及收尾');
 const curFormConfig = computed(() => {
   return allConfigMap.value[curStep.value].formProperty;
 });

+ 545 - 1
src/views/sop/sop-manage/test.js

@@ -354,9 +354,10 @@ export default {
         {
           id: 'XXX',
           binding: 'XXX',
-          code: 'TEXT',
+          code: 'CASCADE_ADDRESS',
           title: '扫描地址',
           required: true,
+          dataGrid: '',
         },
         {
           id: 'XXX',
@@ -767,6 +768,549 @@ export default {
         },
       ],
     },
+    扫描校验及收尾: {
+      taskName: '扫描校验及收尾',
+      taskKey: '扫描校验及收尾',
+      formProperty: [
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '扫描-是否进行缺考人工核对-核对缺考答题卡',
+          required: true,
+          subTitle: [{ content: '100%全检,填写核对筛查结果', color: 'red' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '扫描-是否进行查漏-a.核对签到表',
+          required: true,
+          subTitle: [{ content: '100%全检,填写核对筛查结果', color: 'red' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '扫描-是否进行查漏-b.核对缺考名单',
+          required: true,
+          subTitle: [{ content: '100%全检,填写核对筛查结果', color: 'red' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '扫描-是否进行查漏-c.提供签到无试卷信息(客户沟通截图)',
+          required: true,
+          subTitle: [
+            {
+              content: '100%全检,填写核对结果,提交签到无试卷信息表给客户确认',
+              color: 'red',
+            },
+          ],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'FILE',
+          title: '扫描-是否进行查漏-c.提供签到无试卷信息(客户沟通截图)',
+          required: true,
+          subTitle: [{ content: '请上传客户沟通截图', color: 'gray' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'FILE',
+          title: '扫描-是否对手工修改准考证号的答题卡核对-核对信息是否有误',
+          required: true,
+          subTitle: [{ content: '100%全检,上传查询后的截图', color: 'red' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'SELECT',
+          title: '是否完成识别对照',
+          required: true,
+          dataGrid: '',
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'FILE',
+          title: '扫描-是否对手工修改准考证号的答题卡核对-核对客观题识别情况',
+          required: true,
+          subTitle: [{ content: '100%全检,上传查询后的截图', color: 'red' }],
+        },
+      ],
+    },
+    阅卷参数核对: {
+      taskName: '阅卷参数核对',
+      taskKey: '阅卷参数核对',
+      formProperty: [
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'RADIO',
+          title: '特殊评卷规则',
+          required: true,
+          options: [
+            { value: '1', label: '无' },
+            { value: '2', label: '多选题漏选不得分' },
+            { value: '3', label: '多选题漏选得分' },
+            { value: '4', label: '其他' },
+          ],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '阅卷参数核对-1.录入科目数量',
+          required: true,
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'SELECT',
+          title: '客观题是否核对',
+          required: true,
+          dataGrid: '',
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'SELECT',
+          title: '客观题满分是否核对',
+          required: true,
+          dataGrid: '',
+        },
+      ],
+    },
+    评卷校验及收尾: {
+      taskName: '评卷校验及收尾',
+      taskKey: '评卷校验及收尾',
+      formProperty: [
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '阅卷参数核对-1.录入科目数量',
+          required: true,
+          readable: true,
+          writable: false,
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'SELECT',
+          title: '客观题是否核对',
+          required: true,
+          dataGrid: '',
+          readable: true,
+          writable: false,
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'SELECT',
+          title: '客观题满分是否核对',
+          required: true,
+          dataGrid: '',
+          readable: true,
+          writable: false,
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'FILE',
+          title: '评卷-主客观参数核对-是否主客观满分100',
+          required: true,
+          subTitle: [{ content: '100%全检,上传查询后的截图', color: 'red' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'FILE',
+          title: '评卷-评卷收尾-是否所有科目进度100%',
+          required: true,
+          subTitle: [{ content: '100%全检,上传查询后的截图', color: 'red' }],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'FILE',
+          title: '评卷-分数核对-统计客观题得分为0',
+          required: true,
+          subTitle: [{ content: '100%全检,上传查询后的截图', color: 'red' }],
+        },
+      ],
+    },
+    扫描仪入库登记: {
+      taskName: '扫描仪入库登记',
+      taskKey: '扫描仪入库登记',
+      formProperty: [
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'RADIO',
+          title: '扫描仪出入库选择',
+          required: true,
+          options: [
+            { value: '1', label: '出库' },
+            { value: '2', label: '入库' },
+          ],
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'DATE',
+          title: '设备出入库时间',
+          required: true,
+        },
+        {
+          id: 'XXX',
+          code: 'TABLE',
+          type: 'FORM',
+          formId: 'XXX',
+          formName: 'XXX',
+          title: '扫描仪设备出库登记',
+          required: true,
+          readable: false,
+          writable: true,
+          visable: true,
+          name: '表格',
+          tablePropList: [
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'aaa',
+              tdName: 'aaa',
+              title: '设备编号',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 2,
+              tdId: 'bbb',
+              tdName: 'bbb',
+              title: '运行状态',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 3,
+              tdId: 'ccc',
+              tdName: 'ccc',
+              title: '总扫描量',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'ddd',
+              tdName: 'ddd',
+              title: '当前所在地',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+          ],
+        },
+      ],
+    },
+    项目总结报告: {
+      taskName: '项目总结报告',
+      taskKey: '项目总结报告',
+      formProperty: [
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '云阅卷-科目数量(单位:门)',
+          required: true,
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '云阅卷-日扫量(单位:张/日)',
+          required: true,
+        },
+        {
+          id: 'XXX',
+          binding: 'XXX',
+          code: 'TEXT',
+          title: '云阅卷-扫描总量(单位:张)',
+          required: true,
+        },
+        {
+          id: 'XXX',
+          code: 'TABLE',
+          type: 'FORM',
+          formId: 'XXX',
+          formName: 'XXX',
+          title: '扫描明细',
+          required: true,
+          readable: false,
+          writable: true,
+          visable: true,
+          name: '表格',
+          tablePropList: [
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'aaa',
+              tdName: 'aaa',
+              title: '答题卡类型(及规格)',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 2,
+              tdId: 'bbb',
+              tdName: 'bbb',
+              title: '答题卡数量 (单位:份)',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 3,
+              tdId: 'ccc',
+              tdName: 'ccc',
+              title: '签到表规格',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'ddd',
+              tdName: 'ddd',
+              title: '签到表数量 (单位:份)',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'eee',
+              tdName: 'eee',
+              title: '小计 (单位:份)',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+          ],
+        },
+        {
+          id: 'XXX',
+          code: 'TABLE',
+          type: 'FORM',
+          formId: 'XXX',
+          formName: 'XXX',
+          title: '项目异常情况汇总',
+          required: true,
+          readable: false,
+          writable: true,
+          visable: true,
+          name: '表格',
+          tablePropList: [
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'aaa',
+              tdName: 'aaa',
+              title: '明细',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 2,
+              tdId: 'bbb',
+              tdName: 'bbb',
+              title: '备注',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+          ],
+        },
+        {
+          id: 'XXX',
+          code: 'TABLE',
+          type: 'FORM',
+          formId: 'XXX',
+          formName: 'XXX',
+          title: '程序bug或者错误',
+          required: true,
+          readable: false,
+          writable: true,
+          visable: true,
+          name: '表格',
+          tablePropList: [
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'aaa',
+              tdName: 'aaa',
+              title: '明细',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 2,
+              tdId: 'bbb',
+              tdName: 'bbb',
+              title: '备注',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+          ],
+        },
+        {
+          id: 'XXX',
+          code: 'TABLE',
+          type: 'FORM',
+          formId: 'XXX',
+          formName: 'XXX',
+          title: '客户意见及建议',
+          required: true,
+          readable: false,
+          writable: true,
+          visable: true,
+          name: '表格',
+          tablePropList: [
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 1,
+              tdId: 'aaa',
+              tdName: 'aaa',
+              title: '明细',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+            {
+              id: 'XXX',
+              widgetId: 'XXX',
+              tdIndex: 2,
+              tdId: 'bbb',
+              tdName: 'bbb',
+              title: '备注',
+              tdOrder: true,
+              tdSearch: true,
+              editWidgetId: 'XXX',
+              tdFormWidget: {
+                code: 'TEXT',
+                name: '文本',
+              },
+            },
+          ],
+        },
+        {
+          id: 'XXX',
+          code: 'FILE',
+          binding: 'XXX',
+          title: '现场照片',
+          required: false,
+          span: 12,
+        },
+        {
+          id: 'XXX',
+          code: 'TEXTAREA',
+          title: '照片备注',
+          binding: 'xxx',
+          required: false,
+          span: 12,
+        },
+      ],
+    },
   },
   version: 1,
 };