diff --git a/src/views/masterDataOptions/configData.js b/src/views/masterDataOptions/configData.js index 43afd5e..4bf08d1 100644 --- a/src/views/masterDataOptions/configData.js +++ b/src/views/masterDataOptions/configData.js @@ -1,123 +1,125 @@ const addForm = [ - { - elCol: [ - { - type: "input", - title: "主数据名称", - id: "mdmName", - row: 24, - disabled: false, - required: true, - fontSize: 16 - }, - ], - }, - { - elCol: [ - { - type: "select", - title: "主数据类型", - id: "mdmType", - row: 24, - disabled: false, - required: true, - options: [], - fontSize: 16, - }, - ], - }, - // { - // elCol: [ - // { - // type: "input", - // title: "服务名", - // id: "mdmCode", - // row: 24, - // disabled: true, - // required: false, - // fontSize: 16, - // placeholder: "编辑时自动带出" - // }, - // ], - // }, - { - elCol: [ - { - type: "textrea", - title: "备注", - id: "remark", - row: 24, - disabled: false, - fontSize: 16 + { + elCol: [ + { + type: 'input', + title: '主数据名称', + id: 'mdmName', + row: 24, + disabled: false, + required: true, + fontSize: 16 + } + ] + }, + { + elCol: [ + { + type: 'select', + title: '主数据类型', + id: 'mdmType', + row: 24, + disabled: false, + required: true, + options: [], + fontSize: 16 + } + ] + }, + // { + // elCol: [ + // { + // type: "input", + // title: "服务名", + // id: "mdmCode", + // row: 24, + // disabled: true, + // required: false, + // fontSize: 16, + // placeholder: "编辑时自动带出" + // }, + // ], + // }, + { + elCol: [ + { + type: 'textrea', + title: '备注', + id: 'remark', + row: 24, + disabled: false, + fontSize: 16 - }, - ], - }, + } + ] + } ] const tableColumn = [ - { - id: "mdmName", - title: "主数据名称", - }, - { - id: "mdmTypeName", - title: "主数据类型", - }, - { - id: "remark", - title: "备注", - tooltip: true, - }, - { - id: "createUserId", - title: "创建人", - tooltip: true, - }, - { - id: "createTime", - title: "创建日期", - tooltip: true, - }, - { - id: "modifyUserId", - title: "修改人", - }, - { - id: "modifyTime", - title: "修改时间", - }, + { + id: 'mdmName', + title: '主数据名称', + align: 'left', + width:130, + }, + { + id: 'mdmTypeName', + title: '主数据类型' + }, + { + id: 'remark', + title: '备注', + tooltip: true + }, + { + id: 'createUserId', + title: '创建人', + tooltip: true + }, + { + id: 'createTime', + title: '创建日期', + tooltip: true + }, + { + id: 'modifyUserId', + title: '修改人' + }, + { + id: 'modifyTime', + title: '修改时间' + } ] const settingMenu = [ - { - title: "基本信息", - icon: "masterDataMenu01", - path: "masterDataEdit" - }, - { - title: "数据源", - icon: "masterDataMenu02", - path: "dataOrigin" - }, - { - title: "显示信息", - icon: "masterDataMenu03", - path: "displayInfo" - }, - // { - // title: "配置权限", - // icon: "masterDataMenu04", - // path: "authorily" - // }, - { - title: "分发权限", - icon: "masterDataMenu05", - path: 'distribute' - }, + { + title: '基本信息', + icon: 'masterDataMenu01', + path: 'masterDataEdit' + }, + { + title: '数据源', + icon: 'masterDataMenu02', + path: 'dataOrigin' + }, + { + title: '显示信息', + icon: 'masterDataMenu03', + path: 'displayInfo' + }, + // { + // title: "配置权限", + // icon: "masterDataMenu04", + // path: "authorily" + // }, + { + title: '分发权限', + icon: 'masterDataMenu05', + path: 'distribute' + } ] const configData = { - addForm, - tableColumn, - settingMenu + addForm, + tableColumn, + settingMenu } export default configData diff --git a/src/views/masterDataOptions/index.vue b/src/views/masterDataOptions/index.vue index 592d032..6b3e1c3 100644 --- a/src/views/masterDataOptions/index.vue +++ b/src/views/masterDataOptions/index.vue @@ -26,7 +26,7 @@ :funWidth="funWidth" :showIndex="true" :tabLoading="mainTabLoading" @onFunc="tableButtonHandle" :tableHeight="'70vh'" :border="false">