Commit 81dff650 authored by TZW's avatar TZW

pushseting

parent fc55eba3
......@@ -26,6 +26,7 @@ function procolumns(id) {
valueType: 'select',
options: [
{ label: '可指定人员', value: 2 },
{ label: '(上个通知人员)上级领导', value: 5 },
{ label: '创建人', value: 3 },
{ label: '选择角色', value: 6 },
{ label: '选择人员', value: 7 },
......@@ -38,12 +39,43 @@ function procolumns(id) {
dataIndex: 'targetNames',
hideInSearch: true,
key: 'targetIdList',
valueType: 'select',
fieldProps: {
mode: 'multiple',
},
options: {
path: '/auth/sysRole/selection',
},
hideInForm: {
sendTo: {
reverse: [6], //不在数组内满足则hide
},
},
},
{
title: '选择对象',
colProps: { span: 6 },
dataIndex: 'targetNames',
hideInSearch: true,
valueType: 'select',
options: {
path: '/auth/sysUser/selection',
},
key: 'targetIdList',
fieldProps: {
mode: 'multiple',
},
hideInForm: {
sendTo: {
reverse: [7], //不在数组内满足则hide
},
},
},
{
colProps: { span: 6 },
title: '触发次数',
dataIndex: 'judgeTypeName',
key: 'judgeType',
dataIndex: 'sendNum',
key: 'sendNum',
valueType: 'digit',
precision: 0,
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
......@@ -57,13 +89,11 @@ function procolumns(id) {
valueType: 'digit',
precision: 0,
colProps: { span: 6 },
formItemProps: { rules: [{ required: true, message: '此项为必填项' }] },
},
{
title: '初始触发时长单位',
colProps: { span: 6 },
dataIndex: 'initialUnit',
dataIndex: 'initialUnitName',
hideInSearch: true,
key: 'initialUnit',
valueType: 'select',
......@@ -88,7 +118,7 @@ function procolumns(id) {
},
{
title: '间隔时长单位',
dataIndex: 'intervalUnit',
dataIndex: 'intervalUnitName',
key: 'intervalUnit',
hideInSearch: true,
colProps: { span: 6 },
......@@ -109,7 +139,7 @@ function procolumns(id) {
add: '/base/paBusinessMsgOptionDetail/save',
edit: '/base/paBusinessMsgOptionDetail/save',
list: '/base/paBusinessMsgOptionDetail/queryList',
delete: '/maintain/umMaintainItem/deleteById',
delete: '/base/paBusinessMsgOptionDetail/deleteById',
detail: '',
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment