From 038206f4b2ea7f5c6f886b2f865231b8c7c8335d Mon Sep 17 00:00:00 2001 From: hyt <958868763@qq.com> Date: Fri, 31 May 2024 15:23:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=9C=80=E6=B1=82=E6=B7=BB=E5=8A=A01.?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90=E6=96=B0=E5=A2=9E=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=202.=E4=B8=BB=E6=95=B0=E6=8D=AE=E6=96=B0=E6=B7=BB=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=9A=E4=B8=BB=E6=95=B0=E6=8D=AE=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=95=B0=E6=8D=AE=E6=BA=90=E6=98=AF?= =?UTF-8?q?=E4=B8=BB=E8=A1=A8=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=B7=BB=E5=8A=A0=E8=BF=99=E4=B8=80=E6=9D=A1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=EF=BC=8C=E4=B8=8D=E5=85=81=E8=AE=B8=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=203.=E6=A1=A3=E6=A1=88=E5=AF=B9=E7=85=A7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=BC=80=E5=8F=91=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/masterDataOptions/configData.js | 226 +++++++++--------- src/views/masterDataOptions/index.vue | 4 +- .../foregroundTask/rightDialog.vue | 2 +- .../plugInOptions/rightDialog.vue | 2 +- 4 files changed, 118 insertions(+), 116 deletions(-) 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">