Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
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
何远江
yishuju-ui
Commits
31344b09
Commit
31344b09
authored
Jan 24, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
5a64f8ac
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
46 additions
and
22 deletions
+46
-22
index.vue
src/components/ProTable/index.vue
+2
-2
element.scss
src/styles/element.scss
+2
-5
main.css
src/styles/main.css
+16
-0
repairModal.vue
src/views/property/case-detail/components/repairModal.vue
+2
-2
returnModal.vue
src/views/property/case-detail/components/returnModal.vue
+2
-2
index.vue
src/views/property/case-detail/index.vue
+4
-4
index.vue
src/views/property/case-manage/index.vue
+16
-5
index.vue
src/views/property/import/index.vue
+2
-2
No files found.
src/components/ProTable/index.vue
View file @
31344b09
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
/>
/>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"card flex-1
mt-2
"
>
<div
class=
"card flex-1"
>
<!-- 表格主体 -->
<!-- 表格主体 -->
<div>
<div>
<slot
name=
"table_top"
></slot>
<slot
name=
"table_top"
></slot>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
},
},
searchCol
:
{
searchCol
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
({
xs
:
1
,
sm
:
2
,
md
:
2
,
lg
:
3
,
xl
:
4
}),
default
:
()
=>
({
xs
:
1
,
sm
:
2
,
md
:
2
,
lg
:
4
,
xl
:
5
}),
},
},
initParam
:
{
initParam
:
{
type
:
Object
,
type
:
Object
,
...
...
src/styles/element.scss
View file @
31344b09
...
@@ -23,12 +23,10 @@
...
@@ -23,12 +23,10 @@
/* custom card */
/* custom card */
.card
{
.card
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
20px
;
padding
:
10px
;
padding-top
:
5px
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
background-color
:
var
(
--
el-bg-color
);
background-color
:
var
(
--
el-bg-color
);
border
:
1px
solid
var
(
--
el-border-color-light
);
border-radius
:
6px
;
box-shadow
:
0
0
12px
rgb
(
0
0
0
/
5%
);
}
}
/* ProTable 不需要 card 样式(在组件内使用 ProTable 会使用到) */
/* ProTable 不需要 card 样式(在组件内使用 ProTable 会使用到) */
...
@@ -91,7 +89,6 @@
...
@@ -91,7 +89,6 @@
// table-search 表格搜索样式
// table-search 表格搜索样式
.table-search
{
.table-search
{
padding
:
18px
18px
0
;
padding
:
18px
18px
0
;
margin-bottom
:
10px
;
.el-form
{
.el-form
{
.el-form-item__content
>
*
{
.el-form-item__content
>
*
{
width
:
100%
;
width
:
100%
;
...
...
src/styles/main.css
View file @
31344b09
...
@@ -15,3 +15,19 @@ body,
...
@@ -15,3 +15,19 @@ body,
.vxe-modal--container
{
.vxe-modal--container
{
max-height
:
100vh
;
max-height
:
100vh
;
}
}
.el-form-item__label
{
font-size
:
13px
!important
;
}
td
{
font-size
:
12px
!important
;
}
.el-input__inner
{
height
:
28px
!important
;
line-height
:
28px
!important
;
}
.el-form-item
{
margin-bottom
:
10px
!important
;
}
.el-tabs__item
{
font-size
:
13px
!important
;
}
\ No newline at end of file
src/views/property/case-detail/components/repairModal.vue
View file @
31344b09
...
@@ -137,9 +137,9 @@
...
@@ -137,9 +137,9 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.box-title
{
.box-title
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
1
8
px
;
font-size
:
1
6
px
;
color
:
#000000
;
color
:
#000000
;
line-height
:
4
5
px
;
line-height
:
4
3
px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
...
...
src/views/property/case-detail/components/returnModal.vue
View file @
31344b09
...
@@ -344,9 +344,9 @@
...
@@ -344,9 +344,9 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.box-title
{
.box-title
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
1
8
px
;
font-size
:
1
6
px
;
color
:
#000000
;
color
:
#000000
;
line-height
:
4
5
px
;
line-height
:
4
3
px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
...
...
src/views/property/case-detail/index.vue
View file @
31344b09
<
template
>
<
template
>
<div
class=
"card table-box"
>
<div
class=
"card table-box"
>
<div
class=
"navigation-box absolute z-10 right-8 w-
52 rounded-md pl-10 bg-white text-sm
"
>
<div
class=
"navigation-box absolute z-10 right-8 w-
32 rounded-md pl-10 bg-white text-xs
"
>
<el-affix
:offset=
"
14
0"
style=
"width: 100% !important"
>
<el-affix
:offset=
"
8
0"
style=
"width: 100% !important"
>
<div
@
click=
"anchor('baseinfo')"
class=
"anchor-item"
>
案人基本信息
</div>
<div
@
click=
"anchor('baseinfo')"
class=
"anchor-item"
>
案人基本信息
</div>
<div
@
click=
"anchor('caserelation')"
class=
"anchor-item"
>
案件联系人
</div>
<div
@
click=
"anchor('caserelation')"
class=
"anchor-item"
>
案件联系人
</div>
<div
@
click=
"anchor('casedetail')"
class=
"anchor-item"
>
案件明细
</div>
<div
@
click=
"anchor('casedetail')"
class=
"anchor-item"
>
案件明细
</div>
...
@@ -1005,9 +1005,9 @@
...
@@ -1005,9 +1005,9 @@
}
}
.box-title
{
.box-title
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
1
8
px
;
font-size
:
1
6
px
;
color
:
#000000
;
color
:
#000000
;
line-height
:
70
px
;
line-height
:
43
px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.06
);
margin-bottom
:
10px
;
margin-bottom
:
10px
;
margin-top
:
10px
;
margin-top
:
10px
;
...
...
src/views/property/case-manage/index.vue
View file @
31344b09
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
}
from
'vue'
;
const
router
=
useRouter
();
const
router
=
useRouter
();
const
onCellClick
=
(
{
row
,
rowIndex
}
)
=>
{
const
onCellClick
=
(
row
)
=>
{
router
.
push
({
router
.
push
({
path
:
'/property/case-detail'
,
path
:
'/property/case-detail'
,
query
:
{
id
:
row
.
id
},
//这里不能直接写成 query: JSON.stringify(item)
query
:
{
id
:
row
.
id
},
//这里不能直接写成 query: JSON.stringify(item)
...
@@ -73,7 +73,19 @@
...
@@ -73,7 +73,19 @@
];
];
const
config
=
reactive
({
const
config
=
reactive
({
columns
:
[
columns
:
[
{
field
:
'caseId'
,
title
:
'案件ID'
,
search
:
{
el
:
'input'
,
labelWidth
:
85
},
width
:
80
},
{
field
:
'caseId'
,
title
:
'案件ID'
,
search
:
{
el
:
'input'
,
labelWidth
:
85
},
width
:
190
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
div
onClick
=
{()
=>
onCellClick
(
row
)}
className
=
" text-blue-400 underline cursor-pointer"
>
{
row
.
caseId
}
<
/div
>
<
/
>
);
},
},
},
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
title
:
'借款机构'
,
title
:
'借款机构'
,
...
@@ -158,7 +170,7 @@
...
@@ -158,7 +170,7 @@
{
{
field
:
'cpeDate'
,
field
:
'cpeDate'
,
title
:
'分配CPE日期'
,
title
:
'分配CPE日期'
,
width
:
1
0
0
,
width
:
1
3
0
,
search
:
{
search
:
{
el
:
'date-picker'
,
el
:
'date-picker'
,
props
:
{
type
:
'date'
,
valueFormat
:
'YYYY-MM-DD'
},
props
:
{
type
:
'date'
,
valueFormat
:
'YYYY-MM-DD'
},
...
@@ -238,8 +250,7 @@
...
@@ -238,8 +250,7 @@
},
},
},
},
},
},
],
]
onCellClick
:
onCellClick
,
});
});
const
query
=
()
=>
caseLRef
.
value
?.
search
();
const
query
=
()
=>
caseLRef
.
value
?.
search
();
...
...
src/views/property/import/index.vue
View file @
31344b09
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</el-upload>
</el-upload>
<!-- 进度条 -->
<!-- 进度条 -->
<!--
<el-progress
v-if=
"progressFlag"
:percentage=
"loadProgress"
/>
-->
<!--
<el-progress
v-if=
"progressFlag"
:percentage=
"loadProgress"
/>
-->
<div
class=
"mt-2 text-
sm
text-gray-400"
>
仅支持1个文件上传,格式为xls和xlsx
</div>
<div
class=
"mt-2 text-
xs
text-gray-400"
>
仅支持1个文件上传,格式为xls和xlsx
</div>
<div
class=
"mt-1 text-blue-500 underline cursor-pointer"
@
click=
"downloadtemplate"
<div
class=
"mt-1 text-blue-500 underline cursor-pointer"
@
click=
"downloadtemplate"
>
下载模板
</div
>
下载模板
</div
>
>
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<!-- 进度条 -->
<!-- 进度条 -->
<!--
<el-progress
v-if=
"progressFlag"
:percentage=
"loadProgress"
/>
-->
<!--
<el-progress
v-if=
"progressFlag"
:percentage=
"loadProgress"
/>
-->
<div
<div
class=
"mt-2 text-
sm
text-blue-500 underline cursor-pointer"
class=
"mt-2 text-
xs
text-blue-500 underline cursor-pointer"
v-if=
"checkObj.check"
v-if=
"checkObj.check"
@
click=
"openError"
@
click=
"openError"
>
下载检查结果
</div
>
下载检查结果
</div
...
...
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