add 文件上传
This commit is contained in:
@@ -94,7 +94,7 @@ export default function () {
|
||||
],
|
||||
// [{ textarea: true, label: "描述信息", prop: "description", elparams: { placeholder: "描述信息" } }],
|
||||
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
[{ upload: true, label: "上传资料", prop: "upload", elparams: null }],
|
||||
[{ upload: true, actionUrl: window.SITE_CONFIG['apiURL'] + '/pms/equipmentTypeFile', label: "上传资料", fileList:[], prop: "upload", elparams: null }],
|
||||
],
|
||||
operations: [
|
||||
{ name: "add", label: "保存", type: "primary", permission: "pms:equipmentType:save", showOnEdit: false },
|
||||
|
||||
@@ -7,7 +7,7 @@ import initConfig from './config';
|
||||
import ListViewWithHead from '@/views/atomViews/ListViewWithHead.vue';
|
||||
|
||||
export default {
|
||||
name: 'ProductionLineView',
|
||||
name: 'EquipmentTypeView',
|
||||
components: { ListViewWithHead },
|
||||
provide() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user