Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
loan-manager-customer
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
zhanhai
loan-manager-customer
Commits
ecfe8869
Commit
ecfe8869
authored
Aug 27, 2024
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改法诉材料下载的内容
parent
22b45f42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
4 deletions
+27
-4
column.vue
src/components/McTable/column.vue
+1
-1
index.vue
src/components/McTable/index.vue
+3
-3
download.vue
src/views/collection/download.vue
+23
-0
No files found.
src/components/McTable/column.vue
View file @
ecfe8869
<
template
>
<el-table-column
v-bind=
"column"
>
<el-table-column
align=
"center"
v-bind=
"column"
>
<!-- 默认插槽 -->
<template
v-if=
"column.render"
#
default=
"scope"
>
<ColumnRender
:scope=
"scope"
:render=
"column.render"
/>
...
...
src/components/McTable/index.vue
View file @
ecfe8869
...
...
@@ -12,13 +12,13 @@
@
selection-change=
"handleSelectionChange"
@
cell-click=
"tabClick"
>
<template
v-for=
"
column
in finalColumns"
>
<el-table-column
v-if=
"$scopedSlots[column.prop]"
v-bind=
"column"
:key=
"column.prop"
>
<template
v-for=
"
(column,index)
in finalColumns"
>
<el-table-column
v-if=
"$scopedSlots[column.prop]"
v-bind=
"column"
:key=
"column.prop"
>
<template
#
default=
"scope"
>
<slot
:name=
"column.prop"
v-bind=
"scope"
></slot>
</
template
>
</el-table-column>
<BaseColumn
:key=
"
column.prop
"
v-else
:column=
"column"
/>
<BaseColumn
:key=
"
index
"
v-else
:column=
"column"
/>
</template>
</el-table>
...
...
src/views/collection/download.vue
View file @
ecfe8869
...
...
@@ -72,14 +72,29 @@ export default {
{
label
:
'状态'
,
prop
:
'caseStatusStr'
,
render
:
(
_
,
text
,
row
)
=>
{
const
{
caseStatus
}
=
row
switch
(
caseStatus
)
{
case
'CREATED'
:
return
<
el
-
tag
>
{
text
}
<
/el-tag
>
case
'NEEDZIP'
:
return
<
el
-
tag
type
=
"warning"
>
{
text
}
<
/el-tag
>
case
'FINISHED'
:
return
<
el
-
tag
type
=
"success"
>
{
text
}
<
/el-tag
>
default
:
return
''
}
}
},
{
label
:
'创建时间'
,
prop
:
'gmtCreatedStr'
,
width
:
'155px'
},
{
label
:
'更新时间'
,
prop
:
'gmtModifiedStr'
,
width
:
'155px'
},
{
label
:
'备注'
,
...
...
@@ -88,6 +103,14 @@ export default {
{
label
:
'操作人'
,
prop
:
'creator'
},
{
label
:
'操作'
,
prop
:
'zipPath'
,
render
:
(
_
,
text
,
row
)
=>
{
if
(
row
.
caseStatus
===
'FINISHED'
)
return
<
el
-
link
type
=
"primary"
target
=
"_blank"
href
=
{
text
}
>
下载材料包
<
/el-link
>
else
return
''
}
}
],
}
...
...
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