diff --git a/src/api/DesignForm/fieldUnit.ts b/src/api/DesignForm/fieldUnit.ts new file mode 100644 index 000000000..70aedafe0 --- /dev/null +++ b/src/api/DesignForm/fieldUnit.ts @@ -0,0 +1,6 @@ +export const inputUnit = ["input","varchar"] +export const timeUnit = ["time"] +export const orgUnit = ["org"] +export const choiceUnit = ["radio"] +export const switchUnit = ["switch"] +export const checkboxUnit = ["checkbox"] diff --git a/src/api/DesignForm/tableButton.ts b/src/api/DesignForm/tableButton.ts index 2ba457de9..20551274f 100644 --- a/src/api/DesignForm/tableButton.ts +++ b/src/api/DesignForm/tableButton.ts @@ -2,7 +2,7 @@ export interface tableButton { id?: string; name?: string; field?: string; - types?: string; + type?: string; attribute:string; pattern?: string; fieldClass?: string; @@ -10,6 +10,7 @@ export interface tableButton { inactiveValue?: string; options?: optionsInfo[]; config?:any; + label?: string; } export interface optionsInfo { label: string; @@ -70,10 +71,10 @@ export const tableAttrLogButtonList :tableButton[] = [ // attribute:"checkbox" id: "checkbox", - name: "多选", + label: "多选", field: "checkbox", - types: "-", - attribute:"", + type: "selection", + attribute:"-", pattern: "bigint", fieldClass: "-", activeValue: "", @@ -83,10 +84,10 @@ export const tableAttrLogButtonList :tableButton[] = [ { id: "serialNumber", - name: "序号", + label: "序号", field: "index", - types: "-", - attribute:"", + type: "index", + attribute:"-", pattern: "bigint", fieldClass: "-", activeValue: "", @@ -95,10 +96,10 @@ export const tableAttrLogButtonList :tableButton[] = [ }, { id: "operate", - name: "操作", + label: "操作", field: "operate", - types: "-", - attribute:"", + type: "", + attribute:"-", pattern: "bigint", fieldClass: "__control", activeValue: "", @@ -106,3 +107,14 @@ export const tableAttrLogButtonList :tableButton[] = [ options: [] } ]; +//新增和编辑页面展开方式 +export const diaOrDrawer = [ + { + label:"抽屉", + value:"drawer" + }, + { + label:"弹窗", + value:"dialog" + } +] diff --git a/src/views/sysworkflow/lowcodepage/pageList.vue b/src/views/sysworkflow/lowcodepage/pageList.vue index 594291655..dc04529bb 100644 --- a/src/views/sysworkflow/lowcodepage/pageList.vue +++ b/src/views/sysworkflow/lowcodepage/pageList.vue @@ -5,8 +5,8 @@ -->