|
|
@@ -7,7 +7,6 @@
|
|
|
@click="showAddDiv('AddLog_'+item.order_issue.id)">新
|
|
|
</button>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="addLogDiv row m-0 p-0 form-group" style="display: none;"
|
|
|
:id="'AddLog_'+item.order_issue.id">
|
|
|
<input type="hidden" name="id" :value="item.order_issue.id">
|
|
|
@@ -26,19 +25,22 @@
|
|
|
<button type="button"
|
|
|
class="btn btn-primary ml-2 m-0 p-0"
|
|
|
style="width: 50px"
|
|
|
- @click="orderIssueVue.addOrderIssueLog('AddLog_'+item.order_issue.id,item.order_issue.id,item.issue_logs)">添加
|
|
|
+ @click="orderIssueVue.addOrderIssueLog('AddLog_'+item.order_issue.id,item.order_issue.id,item.issue_logs)">
|
|
|
+ 添加
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@endcan
|
|
|
- <table class="table table-sm p-0 m-0 " v-if="item.issue_logs && item.issue_logs.length > 0" :id="'logs'+item.order_issue.id">
|
|
|
+ <table class="table table-sm p-0 m-0 " :id="'logs'+item.order_issue.id"
|
|
|
+ v-if="item.issue_logs && item.issue_logs.length > 0">
|
|
|
<tr class="align-center position-static"
|
|
|
v-for="(log,logIndex) in item.issue_logs"
|
|
|
v-on:mouseover="showDelBtn($event)"
|
|
|
v-on:mouseleave="hideDelBtn($event)"
|
|
|
@click="removeFocusing($event)"
|
|
|
- v-show=" showOrderIssueProcessLog===item.id || logIndex < 2 ">
|
|
|
+ v-show=" showOrderIssueProcessLog===item.id || logIndex < 2 "
|
|
|
+ >
|
|
|
<td style="max-width: 175px;min-width: 175px;">
|
|
|
<span v-text="log.content"></span>
|
|
|
</td>
|
|
|
@@ -66,6 +68,8 @@
|
|
|
@endcan
|
|
|
</tr>
|
|
|
</table>
|
|
|
+ <div v-if="item.issue_logs.length === 0" class="w-auto h-50">
|
|
|
+ </div>
|
|
|
<div class="d-flex justify-content-center">
|
|
|
<button type="button" class="btn btn-sm btn-outline-primary align-middle mt-1 center-block"
|
|
|
v-show="showOrderIssueProcessLog !== item.id"
|
|
|
@@ -73,9 +77,10 @@
|
|
|
</button>
|
|
|
<button type="button" class="btn btn-sm btn-outline-primary align-middle mt-1 center-block"
|
|
|
v-show="showOrderIssueProcessLog === item.id"
|
|
|
- @click="showOrderIssueProcessLog = null">点击收起</button>
|
|
|
- </div>
|
|
|
- <div v-else class="w-auto h-50">
|
|
|
+ @click="showOrderIssueProcessLog = null">点击收起
|
|
|
+ </button>
|
|
|
+
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
|