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