zenglf
2023-10-18 c4e4ab1056b9ba1956f3dd146615537543a12b8f
src/views/eam/modules/operationCertificate/OperationCertificateForm.vue
@@ -10,8 +10,8 @@
            </a-form-model-item>
          </a-col>
          <a-col :span="12" >
            <a-form-model-item label="用户ID" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="userId">
              <j-select-user-by-dep v-model="model.userId" :multi="true" />
            <a-form-model-item label="姓名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="userId">
              <j-select-user-by-dep v-model="model.userId" :multi="false" />
            </a-form-model-item>
          </a-col>
          <a-col :span="12" >
@@ -122,39 +122,51 @@
            {
              title: '证书ID',
              key: 'operationCertificateId',
               type: JVXETypes.input,
               type: JVXETypes.hidden,
              width:"200px",
              placeholder: '请输入${title}',
              defaultValue:'',
            },
            {
              title: '日期',
              key: 'happenDate',
              type: JVXETypes.date,
              width:"120px",
              placeholder: '请输入${title}',
              defaultValue:'',
            },
            {
              title: '类型',
              key: 'type',
               type: JVXETypes.input,
              width:"200px",
               type: JVXETypes.select,
              dictCode: 'certificate_change_type',
              width:"100px",
              placeholder: '请输入${title}',
              defaultValue:'',
            },
            {
              title: '设备id',
              title: '设备统一编码',
              key: 'equipmentId',
               type: JVXETypes.input,
              width:"200px",
              type: JVXETypes.selectSearch,
              dictCode: 'mom_eam_equipment,num,id ',
              width: '200px',
              placeholder: '请输入${title}',
              defaultValue:'',
              defaultValue: '',
              validateRules: [{ required: true, message: '${title}不能为空' }]
            },
            {
              title: '扣分项',
              key: 'deductionItem',
               type: JVXETypes.input,
              width:"200px",
              type: JVXETypes.selectSearch,
              dictCode: 'mom_eam_base_deduction_item,content,id ',
              width:"500px",
              placeholder: '请输入${title}',
              defaultValue:'',
            },
            {
              title: '扣分周期',
              key: 'period',
               type: JVXETypes.input,
               type: JVXETypes.normal,
              width:"200px",
              placeholder: '请输入${title}',
              defaultValue:'',