| | |
| | | <view class="bottom-container"> |
| | | <!-- 按钮区域 --> |
| | | <view class="bottom-content__chulizhong bottom-content__item"> |
| | | <view @click="withDrawClick(item.procInstId)" v-if="item.status == 1"> |
| | | <!-- <view @click="withDrawClick(item.procInstId)" v-if="item.status == 1"> |
| | | <image src="@/static/home/cehui.png" mode=""></image> |
| | | <view>撤回</view> |
| | | </view> |
| | | </view> --> |
| | | <view @click="checkTheScheduleClick(item.procInstId)" v-if="item.status == 1"> |
| | | <image src="@/static/home/jindu.png" mode=""></image> |
| | | <view>查看进度</view> |
| | |
| | | <image src="@/static/home/history.png" mode=""></image> |
| | | <view>重新申请</view> |
| | | </view> --> |
| | | <view @click="editMyApplication(item)" v-if="item.status == 1 && item.processName == '发运通知单'"> |
| | | <!-- <view @click="editMyApplication(item)" v-if="item.status == 1 && item.processName == '发运通知单'"> |
| | | <image src="@/static/home/history.png" mode=""></image> |
| | | <view>编辑</view> |
| | | </view> |
| | | </view> --> |
| | | <view @click="approvalHistoryClick(item.procInstId)" v-if="item.status == 2 || item.status == 3"> |
| | | <image src="@/static/home/history.png" mode=""></image> |
| | | <view>审批历史</view> |
| | | </view> |
| | | <view @click="deleteWithDrawApplication(item.tableId)" v-if="item.status == 3"> |
| | | <!-- <view @click="deleteWithDrawApplication(item.tableId)" v-if="item.status == 3"> |
| | | <image src="@/static/home/delete.png" mode=""></image> |
| | | <view>删除</view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | url: `/pages/approval-history/approval-history?index=${v}` |
| | | }); |
| | | }, |
| | | // 删除已撤回申请 |
| | | deleteWithDrawApplication(id){ |
| | | this.deleteWithDrawApplicationGlobal(id).then(res=>{ |
| | | console.log('shenqing,回显',res); |
| | | }).catch(err=>{ |
| | | console.log('shenqing,删除错误'); |
| | | }) |
| | | }, |
| | | // 新增申请 |
| | | newApplicationClick() { |
| | | uni.navigateTo({ |