Browse Source

线索添加附件

xiaohaizhao 2 years ago
parent
commit
89aa6cb44a
3 changed files with 7 additions and 1 deletions
  1. 4 0
      packageA/saleClue/detail.js
  2. 2 1
      packageA/saleClue/detail.json
  3. 1 0
      packageA/saleClue/detail.wxml

+ 4 - 0
packageA/saleClue/detail.js

@@ -34,6 +34,10 @@ Page({
             label: "任务",
             icon: "icon-tabrenwu",
             model: "#Work"
+        }, {
+            label: "附件",
+            icon: "icon-tabfujian1",
+            model: "#Files"
         }],
         tabbarList: [],
     },

+ 2 - 1
packageA/saleClue/detail.json

@@ -5,7 +5,8 @@
         "Trace": "../setclient/modules/trace/index",
         "Record": "/packageA/public/record/index",
         "Follow": "../publicClue/modules/follow/follow",
-        "Work": "/packageA/public/work/index"
+        "Work": "/packageA/public/work/index",
+        "Files": "/packageA/public/files/index"
     },
     "navigationBarTitleText": "线索详情"
 }

+ 1 - 0
packageA/saleClue/detail.wxml

@@ -15,6 +15,7 @@
     <Work slot='任务' id='Work' ownertable='sat_orderclue' ownerid='{{sat_orderclueid}}' disabled="{{isAdmin||isLeader}}" />
     <Record slot='操作' id="Record" ownertable='sat_orderclue' ownerid='{{sat_orderclueid}}' />
     <Trace slot='跟进动态' id='Trace' ownertable='sat_orderclue' ownerid='{{sat_orderclueid}}' />
+    <Files slot="附件" id="Files" ownertable="sat_orderclue" ownerid="{{detail.sat_orderclueid}}" />
     <view style="height: 140rpx;" />
 </Yl_FunTabs>
 <!-- 底部 -->