新需求添加1.数据源新增测试 2.主数据新添规则:主数据配置,新增数据源是主表的情况下默认添加这一条数据,不允许修改 3.档案对照页面重新开发。
This commit is contained in:
parent
4c5690016f
commit
038206f4b2
|
@ -2,29 +2,29 @@ const addForm = [
|
|||
{
|
||||
elCol: [
|
||||
{
|
||||
type: "input",
|
||||
title: "主数据名称",
|
||||
id: "mdmName",
|
||||
type: 'input',
|
||||
title: '主数据名称',
|
||||
id: 'mdmName',
|
||||
row: 24,
|
||||
disabled: false,
|
||||
required: true,
|
||||
fontSize: 16
|
||||
},
|
||||
],
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
elCol: [
|
||||
{
|
||||
type: "select",
|
||||
title: "主数据类型",
|
||||
id: "mdmType",
|
||||
type: 'select',
|
||||
title: '主数据类型',
|
||||
id: 'mdmType',
|
||||
row: 24,
|
||||
disabled: false,
|
||||
required: true,
|
||||
options: [],
|
||||
fontSize: 16,
|
||||
},
|
||||
],
|
||||
fontSize: 16
|
||||
}
|
||||
]
|
||||
},
|
||||
// {
|
||||
// elCol: [
|
||||
|
@ -43,66 +43,68 @@ const addForm = [
|
|||
{
|
||||
elCol: [
|
||||
{
|
||||
type: "textrea",
|
||||
title: "备注",
|
||||
id: "remark",
|
||||
type: 'textrea',
|
||||
title: '备注',
|
||||
id: 'remark',
|
||||
row: 24,
|
||||
disabled: false,
|
||||
fontSize: 16
|
||||
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
const tableColumn = [
|
||||
{
|
||||
id: "mdmName",
|
||||
title: "主数据名称",
|
||||
id: 'mdmName',
|
||||
title: '主数据名称',
|
||||
align: 'left',
|
||||
width:130,
|
||||
},
|
||||
{
|
||||
id: "mdmTypeName",
|
||||
title: "主数据类型",
|
||||
id: 'mdmTypeName',
|
||||
title: '主数据类型'
|
||||
},
|
||||
{
|
||||
id: "remark",
|
||||
title: "备注",
|
||||
tooltip: true,
|
||||
id: 'remark',
|
||||
title: '备注',
|
||||
tooltip: true
|
||||
},
|
||||
{
|
||||
id: "createUserId",
|
||||
title: "创建人",
|
||||
tooltip: true,
|
||||
id: 'createUserId',
|
||||
title: '创建人',
|
||||
tooltip: true
|
||||
},
|
||||
{
|
||||
id: "createTime",
|
||||
title: "创建日期",
|
||||
tooltip: true,
|
||||
id: 'createTime',
|
||||
title: '创建日期',
|
||||
tooltip: true
|
||||
},
|
||||
{
|
||||
id: "modifyUserId",
|
||||
title: "修改人",
|
||||
id: 'modifyUserId',
|
||||
title: '修改人'
|
||||
},
|
||||
{
|
||||
id: "modifyTime",
|
||||
title: "修改时间",
|
||||
},
|
||||
id: 'modifyTime',
|
||||
title: '修改时间'
|
||||
}
|
||||
]
|
||||
const settingMenu = [
|
||||
{
|
||||
title: "基本信息",
|
||||
icon: "masterDataMenu01",
|
||||
path: "masterDataEdit"
|
||||
title: '基本信息',
|
||||
icon: 'masterDataMenu01',
|
||||
path: 'masterDataEdit'
|
||||
},
|
||||
{
|
||||
title: "数据源",
|
||||
icon: "masterDataMenu02",
|
||||
path: "dataOrigin"
|
||||
title: '数据源',
|
||||
icon: 'masterDataMenu02',
|
||||
path: 'dataOrigin'
|
||||
},
|
||||
{
|
||||
title: "显示信息",
|
||||
icon: "masterDataMenu03",
|
||||
path: "displayInfo"
|
||||
title: '显示信息',
|
||||
icon: 'masterDataMenu03',
|
||||
path: 'displayInfo'
|
||||
},
|
||||
// {
|
||||
// title: "配置权限",
|
||||
|
@ -110,10 +112,10 @@ const settingMenu = [
|
|||
// path: "authorily"
|
||||
// },
|
||||
{
|
||||
title: "分发权限",
|
||||
icon: "masterDataMenu05",
|
||||
title: '分发权限',
|
||||
icon: 'masterDataMenu05',
|
||||
path: 'distribute'
|
||||
},
|
||||
}
|
||||
]
|
||||
const configData = {
|
||||
addForm,
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
:funWidth="funWidth" :showIndex="true" :tabLoading="mainTabLoading" @onFunc="tableButtonHandle"
|
||||
:tableHeight="'70vh'" :border="false">
|
||||
<template v-slot:mdmName="{ row }">
|
||||
<div class="nameCard" style="margin: 0 auto">
|
||||
<div class="nameCard">
|
||||
<div class="image" v-loading="row.imgLoading">
|
||||
<template v-if="row.imgUrl">
|
||||
<img :src="row.imgUrl" alt=""/>
|
||||
|
@ -307,7 +307,7 @@ export default {
|
|||
.nameCard {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
.image {
|
||||
width: 29px;
|
||||
|
|
|
@ -206,7 +206,7 @@ export default {
|
|||
let res = await authApi(
|
||||
"pluginService",
|
||||
"plugins",
|
||||
"queryPluginsByType",
|
||||
"queryPlugins",
|
||||
"",
|
||||
{
|
||||
"pluginType": "1"
|
||||
|
|
|
@ -157,7 +157,7 @@ export default {
|
|||
let res = await authApi(
|
||||
"pluginService",
|
||||
"plugins",
|
||||
"queryPluginsByType",
|
||||
"queryPlugins",
|
||||
"",
|
||||
{
|
||||
"pluginType": "1"
|
||||
|
|
Loading…
Reference in New Issue