3 changed files with 384 additions and 2 deletions
			
			
		@ -0,0 +1,379 @@
				@@ -0,0 +1,379 @@
					 | 
				
			||||
export const wsQbTableOption = { | 
				
			||||
  reserveSelection:false, | 
				
			||||
  selection:true, | 
				
			||||
  addTitle:'文书档案-签报>新增', | 
				
			||||
  editTitle:'文书档案-签报>编辑', | 
				
			||||
  index:true, | 
				
			||||
  indexFixed:false, | 
				
			||||
  dialogDrag: true, | 
				
			||||
  border: false, | 
				
			||||
  indexLabel: '序号', | 
				
			||||
  stripe: true, | 
				
			||||
  menuWidth: '150px', | 
				
			||||
  menuAlign: 'center', | 
				
			||||
  align: 'center', | 
				
			||||
  menuType: 'text', | 
				
			||||
  excelBtn: false, | 
				
			||||
  printBtn: false, | 
				
			||||
  addBtn:false, | 
				
			||||
  viewBtn: false, | 
				
			||||
  editBtn:false, | 
				
			||||
  delBtn:false, | 
				
			||||
  menu:true, | 
				
			||||
  searchSize: 'mini', | 
				
			||||
  search:true, | 
				
			||||
  column: [ | 
				
			||||
    { | 
				
			||||
      label: '状态', | 
				
			||||
      prop: 'status', | 
				
			||||
      type: 'select', | 
				
			||||
      display:false, | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/record_status', | 
				
			||||
      props:{ | 
				
			||||
        label:'dictLabel', | 
				
			||||
        value:'dictValue' | 
				
			||||
      }, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '退回理由', | 
				
			||||
      prop: 'rejectReason', | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
      hide:true, | 
				
			||||
      disabled:true, | 
				
			||||
      viewDisplay:false, | 
				
			||||
      width: '150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: 'PK', | 
				
			||||
      prop: 'id', | 
				
			||||
      hide:true, | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
      display:false, | 
				
			||||
      disabled:true, | 
				
			||||
      showColumn:false, | 
				
			||||
    }, | 
				
			||||
    // {
 | 
				
			||||
    //   label: '退回理由',
 | 
				
			||||
    //   prop: 'rejectReason',
 | 
				
			||||
    //   editDisplay:false,
 | 
				
			||||
    //   addDisplay:false,
 | 
				
			||||
    //   hide:true,
 | 
				
			||||
    //   disabled:true,
 | 
				
			||||
    //   viewDisplay:false,
 | 
				
			||||
    //   width: '150px'
 | 
				
			||||
    // },
 | 
				
			||||
 | 
				
			||||
    { | 
				
			||||
      label: '档号', | 
				
			||||
      prop: 'fileNum', | 
				
			||||
      search: true, | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
      width:'180px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '案卷流水号', | 
				
			||||
      prop: 'caseNum', | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
      width: '120px', | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '案卷题名', | 
				
			||||
      prop: 'boxName', | 
				
			||||
      search:true, | 
				
			||||
      rules: [{ | 
				
			||||
        required: true, | 
				
			||||
        message: '请输入文件题名', | 
				
			||||
        trigger: 'change' | 
				
			||||
      }], | 
				
			||||
      width:'300px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '件数', | 
				
			||||
      prop: 'number', | 
				
			||||
      type:'number', | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '总页数', | 
				
			||||
      prop: 'pages', | 
				
			||||
      type:'number', | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '起始日期', | 
				
			||||
      prop: 'startDate', | 
				
			||||
      type:'date', | 
				
			||||
      format: "yyyyMMdd", | 
				
			||||
      valueFormat: "yyyy-MM-dd", | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '结束日期', | 
				
			||||
      prop: 'endDate', | 
				
			||||
      type:'date', | 
				
			||||
      format: "yyyyMMdd", | 
				
			||||
      valueFormat: "yyyy-MM-dd", | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '备注', | 
				
			||||
      prop: 'remark', | 
				
			||||
      search: true | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '密级', | 
				
			||||
      prop: 'secretLevel', | 
				
			||||
      type: 'select', | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/pro_secret_level', | 
				
			||||
      props:{ | 
				
			||||
        label:'dictLabel', | 
				
			||||
        value:'dictValue' | 
				
			||||
      }, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '保管期限', | 
				
			||||
      prop: 'storageTime', | 
				
			||||
      type: 'select', | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/storage_time', | 
				
			||||
      props:{ | 
				
			||||
        label:'dictLabel', | 
				
			||||
        value:'dictValue' | 
				
			||||
      }, | 
				
			||||
      rules: [{ | 
				
			||||
        required: true, | 
				
			||||
        message: '请选择保管期限', | 
				
			||||
        trigger: 'change' | 
				
			||||
      }], | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '文件类别', | 
				
			||||
      prop: 'recordType', | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '档案类别', | 
				
			||||
      prop: 'archiveCategory', | 
				
			||||
      type:'select', | 
				
			||||
      dicUrl:process.env.VUE_APP_BASE_API+'/archives/categoryInfo/listCategoryInfo', | 
				
			||||
      props:{ | 
				
			||||
        label:'name', | 
				
			||||
        value:'code' | 
				
			||||
      }, | 
				
			||||
      value:'WS', | 
				
			||||
      disabled:true | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '年度', | 
				
			||||
      prop: 'year', | 
				
			||||
      value: new Date().getFullYear(), | 
				
			||||
      rules: [{ | 
				
			||||
        required: true, | 
				
			||||
        message: '请选择年度', | 
				
			||||
        trigger: 'change' | 
				
			||||
      }], | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '立卷部门', | 
				
			||||
      prop: 'department', | 
				
			||||
      type: 'tree', | 
				
			||||
      filter:false, | 
				
			||||
      parent:false, | 
				
			||||
      props: { | 
				
			||||
        label: 'label', | 
				
			||||
        value: 'id' | 
				
			||||
      }, | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dept/treeselect', | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '专业类别', | 
				
			||||
      prop: 'archiveScope', | 
				
			||||
      type: 'tree', | 
				
			||||
      filter:false, | 
				
			||||
      parent:false, | 
				
			||||
      props: { | 
				
			||||
        label: 'label', | 
				
			||||
        value: 'id' | 
				
			||||
      }, | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+`/archives/categoryInfo/treeSonselect?code=WS`, | 
				
			||||
      rules: [{ | 
				
			||||
        required: true, | 
				
			||||
        message: '请选择专业类别', | 
				
			||||
        trigger: 'change' | 
				
			||||
      }], | 
				
			||||
       display:false | 
				
			||||
    }, | 
				
			||||
  ] | 
				
			||||
} | 
				
			||||
 | 
				
			||||
 | 
				
			||||
export const wsQbFileInfo = { | 
				
			||||
  reserveSelection:false, | 
				
			||||
  selection:false, | 
				
			||||
  index:true, | 
				
			||||
  indexFixed:false, | 
				
			||||
  dialogDrag: true, | 
				
			||||
  border: false, | 
				
			||||
  indexLabel: '序号', | 
				
			||||
  stripe: true, | 
				
			||||
  menuAlign: 'center', | 
				
			||||
  menuWidth: '150px', | 
				
			||||
  align: 'center', | 
				
			||||
  menuType: 'text', | 
				
			||||
  excelBtn: false, | 
				
			||||
  printBtn: false, | 
				
			||||
  addBtn:false, | 
				
			||||
  viewBtn: false, | 
				
			||||
  editBtn:false, | 
				
			||||
  delBtn:false, | 
				
			||||
  menu:true, | 
				
			||||
  searchSize: 'mini', | 
				
			||||
  search:true, | 
				
			||||
  column: [ | 
				
			||||
    { | 
				
			||||
      label: 'PK', | 
				
			||||
      prop: 'id', | 
				
			||||
      hide:true, | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
      display:false, | 
				
			||||
      disabled:true, | 
				
			||||
      showColumn:false, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '状态', | 
				
			||||
      prop: 'status', | 
				
			||||
      type: 'select', | 
				
			||||
      display:false, | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/record_status', | 
				
			||||
      props:{ | 
				
			||||
        label:'dictLabel', | 
				
			||||
        value:'dictValue' | 
				
			||||
      }, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '案卷档号', | 
				
			||||
      prop: 'recordFileNum', | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '顺序号', | 
				
			||||
      prop: 'arSort', | 
				
			||||
      editDisplay:false, | 
				
			||||
      addDisplay:false, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '文号', | 
				
			||||
      prop: 'receiveNum', | 
				
			||||
      search:true, | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '责任者', | 
				
			||||
      search:true, | 
				
			||||
      prop: 'ownerName', | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '文件标题', | 
				
			||||
      search:true, | 
				
			||||
      prop: 'title', | 
				
			||||
      rules: [{ | 
				
			||||
        required: true, | 
				
			||||
        message: '请输入文件标题', | 
				
			||||
        trigger: 'change' | 
				
			||||
      }], | 
				
			||||
      width:'250px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '日期', | 
				
			||||
      prop: 'fileDate', | 
				
			||||
      type:'date', | 
				
			||||
      format: "yyyyMMdd", | 
				
			||||
      valueFormat: "yyyy-MM-dd", | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '页号', | 
				
			||||
      prop: 'pageNums', | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '备注', | 
				
			||||
      prop: 'remark', | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '密级', | 
				
			||||
      prop: 'secretLevel', | 
				
			||||
      type: 'select', | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/pro_secret_level', | 
				
			||||
      props:{ | 
				
			||||
        label:'dictLabel', | 
				
			||||
        value:'dictValue' | 
				
			||||
      }, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '立卷人', | 
				
			||||
      prop: 'createUser', | 
				
			||||
      addDisplay: false, | 
				
			||||
      editDisplay: false, | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '审核人', | 
				
			||||
      prop: 'checkUser', | 
				
			||||
      addDisplay: false, | 
				
			||||
      editDisplay: false, | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '年度', | 
				
			||||
      prop: 'year', | 
				
			||||
      value: new Date().getFullYear(), | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '保管期限', | 
				
			||||
      prop: 'storageTime', | 
				
			||||
      type: 'select', | 
				
			||||
      dicUrl: process.env.VUE_APP_BASE_API+'/system/dict/data/type/storage_time', | 
				
			||||
      props:{ | 
				
			||||
        label:'dictLabel', | 
				
			||||
        value:'dictValue' | 
				
			||||
      }, | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '文件类别', | 
				
			||||
      prop: 'recordType', | 
				
			||||
      addDisplay:false, | 
				
			||||
      editDisplay:false, | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '主题字', | 
				
			||||
      prop: 'keyWords', | 
				
			||||
      width:'150px' | 
				
			||||
 | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '承办单位', | 
				
			||||
      prop: 'underTaker', | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '承办人', | 
				
			||||
      prop: 'underUser', | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
    { | 
				
			||||
      label: '立卷时间', | 
				
			||||
      prop: 'filingTime', | 
				
			||||
      type:'date', | 
				
			||||
      format: "yyyyMMdd", | 
				
			||||
      valueFormat: "yyyy-MM-dd", | 
				
			||||
      width:'150px' | 
				
			||||
    }, | 
				
			||||
 | 
				
			||||
  ] | 
				
			||||
} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue