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
08cc2d7f
Commit
08cc2d7f
authored
Jun 04, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
e82f9354
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
5 deletions
+27
-5
akck.vue
src/views/ccgl/ckgl/lkckrw/top/akck.vue
+1
-0
index.vue
src/views/ccgl/wcsrwgl/lkrw/index.vue
+24
-3
index.vue
src/views/ccgl/wcsrwgl/wcsrw/index.vue
+2
-2
No files found.
src/views/ccgl/ckgl/lkckrw/top/akck.vue
View file @
08cc2d7f
...
@@ -196,6 +196,7 @@
...
@@ -196,6 +196,7 @@
changeQueryParams
(
queryParams
){
changeQueryParams
(
queryParams
){
let
str
=
queryParams
.
rqInfos
let
str
=
queryParams
.
rqInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
rqInfos
=
arr
queryParams
.
rqInfos
=
arr
console
.
log
(
queryParams
.
rqInfos
)
console
.
log
(
queryParams
.
rqInfos
)
...
...
src/views/ccgl/wcsrwgl/lkrw/index.vue
View file @
08cc2d7f
<
template
>
<
template
>
<BasePage
:power=
'power'
class=
"min_full"
:config=
"config"
>
<BasePage
ref=
"basepage"
:power=
'power'
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
...
@@ -7,6 +7,11 @@
...
@@ -7,6 +7,11 @@
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"start(ctx.basePage)"
size=
'mini'
type=
"primary"
>
开始
</el-button>
<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=
"close(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<div
style=
"float:right;line-height: 28px;font-size: 12px;"
>
自动刷新:
<el-switch
v-model=
"doQuery"
active-color=
"#13ce66"
inactive-color=
"#eee"
>
</el-switch></div>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -15,8 +20,24 @@
...
@@ -15,8 +20,24 @@
<
script
>
<
script
>
export
default
{
export
default
{
watch
:{
doQuery
(
val
){
// console.log(this.timer,this)
if
(
val
){
this
.
timer
=
setInterval
(()
=>
{
this
.
$refs
.
basepage
.
refresh
()
},
20000
)
}
else
{
clearInterval
(
this
.
timer
)
}
}
},
beforeDestroy
(){
clearInterval
(
this
.
timer
)
},
data
()
{
data
()
{
return
{
return
{
doQuery
:
false
,
power
:
{
power
:
{
add
:
false
,
add
:
false
,
copy
:
false
,
copy
:
false
,
...
@@ -214,9 +235,9 @@
...
@@ -214,9 +235,9 @@
[
[
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'zt'
,
prop
:
'zt
s
'
,
span
:
6
,
span
:
6
,
type
:
'RelSelect'
,
type
:
'Rel
Mul
Select'
,
typeConfig
:
{
typeConfig
:
{
src
:
'lxyl/wcs/lkrw/init/zt'
src
:
'lxyl/wcs/lkrw/init/zt'
}
}
...
...
src/views/ccgl/wcsrwgl/wcsrw/index.vue
View file @
08cc2d7f
...
@@ -243,9 +243,9 @@
...
@@ -243,9 +243,9 @@
},
},
{
{
"label"
:
"状态"
,
"label"
:
"状态"
,
"prop"
:
"zt"
,
"prop"
:
"zt
s
"
,
"span"
:
6
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"type"
:
"Rel
Mul
Select"
,
"value"
:
""
,
"value"
:
""
,
"typeConfig"
:
{
"typeConfig"
:
{
"src"
:
"lxyl/wcs/wcsTask/init/zt"
,
"src"
:
"lxyl/wcs/wcsTask/init/zt"
,
...
...
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