|
@@ -16,9 +16,12 @@
|
|
|
:disabled="item.histories.length == 0"
|
|
|
>
|
|
|
<p v-if="item.histories.length > 0">
|
|
|
- {{ $t('global.Update') }} {{ item.histories[0].field_label }},{{ $t('global.Old-Value') }} "{{
|
|
|
+ {{ $t('global.Update') }} {{ item.histories[0].field_label }},
|
|
|
+ "{{
|
|
|
item.histories[0].old
|
|
|
- }}",{{ $t('global.New-Value') }} "{{ item.histories[0].new }}"
|
|
|
+ }}"
|
|
|
+ <a-icon type="arrow-right" />
|
|
|
+ "{{ item.histories[0].new }}"
|
|
|
</p>
|
|
|
<div slot="header">
|
|
|
{{ i + 1 + '. ' + item.created_at }}, {{ item.created_by.name }}
|
|
@@ -43,20 +46,21 @@
|
|
|
>
|
|
|
<div v-if="item.histories.length > 0 && item.histories[0].field_label != 'description'">
|
|
|
<div v-for="(modifyItem, modifyItemIndex) in item.histories" :key="modifyItemIndex">
|
|
|
- {{ $t('global.Update') }} {{ item.histories[modifyItemIndex].field_label }},{{ $t('global.Old-Value') }} "{{
|
|
|
- item.histories[modifyItemIndex].old
|
|
|
- }}",{{ $t('global.New-Value') }} "{{ item.histories[modifyItemIndex].new }}"
|
|
|
+ {{ $t('global.Update') }} {{ item.histories[modifyItemIndex].field_label }},
|
|
|
+ "{{item.histories[modifyItemIndex].old}}"
|
|
|
+ <a-icon type="arrow-right" />
|
|
|
+ "{{ item.histories[modifyItemIndex].new }}"
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="item.histories.length > 0 && item.histories[0].field_label == 'description'">
|
|
|
<div v-for="(modifyItem, modifyItemIndex) in item.histories" :key="modifyItemIndex">
|
|
|
- {{ $t('global.Update') }} {{ item.histories[modifyItemIndex].field_label }},{{ $t('global.Old-Value') }}
|
|
|
+ {{ $t('global.Update') }} {{ item.histories[modifyItemIndex].field_label }},
|
|
|
<div class="ql-container ql-snow">
|
|
|
<div class="ql-editor">
|
|
|
<div v-html="$xss(item.histories[modifyItemIndex].old)"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- ,{{ $t('global.New-Value') }}
|
|
|
+ <a-icon type="arrow-right" />
|
|
|
<div class="ql-container ql-snow">
|
|
|
<div class="ql-editor">
|
|
|
<div v-html="$xss(item.histories[modifyItemIndex].new)"></div>
|