Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
d53fffd7
Commit
d53fffd7
authored
Dec 27, 2021
by
li_hongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
必中信息审核页面优化
parent
76d062d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
src/utils/ZzjgUtil.js
+8
-2
src/views/bzxxgl/bzxxsh.vue
+9
-5
No files found.
src/utils/ZzjgUtil.js
View file @
d53fffd7
const
_DEFAULT_KEYS
=
[
'公安厅'
,
'公安局'
,
...
...
@@ -12,7 +11,14 @@ const _DEFAULT_KEYS = [
const
_TAG
=
'src/utils/ZzjgUtil.js'
export
default
{
formatContent
(
content
)
{
if
(
content
&&
content
.
length
<=
10
)
{
return
content
}
let
len
=
content
.
length
let
last
=
this
.
lastZzjg
(
content
,
''
)
return
content
.
slice
(
0
,
3
)
+
'...'
+
last
},
last
(
content
,
defult
=
'...'
)
{
if
(
content
&&
content
.
length
<=
10
)
{
return
content
...
...
src/views/bzxxgl/bzxxsh.vue
View file @
d53fffd7
...
...
@@ -136,9 +136,10 @@
<span
class=
"clearCheck"
@
click=
"clearSelection()"
>
清空
</span>
</el-tag>
<div
class=
"bzxxsh-table"
>
<el-table
ref=
"multipleTable"
class=
"bzxxsh-table"
:max-height=
"tableHeight"
:data=
"tableDate"
:row-key=
"getRowKeys"
...
...
@@ -147,7 +148,7 @@
:class=
"
{ delSelection: !isSelectBoo }"
@selection-change="handleSelectionChange">
<el-table-column
type=
"selection"
:reserve-selection=
"false"
<el-table-column
v-if=
"isSelectBoo"
type=
"selection"
:reserve-selection=
"false"
:width=
"selectwidth"
fixed=
"left"
/>
<div
v-for=
"item in tableColumns"
>
...
...
@@ -261,8 +262,7 @@
<div
v-else-if=
"item.prop === 'sbdwGajgjgdmStr'"
>
<el-table-column
v-if=
"item.isShow"
:prop=
"item.prop"
:label=
"item.label"
width=
"auto"
:min-width=
"item.width"
show-overflow-tooltip
>
:label=
"item.label"
width=
"auto"
:min-width=
"item.width"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
effect=
"dark"
:content=
"scope.row.sbdwGajgjgdmStr"
placement=
"top-start"
>
...
...
@@ -279,7 +279,8 @@
</div>
</div>
<el-table-column
prop=
"prop"
label=
"操作"
:width=
"czWidth"
fixed=
"right"
style=
"background: white"
>
<el-table-column
prop=
"prop"
label=
"操作"
:width=
"czWidth"
fixed=
"right"
style=
"background: white"
>
<
template
slot-scope=
"scope"
>
<bzxxsf-opt
:ref=
"getShxxOpt(scope.row.id)"
:params=
"scope.row"
:is-st=
"isStRole"
@
refresh=
"bzxxsfOptRefresh"
...
...
@@ -289,6 +290,7 @@
</el-table-column>
</el-table>
</div>
<div
class=
"bzxxsh-content-content-footer"
>
<span
class=
"record"
>
共
{{ total }}
条记录 第{{ currPage }}/{{
...
...
@@ -462,8 +464,10 @@ export default {
_that
.
SBDW
.
label
=
'地市'
+
_that
.
SBDW
.
label
_that
.
SBSJ
.
label
=
'地市'
+
_that
.
SBSJ
.
label
_that
.
SHR
.
label
=
'省厅复/'
+
_that
.
SHR
.
label
_that
.
SHR
.
width
=
'126'
}
else
{
_that
.
SHR
.
label
=
'地市'
+
_that
.
SHR
.
label
_that
.
SHR
.
width
=
'96'
}
_that
.
tableColumns
.
push
(
_that
.
YTMH
)
...
...
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