export default { height: "auto", calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 6, border: true, index: true, selection: true, addBtn: true, delBtn: true, searchLabelWidth: 140, labelWidth: 110, menuWidth: 160, dialogClickModal: false, dialogWidth: 500, dialogType: "drawer", column: [ { label: "标准号", prop: "zbh", span: 24, width: 100, align: "center", search: true, showOverflowTooltip: true, rules: [ { required: true, message: "请输入标准号", trigger: "blur", }, ], }, { label: "标准名称", prop: "zbmc", span: 24, search: true, width: 140, showOverflowTooltip: true, rules: [ { required: true, message: "请输入标准名称", trigger: "blur", }, ], }, { label: "标准类别", prop: "bzlb", span: 24, search: true, type: 'select', dicUrl: '/api/kd-system/dict/dictionary?code=technical_standard_type', props: { label: 'dictValue', value: 'dictKey', }, width: 100, showOverflowTooltip: true, rules: [ { required: true, message: "请选择标准类别", trigger: "blur", }, ], }, { label: "颁布部门", prop: "bbbm", span: 24, width: 120, align: "center", showOverflowTooltip: true, }, { label: "起草单位", prop: "qlr", span: 24, width: 100, search: true, align: "center", showOverflowTooltip: true, }, { label: "参与人", prop: "cyr", span: 24, width: 70, align: "center", search: true, showOverflowTooltip: true, }, { label: "实施日期", prop: "ssrq", type: "date", valueFormat: 'yyyy-MM-dd', span: 24, width: 100, showOverflowTooltip: true, align: "center", }, { label: "状态", prop: "state", type: 'select', dicUrl: '/api/kd-system/dict/dictionary?code=technical_standard_state', props: { label: 'dictValue', value: 'dictKey', }, width: 100, align: "center", search: true, span: 24, showOverflowTooltip: true, rules: [ { required: true, message: "请选择状态", trigger: "blur", }, ], }, { label: "参与/主持", prop: "canyunZhuchi", span: 24, width: 90, align: "center", showOverflowTooltip: true, }, { label: "关联研发项目情况", prop: "canyunZhuchi", align: 'center', children: [ { label: "研发项目名称", prop: 'xmId', width: 120, span: 24, hide: true, // rules: [ // { // required: true, // message: "请选择项目", // trigger: "blur", // }, // ], }, { 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) => { window.open(file.url, "_blank"); return; }, propsHttp: { url: "link", name: "originalName", res: "data", }, showOverflowTooltip: true, }, ], };