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
862afe58
Commit
862afe58
authored
Jun 19, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcs立库新增 提升优先级
parent
52db1a89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
+27
-3
cx.vue
src/views/ccgl/kngl/zlhbg/top/cx.vue
+1
-1
index.vue
src/views/ccgl/wcsrwgl/lkrw/index.vue
+26
-2
No files found.
src/views/ccgl/kngl/zlhbg/top/cx.vue
View file @
862afe58
...
...
@@ -159,7 +159,7 @@
save
(){
/* 判定是否勾选*/
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
if
(
list
.
length
!=
0
){
if
(
this
.
app
.
form
.
bglx
==
'411_E'
){
list
.
forEach
(
item
=>
{
...
...
src/views/ccgl/wcsrwgl/lkrw/index.vue
View file @
862afe58
...
...
@@ -7,6 +7,7 @@
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"start(ctx.basePage)"
size=
'mini'
type=
"primary"
>
开始
</el-button>
<el-button
@
click=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"tsyxj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
提升优先级
</el-button>
<div
style=
"float:right;line-height:28px;font-size:12px;margin-right:18px"
>
自动刷新:
<el-switch
v-model=
"doQuery"
active-color=
"#13ce66"
...
...
@@ -50,8 +51,8 @@
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
showSelection
:
fals
e
,
saveSelected
:
fals
e
showSelection
:
tru
e
,
saveSelected
:
tru
e
},
config
:
{
cellStyle
({
...
...
@@ -273,6 +274,29 @@
},
methods
:
{
tsyxj
(
ctx
){
let
list
=
ctx
.
$refs
.
TablePager
.
selectedList
let
elist
=
list
.
filter
(
item
=>
item
.
zt
==
'WW'
)
if
(
elist
.
length
==
0
){
this
.
$warning
(
'请至少勾选一条状态为待WCS执行的任务'
)
return
}
this
.
$confirm
(
'操作将忽略非待WCS执行状态的任务,是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$post
(
'lxyl/wcs/lkrw/priority/up'
,
{
ids
:
elist
.
map
(
item
=>
item
.
id
)
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
},
/* 示例*/
// demo(basePage){
...
...
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