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
76609861
Commit
76609861
authored
Jul 08, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
颜色调整
parent
c2ddcee2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
1 deletion
+51
-1
index.vue
src/views/ccgl/ckgl/ckdj/index.vue
+26
-1
index.vue
src/views/ccgl/rkgl/rkdj/index.vue
+25
-0
No files found.
src/views/ccgl/ckgl/ckdj/index.vue
View file @
76609861
...
...
@@ -33,6 +33,31 @@
config
:
{
// delUrl: 'lxyl/ckgl/pkck/delete/ckdj',
queryDetail
:
true
,
cellStyle
({
row
,
column
,
rowIndex
,
columnIndex
})
{
// 定义样式变量
let
cellStyle
;
switch
(
row
.
gzzt
)
{
case
'Y'
:
cellStyle
=
'color:green'
;
break
;
case
'N'
:
cellStyle
=
'color:red'
;
break
;
case
'F'
:
cellStyle
=
'color:red'
;
break
;
default
:
cellStyle
=
''
;
}
if
(
column
.
label
==
"过账状态"
)
{
return
cellStyle
}
},
/* 基本配置*/
url
:
'lxyl/ckgl/ckdj'
,
tableTitle
:
[
...
...
@@ -102,7 +127,7 @@
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
},
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
...
...
src/views/ccgl/rkgl/rkdj/index.vue
View file @
76609861
...
...
@@ -29,6 +29,31 @@
saveSelected
:
false
},
config
:
{
cellStyle
({
row
,
column
,
rowIndex
,
columnIndex
})
{
// 定义样式变量
let
cellStyle
;
switch
(
row
.
gzzt
)
{
case
'Y'
:
cellStyle
=
'color:green'
;
break
;
case
'N'
:
cellStyle
=
'color:red'
;
break
;
case
'F'
:
cellStyle
=
'color:red'
;
break
;
default
:
cellStyle
=
''
;
}
if
(
column
.
label
==
"过账状态"
)
{
return
cellStyle
}
},
delUrl
:
'lxyl/rkgl/pksj/delete/rkdj'
,
queryDetail
:
true
,
/* 基本配置*/
...
...
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