|
|
|
@ -112,11 +112,13 @@ export default { |
|
|
|
getAccountData(this.query).then(res => { |
|
|
|
console.log(res); |
|
|
|
if (res.code==100) { |
|
|
|
if (res.data.check_status==0) { |
|
|
|
if (res.data.is_status==0) { |
|
|
|
this.$message.error('暂无数据~'); |
|
|
|
this.query.account_type=this.account_type |
|
|
|
}else{ |
|
|
|
res.data.establish_time=res.data.establish_time*1000 |
|
|
|
this.contentDatas=res.data |
|
|
|
console.info(this.contentDatas) |
|
|
|
this.init() |
|
|
|
} |
|
|
|
} |
|
|
|
@ -150,6 +152,9 @@ export default { |
|
|
|
}, |
|
|
|
saveEdit(){ |
|
|
|
this.query.account_data=this.contentDatas |
|
|
|
this.query.account_data.establish_time=this.contentDatas.establish_time/1000; |
|
|
|
delete this.query.account_data['is_status']; |
|
|
|
delete this.query.account_data['id']; |
|
|
|
accountCheck(this.query).then(res => { |
|
|
|
console.log(res); |
|
|
|
if (res.code==100) { |
|
|
|
|