update 上传
This commit is contained in:
@@ -85,7 +85,8 @@ const addOrUpdateConfigs = {
|
||||
label: '上传资料',
|
||||
component: () => import('@/components/base-upload'),
|
||||
props: { // 上传组件需要的 props
|
||||
url: "/monitoring/attachment/uploadFileFormData?typeCode=EquipmentTypeFile",
|
||||
url: "/monitoring/attachment/uploadFileFormData",
|
||||
extraParams: { typeCode: 123 },
|
||||
buttonContent: '点击上传',
|
||||
tip: '上传文件大小不要超过 2mb (2048kb)'
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ import AddOrUpdate from '@/components/base-dialog/addOrUpdate'
|
||||
// import AddOrUpdate from './qualityInspectionRecord-add-or-update'
|
||||
import BaseTable from '@/components/base-table'
|
||||
import TableOperateComponent from '@/components/base-table/components/operationComponent'
|
||||
import TableTextComponent from '@/components/base-table/components/detailComponent'
|
||||
// import TableTextComponent from '@/components/base-table/components/detailComponent'
|
||||
|
||||
const tableConfigs = [
|
||||
{ prop: 'createTime', name: '添加时间' },
|
||||
@@ -78,7 +78,13 @@ const tableConfigs = [
|
||||
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
|
||||
]
|
||||
|
||||
const addOrUpdateConfigs = {}
|
||||
const addOrUpdateConfigs = {
|
||||
type: 'dialog',
|
||||
infoUrl: '/monitoring/qualityInspectionRecord',
|
||||
fields: [
|
||||
{name: '', label: '检测类型', type: 'select', options: []}
|
||||
]
|
||||
}
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user