zhaoxiaohai 3 年之前
父节点
当前提交
d4a500774c
共有 3 个文件被更改,包括 9 次插入1 次删除
  1. 6 0
      packageA/project/detail.js
  2. 2 1
      packageA/project/detail.json
  3. 1 0
      packageA/project/detail.wxml

+ 6 - 0
packageA/project/detail.js

@@ -9,6 +9,9 @@ Page({
         }, {
             label: "工作任务",
             num: 132
+        }, {
+            label: "竞争对手",
+            num: 132
         }, {
             label: "关联客户",
             num: 132
@@ -246,6 +249,9 @@ Page({
             case "工作任务":
                 model = "#Task"
                 break;
+            case "竞争对手":
+                model = "#Opponent"
+                break;
             case "关联客户":
                 model = "#Treaty"
                 break;

+ 2 - 1
packageA/project/detail.json

@@ -9,7 +9,8 @@
         "Contacts": "./modules/contacts/index",
         "Product": "./modules/product/index",
         "Record": "/packageA/public/record/index",
-        "Files": "/packageA/public/files/index"
+        "Files": "/packageA/public/files/index",
+        "Opponent": "./modules/opponent/index"
     },
     "navigationBarTitleText": "项目详情"
 }

+ 1 - 0
packageA/project/detail.wxml

@@ -15,6 +15,7 @@
     <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
     <Task slot='工作任务' id='Task' />
     <Trace slot='跟进动态' id='Trace' ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
+    <Opponent slot='竞争对手' id='Opponent' />
     <Treaty slot='关联客户' id='Treaty' />
     <Offers slot='报价单' id='Offers' />
     <Product slot='产品配置单' id='Product' />