| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- 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'
- },
- ],
- };
|