Commit b53f8c98 by 张杰

修复bug

1 parent 479541c5
......@@ -113,6 +113,23 @@
</el-form>
<template v-if="dialogType == 'view'">
<h2 class="h2_title">操作日志</h2>
<table class="freq_table el_table" v-loading="freqLoading">
<tr>
<th width="33.3%">操作项</th>
<th width="33.3%">操作时间</th>
<th width="33.4%">操作人</th>
</tr>
<tr v-for="(item,index) in (snForm.vehicleLogs||[])" :key="index">
<td>{{item.operateContent }}</td>
<td>{{item.createdDate}}</td>
<td>{{item.operator}}</td>
</tr>
<tr v-if="!snForm.vehicleLogs || snForm.vehicleLogs.length<=0">
<td colspan="7">暂无操作日志</td>
</tr>
</table>
<h2 class="h2_title">特殊操作记录</h2>
<table class="freq_table el_table" v-loading="freqLoading">
<tr>
......@@ -137,23 +154,6 @@
<td colspan="7">暂无特殊操作日志</td>
</tr>
</table>
<h2 class="h2_title">操作日志</h2>
<table class="freq_table el_table" v-loading="freqLoading">
<tr>
<th width="33.3%">操作项</th>
<th width="33.3%">操作时间</th>
<th width="33.4%">操作人</th>
</tr>
<tr v-for="(item,index) in (snForm.vehicleLogs||[])" :key="index">
<td>{{item.operateContent }}</td>
<td>{{item.createdDate}}</td>
<td>{{item.operator}}</td>
</tr>
<tr v-if="!snForm.vehicleLogs || snForm.vehicleLogs.length<=0">
<td colspan="7">操作日志</td>
</tr>
</table>
</template>
</div>
</slot>
......@@ -879,7 +879,7 @@ export default {
let _this = this;
let o = history.state;
if (o.vin) {
this.searchForm.keywords = o.vin;
_this.$set(_this.searchForm,'keywords',o.vin)
this.$nextTick(function () {
let tag = _this.$refs.serchButton;
if (tag) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!