Commit fecb33c7 by Tang

feat: 变更记录查询

parent 7fd522c8
...@@ -249,9 +249,9 @@ ...@@ -249,9 +249,9 @@
<span class="cdr-th w33">变更后</span> <span class="cdr-th w33">变更后</span>
</div> </div>
<div class="company_detail-row" v-for="(item,i) in changeDetail" :key="i"> <div class="company_detail-row" v-for="(item,i) in changeDetail" :key="i">
<span class="cdr-value w33">{{ item.changeDate }}</span> <span class="cdr-value w33">{{ item.auditDate }}</span>
<span class="cdr-value w33">{{ item.before }}</span> <span class="cdr-value w33">{{ item.firmName }}</span>
<span class="cdr-value w33">{{ item.after }}</span> <span class="cdr-value w33">{{ item.firmNameNow }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -301,13 +301,7 @@ export default { ...@@ -301,13 +301,7 @@ export default {
logout_flag: '0', logout_flag: '0',
}, },
detailDialogVisible: false, detailDialogVisible: false,
changeDetail: [ changeDetail: [],
{
changeDate: '2021-12-11',
before: '',
after: '',
}
],
changeDialogVisible: false, changeDialogVisible: false,
}; };
}, },
...@@ -372,10 +366,10 @@ export default { ...@@ -372,10 +366,10 @@ export default {
const {data} = searchGlnRes; const {data} = searchGlnRes;
if (searchGlnRes.success) { if (searchGlnRes.success) {
console.log(data) console.log(data)
if(data){ if (data) {
this.changeDetail = data this.changeDetail = [data]
this.changeDialogVisible = true this.changeDialogVisible = true
}else{ } else {
alert('无变更记录!') alert('无变更记录!')
} }
} else { } else {
......
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