Commit fe3103fa by 西瓜

新型网黑, 案件报表中列表时间回显处理, 详情处理

parent 6675be3e
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
:key="fjIndex" :key="fjIndex"
> >
<div <div
v-if=" v-if="
fjitem.flwsDzwjgs == '.jpg' || fjitem.flwsDzwjgs == '.jpg' ||
fjitem.flwsDzwjgs == '.png' || fjitem.flwsDzwjgs == '.png' ||
fjitem.flwsDzwjgs == '.jpeg' fjitem.flwsDzwjgs == '.jpeg'
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<el-table-column type="index" width="50" label="序号"> <el-table-column type="index" width="50" label="序号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(columnTitle, index) in wdptList.tableList.filter( v-for="columnTitle in wdptList.tableList.filter(
(itemsss, index) => { (itemsss, index) => {
return index < wdptList.tableList.length - 1 return index < wdptList.tableList.length - 1
} }
...@@ -115,18 +115,7 @@ ...@@ -115,18 +115,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div>
v-if="index == 0"
@click="goDetail(scope.row, 'wdptDetail')"
style="
cursor: pointer;
color: #096cc9;
font-size: 13px !important;
"
>
{{ scope.row[columnTitle.prop] }}
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }} {{ scope.row[columnTitle.prop] }}
</div> </div>
</template> </template>
...@@ -167,7 +156,7 @@ ...@@ -167,7 +156,7 @@
<el-table-column type="index" width="50" label="序号"> <el-table-column type="index" width="50" label="序号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(columnTitle, index) in fzxyrList.tableList.filter( v-for="columnTitle in fzxyrList.tableList.filter(
(itemsss, index) => { (itemsss, index) => {
return index < fzxyrList.tableList.length - 1 return index < fzxyrList.tableList.length - 1
} }
...@@ -177,18 +166,7 @@ ...@@ -177,18 +166,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div>
v-if="index == 0"
@click="goDetail(scope.row, 'xyrDetailInfor')"
style="
cursor: pointer;
color: #096cc9;
font-size: 13px !important;
"
>
{{ scope.row[columnTitle.prop] }}
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }} {{ scope.row[columnTitle.prop] }}
</div> </div>
</template> </template>
...@@ -229,7 +207,7 @@ ...@@ -229,7 +207,7 @@
<el-table-column type="index" width="50" label="序号"> <el-table-column type="index" width="50" label="序号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(columnTitle, index) in shrList.tableList.filter( v-for="columnTitle in shrList.tableList.filter(
(itemsss, index) => { (itemsss, index) => {
return index < shrList.tableList.length - 1 return index < shrList.tableList.length - 1
} }
...@@ -239,18 +217,7 @@ ...@@ -239,18 +217,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div>
v-if="index == 0"
@click="goDetail(scope.row, 'shrDetail')"
style="
cursor: pointer;
color: #096cc9;
font-size: 13px !important;
"
>
{{ scope.row[columnTitle.prop] }}
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }} {{ scope.row[columnTitle.prop] }}
</div> </div>
</template> </template>
...@@ -646,7 +613,7 @@ export default { ...@@ -646,7 +613,7 @@ export default {
res.data.rows.forEach(item => { res.data.rows.forEach(item => {
debugger debugger
this.ysqsfj.push({ this.ysqsfj.push({
url: `data:image/${item.flwsDzwjgs.substring(1)};base64,${item.zp}`, url: `data:image/${item.flwsDzwjgs.substring(1)};base64,${item.zp}`,
xsfjDzwjmc: item.flwsDzwjbt, xsfjDzwjmc: item.flwsDzwjbt,
flwsDzwjgs: item.flwsDzwjgs, flwsDzwjgs: item.flwsDzwjgs,
xxzjbh: item.xxzjbh xxzjbh: item.xxzjbh
...@@ -793,6 +760,8 @@ export default { ...@@ -793,6 +760,8 @@ export default {
rows: this.wdptList.page.pageSize rows: this.wdptList.page.pageSize
}).then(res => { }).then(res => {
self.$set(self.wdptList.page, 'total', res.data.total) self.$set(self.wdptList.page, 'total', res.data.total)
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
res.data.rows[0].zhrq = res.data.rows[0].zhrq.slice(0, 10)
console.log(res) console.log(res)
var obj = {} var obj = {}
res.data.rows.forEach(item => { res.data.rows.forEach(item => {
...@@ -886,18 +855,18 @@ export default { ...@@ -886,18 +855,18 @@ export default {
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.el-dialog__header { /deep/.el-dialog__header {
height: 20px; height: 20px;
background: #1a81e1; background: #1a81e1;
} }
#la .xs_fj .fj_wrap .fj_item[data-v-463af21c] { #la .xs_fj .fj_wrap .fj_item[data-v-463af21c] {
background: #fcfcfd; background: #fcfcfd;
width: 100px; width: 100px;
margin-right: 20px; margin-right: 20px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: 40px; height: 40px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.xs_xq_content1 { .xs_xq_content1 {
width: 100%; width: 100%;
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<el-table-column type="index" width="50" label="序号"> <el-table-column type="index" width="50" label="序号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(columnTitle, index) in wdptList.tableList.filter( v-for="columnTitle in wdptList.tableList.filter(
(itemsss, index) => { (itemsss, index) => {
return index < wdptList.tableList.length - 1 return index < wdptList.tableList.length - 1
} }
...@@ -53,18 +53,7 @@ ...@@ -53,18 +53,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div>
v-if="index == 0"
@click="goDetail(scope.row, 'wdptDetail')"
style="
cursor: pointer;
color: #096cc9;
font-size: 13px !important;
"
>
{{ scope.row[columnTitle.prop] }}
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }} {{ scope.row[columnTitle.prop] }}
</div> </div>
</template> </template>
...@@ -128,7 +117,7 @@ ...@@ -128,7 +117,7 @@
<el-table-column type="index" width="50" label="序号"> <el-table-column type="index" width="50" label="序号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(columnTitle, index) in fzxyrList.tableList.filter( v-for="columnTitle in fzxyrList.tableList.filter(
(itemsss, index) => { (itemsss, index) => {
return index < fzxyrList.tableList.length - 1 return index < fzxyrList.tableList.length - 1
} }
...@@ -138,18 +127,7 @@ ...@@ -138,18 +127,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div>
v-if="index == 0"
@click="goDetail(scope.row, 'xyrDetailInfor')"
style="
cursor: pointer;
color: #096cc9;
font-size: 13px !important;
"
>
{{ scope.row[columnTitle.prop] }}
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }} {{ scope.row[columnTitle.prop] }}
</div> </div>
</template> </template>
...@@ -216,7 +194,7 @@ ...@@ -216,7 +194,7 @@
<el-table-column type="index" width="50" label="序号"> <el-table-column type="index" width="50" label="序号">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(columnTitle, index) in shrList.tableList.filter( v-for="columnTitle in shrList.tableList.filter(
(itemsss, index) => { (itemsss, index) => {
return index < shrList.tableList.length - 1 return index < shrList.tableList.length - 1
} }
...@@ -226,18 +204,7 @@ ...@@ -226,18 +204,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div>
v-if="index == 0"
@click="goDetail(scope.row, 'shrDetail')"
style="
cursor: pointer;
color: #096cc9;
font-size: 13px !important;
"
>
{{ scope.row[columnTitle.prop] }}
</div>
<div v-else>
{{ scope.row[columnTitle.prop] }} {{ scope.row[columnTitle.prop] }}
</div> </div>
</template> </template>
...@@ -1801,6 +1768,8 @@ export default { ...@@ -1801,6 +1768,8 @@ export default {
rows: this.wdptList.page.pageSize rows: this.wdptList.page.pageSize
}).then(res => { }).then(res => {
self.$set(self.wdptList.page, 'total', res.data.total) self.$set(self.wdptList.page, 'total', res.data.total)
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
res.data.rows[0].zhrq = res.data.rows[0].zhrq.slice(0, 10)
console.log(res) console.log(res)
var obj = {} var obj = {}
res.data.rows.forEach(item => { res.data.rows.forEach(item => {
......
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