Commit fe3103fa by 西瓜

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

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