detail.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. <view class="header">
  2. <view class="title">{{detail.projectname}}</view>
  3. <Yl-tags id="Tags" add ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
  4. </view>
  5. <!-- 简介 -->
  6. <Yl_Detail list="{{briefs}}">
  7. <view slot='bottom'>
  8. <Yl-group id='Group' add ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
  9. <TaskTabs id='TaskTabs' disabled='{{isAdmin||isLeader}}' sa_projectid='{{detail.sa_projectid}}' sa_projstagetempid='{{detail.sa_projstagetempid}}' bindchangeCallBack="taskTabsChange" />
  10. </view>
  11. </Yl_Detail>
  12. <view style="height: 20rpx;" />
  13. <Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
  14. <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
  15. <Trace slot='跟进动态' id='Trace' ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
  16. <Task slot='项目评估' id='Task' disabled="{{per.query(options,'assess')||isAdmin||isLeader}}" />
  17. <Treaty slot='关联客户' disabled="{{per.query(options,'client')||isAdmin||isLeader}}" id='Treaty' />
  18. <Product slot='产品配置单' disabled="{{per.query(options,'product')||isAdmin||isLeader}}" id='Product' />
  19. <Contacts slot='联系人' disabled="{{per.query(options,'contacts')||isAdmin||isLeader}}" id='Contacts' />
  20. <Opponent slot='竞争对手' id='Opponent' disabled="{{per.query(options,'opposites')||isAdmin||isLeader}}" />
  21. <Offers slot='报价单' disabled="{{per.query(options,'offer')||isAdmin||isLeader}}" id='Offers' />
  22. <Record slot='操作记录' id="Record" ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
  23. <Files slot='附件' id="Files" ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
  24. <view style="height: 140rpx;" />
  25. </Yl_FunTabs>
  26. <!-- 底部 -->
  27. <Yl_Tabbar list='{{tabbarList}}' bind:callback="tabbarOnClick" />
  28. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />