#
whycq
2023-11-21 76b33842f62bae3fabcbd5a4c34cf3303081d8e8
#
8个文件已修改
6566 ■■■■ 已修改文件
pages/business/cstmr/csmtr.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/cstmr/cstmrDetails.vue 72 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/cstmrInfo/cstmrInfo.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/saleManage/cstmrDetls.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/saleManage/saleManage.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/saleManage/saleManageDetails.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
unpackage/dist/dev/app-plus/app-service.js 2342 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
unpackage/dist/dev/app-plus/app-view.js 4074 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/cstmr/csmtr.vue
@@ -78,7 +78,6 @@
        onShow() {
            let that = this
            uni.$on('isRefresh',function(data){
                console.log(data);
                that.user.username = data.title
                that.user.id = data.id
                that.user.type = data.key
pages/business/cstmr/cstmrDetails.vue
@@ -6,7 +6,22 @@
                    <image src="../../../static/image/infoSea.png" mode="aspectFit"></image>
                    <view>{{cstmr.name}}</view>
                </view>
                <view class="cstmr-tel">{{cstmr.tel}} | {{cstmr.addr}} | {{cstmr.director$ ? cstmr.director$ : '--'}}</view>
                <!-- {{cstmr.tel}} | {{cstmr.addr}} | {{cstmr.director$ ? cstmr.director$ : '--'}} -->
                <view class="cstmr-tel">
                    <view class="tel-box">
                        <view>客户电话</view>
                        <view >{{cstmr.tel ? cstmr.tel : '--'}}</view>
                    </view>
                    <view class="tel-box">
                        <view>客户详细地址</view>
                        <view >{{cstmr.addr ? cstmr.addr : '--'}}</view>
                    </view>
                    <view class="tel-box">
                        <view>负责人</view>
                        <view >{{cstmr.director$ ? cstmr.director$ : '--'}}</view>
                    </view>
                </view>
            </view>
            <view class="container">
                <view><y-title title="基本信息"></y-title></view><view></view>
@@ -26,22 +41,22 @@
                <!-- <view class="list-item1">电话</view><view class="list-item2 color-main">{{cstmr.tel}}</view> -->
                
            </view>
            <view class="container">
            <view class="container2">
                <view><y-title title="其他信息"></y-title></view><view></view>
                <view class="list-item1">添加人员</view><view class="list-item2 color-main">{{cstmr.createBy$}}</view>
                <view class="list-item1">添加时间</view><view class="list-item2">{{cstmr.createTime$}}</view>
                <view class="list-item1">修改人员</view><view class="list-item2">{{cstmr.updateBy$}}</view>
                <view class="list-item1">修改时间</view><view class="list-item2 color-main">{{cstmr.updateTime$}}</view>
            </view>
            <view class="container">
                <!-- <view><y-title title="跟进人"></y-title></view><view></view><view><uni-icons @click="addPerson()" type="plus" size="20" color="#55aaff"></uni-icons></view>
                <view class="list" v-for="(item,index) in followers" :key="index">
                    <view class="list-left">{{item.userName}}</view>
                    <view class="list-right"><button size="mini" style="float: right;" type="warn" @click="removeFollowers(item.userId)">移除</button></view>
                <view class="container2-sub">
                    <view class="sub-item">
                        <view class="list-item1">添加人员</view><view class="list-item2 color-main">{{cstmr.createBy$}}</view>
                    </view>
                    <view class="sub-item">
                        <view class="list-item1">添加时间</view><view class="list-item2">{{cstmr.createTime$}}</view>
                    </view>
                    <view class="sub-item">
                        <view class="list-item1">修改人员</view><view class="list-item2">{{cstmr.updateBy$}}</view>
                    </view>
                    <view class="sub-item">
                        <view class="list-item1">修改时间</view><view class="list-item2 color-main">{{cstmr.updateTime$}}</view>
                    </view>
                </view>
                <view class="list-none" v-show="followers.length == 0">
                    <text>暂无跟进人</text>
                </view> -->
            </view>
            
        </scroll-view>
@@ -255,10 +270,18 @@
        height: 35rpx;
    }
    .cstmr-tel {
        min-height: 60rpx;
        line-height: 60rpx;
        font-size: 24rpx;
        color: #303133;
        display: flex;
    }
    .tel-box {
        margin-top: 20rpx;
        padding-right: 8rpx;
        margin-left: 10rpx;
        border-right: 1px solid #b1b3b8;
    }
    .tel-box:last-child {
        border: none
    }
    .container {
        margin-top: 10px;
@@ -271,6 +294,20 @@
        grid-template-columns: 5fr 5fr 2fr;
        margin-bottom: 120rpx;
    }
    .container2 {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        padding: 10rpx 20rpx 0 20rpx;
        background-color: #fff;
    }
    .container2-sub {
        display: flex;
        flex-direction: column;
    }
    .sub-item {
        display: flex;
    }
    .list-item1 {
        min-height: 45rpx;
        line-height: 45rpx;
@@ -278,6 +315,7 @@
        text-indent: 30rpx;
    }
    .list-item2 {
        margin-left: 10rpx;
        min-height: 45rpx;
        line-height: 45rpx;
        color: black;
pages/business/cstmrInfo/cstmrInfo.vue
@@ -17,14 +17,13 @@
         </uni-nav-bar>
        <!-- 搜索框 -->
        <view class="search-bg">
            <!-- <uni-search-bar placeholder="客户代号/名称" bgColor="#f4f4f4"  @confirm="search" /> -->
            <u-search placeholder="客户代号/名称" v-model="keyword" :clearabled="true" @custom="search()" @search="search()"></u-search>
        </view>
        <view>
            <!-- 客户列表 -->
            <view class="c-list" @click="getDetails(item.id)" v-for="(item,index) in csmtrList" :key="index">
                <view class="titles">
                    <y-title :title="item.name"></y-title>
                    <y-title :title="item.name"></y-title><view></view>
                </view>
                <view style="display: grid;grid-template-columns: 1fr 3fr;">
                    <view class="list-item1">客户代号</view><view class="list-item2">{{item.uuid}}</view>
@@ -50,7 +49,7 @@
            <uni-popup ref="inputDialog" type="dialog">
                <view class="popup">
                    <!-- 标题 -->
                    <view class="title">接取</view>
                    <view class="desc">接取</view>
                    <scroll-view scroll-y="true" style="height: 23vh;touch-action: none;">
                        <!-- <view style="display: flex;justify-content: center;margin: 8px;align-items: center;" v-for="item in csmtrs">
                            <checkbox style="flex: 1;display: flex;justify-content: flex-end;"></checkbox>
@@ -79,6 +78,7 @@
                </view>
            </uni-popup>
        </view>
        <view style="height: 50rpx;"></view>
    </view>
</template>
@@ -91,7 +91,7 @@
                user: {
                    username: '',
                    id: 0,
                    type: ''
                    type: 'user_id'
                },
                falg: true,
                csmtrList: [],
@@ -344,8 +344,8 @@
        background-color: #fff;
        border-radius: 10rpx;
        margin: 20rpx 2% 0 2%;
        display: flex;
        flex-direction: column;
        /* display: flex;
        flex-direction: column; */
        font-size: 24rpx;
    }
    /* 父view 换 scroll-view */
@@ -366,7 +366,7 @@
    }
    .titles {
        padding-left: 10rpx;
        text-indent: 5rpx;
        /* text-indent: 5rpx; */
        margin-top: 10rpx;
    }
    /* .title {
@@ -396,7 +396,7 @@
        background-color: #FFF;
        border-radius: 25rpx;
    }
    .title {
    .desc {
        height: 100rpx;
        line-height: 100rpx;
        width: 100%;
pages/business/saleManage/cstmrDetls.vue
@@ -6,10 +6,24 @@
                    <image src="../../../static/image/zuzhibumen.png" mode="aspectFit"></image>
                    <view>{{saleManage.name}}</view>
                </view>
                <view class="cstmr-tel">
                <!-- <view class="cstmr-tel">
                    {{saleManage.company$}} | 
                    {{saleManage.money ? saleManage.pcd$ : '--'}} | 
                    {{saleManage.director$ ? saleManage.pcd$ : '--'}}
                </view> -->
                <view class="cstmr-tel">
                    <view class="tel-box">
                        <view>客户电话</view>
                        <view >{{cstmr.tel ? cstmr.tel : '--'}}</view>
                    </view>
                    <view class="tel-box">
                        <view>客户详细地址</view>
                        <view >{{cstmr.addr ? cstmr.addr : '--'}}</view>
                    </view>
                    <view class="tel-box">
                        <view>负责人</view>
                        <view >{{cstmr.director$ ? cstmr.director$ : '--'}}</view>
                    </view>
                </view>
            </view>
            <view class="container">
@@ -259,10 +273,18 @@
        height: 35rpx;
    }
    .cstmr-tel {
        min-height: 60rpx;
        line-height: 60rpx;
        font-size: 24rpx;
        color: #303133;
        display: flex;
    }
    .tel-box {
        margin-top: 20rpx;
        padding-right: 8rpx;
        margin-left: 10rpx;
        border-right: 1px solid #b1b3b8;
    }
    .tel-box:last-child {
        border: none
    }
    .container {
        margin-top: 10px;
pages/business/saleManage/saleManage.vue
@@ -148,10 +148,19 @@
            getCsmtr1(e) {
                let that = this
                that.csmtrList = []
                uni.showLoading({})
                let param = {curr:1,limit:4,dept_id: 0,user_id: 67}
                if (this.user.type == 'user_id') {
                    param = {curr:1,limit:4,user_id: that.user.id}
                } else if(this.user.type == 'dept_id') {
                    param = {curr:1,limit:4,dept_id: that.user.id}
                } else {
                    param = {curr:1,limit:4}
                }
                uni.request({
                    url: that.baseUrl + '/order/page/auth',
                    header: {'token' : uni.getStorageSync('token'),},
                    data: {curr:1,limit:4},
                    data: param,
                    method:'GET',
                    success(result) {
                        if (result.statusCode ===  404) {
@@ -185,14 +194,26 @@
                            });
                        }, 1000);
                    },
                    complete() {
                        uni.hideLoading()
                    }
                })
            },
            getCsmtr() {
                let that = this
                uni.showLoading({})
                let param = {curr:that.curr,limit:4,dept_id: 0,user_id: 67}
                if (this.user.type == 'user_id') {
                    param = {curr:that.curr,limit:4,user_id: that.user.id}
                } else if(this.user.type == 'dept_id') {
                    param = {curr:that.curr,limit:4,dept_id: that.user.id}
                } else {
                    param = {curr:that.curr,limit:4}
                }
                uni.request({
                    url: that.baseUrl + '/order/page/auth',
                    header: {'token' : uni.getStorageSync('token'),},
                    data: {curr:that.curr,limit:4},
                    data: param,
                    method:'GET',
                    success(result) {
                        if (result.statusCode ===  404) {
@@ -226,6 +247,9 @@
                            });
                        }, 1000);
                    },
                    complete() {
                        uni.hideLoading()
                    }
                })
            },
            getDetails(id) {
pages/business/saleManage/saleManageDetails.vue
@@ -83,7 +83,7 @@
            }
        },
        onLoad(option) { 
            if (option == '') {
            if (option != '') {
                this.id = option.id
                this.init()
                this.autoLoad('follower','')
@@ -96,7 +96,6 @@
                eventChannel.on('saleManage', function(data) {
                    _this.id = data.data
                    _this.init()
                    console.log(data.data);
                })
                this.autoLoad('follower','')
                setTimeout(()=>{
@@ -113,7 +112,6 @@
                    method: 'GET',
                    success(res) {
                        res = res.data
                        console.log(res);
                        that.saleManage = res.data
                        that.cstmr = res.data
                        that.cstmrId = that.cstmr.id
@@ -128,7 +126,6 @@
                    header: {'token' : uni.getStorageSync('token'),
                    },
                    method: 'GET',
                    success(res) {
                        res = res.data
                        if (res.code === 200) {
unpackage/dist/dev/app-plus/app-service.js
Diff too large
unpackage/dist/dev/app-plus/app-view.js
Diff too large