export default { height: "auto", calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 6, border: true, index: true, selection: true, addBtn: true, delBtn: true, labelWidth: 120, menuWidth: 140, dialogClickModal: false, dialogWidth: 760, dialogType: "drawer", column: [ { label: "专利号", prop: "zlh", span: 12, width: 120, align: "center", showOverflowTooltip: true, rules: [ { required: true, message: "请输入专利号", trigger: "blur", }, ], }, { label: "专利名称", prop: "zlmc", span: 12, search: true, minWidth: 160, showOverflowTooltip: true, rules: [ { required: true, message: "请输入专利名称", trigger: "blur", }, ], }, { label: "专利类型", prop: "zllx", type: "select", span: 12, search: true, dicUrl: "/api/kd-system/dict-biz/dictionary?code=patent_type", width: 100, align: "center", showOverflowTooltip: true, props:{ label: 'dictValue', value: 'dictKey' }, rules: [ { required: false, message: "请选择专利类型", trigger: "blur", }, ], }, { label: "是否国防专利", prop: "sfgfzl", type: "select", span: 12, width: 100, search: true, align: "center", showOverflowTooltip: true, dicUrl: "/api/kd-system/dict-biz/dictionary?code=yes_or_no", props:{ label: 'dictValue', value: 'dictKey' }, rules: [ { required: false, message: "请选择是否国防专利", trigger: "blur", }, ], }, { label: "国别", prop: "gb", type: "select", span: 12, width: 70, search: true, dicUrl: "/api/kd-system/dict-biz/dictionary?code=countries", props:{ label: 'dictValue', value: 'dictKey' }, align: "center", showOverflowTooltip: true, rules: [ { required: false, message: "请选择国别", trigger: "blur", }, ], }, { label: "申请号/专利号", prop: "sqhZlh", type: "input", span: 12, width: 100, align: "center", search: true, showOverflowTooltip: true, }, { label: "申请日", prop: "shenqingRq", type: "date", span: 12, width: 85, search: false, format: "yyyy-MM-dd", valueFormat: "yyyy-MM-dd", showOverflowTooltip: true, align: "center", }, { label: "授权日", prop: "shouquanRq", type: "date", span: 12, width: 85, align: "center", search: false, valueFormat: "yyyy-MM-DD", showOverflowTooltip: true, }, { label: "申请单位", prop: "sqdw", type: "input", span: 12, width: 120, align: "center", search: true, showOverflowTooltip: true, }, { label: "专利权人", prop: "zlqr", type: "input", span: 12, width: 80, align: "center", search: true, showOverflowTooltip: true, }, { label: "共有权人", prop: "gyqr", type: "input", span: 12, width: 80, align: "center", search: false, showOverflowTooltip: true, }, { label: "发明人", prop: "fmr", type: "input", span: 12, width: 80, align: "center", search: false, showOverflowTooltip: true, }, { label: "法律状态", prop: "flzt", type: "select", span: 12, width: 80, align: "center", search: true, dicUrl: "/api/kd-system/dict-biz/dictionary?code=legal_status", props: { label: "dictValue", value: "dictKey", }, showOverflowTooltip: true, }, { label: "关联研发项目情况", prop: "canyunZhuchi", align: 'center', children: [ { label: "研发项目名称", prop: 'xmId', width: 120, span: 12, hide: true }, { label: "研发项目名称", prop: 'xmmc', width: 120, search: true, showOverflowTooltip: true, display: false }, { label: "研发项目编号", prop: 'xmbh', width: 100, align: 'center', search: true, showOverflowTooltip: true, display: false }, ], }, { label: "附件信息", prop: "attachment", minWidth: 200, type: "upload", multiple: true, span: 24, dataType: "object", action: '/api/kd-resource/oss/endpoint/put-file', uploadPreview: (file, column, done) => { console.log(file) window.open(file.url, "_blank"); return; }, propsHttp: { url: "link", name: "originalName", res: "data", }, showOverflowTooltip: true, }, { label: "收件人邮箱", prop: "sjryx", type: "input", span: 24, width: 150, align: "center", search: false, showOverflowTooltip: true, rules: [{ type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur', }] }, { label: "专利提醒功能", prop: "zltxgn", type: "select", span: 12, width: 90, align: "center", display: false, dicUrl: "/api/kd-system/dict-biz/dictionary?code=zltx", props: { label: "dictValue", value: "dictKey", }, showOverflowTooltip: true, fixed: 'right' }, ], };