zhaoxiaohai 3 лет назад
Родитель
Сommit
239800fb9d

+ 1 - 2
packageA/saleClue/detail.js

@@ -302,8 +302,7 @@ Page({
                         confirm
                     }) => {
                         if (confirm) _Http.basic({
-                            "classname": "saletool.orderclue.web.orderclue",
-                            "method": "addFollowUpLog",
+                            id: "20221208100602",
                             "content": {
                                 "sat_orderclueid": this.data.detail.sat_orderclueid,
                                 "content": "",

+ 3 - 5
packageA/saleClue/detail.wxml

@@ -9,17 +9,15 @@
 <view style="height: 20rpx;" />
 <Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
     <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
-    <Follow slot='跟进记录' rowData="{{detail}}" id='follow'/>
+    <Follow slot='跟进记录' rowData="{{detail}}" id='follow' />
     <Record slot='操作' id="Record" ownertable='sat_orderclue' ownerid='{{detail.sat_orderclueid}}' />
     <Trace slot='跟进动态' id='Trace' ownertable='sat_orderclue' ownerid='{{detail.sat_orderclueid}}' />
     <view style="height: 140rpx;" />
 </Yl_FunTabs>
 
 <Popup sheetTitle='{{sheetTitle}}'>
-    <view>
-        <followAction id='followAction' sat_orderclueid='{{sat_orderclueid}}' bind:endChange='endFollow' />
-    </view>
+    <followAction id='followAction' sat_orderclueid='{{sat_orderclueid}}' bind:endChange='endFollow' />
 </Popup>
 
 <!-- 底部 -->
-<Yl_Tabbar list='{{tabbarList}}' bind:callback="tabbarOnClick" />
+<Yl_Tabbar list='{{tabbarList}}' bind:callback="tabbarOnClick" />

+ 5 - 6
packageA/saleClue/modules/followAction/followAction.js

@@ -32,7 +32,7 @@ Component({
         disabled: true,
         loading: false
     },
-    ready () {
+    ready() {
         this.getFollowType()
     },
     /**
@@ -47,8 +47,7 @@ Component({
                 loading: true
             })
             _Http.basic({
-                "classname": "saletool.orderclue.web.orderclue",
-                "method": "addFollowUpLog",
+                id: "20221208100602",
                 content
             }).then(res => {
                 console.log(res)
@@ -76,17 +75,17 @@ Component({
             })
         },
         /* 获取跟进方式 */
-        async getFollowType () {
+        async getFollowType() {
             let res = await _Http.basic({
                 "classname": "sysmanage.develop.optiontype.optiontype",
                 "method": "optiontypeselect",
                 "content": {
-                    "typename":'followupmode'
+                    "typename": 'followupmode'
                 }
             })
             let Arr = res.data.map(item => {
                 return {
-                    name:item.value
+                    name: item.value
                 }
             })
             this.setData({

+ 1 - 1
packageA/saleClue/modules/followAction/followAction.scss

@@ -51,7 +51,7 @@
 }
 .textarea {
     display: block;
-    height: 300rpx;
+    height: 200rpx;
     padding: 26rpx 30rpx;
 }
 .results {

+ 0 - 4
packageA/saleClue/modules/followAction/followAction.wxml

@@ -6,7 +6,6 @@
         <view>{{content.followupmode?content.followupmode:'请选择'}}</view>
         <van-icon name="arrow-down" />
     </view>
-
     <view class="label"><text>*</text>本次跟进结果:</view>
     <view class="results" bindtap="changeType">
         <view class="{{content.logtype=='继续跟进'?'op':''}}" data-name="继续跟进">继续跟进</view>
@@ -17,14 +16,11 @@
     <textarea value='{{content.content}}' class="textarea selector" data-label="content" bind:input="inputChange" placeholder="请描述跟进情况及内容" />
 </view>
 
-
 <view style="height: 140rpx;" />
 <view class="footer-but">
     <van-button custom-class='button' disabled='{{disabled}}' bindtap="submit" loading='{{loading}}' loading-text="保存中...">确定</van-button>
 </view>
-
 <van-action-sheet show="{{ actionShow }}" actions="{{ actions }}" cancel-text="取消" bind:close="selectWay" bind:cancel='selectWay' bind:select="onSelect" />
-
 <wxs module="text">
     module.exports.type = function (str) {
         var text = '';

+ 1 - 1
packageA/saleClue/modules/popup/index.wxml

@@ -1,4 +1,4 @@
-<van-popup class="popup" show="{{ sheetTitle }}" z-index="88888" custom-style="height: 100vh;" position="bottom" round safe-area-inset-bottom='{{false}}'>
+<van-popup class="popup" show="{{ sheetTitle }}" z-index="88888" custom-style="height: 100vh;" position="bottom" round safe-area-inset-bottom='{{false}}' >
     <view class="header">
         {{sheetTitle}}
         <view class="close" bindtap="sheetClose">