Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
lxyl-vue
Commits
4066e1d0
Commit
4066e1d0
authored
Mar 27, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检验单 发送sap lxyl/zlgl/ukcjyd/sap/cxzj ids
parent
b8b3a427
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
index.vue
src/views/ccgl/zlgl/jyd/top/index.vue
+25
-2
No files found.
src/views/ccgl/zlgl/jyd/top/index.vue
View file @
4066e1d0
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
<el-button
@
click=
"showAdd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
新增
</el-button>
<el-button
@
click=
"showAdd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
新增
</el-button>
<el-button
@
click=
"pd(ctx.basePage,'A')"
size=
'mini'
type=
"primary"
>
判定合格
</el-button>
<el-button
@
click=
"pd(ctx.basePage,'A')"
size=
'mini'
type=
"primary"
>
判定合格
</el-button>
<el-button
@
click=
"pd(ctx.basePage,'R')"
size=
'mini'
type=
"primary"
>
判定不合格
</el-button>
<el-button
@
click=
"pd(ctx.basePage,'R')"
size=
'mini'
type=
"primary"
>
判定不合格
</el-button>
<el-button
@
click=
"sendSap(ctx.basePage)"
size=
'mini'
type=
"primary"
>
发送至sap
</el-button>
</
template
>
</
template
>
...
@@ -32,8 +34,8 @@
...
@@ -32,8 +34,8 @@
/* 是否开启工作流按钮 */
/* 是否开启工作流按钮 */
workFlow
:
false
,
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
/* 表格开启选择,以及记住选择 */
showSelection
:
fals
e
,
showSelection
:
tru
e
,
saveSelected
:
fals
e
saveSelected
:
tru
e
},
},
config
:
{
config
:
{
...
@@ -181,6 +183,27 @@
...
@@ -181,6 +183,27 @@
},
},
methods
:
{
methods
:
{
sendSap
(
ctx
){
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
>
0
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/zlgl/ukcjyd/sap/cxzj'
,
{
ids
:
list
.
map
(
item
=>
item
.
id
)
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请至少勾选一条数据'
)
}
},
pd
(
ctx
,
hgbz
)
{
pd
(
ctx
,
hgbz
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$post
(
'lxyl/zlgl/ukcjyd/doCheck'
,
{
this
.
$post
(
'lxyl/zlgl/ukcjyd/doCheck'
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment