新需求添加1.数据源新增测试 2.主数据新添规则:主数据配置,新增数据源是主表的情况下默认添加这一条数据,不允许修改 3.档案对照页面重新开发。

This commit is contained in:
hyt 2024-05-31 15:23:40 +08:00
parent 4c5690016f
commit 038206f4b2
4 changed files with 118 additions and 116 deletions

View File

@ -2,29 +2,29 @@ const addForm = [
{ {
elCol: [ elCol: [
{ {
type: "input", type: 'input',
title: "主数据名称", title: '主数据名称',
id: "mdmName", id: 'mdmName',
row: 24, row: 24,
disabled: false, disabled: false,
required: true, required: true,
fontSize: 16 fontSize: 16
}, }
], ]
}, },
{ {
elCol: [ elCol: [
{ {
type: "select", type: 'select',
title: "主数据类型", title: '主数据类型',
id: "mdmType", id: 'mdmType',
row: 24, row: 24,
disabled: false, disabled: false,
required: true, required: true,
options: [], options: [],
fontSize: 16, fontSize: 16
}, }
], ]
}, },
// { // {
// elCol: [ // elCol: [
@ -43,66 +43,68 @@ const addForm = [
{ {
elCol: [ elCol: [
{ {
type: "textrea", type: 'textrea',
title: "备注", title: '备注',
id: "remark", id: 'remark',
row: 24, row: 24,
disabled: false, disabled: false,
fontSize: 16 fontSize: 16
}, }
], ]
}, }
] ]
const tableColumn = [ const tableColumn = [
{ {
id: "mdmName", id: 'mdmName',
title: "主数据名称", title: '主数据名称',
align: 'left',
width:130,
}, },
{ {
id: "mdmTypeName", id: 'mdmTypeName',
title: "主数据类型", title: '主数据类型'
}, },
{ {
id: "remark", id: 'remark',
title: "备注", title: '备注',
tooltip: true, tooltip: true
}, },
{ {
id: "createUserId", id: 'createUserId',
title: "创建人", title: '创建人',
tooltip: true, tooltip: true
}, },
{ {
id: "createTime", id: 'createTime',
title: "创建日期", title: '创建日期',
tooltip: true, tooltip: true
}, },
{ {
id: "modifyUserId", id: 'modifyUserId',
title: "修改人", title: '修改人'
}, },
{ {
id: "modifyTime", id: 'modifyTime',
title: "修改时间", title: '修改时间'
}, }
] ]
const settingMenu = [ const settingMenu = [
{ {
title: "基本信息", title: '基本信息',
icon: "masterDataMenu01", icon: 'masterDataMenu01',
path: "masterDataEdit" path: 'masterDataEdit'
}, },
{ {
title: "数据源", title: '数据源',
icon: "masterDataMenu02", icon: 'masterDataMenu02',
path: "dataOrigin" path: 'dataOrigin'
}, },
{ {
title: "显示信息", title: '显示信息',
icon: "masterDataMenu03", icon: 'masterDataMenu03',
path: "displayInfo" path: 'displayInfo'
}, },
// { // {
// title: "配置权限", // title: "配置权限",
@ -110,10 +112,10 @@ const settingMenu = [
// path: "authorily" // path: "authorily"
// }, // },
{ {
title: "分发权限", title: '分发权限',
icon: "masterDataMenu05", icon: 'masterDataMenu05',
path: 'distribute' path: 'distribute'
}, }
] ]
const configData = { const configData = {
addForm, addForm,

View File

@ -26,7 +26,7 @@
:funWidth="funWidth" :showIndex="true" :tabLoading="mainTabLoading" @onFunc="tableButtonHandle" :funWidth="funWidth" :showIndex="true" :tabLoading="mainTabLoading" @onFunc="tableButtonHandle"
:tableHeight="'70vh'" :border="false"> :tableHeight="'70vh'" :border="false">
<template v-slot:mdmName="{ row }"> <template v-slot:mdmName="{ row }">
<div class="nameCard" style="margin: 0 auto"> <div class="nameCard">
<div class="image" v-loading="row.imgLoading"> <div class="image" v-loading="row.imgLoading">
<template v-if="row.imgUrl"> <template v-if="row.imgUrl">
<img :src="row.imgUrl" alt=""/> <img :src="row.imgUrl" alt=""/>
@ -307,7 +307,7 @@ export default {
.nameCard { .nameCard {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: flex-start;
width: 100%; width: 100%;
.image { .image {
width: 29px; width: 29px;

View File

@ -206,7 +206,7 @@ export default {
let res = await authApi( let res = await authApi(
"pluginService", "pluginService",
"plugins", "plugins",
"queryPluginsByType", "queryPlugins",
"", "",
{ {
"pluginType": "1" "pluginType": "1"

View File

@ -157,7 +157,7 @@ export default {
let res = await authApi( let res = await authApi(
"pluginService", "pluginService",
"plugins", "plugins",
"queryPluginsByType", "queryPlugins",
"", "",
{ {
"pluginType": "1" "pluginType": "1"