Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
85d38cf5
提交
85d38cf5
authored
4月 15, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化代码
上级
4f037ffa
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
54 行增加
和
14 行删除
+54
-14
CurrentFormPanel.vue
zrch-risk-client-39/src/views/common/CurrentFormPanel.vue
+17
-3
ApprovalModal.vue
...k-client-39/src/views/common/components/ApprovalModal.vue
+2
-1
ApprovalPanel.vue
...k-client-39/src/views/common/components/ApprovalPanel.vue
+7
-1
TaskModal.vue
...-risk-client-39/src/views/common/components/TaskModal.vue
+0
-1
StProblemArchiveList.vue
...9/src/views/project/problemCheck/StProblemArchiveList.vue
+10
-3
StProblemCheckList.vue
...-39/src/views/project/problemCheck/StProblemCheckList.vue
+1
-1
StProblemIndex.vue
...ient-39/src/views/project/problemCheck/StProblemIndex.vue
+10
-1
StProblemPlanList.vue
...t-39/src/views/project/problemCheck/StProblemPlanList.vue
+5
-1
StProblemCheckExecuteForm.vue
...ect/problemCheck/components/StProblemCheckExecuteForm.vue
+2
-2
没有找到文件。
zrch-risk-client-39/src/views/common/CurrentFormPanel.vue
浏览文件 @
85d38cf5
...
...
@@ -6,7 +6,7 @@
<span
class=
"form-title"
>
当前待办
<font
color=
"red"
>
[
{{
editableNode
?.
name
||
'无'
}}
]
</font></span>
<a-space>
<a-button
v-show=
"props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleApproval"
>
审批
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleS
end
"
>
保存
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleS
ave
"
>
保存
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleSend"
>
保存并发送
</a-button>
<a-button
v-show=
"!props.showApprovalPanel"
type=
"primary"
ghost
@
click=
"handleReject"
>
驳回
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"handleTransmit"
>
转办
</a-button>
...
...
@@ -98,11 +98,25 @@ function handleApproval() {
function
handleSend
()
{
taskOpenModal
(
true
,
{
taskTitle
:
'发送'
,
isUpdate
:
false
,
showFooter
:
true
,
taskType
:
'send'
,
deployId
:
props
.
deployId
,
taskId
:
props
.
taskId
,
procInsId
:
props
.
procInsId
,
dataId
:
props
.
dataId
,
assignee
:
props
.
assignee
,
userType
:
props
.
userType
,
taskTitle
:
'发送并保存'
,
isUpdate
:
false
,
showFooter
:
true
,
taskType
:
'send'
,
deployId
:
props
.
deployId
,
taskId
:
props
.
taskId
,
procInsId
:
props
.
procInsId
,
dataId
:
props
.
dataId
,
assignee
:
props
.
assignee
,
userType
:
props
.
userType
,
});
}
const
handleSave
=
async
()
=>
{
const
curFormData
=
await
getFormData
()
formData
.
value
=
{
...
curFormData
}
if
(
formComponentRef
.
value
?.
saveForm
){
await
formComponentRef
.
value
.
saveForm
(
formData
.
value
);
}
emit
(
'update:form-data'
,
formData
.
value
)
}
function
handleReject
()
{
taskOpenModal
(
true
,
{
taskTitle
:
'驳回'
,
isUpdate
:
false
,
showFooter
:
true
,
taskType
:
'reject'
,
...
...
zrch-risk-client-39/src/views/common/components/ApprovalModal.vue
浏览文件 @
85d38cf5
...
...
@@ -25,7 +25,7 @@
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
setModalProps
({
confirmLoading
:
false
,
showCancelBtn
:
!!
data
?.
showFooter
,
showOkBtn
:
!!
data
?.
showFooter
});
approvalPanelRef
.
value
?.
initFormData
?.(
data
);
approvalPanelRef
.
value
?.
handleRefresh
?.();
});
function
handleOk
()
{
...
...
@@ -40,6 +40,7 @@
}
function
handleApprovalFail
(
data
:
any
)
{
emit
(
'approval-fail'
,
data
)
closeModal
()
}
</
script
>
zrch-risk-client-39/src/views/common/components/ApprovalPanel.vue
浏览文件 @
85d38cf5
...
...
@@ -102,7 +102,7 @@
},
];
const
[
registerForm
,
{
validate
,
updateSchema
,
setFieldsValue
,
setProps
}]
=
useForm
({
const
[
registerForm
,
{
validate
,
updateSchema
,
setFieldsValue
,
setProps
,
resetFields
}]
=
useForm
({
schemas
:
formSchemas
,
showActionButtonGroup
:
false
,
labelWidth
:
'120px'
,
...
...
@@ -230,12 +230,18 @@
dataId
.
value
=
data
.
dataId
||
''
nextTick
(
async
()
=>
{
updateField
(
userType
.
value
);
})
}
const
handleRefresh
=
async
(
data
)
=>
{
resetFields
()
}
defineExpose
({
handleSaveApp
,
initFormData
,
handleRefresh
})
</
script
>
...
...
zrch-risk-client-39/src/views/common/components/TaskModal.vue
浏览文件 @
85d38cf5
...
...
@@ -74,7 +74,6 @@
await
rejectTask
(
submitData
)
}
const
handleReadTask
=
async
(
submitData
:
any
)
=>
{
alert
(
JSON
.
stringify
(
submitData
))
await
assignRead
(
submitData
)
}
const
handleTransmitTask
=
async
(
submitData
:
any
)
=>
{
...
...
zrch-risk-client-39/src/views/project/problemCheck/StProblemArchiveList.vue
浏览文件 @
85d38cf5
...
...
@@ -15,13 +15,14 @@
import
{
columns
}
from
'./StProblemCheck.data'
;
import
{
list
,
problemArchive
}
from
'./StProblemCheck.api'
;
const
{
createConfirm
}
=
useMessage
();
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createConfirm
}
=
useMessage
();
const
props
=
defineProps
({
currentFlowNode
:
{
type
:
Object
,
default
:
()
=>
({})
},
});
const
emit
=
defineEmits
([
'callback'
,
'openMultiForm'
]);
const
emit
=
defineEmits
([
'callback'
,
'openMultiForm'
,
'sendWorkFlow'
]);
const
{
tableContext
}
=
useListPage
({
tableProps
:
{
...
...
@@ -41,10 +42,16 @@
function
handleArchive
(
record
:
Recordable
)
{
createConfirm
({
title
:
'确认归档问题吗?'
,
iconType
:
'warning'
,
okText
:
'确认'
,
okType
:
'danger'
,
onOk
:
()
=>
{
problemArchive
({
id
:
record
.
id
}).
then
(
handleSuccess
);
problemArchive
({
id
:
record
.
id
})
.
then
(()
=>
{
emit
(
'sendWorkFlow'
,
record
);
handleSuccess
()
}
);
},
});
}
...
...
zrch-risk-client-39/src/views/project/problemCheck/StProblemCheckList.vue
浏览文件 @
85d38cf5
...
...
@@ -100,7 +100,7 @@
function
getTableAction
(
record
)
{
return
[
{
label
:
'编辑'
,
onClick
:
handleEdit
.
bind
(
null
,
record
)
},
{
label
:
'发送
任务
'
,
onClick
:
handleFlow
.
bind
(
null
,
record
)
},
{
label
:
'发送'
,
onClick
:
handleFlow
.
bind
(
null
,
record
)
},
];
}
...
...
zrch-risk-client-39/src/views/project/problemCheck/StProblemIndex.vue
浏览文件 @
85d38cf5
...
...
@@ -91,6 +91,10 @@
activeTab
.
value
=
key
;
currentMultiFormIndex
.
value
=
key
-
1
;
currentNode
.
value
=
workflowNodes
.
value
[
currentMultiFormIndex
.
value
];
const
currentFormComponent
=
getCurrentFormComponent
();
if
(
currentFormComponent
?.
handleRefresh
)
{
currentFormComponent
.
handleRefresh
();
}
}
function
loadComponent
(
url
:
string
)
{
...
...
@@ -187,7 +191,12 @@
};
const
handleDrawerClose
=
()
=>
{
drawerVisible
.
value
=
false
;
};
const
handleMultiFormDataUpdate
=
(
_data
:
any
)
=>
{};
const
handleMultiFormDataUpdate
=
(
_data
:
any
)
=>
{
const
currentFormComponent
=
getCurrentFormComponent
();
if
(
currentFormComponent
?.
handleRefresh
)
{
currentFormComponent
.
handleRefresh
();
}
};
function
handlSendSuccess
(
dataId
:
any
)
{
const
currentFormComponent
=
getCurrentFormComponent
();
...
...
zrch-risk-client-39/src/views/project/problemCheck/StProblemPlanList.vue
浏览文件 @
85d38cf5
...
...
@@ -64,7 +64,11 @@
handleSuccess
();
}
defineExpose
({
handleUpdate
});
defineExpose
({
handleUpdate
,
handleRefresh
:
handleSuccess
,
});
</
script
>
<
style
scoped
></
style
>
zrch-risk-client-39/src/views/project/problemCheck/components/StProblemCheckExecuteForm.vue
浏览文件 @
85d38cf5
<
template
>
<div
style=
"min-height: 400px"
>
<BasicForm
@
register=
"registerForm"
/>
<div
style=
"width: 100%; text-align: center"
v-if=
"!formDisabled"
>
<
!--
<
div
style=
"width: 100%; text-align: center"
v-if=
"!formDisabled"
>
<a-button
@
click=
"submitForm"
pre-icon=
"ant-design:check"
type=
"primary"
>
提 交
</a-button>
</div>
</div>
-->
</div>
</
template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论