|
@ -8,32 +8,23 @@ |
|
|
<view class="header_item"> |
|
|
<view class="header_item"> |
|
|
申请单号 : {{jobContent.requestNumber}} |
|
|
申请单号 : {{jobContent.requestNumber}} |
|
|
</view> |
|
|
</view> |
|
|
<u-line /> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<scroll-view scroll-y="true" class=""> |
|
|
<scroll-view scroll-y="true" class=""> |
|
|
<uni-collapse ref="mainCollapse" v-for="(toLocation, index) in detailSource"> |
|
|
<view v-for="(toLocation, index) in detailSource"> |
|
|
<uni-collapse-item :open="true"> |
|
|
<com-issue-request-info :workShopCode="jobContent.workShopCode" :dataContent="toLocation"> |
|
|
<template v-slot:title> |
|
|
|
|
|
<view> |
|
|
|
|
|
<com-issue-request-info :workShopCode="jobContent.workShopCode" |
|
|
|
|
|
:dataContent="toLocation"> |
|
|
|
|
|
</com-issue-request-info> |
|
|
</com-issue-request-info> |
|
|
</view> |
|
|
<u-line /> |
|
|
</template> |
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'> |
|
|
<view> |
|
|
|
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" |
|
|
|
|
|
@updateData='updateData'> |
|
|
|
|
|
</com-issue-detail-card> |
|
|
</com-issue-detail-card> |
|
|
</view> |
|
|
</view> |
|
|
</uni-collapse-item> |
|
|
|
|
|
</uni-collapse> |
|
|
|
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<div class="btn_bottom"> |
|
|
<div class="btn_bottom"> |
|
|
<view class="" style="display: flex;flex-direction: row;"> |
|
|
<view class="" style="display: flex;flex-direction: row;"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<button class="btn_commit" hover-class="btn_commit_after" @click="resizeCollapse()">刷新UI</button> |
|
|
<!-- <button class="btn_commit" hover-class="btn_commit_after" @click="resizeCollapse()">刷新UI</button> --> |
|
|
<button class="btn_commit" hover-class="btn_commit_after" @click="submit()">提交</button> |
|
|
<button class="btn_commit" hover-class="btn_commit_after" @click="submit()">提交</button> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -154,16 +145,15 @@ |
|
|
this.$refs.comIssueDetailCard.forEach(r => { |
|
|
this.$refs.comIssueDetailCard.forEach(r => { |
|
|
r.resizeCollapse(); |
|
|
r.resizeCollapse(); |
|
|
}) |
|
|
}) |
|
|
this.$refs.mainCollapse.forEach(r => { |
|
|
// this.$refs.mainCollapse.forEach(r => { |
|
|
r.childrens.forEach(i => { |
|
|
// r.childrens.forEach(i => { |
|
|
i.init(); |
|
|
// i.init(); |
|
|
}) |
|
|
// }) |
|
|
r.resize(); |
|
|
// r.resize(); |
|
|
}) |
|
|
// }) |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//接收 |
|
|
//接收 |
|
|
receive(callback) { |
|
|
receive(callback) { |
|
|
if (this.id != null) { |
|
|
if (this.id != null) { |
|
|