--去掉配置中的拒绝和结束按钮,工作流只保留 同意、驳回、转办、撤回、查看流程图、查看审批意见
This commit is contained in:
@ -10,7 +10,7 @@ VITE_PUBLIC_PATH = /
|
||||
# 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题
|
||||
# 可以有多个,注意多个不能换行,否则代理将会失效
|
||||
#VITE_PROXY = [["/api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
|
||||
VITE_PROXY=[["/api","http://10.10.2.102:9500"]]
|
||||
VITE_PROXY=[["/api/magic-api/", "http://127.0.0.1:8097","/magic-api/"], ["/api","http://10.10.2.102:9500"]]
|
||||
#VITE_PROXY=[["/api/system/generator/","http://127.0.0.1:8091/system/generator/"],["/api/system/file/","http://127.0.0.1:8091/system/file/"],["/api/system/oss/","http://127.0.0.1:8091/system/oss/"],["/api/sales/","http://127.0.0.1:8096","/sales/"],["/api/mdm/","http://127.0.0.1:8096","/mdm/"],["/api","http://10.10.2.102:9500"]]
|
||||
#VITE_PROXY=[["/api/sales/","http://127.0.0.1:8096","/sales/"],["/api/mdm/","http://127.0.0.1:8096","/mdm/"],["/api","http://10.10.2.102:9500"]]
|
||||
#VITE_PROXY=[["/api/mdm/","http://127.0.0.1:8096","/mdm/"],["/api/sales/","http://127.0.0.1:8096","/sales/"],["/api","http://10.10.2.102:9500"]]
|
||||
|
||||
@ -197,14 +197,14 @@ const UserProperties = {
|
||||
index: 2
|
||||
},
|
||||
// 现在没有拒绝选项
|
||||
{
|
||||
buttonType: ButtonType.DEFAULT, //按钮类型
|
||||
buttonName: t('拒绝'), //按钮名称
|
||||
buttonCode: ApproveCode.DISAGREE, //按钮编码
|
||||
approveType: ApproveType.DISAGREE, //
|
||||
checked: true, //选中
|
||||
index: 3
|
||||
},
|
||||
// {
|
||||
// buttonType: ButtonType.DEFAULT, //按钮类型
|
||||
// buttonName: t('拒绝'), //按钮名称
|
||||
// buttonCode: ApproveCode.DISAGREE, //按钮编码
|
||||
// approveType: ApproveType.DISAGREE, //
|
||||
// checked: true, //选中
|
||||
// index: 3
|
||||
// },
|
||||
{
|
||||
buttonType: ButtonType.DEFAULT, //按钮类型
|
||||
buttonName: t('驳回'), //按钮名称
|
||||
@ -240,15 +240,15 @@ const UserProperties = {
|
||||
buttonGroup: '',
|
||||
index: 6
|
||||
},
|
||||
{
|
||||
buttonType: ButtonType.DEFAULT, //按钮类型
|
||||
buttonName: t('结束'), //按钮名称
|
||||
buttonCode: ApproveCode.FINISH, //按钮编码
|
||||
approveType: ApproveType.FINISH, //
|
||||
checked: true, //选中
|
||||
buttonGroup: '更多',
|
||||
index: 7
|
||||
},
|
||||
// {
|
||||
// buttonType: ButtonType.DEFAULT, //按钮类型
|
||||
// buttonName: t('结束'), //按钮名称
|
||||
// buttonCode: ApproveCode.FINISH, //按钮编码
|
||||
// approveType: ApproveType.FINISH, //
|
||||
// checked: true, //选中
|
||||
// buttonGroup: '更多',
|
||||
// index: 7
|
||||
// },
|
||||
{
|
||||
buttonType: ButtonType.DEFAULT, //按钮类型
|
||||
buttonName: t('查看流程图'), //按钮名称
|
||||
|
||||
@ -66,7 +66,7 @@ export const buttons = [
|
||||
},
|
||||
{
|
||||
key: ApproveCode.REJECT,
|
||||
title: t('拒绝'),
|
||||
title: t('驳回'),
|
||||
},
|
||||
];
|
||||
// 与或非
|
||||
|
||||
Reference in New Issue
Block a user