Commit d53fffd7 by li_hongchao

必中信息审核页面优化

parent 76d062d4
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
......
......@@ -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"
>&nbsp;{{ total }}&nbsp;条记录 第{{ 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment