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:
@@ -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),
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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: '征集名称',
|
||||||
|
|||||||
@@ -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: '征集名称',
|
||||||
|
|||||||
@@ -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: '项目名称',
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ import ProcessSetting from "./ProcessSetting.vue";
|
|||||||
import Ellipsis from '@/views/workflow/process/common/Ellipsis.vue'
|
import Ellipsis from '@/views/workflow/process/common/Ellipsis.vue'
|
||||||
import {getCurrentInstance} from '@vue/runtime-core';
|
import {getCurrentInstance} from '@vue/runtime-core';
|
||||||
import {useTagsView} from '@/stores/tagsview.js'
|
import {useTagsView} from '@/stores/tagsview.js'
|
||||||
import {ElMessageBox,ElNotification} from "element-plus";
|
import {ElMessageBox, ElNotification} from "element-plus";
|
||||||
|
|
||||||
const tagsViewStore = useTagsView()
|
const tagsViewStore = useTagsView()
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ const validOptions = ref([
|
|||||||
{title: '审批流程', description: '', icon: '', status: ''},
|
{title: '审批流程', description: '', icon: '', status: ''},
|
||||||
// {title: '扩展设置', description: '', icon: '', status: ''}
|
// {title: '扩展设置', description: '', icon: '', status: ''}
|
||||||
])
|
])
|
||||||
onActivated(()=>{
|
onActivated(() => {
|
||||||
activeSelect.value = 'processSetting'
|
activeSelect.value = 'processSetting'
|
||||||
init()
|
init()
|
||||||
})
|
})
|
||||||
@@ -157,27 +157,31 @@ const loadInitFrom = () => {
|
|||||||
type: "END",
|
type: "END",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
processFromPerms: [{
|
processFromPerms: [
|
||||||
id: "projectName",
|
{
|
||||||
title: "项目名称",
|
id: "projectName",
|
||||||
required: true,
|
title: "项目名称",
|
||||||
perm: "R"
|
required: true,
|
||||||
}, {
|
perm: "R"
|
||||||
id: "projectType",
|
},
|
||||||
title: "项目类型",
|
{
|
||||||
required: true,
|
id: "projectType",
|
||||||
perm: "R"
|
title: "项目类型",
|
||||||
}, {
|
required: true,
|
||||||
id: "projectDesc",
|
perm: "R"
|
||||||
title: "项目描述",
|
},
|
||||||
required: true,
|
{
|
||||||
perm: "R"
|
id: "projectDesc",
|
||||||
}, {
|
title: "项目描述",
|
||||||
id: "projectManager",
|
required: true,
|
||||||
title: "项目经理",
|
perm: "R"
|
||||||
required: true,
|
},
|
||||||
perm: "R"
|
{
|
||||||
}],
|
id: "projectManager",
|
||||||
|
title: "项目经理",
|
||||||
|
required: true,
|
||||||
|
perm: "R"
|
||||||
|
}],
|
||||||
remark: "备注说明"
|
remark: "备注说明"
|
||||||
}
|
}
|
||||||
processStore.setDesign(design)
|
processStore.setDesign(design)
|
||||||
@@ -332,7 +336,7 @@ const doPublish = () => {
|
|||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
message: err,
|
message: err,
|
||||||
type:'error'
|
type: 'error'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user