Browse Source

xiuggaibug

master
王泽彦 10 months ago
parent
commit
d6b2a82455
  1. 1
      App.vue
  2. 18
      pages.json
  3. 255
      pages/market/clue/add_clues.vue
  4. 196
      pages/market/clue/class_arrangement.vue
  5. 148
      pages/market/clue/class_arrangement_detail.vue
  6. 83
      pages/market/clue/clue_info.vue
  7. 3073
      pages/market/clue/edit_clues.vue
  8. 1568
      pages/market/clue/index.vue
  9. 22
      pages/market/index/index.vue
  10. 5
      pages/student/login/login.vue
  11. 11
      uni.scss
  12. 8
      uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue

1
App.vue

@ -43,4 +43,5 @@
<style lang="scss"> <style lang="scss">
@import '~@/static/styles/app.scss'; @import '~@/static/styles/app.scss';
@import "@/uni.scss";
</style> </style>

18
pages.json

@ -573,6 +573,24 @@
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
},
{
"path": "pages/market/clue/class_arrangement",
"style": {
"navigationBarTitleText": "课程安排",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#232323",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/market/clue/class_arrangement_detail",
"style": {
"navigationBarTitleText": "课程安排详情",
"navigationStyle": "default",
"navigationBarBackgroundColor": "#232323",
"navigationBarTextStyle": "white"
}
} }

255
pages/market/clue/add_clues.vue

@ -26,11 +26,52 @@
<view class="title" style="margin-top: 20rpx;">基础信息</view> <view class="title" style="margin-top: 20rpx;">基础信息</view>
<view class="input-style"> <view class="input-style">
<!--姓名-->
<fui-form-item
label="姓名"
labelSize='26'
asterisk asteriskPosition="right"
prop="title"
background='#434544'
labelColor='#fff'
:bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;">
<fui-input
:borderBottom="false"
:padding="[0]"
placeholder="点击填写"
v-model="formData.name"
backgroundColor="#434544"
size="26"
color="#fff"
></fui-input>
</view>
</fui-form-item>
<!--联系电话-->
<fui-form-item
label="联系电话"
asterisk asteriskPosition="right"
labelSize='26'
prop="title"
background='#434544'
labelColor='#fff'
:bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;">
<fui-input
:borderBottom="false"
:padding="[0]"
placeholder="点击填写"
v-model="formData.phone_number"
backgroundColor="#434544"
size="26"
color="#fff"
@blur="handlePhoneBlur"
></fui-input>
</view>
</fui-form-item>
<!--来源--> <!--来源-->
<fui-form-item <fui-form-item
label="来源" label="来源"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -50,7 +91,6 @@
<fui-form-item <fui-form-item
v-if="formData.source == 1" v-if="formData.source == 1"
label="来源渠道" label="来源渠道"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -71,7 +111,7 @@
<!-- <!--
<fui-form-item <fui-form-item
label="顾问" label="顾问"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -91,7 +131,6 @@
<fui-form-item <fui-form-item
v-show="false" v-show="false"
label="顾问" label="顾问"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="title" prop="title"
background='#434544' background='#434544'
@ -110,33 +149,11 @@
></fui-input> ></fui-input>
</view> </view>
</fui-form-item> </fui-form-item>
<!--姓名-->
<fui-form-item
label="姓名"
asterisk asteriskPosition="right"
labelSize='26'
prop="title"
background='#434544'
labelColor='#fff'
:bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;">
<fui-input
:borderBottom="false"
:padding="[0]"
placeholder="点击填写"
v-model="formData.name"
backgroundColor="#434544"
size="26"
color="#fff"
></fui-input>
</view>
</fui-form-item>
<!--年龄--> <!--年龄-->
<fui-form-item <fui-form-item
label="年龄" label="年龄"
labelSize='26' labelSize='26'
asterisk
asteriskPosition="right"
prop="age" prop="age"
background='#434544' background='#434544'
labelColor='#fff' labelColor='#fff'
@ -149,7 +166,6 @@
<fui-form-item <fui-form-item
label="性别" label="性别"
labelSize='26' labelSize='26'
asterisk asteriskPosition="right"
prop="age" prop="age"
background='#434544' background='#434544'
labelColor='#fff' labelColor='#fff'
@ -173,32 +189,11 @@
</fui-radio-group> </fui-radio-group>
</view> </view>
</fui-form-item> </fui-form-item>
<!--联系电话-->
<fui-form-item
label="联系电话"
asterisk asteriskPosition="right"
labelSize='26'
prop="title"
background='#434544'
labelColor='#fff'
:bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;">
<fui-input
:borderBottom="false"
:padding="[0]"
placeholder="点击填写"
v-model="formData.phone_number"
backgroundColor="#434544"
size="26"
color="#fff"
@blur="handlePhoneBlur"
></fui-input>
</view>
</fui-form-item>
<!--需求--> <!--需求-->
<fui-form-item <fui-form-item
label="需求" label="需求"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="title" prop="title"
background='#434544' background='#434544'
@ -219,7 +214,7 @@
<!--决策人--> <!--决策人-->
<fui-form-item <fui-form-item
label="决策人" label="决策人"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="title" prop="title"
background='#434544' background='#434544'
@ -237,7 +232,7 @@
<!--客户初步意向度--> <!--客户初步意向度-->
<fui-form-item <fui-form-item
label="客户初步意向度" label="客户初步意向度"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -257,7 +252,7 @@
<fui-form-item <fui-form-item
v-show="false" v-show="false"
label="客户状态" label="客户状态"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -292,7 +287,6 @@
<!--购买力--> <!--购买力-->
<fui-form-item <fui-form-item
label="购买力" label="购买力"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -311,7 +305,6 @@
<!--认知理念--> <!--认知理念-->
<fui-form-item <fui-form-item
label="认知理念" label="认知理念"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -330,7 +323,6 @@
<!--可选上课时间--> <!--可选上课时间-->
<fui-form-item <fui-form-item
label="可选上课时间" label="可选上课时间"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -349,7 +341,6 @@
<!--承诺到访时间--> <!--承诺到访时间-->
<fui-form-item <fui-form-item
label="承诺到访时间" label="承诺到访时间"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="" prop=""
background='#434544' background='#434544'
@ -368,7 +359,6 @@
<!--距离--> <!--距离-->
<fui-form-item <fui-form-item
label="距离" label="距离"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="title" prop="title"
background='#434544' background='#434544'
@ -387,7 +377,6 @@
<!--沟通备注--> <!--沟通备注-->
<fui-form-item <fui-form-item
label="沟通备注" label="沟通备注"
asterisk asteriskPosition="right"
labelSize='26' labelSize='26'
prop="title" prop="title"
background='#434544' background='#434544'
@ -904,18 +893,6 @@ export default {
}) })
}) })
if(inputName == 'source_channel'){
//arr
arr.unshift({
text: '线下',
value: '0',
})
}
if(inputName == 'status'){
//arr
console.log(arr)
}
this.picker_config[inputName].options = arr this.picker_config[inputName].options = arr
}, },
@ -1205,26 +1182,6 @@ export default {
}, },
// //
async validatorForm(data) { async validatorForm(data) {
//
//
if(!data.source_channel.length){
uni.showToast({
title: '请选择来源渠道',
icon: 'none'
})
this.nextStep('0')
return false
}
//
if(!data.source){
uni.showToast({
title: '请选择来源',
icon: 'none'
})
this.nextStep('0')
return false
}
// //
if(!data.name){ if(!data.name){
uni.showToast({ uni.showToast({
@ -1234,24 +1191,6 @@ export default {
this.nextStep('0') this.nextStep('0')
return false return false
} }
//
if(!data.age){
uni.showToast({
title: '年龄必填',
icon: 'none'
})
this.nextStep('0')
return false
}
//
if(!data.gender){
uni.showToast({
title: '性别必填',
icon: 'none'
})
this.nextStep('0')
return false
}
// //
if(!data.phone_number){ if(!data.phone_number){
uni.showToast({ uni.showToast({
@ -1261,100 +1200,6 @@ export default {
this.nextStep('0') this.nextStep('0')
return false return false
} }
//
if(!data.demand){
uni.showToast({
title: '需求必填',
icon: 'none'
})
this.nextStep('0')
return false
}
//
if(!data.decision_maker){
uni.showToast({
title: '决策人必填',
icon: 'none'
})
this.nextStep('0')
return false
}
//
if(!data.initial_intent){
uni.showToast({
title: '客户初步意向度必填',
icon: 'none'
})
this.nextStep('0')
return false
}
//
if(!data.status){
uni.showToast({
title: '客户状态必填',
icon: 'none'
})
this.nextStep('0')
return false
}
//##### #####
//
if(!data.purchasing_power){
uni.showToast({
title: '购买力必填',
icon: 'none'
})
this.nextStep('1')
return false
}
//
if(!data.cognitive_idea){
uni.showToast({
title: '认知理念必填',
icon: 'none'
})
this.nextStep('1')
return false
}
//
if(!data.communication){
uni.showToast({
title: '沟通备注必填',
icon: 'none'
})
this.nextStep('1')
return false
}
//访
if(!data.promised_visit_time){
uni.showToast({
title: '承诺到访时间必填',
icon: 'none'
})
this.nextStep('1')
return false
}
//
if(!data.distance){
uni.showToast({
title: '距离必填',
icon: 'none'
})
this.nextStep('1')
return false
}
//
if(!data.optional_class_time){
uni.showToast({
title: '可选上课时间必填',
icon: 'none'
})
this.nextStep('1')
return false
}
return true return true
}, },
// //

196
pages/market/clue/class_arrangement.vue

@ -0,0 +1,196 @@
<template>
<view class="class-arrange-root">
<!-- 顶部日期选择 -->
<view class="date-bar">
<view class="date-item" v-for="(item, idx) in weekList" :key="idx" :class="{active: idx === selectedDayIndex}">
<view class="week">{{ item.week }}</view>
<view class="day">{{ item.day }}</view>
</view>
</view>
<!-- "查看更多"按钮移到日期条下方 -->
<view class="more-bar-wrapper">
<view class="more-bar" @click="openCalendar">
<text>查看更多</text>
<uni-icons type="arrowdown" size="18" color="#bdbdbd" />
</view>
</view>
<!-- 日历底部弹窗 -->
<uni-popup ref="calendarPopup" type="bottom">
<uni-calendar @confirm="onCalendarConfirm" @close="closeCalendar" />
</uni-popup>
<!-- 课程卡片列表 -->
<view class="course-list">
<view class="course-card" v-for="(course, idx) in courseList" :key="idx">
<view class="card-header">
<view class="status-end">已结束</view>
</view>
<view class="card-body">
<view class="row">时间{{ course.date }}</view>
<view class="row">教室{{ course.classroom }}</view>
<view class="row">课程{{ course.name }}</view>
<view class="row">人数{{ course.count }}</view>
</view>
<view class="card-footer">
<view class="sign-info">已签到学生 (0/{{ course.count }})</view>
<button class="detail-btn" @click="viewDetail(course)">详情</button>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
weekList: [
{ week: '星期一', day: 11 },
{ week: '星期二', day: 12 },
{ week: '星期三', day: 13 },
{ week: '星期四', day: 14 },
{ week: '星期五', day: 15 },
{ week: '星期六', day: 16 },
{ week: '星期日', day: 17 },
],
selectedDayIndex: 4,
courseList: [
{
date: '2025-06-15',
classroom: '时间范围教室',
name: '大课7+1类型',
count: 10,
},
{
date: '2025-06-15',
classroom: '时间范围教室',
name: '大课5+1',
count: 10,
},
],
};
},
methods: {
openCalendar() {
this.$refs.calendarPopup.open();
},
closeCalendar() {
this.$refs.calendarPopup.close();
},
viewDetail(course) {
//
this.$navigateTo({
url: '/pages/market/clue/class_arrangement_detail?date=' + course.date
});
},
onCalendarConfirm(e) {
this.closeCalendar();
// e.fulldate
uni.showToast({ title: '选择日期:' + e.fulldate, icon: 'none' });
},
},
};
</script>
<style lang="less" scoped>
.class-arrange-root {
background: #232323;
min-height: 100vh;
padding-bottom: 30rpx;
}
.date-bar {
display: flex;
align-items: center;
background: #232323;
padding: 0 0 10rpx 0;
overflow-x: auto;
border-bottom: 1px solid #333;
.date-item {
flex: 1;
text-align: center;
color: #bdbdbd;
padding: 16rpx 0 0 0;
.week {
font-size: 22rpx;
}
.day {
font-size: 28rpx;
margin-top: 4rpx;
}
&.active {
color: #29d3b4;
.day {
border-radius: 50%;
background: #333;
color: #29d3b4;
padding: 2rpx 10rpx;
}
}
}
}
.more-bar-wrapper {
width: 100%;
display: flex;
justify-content: center;
margin: 10rpx 0 0 0;
}
.more-bar {
display: flex;
align-items: center;
color: #bdbdbd;
font-size: 22rpx;
cursor: pointer;
background: #333;
border-radius: 20rpx;
padding: 8rpx 24rpx;
}
.course-list {
margin-top: 20rpx;
.course-card {
background: #434544;
border-radius: 10rpx;
margin: 0 0 20rpx 0;
padding: 0 0 20rpx 0;
box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.08);
.card-header {
display: flex;
justify-content: flex-end;
padding: 10rpx 20rpx 0 0;
.status-end {
background: #e95c6b;
color: #fff;
border-radius: 10rpx;
padding: 4rpx 18rpx;
font-size: 22rpx;
}
}
.card-body {
padding: 0 20rpx;
.row {
color: #fff;
font-size: 24rpx;
margin: 8rpx 0;
}
}
.card-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20rpx;
.sign-info {
color: #bdbdbd;
font-size: 22rpx;
}
.detail-btn {
background: transparent;
border: 2rpx solid #ffd86b;
color: #ffd86b;
border-radius: 8rpx;
padding: 6rpx 24rpx;
font-size: 24rpx;
margin-left: 10rpx;
}
}
}
}
</style>

148
pages/market/clue/class_arrangement_detail.vue

@ -0,0 +1,148 @@
<template>
<view class="detail-root">
<view class="header">
<view class="title">课程安排详情</view>
<view class="date">日期{{ date }}</view>
</view>
<view class="section">
<view class="section-title">学员列表</view>
<view class="student-list">
<view v-for="(stu, idx) in students" :key="idx" class="student-item">
<view class="avatar">{{ stu.name.charAt(0) }}</view>
<view class="info">
<view class="name">{{ stu.name }}</view>
<view class="desc">{{ stu.desc }}</view>
</view>
</view>
<view
v-for="n in emptyArray"
:key="n"
class="student-item empty"
@tap="addStudent"
:data-index="n"
>
<view class="avatar empty-avatar">+</view>
<view class="info">
<view class="name">空位</view>
<view class="desc">点击添加学员</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
date: '',
students: [
{ name: '张三', desc: '已签到' },
{ name: '李四', desc: '未签到' },
],
maxCount: 5,
};
},
computed: {
emptyCount() {
return this.maxCount - this.students.length;
},
emptyArray() {
return Array.from({length: this.emptyCount}, (v, i) => i + 1);
},
},
onLoad(query) {
this.date = query.date || '';
},
methods: {
addStudent(e) {
const n = e.currentTarget.dataset.index;
uni.showToast({ title: '添加学员功能待实现,空位号:' + n, icon: 'none' });
},
},
};
</script>
<style lang="less" scoped>
.detail-root {
background: #232323;
min-height: 100vh;
padding-bottom: 30rpx;
}
.header {
padding: 40rpx 30rpx 20rpx 30rpx;
.title {
color: #fff;
font-size: 36rpx;
font-weight: bold;
}
.date {
color: #29d3b4;
font-size: 26rpx;
margin-top: 10rpx;
}
}
.section {
margin: 30rpx;
background: #434544;
border-radius: 16rpx;
padding: 30rpx 20rpx;
}
.section-title {
color: #ffd86b;
font-size: 28rpx;
margin-bottom: 20rpx;
}
.student-list {
display: flex;
flex-wrap: wrap;
gap: 20rpx;
}
.student-item {
background: #333;
border-radius: 12rpx;
display: flex;
align-items: center;
padding: 18rpx 24rpx;
min-width: 260rpx;
.avatar {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: #29d3b4;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
margin-right: 18rpx;
}
.info {
.name {
color: #fff;
font-size: 28rpx;
}
.desc {
color: #bdbdbd;
font-size: 22rpx;
margin-top: 4rpx;
}
}
&.empty {
border: 2rpx dashed #ffd86b;
background: #232323;
.avatar.empty-avatar {
background: #ffd86b;
color: #232323;
font-size: 36rpx;
}
.info .name {
color: #ffd86b;
}
.info .desc {
color: #ffd86b;
}
}
}
</style>

83
pages/market/clue/clue_info.vue

@ -28,15 +28,19 @@
class="drop-image-x"> class="drop-image-x">
</image> </image>
</view> </view>
<view class="title-x">意向{{ clientInfo.customerResource.initial_intent_name }}</view>
</view> </view>
</view> </view>
<view class="course_box_top_below-right"> <view class="course_box_top_below-right">
<!-- <view v-if="clientInfo.customerResource.is_zdgz == 1">--> <!-- 操作按钮 -->
<!-- <image :src="$util.img('/uniapp_src/static/images/index/star.png')" class="drop-image-star"></image>--> <view class="action-buttons">
<!-- </view>--> <view class="btn-item" @click="handleMakeCall">
<!-- <view class="title-x">重点关注</view>--> <image class="btn-icon" :src="$util.img('/uniapp_src/static/images/index/phone.png')"></image>
</view>
<view class="btn-item" @click="handleSendMessage">
<image class="btn-icon" :src="$util.img('/uniapp_src/static/images/index/message.png')"></image>
</view>
</view>
</view> </view>
</view> </view>
</view> </view>
@ -166,7 +170,7 @@
<view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view> <view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
<view>课程课程名称1</view> <view>课程课程名称1</view>
</view> </view>
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view> <view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
</view> </view>
</view> </view>
<view style="margin: 16rpx;"> <view style="margin: 16rpx;">
@ -187,7 +191,7 @@
<view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view> <view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
<view>课程课程名称1</view> <view>课程课程名称1</view>
</view> </view>
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view> <view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
</view> </view>
</view> </view>
<view style="margin: 16rpx;"> <view style="margin: 16rpx;">
@ -208,7 +212,7 @@
<view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view> <view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
<view>课程课程名称1</view> <view>课程课程名称1</view>
</view> </view>
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view> <view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
</view> </view>
</view> </view>
<view style="margin: 16rpx;"> <view style="margin: 16rpx;">
@ -229,7 +233,7 @@
<view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view> <view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
<view>课程课程名称1</view> <view>课程课程名称1</view>
</view> </view>
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view> <view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
</view> </view>
</view> </view>
<view style="margin: 16rpx;"> <view style="margin: 16rpx;">
@ -250,7 +254,7 @@
<view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view> <view>合同联系人包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
<view>课程课程名称1</view> <view>课程课程名称1</view>
</view> </view>
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view> <view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
</view> </view>
</view> </view>
<view style="height: 200rpx;"></view> <view style="height: 200rpx;"></view>
@ -259,7 +263,7 @@
<!-- 底部按钮组--> <!-- 底部按钮组-->
<view class="bottom-label"> <view class="bottom-label">
<view @click="openViewEditClues()">编辑详情</view> <view @click="openViewEditClues()">编辑详情</view>
<view @click="callTel(clientInfo.student_phone)">拨打电话</view> <view @click="openViewEditClassLog()">课程安排</view>
<view @click="openViewEditCluesLog()">修改记录</view> <view @click="openViewEditCluesLog()">修改记录</view>
<view @click="openViewOrder()">订单列表</view> <view @click="openViewOrder()">订单列表</view>
</view> </view>
@ -407,6 +411,19 @@
}) })
}, },
//-
openViewEditClassLog() {
let resource_id = this.clientInfo.resource_id//id
let resource_name = this.clientInfo.customerResource.name || ''//id
let staff_id = this.userInfo.id//id
let staff_id_name = this.userInfo.name || ''//
this.$navigateTo({
url: `/pages/market/clue/class_arrangement?resource_id=${resource_id}&resource_name=${resource_name}&staff_id=${staff_id}&staff_id_name=${staff_id_name}`
})
},
//- //-
openViewNewTask() { openViewNewTask() {
this.$navigateTo({ this.$navigateTo({
@ -453,7 +470,31 @@
}); });
}, },
//
handleMakeCall() {
if (!this.clientInfo.customerResource.phone_number) {
uni.showToast({
title: '电话号码为空',
icon: 'none'
});
return;
}
this.callTel(this.clientInfo.customerResource.phone_number);
},
//
handleSendMessage() {
if (!this.clientInfo.customerResource.staff_id) {
uni.showToast({
title: '未找到相关人员',
icon: 'none'
});
return;
}
this.$navigateTo({
url: `/pages/common/im_chat_info?hair_staff_id=${this.clientInfo.customerResource.staff_id}`
});
},
// //
switch_tags(type){ switch_tags(type){
@ -677,4 +718,24 @@
padding: 12rpx 8rpx; padding: 12rpx 8rpx;
text-align: center; text-align: center;
} }
.action-buttons {
display: flex;
gap: 20rpx;
align-items: center;
.btn-item {
display: flex;
align-items: center;
justify-content: center;
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: #f5f5f5;
.btn-icon {
width: 40rpx;
height: 40rpx;
}
}
}
</style> </style>

3073
pages/market/clue/edit_clues.vue

File diff suppressed because it is too large

1568
pages/market/clue/index.vue

File diff suppressed because it is too large

22
pages/market/index/index.vue

@ -118,7 +118,7 @@
<view> <view>
<image :src="$util.img('/uniapp_src/static/images/index/danlv.png')" class="drop-image"></image> <image :src="$util.img('/uniapp_src/static/images/index/danlv.png')" class="drop-image"></image>
</view> </view>
<view class="title">上月业绩</view> <view class="title">个人业绩</view>
</view> </view>
<view class="coach-message"> <view class="coach-message">
@ -130,9 +130,9 @@
<image :src="$util.img('/uniapp_src/static/images/index/danlv.png')" <image :src="$util.img('/uniapp_src/static/images/index/danlv.png')"
class="drop-image-x"></image> class="drop-image-x"></image>
</view> </view>
<view class="title-x">资源总数</view> <view class="title-x">今日新增资源</view>
</view> </view>
<view class="title-x1">{{infoData.last_month.new_total}}</view> <view class="title-x1">{{infoData.last_month.xzzy}}</view>
</view> </view>
<view style="width: 48%;"> <view style="width: 48%;">
@ -141,9 +141,9 @@
<image :src="$util.img('/uniapp_src/static/images/index/danlv.png')" <image :src="$util.img('/uniapp_src/static/images/index/danlv.png')"
class="drop-image-x"></image> class="drop-image-x"></image>
</view> </view>
<view class="title-x">业绩收入</view> <view class="title-x">今日业绩收入</view>
</view> </view>
<view class="title-x1">{{infoData.last_month.assigned_sales}}</view> <view class="title-x1">{{infoData.last_month.yjsr}}</view>
</view> </view>
</view> </view>
@ -154,21 +154,21 @@
<image :src="$util.img('/uniapp_src/static/images/index/danlv.png')" <image :src="$util.img('/uniapp_src/static/images/index/danlv.png')"
class="drop-image-x"></image> class="drop-image-x"></image>
</view> </view>
<view class="title-x">关单数量</view> <view class="title-x">历史关单数量</view>
</view> </view>
<view class="title-x1">{{infoData.last_month.yesterday_new}}</view> <view class="title-x1">{{infoData.last_month.gdsl}}</view>
</view> </view>
<!-- <view style="width: 48%;"> <view style="width: 48%;">
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<view style="padding: 12rpx;"> <view style="padding: 12rpx;">
<image :src="$util.img('/uniapp_src/static/images/index/danlv.png')" <image :src="$util.img('/uniapp_src/static/images/index/danlv.png')"
class="drop-image-x"></image> class="drop-image-x"></image>
</view> </view>
<view class="title-x">今日拉新</view> <view class="title-x">资源未分配数量</view>
</view> </view>
<view class="title-x1">{{infoData.last_month.today_new}}</view> <view class="title-x1">{{infoData.last_month.wfpsl}}</view>
</view> --> </view>
</view> </view>
</view> </view>
</view> </view>

5
pages/student/login/login.vue

@ -309,7 +309,10 @@ export default {
// 使 redirectTo navigateTo // 使 redirectTo navigateTo
uni.redirectTo({ uni.redirectTo({
url: openPath url: openPath,
complete(e) {
console.log(e)
}
}); });
return return
} }

11
uni.scss

@ -92,4 +92,13 @@ $font-size-paragraph: 30rpx;
/* coolc-coupon 插件 */ /* coolc-coupon 插件 */
$font-sm: 20rpx; $font-sm: 20rpx;
$font-color-999: #999; $font-color-999: #999;
$bgcolor_white: #fff; $bgcolor_white: #fff;
$uni-bg-color-mask: rgba($color: #000000, $alpha: 0.4);
$uni-border-color: #EDEDED;
$uni-text-color: #333;
$uni-bg-color-hover:#f1f1f1;
$uni-font-size-base:14px;
$uni-text-color-placeholder: #808080;
$uni-color-subtitle: #555555;
$uni-text-color-grey:#999;

8
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue

@ -367,14 +367,6 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
$uni-bg-color-mask: rgba($color: #000000, $alpha: 0.4);
$uni-border-color: #EDEDED;
$uni-text-color: #333;
$uni-bg-color-hover:#f1f1f1;
$uni-font-size-base:14px;
$uni-text-color-placeholder: #808080;
$uni-color-subtitle: #555555;
$uni-text-color-grey:#999;
.uni-calendar { .uni-calendar {
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
display: flex; display: flex;

Loading…
Cancel
Save