|
|
@@ -7,13 +7,11 @@ export default {
|
|
|
searchMenuSpan: 6,
|
|
|
border: true,
|
|
|
index: true,
|
|
|
- viewBtn: true,
|
|
|
selection: true,
|
|
|
addBtn: true,
|
|
|
delBtn: true,
|
|
|
- searchLabelWidth: 140,
|
|
|
- labelWidth: 140,
|
|
|
- menuWidth: 200,
|
|
|
+ labelWidth: 120,
|
|
|
+ menuWidth: 140,
|
|
|
dialogClickModal: false,
|
|
|
dialogWidth: 760,
|
|
|
dialogType: "drawer",
|
|
|
@@ -22,13 +20,12 @@ export default {
|
|
|
label: "专利号",
|
|
|
prop: "zlh",
|
|
|
span: 12,
|
|
|
- width: 100,
|
|
|
+ width: 120,
|
|
|
align: "center",
|
|
|
- search: false,
|
|
|
showOverflowTooltip: true,
|
|
|
rules: [
|
|
|
{
|
|
|
- required: false,
|
|
|
+ required: true,
|
|
|
message: "请输入专利号",
|
|
|
trigger: "blur",
|
|
|
},
|
|
|
@@ -39,8 +36,7 @@ export default {
|
|
|
prop: "zlmc",
|
|
|
span: 12,
|
|
|
search: true,
|
|
|
- width: 130,
|
|
|
- align: "center",
|
|
|
+ minWidth: 160,
|
|
|
showOverflowTooltip: true,
|
|
|
rules: [
|
|
|
{
|
|
|
@@ -99,7 +95,7 @@ export default {
|
|
|
prop: "gb",
|
|
|
type: "select",
|
|
|
span: 12,
|
|
|
- width: 130,
|
|
|
+ width: 70,
|
|
|
search: true,
|
|
|
dicUrl: "/api/kd-system/dict-biz/dictionary?code=countries",
|
|
|
props:{
|
|
|
@@ -125,51 +121,29 @@ export default {
|
|
|
align: "center",
|
|
|
search: true,
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请输入申请号/专利号",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "申请日",
|
|
|
prop: "shenqingRq",
|
|
|
type: "date",
|
|
|
span: 12,
|
|
|
- width: 100,
|
|
|
+ width: 85,
|
|
|
search: false,
|
|
|
format: "yyyy-MM-dd",
|
|
|
valueFormat: "yyyy-MM-dd",
|
|
|
showOverflowTooltip: true,
|
|
|
align: "center",
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请选择申请日",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "授权日",
|
|
|
prop: "shouquanRq",
|
|
|
type: "date",
|
|
|
span: 12,
|
|
|
- width: 100,
|
|
|
+ width: 85,
|
|
|
align: "center",
|
|
|
search: false,
|
|
|
- format: "yyyy-MM-dd",
|
|
|
- valueFormat: "yyyy-MM-dd",
|
|
|
+ valueFormat: "yyyy-MM-DD",
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请选择授权日",
|
|
|
- trigger: "change",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "申请单位",
|
|
|
@@ -180,13 +154,6 @@ export default {
|
|
|
align: "center",
|
|
|
search: true,
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请选择参研情况",
|
|
|
- trigger: "change",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "专利权人",
|
|
|
@@ -197,13 +164,6 @@ export default {
|
|
|
align: "center",
|
|
|
search: true,
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请输入专利权人",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "共有权人",
|
|
|
@@ -214,13 +174,6 @@ export default {
|
|
|
align: "center",
|
|
|
search: false,
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请输入共有权人",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "发明人",
|
|
|
@@ -231,13 +184,6 @@ export default {
|
|
|
align: "center",
|
|
|
search: false,
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请输入发明人",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
},
|
|
|
{
|
|
|
label: "法律状态",
|
|
|
@@ -253,118 +199,89 @@ export default {
|
|
|
value: "dictKey",
|
|
|
},
|
|
|
showOverflowTooltip: true,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请选择法律状态",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- label: "关联研发项目",
|
|
|
- prop: "glyfxm",
|
|
|
- type: "select",
|
|
|
- span: 12,
|
|
|
- width: 80,
|
|
|
- align: "center",
|
|
|
- search: false,
|
|
|
- showOverflowTooltip: true,
|
|
|
- hide: true,
|
|
|
- viewDisplay: false
|
|
|
},
|
|
|
{
|
|
|
label: "关联研发项目情况",
|
|
|
- prop: "xmId",
|
|
|
- slot: true,
|
|
|
- span: 12,
|
|
|
- width: 80,
|
|
|
- align: "center",
|
|
|
- display: false,
|
|
|
- search: false,
|
|
|
- showOverflowTooltip: true,
|
|
|
+ prop: "canyunZhuchi",
|
|
|
+ align: 'center',
|
|
|
children: [
|
|
|
{
|
|
|
label: "研发项目名称",
|
|
|
- prop: "xmmc",
|
|
|
- search: true,
|
|
|
- addDisplay: false,
|
|
|
- editDisplay: false,
|
|
|
- viewDisplay: true,
|
|
|
- align: "center",
|
|
|
+ prop: 'xmId',
|
|
|
width: 120,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请输入发明人",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
+ span: 12,
|
|
|
+ hide: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "研发项目名称",
|
|
|
+ prop: 'xmmc',
|
|
|
+ width: 120,
|
|
|
+ search: true,
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ display: false
|
|
|
},
|
|
|
{
|
|
|
label: "研发项目编号",
|
|
|
- prop: "xmbh",
|
|
|
+ prop: 'xmbh',
|
|
|
+ width: 100,
|
|
|
+ align: 'center',
|
|
|
search: true,
|
|
|
- addDisplay: false,
|
|
|
- editDisplay: false,
|
|
|
- viewDisplay: true,
|
|
|
- align: "center",
|
|
|
- width: 150,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: false,
|
|
|
- message: "请输入发明人",
|
|
|
- trigger: "blur",
|
|
|
- },
|
|
|
- ],
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ display: false
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- label: "附件上传",
|
|
|
+ label: "附件信息",
|
|
|
prop: "attachment",
|
|
|
+ minWidth: 200,
|
|
|
type: "upload",
|
|
|
- span: 12,
|
|
|
- width: 120,
|
|
|
- align: "center",
|
|
|
- dataType: 'string',
|
|
|
- search: false,
|
|
|
- loadText: '附件上传中,请稍等',
|
|
|
- showOverflowTooltip: true,
|
|
|
+ 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',
|
|
|
+ url: "link",
|
|
|
+ name: "originalName",
|
|
|
+ res: "data",
|
|
|
},
|
|
|
- action: "/api/kd-resource/oss/endpoint/put-file-attach"
|
|
|
+ showOverflowTooltip: true,
|
|
|
},
|
|
|
{
|
|
|
label: "收件人邮箱",
|
|
|
prop: "sjryx",
|
|
|
type: "input",
|
|
|
- span: 12,
|
|
|
+ span: 24,
|
|
|
width: 150,
|
|
|
align: "center",
|
|
|
search: false,
|
|
|
showOverflowTooltip: true,
|
|
|
+ rules: [{
|
|
|
+ type: 'email',
|
|
|
+ message: '请输入正确的邮箱地址',
|
|
|
+ trigger: 'blur',
|
|
|
+ }]
|
|
|
},
|
|
|
{
|
|
|
label: "专利提醒功能",
|
|
|
prop: "zltxgn",
|
|
|
type: "select",
|
|
|
span: 12,
|
|
|
- width: 100,
|
|
|
+ width: 90,
|
|
|
align: "center",
|
|
|
- search: false,
|
|
|
- addDisplay: false,
|
|
|
- editDisplay: false,
|
|
|
+ display: false,
|
|
|
dicUrl: "/api/kd-system/dict-biz/dictionary?code=zltx",
|
|
|
- disabled: true,
|
|
|
props: {
|
|
|
label: "dictValue",
|
|
|
value: "dictKey",
|
|
|
},
|
|
|
showOverflowTooltip: true,
|
|
|
+ fixed: 'right'
|
|
|
},
|
|
|
],
|
|
|
};
|