Commit 4dd014be by 西瓜

新型网黑, 详情和补充,列表问题修改

parent c5903715
......@@ -355,7 +355,7 @@ export default {
},
{
name: '案件名称',
id: 'laAjmcStr',
id: 'laAjmc',
content: ''
},
{
......@@ -716,7 +716,9 @@ export default {
rows: this.shrList.page.pageSize
}).then(res => {
if (res.data.rows.length > 0)
if ( res.data.rows[0].djsj ) {
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
}
self.$set(self.shrList.page, 'total', res.data.total)
console.log(res)
var obj = {}
......@@ -740,7 +742,9 @@ export default {
rows: this.fzxyrList.page.pageSize
}).then(res => {
if (res.data.rows.length >= 1)
if ( res.data.rows[0].djsj) {
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
}
self.$set(self.fzxyrList.page, 'total', res.data.total)
var obj = {}
res.data.rows.forEach(item => {
......@@ -763,8 +767,12 @@ 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)
if ( res.data.rows[0].djsj) {
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
}
if ( res.data.rows[0].zhrq) {
res.data.rows[0].zhrq = res.data.rows[0].zhrq.slice(0, 10)
}
console.log(res)
var obj = {}
res.data.rows.forEach(item => {
......
......@@ -1768,8 +1768,12 @@ 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)
if (res.data.rows[0].djsj) {
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
}
if ( res.data.rows[0].zhrq ) {
res.data.rows[0].zhrq = res.data.rows[0].zhrq.slice(0, 10)
}
console.log(res)
var obj = {}
res.data.rows.forEach(item => {
......@@ -1814,7 +1818,9 @@ export default {
rows: this.shrList.page.pageSize
}).then(res => {
if (res.data.rows.length > 0)
if ( res.data.rows[0].djsj ) {
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
}
self.$set(self.shrList.page, 'total', res.data.total)
console.log(res)
var obj = {}
......@@ -1838,7 +1844,9 @@ export default {
rows: this.fzxyrList.page.pageSize
}).then(res => {
if (res.data.rows.length >= 1)
if ( res.data.rows[0].djsj ) {
res.data.rows[0].djsj = res.data.rows[0].djsj.slice(0, 10)
}
self.$set(self.fzxyrList.page, 'total', res.data.total)
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