Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-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
李苏
sgaqgl-vue
Commits
96520b57
Commit
96520b57
authored
Nov 25, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段修改
parent
cdaab156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
index.vue
src/views/dangerManagement/yhslhz/index.vue
+17
-15
No files found.
src/views/dangerManagement/yhslhz/index.vue
View file @
96520b57
...
@@ -68,6 +68,12 @@
...
@@ -68,6 +68,12 @@
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
computed
:{
radio
(){
let
val
=
this
.
queryParams
.
hzfs
return
val
}
},
data
()
{
data
()
{
return
{
return
{
/*需要的额外参数 */
/*需要的额外参数 */
...
@@ -86,36 +92,32 @@
...
@@ -86,36 +92,32 @@
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
prop
:
'gs
id
'
,
prop
:
'gs
Name
'
,
label
:
'公司'
,
label
:
'公司'
,
width
:
292
,
transform
:{
width
:
292
url
:
'jcsj/common/bm/queryGs'
,
label
:
'bmmc'
,
value
:
'id'
}
},
},
{
{
prop
:
'b
mid
'
,
prop
:
'b
zName
'
,
label
:
'班组'
,
label
:
'班组'
,
width
:
292
,
transform
:{
width
:
292
url
:
'jcsj/common/bm/queryBz'
,
label
:
'bmmc'
,
value
:
'id'
}
},
},
{
{
prop
:
'
zr
rName'
,
prop
:
'
sb
rName'
,
label
:
'责任人'
,
label
:
'责任人'
,
width
:
300
width
:
300
},
},
{
{
prop
:
'
sl
'
,
prop
:
'
allCount
'
,
label
:
'数量'
,
label
:
'数量'
,
width
:
100
width
:
100
},
},
{
{
prop
:
'
fxrq
'
,
prop
:
'
recordCount
'
,
label
:
'未处理完毕数量'
,
label
:
'未处理完毕数量'
,
width
:
300
width
:
300
},
},
{
{
prop
:
'
yqzgsj
'
,
prop
:
'
cqCount
'
,
label
:
'超期数量'
,
label
:
'超期数量'
,
width
:
300
width
:
300
}
}
...
@@ -124,9 +126,9 @@
...
@@ -124,9 +126,9 @@
},
},
watch
:{
watch
:{
radio
(
val
){
radio
(
val
){
val
==
'
gs'
&&
this
.
$refs
[
'TablePager'
][
'newGridList'
].
forEach
(
item
=>
{
item
.
prop
==
'bmid'
&&
(
item
.
show
=
false
);
item
.
prop
==
'zrrName'
&&
(
item
.
show
=
false
);
item
.
prop
==
'gsid
'
&&
(
item
.
show
=
true
)})
val
==
'
GS'
&&
this
.
$refs
[
'TablePager'
][
'newGridList'
].
forEach
(
item
=>
{
item
.
prop
==
'bzName'
&&
(
item
.
show
=
false
);
item
.
prop
==
'sbrName'
&&
(
item
.
show
=
false
);
item
.
prop
==
'gsName
'
&&
(
item
.
show
=
true
)})
val
==
'
bz'
&&
this
.
$refs
[
'TablePager'
][
'newGridList'
].
forEach
(
item
=>
{
item
.
prop
==
'bmid'
&&
(
item
.
show
=
true
);
item
.
prop
==
'zrrName'
&&
(
item
.
show
=
false
);
item
.
prop
==
'gsid
'
&&
(
item
.
show
=
true
)})
val
==
'
BM'
&&
this
.
$refs
[
'TablePager'
][
'newGridList'
].
forEach
(
item
=>
{
item
.
prop
==
'bzName'
&&
(
item
.
show
=
true
);
item
.
prop
==
'sbrName'
&&
(
item
.
show
=
false
);
item
.
prop
==
'gsName
'
&&
(
item
.
show
=
true
)})
val
==
'
ry'
&&
this
.
$refs
[
'TablePager'
][
'newGridList'
].
forEach
(
item
=>
{
item
.
prop
==
'bmid'
&&
(
item
.
show
=
true
);
item
.
prop
==
'zrrName'
&&
(
item
.
show
=
true
);
item
.
prop
==
'gsid
'
&&
(
item
.
show
=
true
)})
val
==
'
RY'
&&
this
.
$refs
[
'TablePager'
][
'newGridList'
].
forEach
(
item
=>
{
item
.
prop
==
'bzName'
&&
(
item
.
show
=
true
);
item
.
prop
==
'sbrName'
&&
(
item
.
show
=
true
);
item
.
prop
==
'gsName
'
&&
(
item
.
show
=
true
)})
}
}
},
},
methods
:
{
methods
:
{
...
...
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