From 22ed2c39bfcbd84e9b27add7b29845381d8eee15 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Wed, 29 May 2024 19:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CostEntry/actionBar.vue | 22 ++++++-- src/components/CostEntry/feeTable.vue | 34 ++++++------ .../index.ts | 0 .../src/FlowChart.vue | 0 .../src/FlowChartToolbar.vue | 0 .../src/adpterForTurbo.ts | 0 .../src/config.ts | 0 .../src/enum.ts | 0 .../src/types.ts | 0 .../src/useFlowContext.ts | 0 src/components/FlowChart/api.ts | 19 +++++++ src/components/FlowChart/index.vue | 53 +++++++++++++++++++ src/design/public.less | 9 +++- src/utils/request.ts | 2 +- .../flowInstances/Lowflow/index.vue | 7 +-- src/views/flowcenter/flowInstances/api.ts | 26 ++++----- .../seaexport/detail/style/basicInfo.less | 9 ---- .../seaexport/detail/style/cargoInfo.less | 9 ---- 18 files changed, 134 insertions(+), 56 deletions(-) rename src/components/{FlowChart => FlowChart - 副本}/index.ts (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/FlowChart.vue (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/FlowChartToolbar.vue (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/adpterForTurbo.ts (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/config.ts (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/enum.ts (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/types.ts (100%) rename src/components/{FlowChart => FlowChart - 副本}/src/useFlowContext.ts (100%) create mode 100644 src/components/FlowChart/api.ts create mode 100644 src/components/FlowChart/index.vue diff --git a/src/components/CostEntry/actionBar.vue b/src/components/CostEntry/actionBar.vue index a462ebe7..d011d830 100644 --- a/src/components/CostEntry/actionBar.vue +++ b/src/components/CostEntry/actionBar.vue @@ -57,7 +57,7 @@ 申请开票 收费申请 费用拆分 - 查看工作流 + 查看工作流 批量更改费用对象 批量修改核算单位 禁开发票 @@ -101,6 +101,8 @@ + + + diff --git a/src/design/public.less b/src/design/public.less index 23cf05c1..b071655f 100644 --- a/src/design/public.less +++ b/src/design/public.less @@ -56,7 +56,7 @@ // 自定义最小输入框 .ant-form-small { - .ant-input-affix-wrapper-sm, .ant-select-selector { + .ant-input-affix-wrapper-sm, .ant-select-selector, .ant-input-number { height: 28px!important; .ant-select-selection-item { line-height: 26px!important; @@ -66,4 +66,11 @@ height: 28px; width: 100%; } + .ant-input-number-input-wrap { + height: 28px; + line-height: 26px; + } + .ant-form-item-label > label { + height: 20px!important; + } } diff --git a/src/utils/request.ts b/src/utils/request.ts index 3b65c280..bf60cbe2 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -71,7 +71,7 @@ service.interceptors.response.use( return response } else if (!res.succeeded) { $message.error(res.message || UNKNOWN_ERROR) - // return response + return response // // Illegal token // if (res.code === 11001 || res.code === 11002) { // window.localStorage.clear(); diff --git a/src/views/flowcenter/flowInstances/Lowflow/index.vue b/src/views/flowcenter/flowInstances/Lowflow/index.vue index f2f4c06c..aa2b9527 100644 --- a/src/views/flowcenter/flowInstances/Lowflow/index.vue +++ b/src/views/flowcenter/flowInstances/Lowflow/index.vue @@ -11,12 +11,13 @@ export interface FlowDesignProps { process: FlowNode - fields: Field[] + fields: Field[], + readonly: false } const $props = defineProps() const $emits = defineEmits(['update:process', 'update:fields']) - const { process, fields } = useVModels($props, $emits) + const { process, fields, readonly } = useVModels($props, $emits) const nodePenalRef = ref>() const zoom = ref(100) const getScale = computed(() => zoom.value / 100) @@ -110,7 +111,7 @@ - + diff --git a/src/views/flowcenter/flowInstances/api.ts b/src/views/flowcenter/flowInstances/api.ts index db016548..f8efa8f5 100644 --- a/src/views/flowcenter/flowInstances/api.ts +++ b/src/views/flowcenter/flowInstances/api.ts @@ -2,19 +2,19 @@ import { request } from '/@/utils/request' import { DataResult, PageRequest } from '/@/api/model/baseModel' enum Api { - list = '/adminApi/FlowInstance/GetFlowInstanceList', - EditFlowTemplate = '/adminApi/FlowTemplate/EditFlowTemplate', - GetTables = '/adminApi/Common/GetTables', - GetColumns = '/adminApi/Common/GetColumns', - GetFlowInstanceInfo = '/adminApi/FlowInstance/GetFlowInstanceInfo', - AuditFlowInstance = '/adminApi/FlowInstance/AuditFlowInstance', - getClientPermissionTreeList = '/adminApi/Common/GetClientPermissionTreeList', - rolegetList='/adminApi/Common/GetRoleList', - getList='/adminApi/Common/GetUserList', - EditFlowInstance='/adminApi/FlowInstance/EditFlowInstance', - CancelFlowInstance='/adminApi/FlowInstance/CancelFlowInstance', - StartFlowInstance='/adminApi/FlowInstance/StartFlowInstance', - GetFlowInstanceHistoryList='/adminApi/FlowInstance/GetFlowInstanceHistoryList', + list = '/mainApi/ClientFlowInstance/GetFlowInstanceList', + EditFlowTemplate = '/mainApi/ClientFlowTemplate/EditFlowTemplate', + GetTables = '/mainApi/Common/GetTables', + GetColumns = '/mainApi/Common/GetColumns', + GetFlowInstanceInfo = '/mainApi/ClientFlowInstance/GetFlowInstanceInfo', + AuditFlowInstance = '/mainApi/ClientFlowInstance/AuditFlowInstance', + getClientPermissionTreeList = '/mainApi/Common/GetClientPermissionTreeList', + rolegetList='/mainApi/Common/GetRoleList', + getList='/mainApi/Common/GetUserList', + EditFlowInstance='/mainApi/ClientFlowInstance/EditFlowInstance', + CancelFlowInstance='/mainApi/ClientFlowInstance/CancelFlowInstance', + StartFlowInstance='/mainApi/ClientFlowInstance/StartFlowInstance', + GetFlowInstanceHistoryList='/mainApi/ClientFlowInstance/GetFlowInstanceHistoryList', downloadXml = '/stage-api/workflow/model/download', getByUsername='/stage-api/user/info', getById='/stage-api/role/info', diff --git a/src/views/operation/seaexport/detail/style/basicInfo.less b/src/views/operation/seaexport/detail/style/basicInfo.less index 0cf1c9d8..3f9e7b2f 100644 --- a/src/views/operation/seaexport/detail/style/basicInfo.less +++ b/src/views/operation/seaexport/detail/style/basicInfo.less @@ -256,15 +256,6 @@ form .has-feedback .ant-time-picker-clear { } } -/deep/ .ant-form-item-label { - height: 28px !important; - line-height: 28px !important; - // border: 1px solid #f00; -} -// /deep/ .ant-form-item-control { -// height: 36px !important; -// line-height: 36px !important; -// } .from-box3 { /deep/ .ant-form-item-label { diff --git a/src/views/operation/seaexport/detail/style/cargoInfo.less b/src/views/operation/seaexport/detail/style/cargoInfo.less index 284b2614..f16e406a 100644 --- a/src/views/operation/seaexport/detail/style/cargoInfo.less +++ b/src/views/operation/seaexport/detail/style/cargoInfo.less @@ -121,15 +121,6 @@ height: 45px; color: #000; } - - /deep/ .ant-form-item-label { - height: 28px !important; - line-height: 28px !important; - } - /deep/ .ant-form-item-control { - // height:36px !important; - line-height: 36px !important; - } .line { height: 45px; color: #000;