Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
82f8b835
authored
2025-01-22 10:41:17 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
91ee2455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/data_product/productListing.vue
src/views/data_product/productListing.vue
View file @
82f8b83
...
...
@@ -335,6 +335,7 @@ const tableBtnClick = (scope, btn) => {
}
if
(
type
==
'pass'
)
{
approveSuggest
.
value
=
''
;
dynamicPlaceholder
.
value
=
'请填写通过理由(必填)'
;
if
(
listingFormRef
.
value
)
{
clearFormValues
(
listingFormRef
.
value
.
formInline
);
listingFormRef
.
value
.
ruleFormRef
.
clearValidate
(
formInfo
.
value
.
items
.
map
(
item
=>
item
.
field
))
...
...
@@ -347,6 +348,7 @@ const tableBtnClick = (scope, btn) => {
}
if
(
type
==
'reject'
)
{
approveSuggest
.
value
=
''
;
dynamicPlaceholder
.
value
=
'请填写驳回理由(必填)'
;
if
(
listingFormRef
.
value
)
{
clearFormValues
(
listingFormRef
.
value
.
formInline
);
listingFormRef
.
value
.
ruleFormRef
.
clearValidate
(
formInfo
.
value
.
items
.
map
(
item
=>
item
.
field
))
...
...
@@ -472,6 +474,7 @@ const clearFormValues = (formInline) => {
});
};
const
fullscreenLoading
=
ref
(
false
);
const
dynamicPlaceholder
=
ref
(
'请填写通过理由(必填)'
);
const
passSubmit
=
()
=>
{
let
row
=
currTableData
.
value
listingFormRef
.
value
.
ruleFormRef
.
validate
().
then
((
valid
)
=>
{
...
...
@@ -874,10 +877,10 @@ const formInfo = ref<any>({
<Table
:tableInfo=
"tableInfo"
@
tableBtnClick=
"tableBtnClick"
@
tablePageChange=
"tablePageChange"
@
tableSwitchBeforeChange=
"tableSwitchBeforeChange"
/>
</div>
<el-dialog
v-model=
"dialogVisible"
:title=
"dialogTitle"
width=
"
30%
"
>
<el-dialog
v-model=
"dialogVisible"
:title=
"dialogTitle"
width=
"
510px
"
>
<Form
ref=
"listingFormRef"
:itemList=
"formInfo.items"
:rules=
"formInfo.rules"
/>
<el-input
type=
"textarea"
:rows=
"3"
maxlength=
"100"
v-model=
"approveSuggest"
resize=
"none"
placeholder=
"请输入审批意见
"
/>
:placeholder=
"dynamicPlaceholder
"
/>
<template
#
footer
>
<div
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取消
</el-button>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment