Merge pull request 'fix : 修复列表左侧选择框,及正确json格式' (#355) from dj into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/355
This commit is contained in:
2024-06-18 13:27:22 +00:00
8 changed files with 54 additions and 43 deletions

View File

@@ -34,7 +34,8 @@ const searchConfig = reactive([
valueFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD HH:mm:ss',
}, },
colProps: {} colProps: {}
}, { },
{
label: '项目费用', label: '项目费用',
prop: 'projectCost', prop: 'projectCost',
component: shallowRef(fvSelect), component: shallowRef(fvSelect),
@@ -44,7 +45,8 @@ const searchConfig = reactive([
filterable: true, filterable: true,
cacheKey: 'project_cost', cacheKey: 'project_cost',
} }
}, { },
{
label: '项目阶段', label: '项目阶段',
prop: 'researchStage', prop: 'researchStage',
component: shallowRef(fvSelect), component: shallowRef(fvSelect),

View File

@@ -53,7 +53,8 @@ const searchConfig = reactive([
filterable: true, filterable: true,
checkStrictly: true checkStrictly: true
} }
}, { },
{
label: '分摊月份', label: '分摊月份',
prop: 'apportionmentMonth', prop: 'apportionmentMonth',
component: 'el-date-picker', component: 'el-date-picker',

View File

@@ -61,10 +61,10 @@ const auths = {
} }
const tableConfig = reactive({ const tableConfig = reactive({
columns: [ columns: [
{ // {
type: 'selection', // type: 'selection',
prop: 'selection' // prop: 'selection'
}, // },
{ {
prop: 'requirementName', prop: 'requirementName',
label: '征集名称', label: '征集名称',

View File

@@ -78,10 +78,10 @@ const auths = {
} }
const tableConfig = reactive({ const tableConfig = reactive({
columns: [ columns: [
{ // {
type: 'selection', // type: 'selection',
prop: 'selection' // prop: 'selection'
}, // },
{ {
prop: 'requirementName', prop: 'requirementName',
label: '征集名称', label: '征集名称',

View File

@@ -136,10 +136,10 @@ const searchConfig = reactive([
const tableIns = ref() const tableIns = ref()
const tableConfig = reactive({ const tableConfig = reactive({
columns: [ columns: [
{ // {
type: 'selection', // type: 'selection',
prop: 'selection' // prop: 'selection'
}, // },
{ {
prop: 'projectName', prop: 'projectName',
label: '项目名称', label: '项目名称',

View File

@@ -42,7 +42,8 @@ const searchConfig = reactive([
clearable: true, clearable: true,
placeholder: '请输入资金金额查询' placeholder: '请输入资金金额查询'
} }
}, { },
{
label: '剩余金额(元)', label: '剩余金额(元)',
prop: 'residualAmount', prop: 'residualAmount',
component: 'el-input', component: 'el-input',
@@ -50,7 +51,8 @@ const searchConfig = reactive([
clearable: true, clearable: true,
placeholder: '请输入剩余金额查询' placeholder: '请输入剩余金额查询'
} }
}, { },
{
label: '项目数量', label: '项目数量',
prop: 'projectNumber', prop: 'projectNumber',
component: 'el-input', component: 'el-input',

View File

@@ -157,22 +157,26 @@ const loadInitFrom = () => {
type: "END", type: "END",
} }
], ],
processFromPerms: [{ processFromPerms: [
{
id: "projectName", id: "projectName",
title: "项目名称", title: "项目名称",
required: true, required: true,
perm: "R" perm: "R"
}, { },
{
id: "projectType", id: "projectType",
title: "项目类型", title: "项目类型",
required: true, required: true,
perm: "R" perm: "R"
}, { },
{
id: "projectDesc", id: "projectDesc",
title: "项目描述", title: "项目描述",
required: true, required: true,
perm: "R" perm: "R"
}, { },
{
id: "projectManager", id: "projectManager",
title: "项目经理", title: "项目经理",
required: true, required: true,

View File

@@ -402,7 +402,8 @@ const insertConditionsNode = (node) => {
props: deepCopy(DefaultProps.CONDITION_PROPS), props: deepCopy(DefaultProps.CONDITION_PROPS),
name: "条件1", name: "条件1",
children: {} children: {}
}, { },
{
id: getRandomId(), id: getRandomId(),
parentId: node.id, parentId: node.id,
type: "CONDITION", type: "CONDITION",
@@ -437,7 +438,8 @@ const insertConcurrentsNode = (node) => {
props: deepCopy(DefaultProps.CONDITION_PROPS), props: deepCopy(DefaultProps.CONDITION_PROPS),
name: "分支1", name: "分支1",
children: {} children: {}
}, { },
{
id: getRandomId(), id: getRandomId(),
parentId: node.id, parentId: node.id,
type: "CONCURRENT", type: "CONCURRENT",