|
@@ -19,6 +19,32 @@
|
|
|
<view class="content-club-ri"> <text class="iconfont icon-xiayibu"></text> </view>
|
|
|
</view>
|
|
|
<view class="remarks-content">
|
|
|
+ <view class="list-view-title">
|
|
|
+ <view class="list-view-h1"><text>*</text>沟通情况:</view>
|
|
|
+ </view>
|
|
|
+ <view class="remarks-category">
|
|
|
+ <radio-group @change="radioChange">
|
|
|
+ <label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in items" :key="item.value">
|
|
|
+ <radio
|
|
|
+ :value="item.value"
|
|
|
+ style="transform:scale(0.7)"
|
|
|
+ color="#FF5B00"
|
|
|
+ :checked="index === current"
|
|
|
+ />
|
|
|
+ <label :for="item.value" class="label">
|
|
|
+ <text>{{ item.name }}</text>
|
|
|
+ </label>
|
|
|
+ </label>
|
|
|
+ </radio-group>
|
|
|
+ <checkbox-group v-if="current === 0" style="margin-top: 10rpx;">
|
|
|
+ <label class="label">
|
|
|
+ <checkbox value="cb" style="transform:scale(0.7)" color="#FF5B00" />电话
|
|
|
+ </label>
|
|
|
+ <label class="label">
|
|
|
+ <checkbox value="cb" style="transform:scale(0.7)" color="#FF5B00" />微信
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ </view>
|
|
|
<view class="list-view-title">
|
|
|
<view class="list-view-h1"><text>*</text>咨询人:</view>
|
|
|
</view>
|
|
@@ -32,6 +58,55 @@
|
|
|
maxlength="15"
|
|
|
/>
|
|
|
</view>
|
|
|
+ <view class="list-view-title"> <view class="list-view-h1">客户来源:</view> </view>
|
|
|
+ <view class="list-view-radio">
|
|
|
+ <picker @change="bindPickerChange(4, $event)" :value="index" :range="sourceActions" range-key="name">
|
|
|
+ <input
|
|
|
+ class="input"
|
|
|
+ type="text"
|
|
|
+ disabled="false"
|
|
|
+ v-model="sourceStateText"
|
|
|
+ value=""
|
|
|
+ placeholder="请选择"
|
|
|
+ />
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-title"> <view class="list-view-h1">客户性别:</view> </view>
|
|
|
+ <view class="list-view-radio">
|
|
|
+ <picker @change="bindPickerChange(5, $event)" :value="index" :range="genderActions" range-key="name">
|
|
|
+ <input
|
|
|
+ class="input"
|
|
|
+ type="text"
|
|
|
+ disabled="false"
|
|
|
+ v-model="genderText"
|
|
|
+ value=""
|
|
|
+ placeholder="请选择"
|
|
|
+ />
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-title"> <view class="list-view-h1">客户年龄:</view> </view>
|
|
|
+ <view class="list-view-radio">
|
|
|
+ <picker @change="bindPickerChange(6, $event)" :value="index" :range="ageActions" range-key="name">
|
|
|
+ <input class="input" type="text" disabled="false" v-model="ageText" value="" placeholder="请选择" />
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-title"> <view class="list-view-h1">加群情况:</view> </view>
|
|
|
+ <view class="list-view-radio">
|
|
|
+ <picker @change="bindPickerChange(7, $event)" :value="index" :range="additiveActions" range-key="name">
|
|
|
+ <input
|
|
|
+ class="input"
|
|
|
+ type="text"
|
|
|
+ disabled="false"
|
|
|
+ v-model="additiveText"
|
|
|
+ value=""
|
|
|
+ placeholder="请选择"
|
|
|
+ />
|
|
|
+ <text class="iconfont icon-xiangyou"></text>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
<view class="list-view-title">
|
|
|
<view class="list-view-h1"><text>*</text>咨询类别:</view>
|
|
|
</view>
|
|
@@ -47,7 +122,7 @@
|
|
|
{{ category.className }}
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="list-view-title"> <view class="list-view-h1">机构类型:</view> </view>
|
|
|
+ <!-- <view class="list-view-title"> <view class="list-view-h1">机构类型:</view> </view>
|
|
|
<view class="remarks-input">
|
|
|
<input
|
|
|
class="input"
|
|
@@ -57,7 +132,7 @@
|
|
|
placeholder="如美甲店,医院"
|
|
|
maxlength="15"
|
|
|
/>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="list-view-title"> <view class="list-view-h1">咨询商品:</view> </view>
|
|
|
<view class="tui-remarks-content">
|
|
|
<view class="tui-remarks-goods-input" v-if="handleGoods.length === 0" @click="handleShowGoodPopup">
|
|
@@ -79,31 +154,90 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list-view-title">
|
|
|
- <view class="list-view-h1"><text>*</text>关键词记录:</view>
|
|
|
- <view class="list-view-p"
|
|
|
- >(请总结客户的咨询内容,以商品或者服务的关键词形式填写,不需要填口语化的内容。)</view
|
|
|
- >
|
|
|
+ <view class="list-view-h1"><text>*</text>标签记录:</view>
|
|
|
+ <view class="list-view-p">
|
|
|
+ 请总结客户的个人画像和咨询内容,尽量使用简短的描述性词语,杜绝口语化的词语 (优先选择以下展示的标签)
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-list-main">
|
|
|
+ <view class="list-label-list">
|
|
|
+ <text class="list-label"
|
|
|
+ :class="item.isChecked ? 'active' : ''"
|
|
|
+ v-for="(item, index) in labelsList"
|
|
|
+ :key="index"
|
|
|
+ @click="handleCheckedLabel(item,index)"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-title">
|
|
|
+ <view class="list-view-h1">机构静态标签:</view>
|
|
|
+ <view class="list-view-p"> (若你对客户的静态特点有更多维度进行描述,请手动填) </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-list-main">
|
|
|
+ <view class="list-view-list" v-for="(item, index) in staticLabelsList" :key="index">
|
|
|
+ <view class="list-view-input">
|
|
|
+ <input
|
|
|
+ class="input"
|
|
|
+ type="text"
|
|
|
+ v-model="item.label"
|
|
|
+ placeholder="请输入标签,不超过10个汉字"
|
|
|
+ maxlength="10"
|
|
|
+ @focus="hideStaticLabelsAction(item, $event)"
|
|
|
+ @blur="hideStaticLabelsAction(item, $event)"
|
|
|
+ @input="handleStaticLabelsAction(index, $event)"
|
|
|
+ />
|
|
|
+ <view class="list-view-assAction" v-if="item.isAssociation">
|
|
|
+ <scroll-view class="tui-popup-scroll train" scroll-y="true">
|
|
|
+ <view
|
|
|
+ class="ass-list"
|
|
|
+ v-for="(ass, assIndex) in staticLabelsActionList"
|
|
|
+ :key="assIndex"
|
|
|
+ @click="handleSelectStaticLabels(ass.remarks, item)"
|
|
|
+ >{{ ass.remarks }}</view
|
|
|
+ >
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-btn">
|
|
|
+ <text
|
|
|
+ class="iconfont icon-zengjia"
|
|
|
+ v-if="staticLabelsList.length < 9 && index === staticLabelsList.length - 1"
|
|
|
+ @click="handleAddStaticLabels(item, index)"
|
|
|
+ ></text>
|
|
|
+ <text
|
|
|
+ class="iconfont icon-shanchu4"
|
|
|
+ v-if="staticLabelsList.length > 1 && index != staticLabelsList.length - 1"
|
|
|
+ @click="handleDelStaticLabels(item, index)"
|
|
|
+ ></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="list-view-title">
|
|
|
+ <view class="list-view-h1">机构动态标签:</view>
|
|
|
+ <view class="list-view-p"> (若你对客户的购买诉求有更多维度进行描述,请手动填) </view>
|
|
|
</view>
|
|
|
<view class="list-view-list-main">
|
|
|
- <view class="list-view-list" v-for="(item, index) in remarksList" :key="index">
|
|
|
+ <view class="list-view-list" v-for="(item, index) in trendsLabelsList" :key="index">
|
|
|
<view class="list-view-input">
|
|
|
<input
|
|
|
class="input"
|
|
|
type="text"
|
|
|
v-model="item.label"
|
|
|
- placeholder="请输入关键词,不超过10个汉字"
|
|
|
+ placeholder="请输入标签,不超过10个汉字"
|
|
|
maxlength="10"
|
|
|
- @focus="hideAssAction(item, $event)"
|
|
|
- @blur="hideAssAction(item, $event)"
|
|
|
- @input="bindRemarkAction(index, $event)"
|
|
|
+ @focus="hideTrendsLabelsAction(item, $event)"
|
|
|
+ @blur="hideTrendsLabelsAction(item, $event)"
|
|
|
+ @input="handleTrendsLabelsAction(index, $event)"
|
|
|
/>
|
|
|
<view class="list-view-assAction" v-if="item.isAssociation">
|
|
|
<scroll-view class="tui-popup-scroll train" scroll-y="true">
|
|
|
<view
|
|
|
class="ass-list"
|
|
|
- v-for="(ass, assIndex) in assActionList"
|
|
|
+ v-for="(ass, assIndex) in trendsLabelsActionList"
|
|
|
:key="assIndex"
|
|
|
- @click="SelectAssociationFn(ass.remarks, item)"
|
|
|
+ @click="handleSelectTrendsLabels(ass.remarks, item)"
|
|
|
>{{ ass.remarks }}</view
|
|
|
>
|
|
|
</scroll-view>
|
|
@@ -112,13 +246,13 @@
|
|
|
<view class="list-view-btn">
|
|
|
<text
|
|
|
class="iconfont icon-zengjia"
|
|
|
- v-if="remarksList.length < 9 && index === remarksList.length - 1"
|
|
|
- @click="addListFn(item, index)"
|
|
|
+ v-if="trendsLabelsList.length < 9 && index === trendsLabelsList.length - 1"
|
|
|
+ @click="handleAddTrendsLabels(item, index)"
|
|
|
></text>
|
|
|
<text
|
|
|
class="iconfont icon-shanchu4"
|
|
|
- v-if="remarksList.length > 1 && index != remarksList.length - 1"
|
|
|
- @click="deleteLogistItemFn(item, index)"
|
|
|
+ v-if="trendsLabelsList.length > 1 && index != trendsLabelsList.length - 1"
|
|
|
+ @click="handleDelTrendsLabels(item, index)"
|
|
|
></text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -266,9 +400,11 @@ import authorize from '@/common/config/authorize.js'
|
|
|
import { uploadFileImage, uploadFilePdfDocDocxXlsx } from '@/services/public.js'
|
|
|
import cmGoodspopup from '../components/cm-goods-popup'
|
|
|
import cmReportpopup from '../components/cm-report-popup'
|
|
|
+import addMixins from './mixins/addMixins.js'
|
|
|
|
|
|
var isPreviewImg
|
|
|
export default {
|
|
|
+ mixins: [addMixins],
|
|
|
components: {
|
|
|
cmGoodspopup,
|
|
|
cmReportpopup
|
|
@@ -305,23 +441,7 @@ export default {
|
|
|
checkedCategorysList: [],
|
|
|
categorys: [],
|
|
|
isConfirmLoding: false,
|
|
|
- priceFlagText: '',
|
|
|
reportText: '',
|
|
|
- intenFlagText: '',
|
|
|
- followStateText: '',
|
|
|
- priceActions: [
|
|
|
- { name: '敏感', value: 1 },
|
|
|
- { name: '适中', value: 2 },
|
|
|
- { name: '不敏感', value: 3 },
|
|
|
- { name: '不明确', value: 4 }
|
|
|
- ],
|
|
|
- intenActions: [
|
|
|
- { name: '意向强烈', value: 1 },
|
|
|
- { name: '意向一般', value: 2 },
|
|
|
- { name: '意向平淡', value: 3 },
|
|
|
- { name: '随便看看', value: 4 }
|
|
|
- ],
|
|
|
- stateActions: [{ name: '跟进中', value: 1 }, { name: '跟进完成', value: 2 }, { name: '已放弃', value: 3 }],
|
|
|
remarksList: [
|
|
|
{
|
|
|
label: '',
|
|
@@ -332,7 +452,7 @@ export default {
|
|
|
assActionList: [],
|
|
|
isGoodspopup: false,
|
|
|
isReportpopup: false,
|
|
|
- isHashReport:false,
|
|
|
+ isHashReport: false,
|
|
|
handleGoods: [],
|
|
|
reportInfo: {
|
|
|
clubId: 0,
|
|
@@ -350,137 +470,95 @@ export default {
|
|
|
uni.setNavigationBarTitle({ title: '修改记录' })
|
|
|
} else {
|
|
|
this.clubUserId = option.userId
|
|
|
- this.getCulbInfo()
|
|
|
+ this.getCulbInfo(option.userId)
|
|
|
this.getUserClubConsults()
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
...mapMutations(['login']),
|
|
|
- getCulbInfo() {
|
|
|
+ async getCulbInfo(userId) {
|
|
|
// 查询机构信息
|
|
|
- this.UserService.OrganizationUpdateModifyInfo({ userId: this.clubUserId })
|
|
|
- .then(response => {
|
|
|
- this.clubInfo = response.data.club
|
|
|
- this.userInfo = response.data.user
|
|
|
- this.reportInfo.name = this.clubInfo.name
|
|
|
- this.reportInfo.linkMan = this.clubInfo.linkMan
|
|
|
- this.remarksParams.clubId = this.reportInfo.clubId = this.clubInfo.clubId
|
|
|
- if (this.handleType != 'edit') {
|
|
|
- this.remarksParams.questionMan = this.clubInfo.linkMan
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- console.log('=============>', error.msg)
|
|
|
- })
|
|
|
+ try{
|
|
|
+ const res = await this.UserService.OrganizationUpdateModifyInfo({ userId: userId })
|
|
|
+ const data = res.data
|
|
|
+ this.clubInfo = data.club
|
|
|
+ this.userInfo = data.user
|
|
|
+ this.reportInfo.name = this.clubInfo.name
|
|
|
+ this.reportInfo.linkMan = this.clubInfo.linkMan
|
|
|
+ this.remarksParams.clubId = this.reportInfo.clubId = this.clubInfo.clubId
|
|
|
+ if (this.handleType != 'edit') {
|
|
|
+ this.remarksParams.questionMan = this.clubInfo.linkMan
|
|
|
+ }
|
|
|
+ }catch(error){
|
|
|
+ console.log('=============>', error.msg)
|
|
|
+ }
|
|
|
},
|
|
|
- getUserClubRemarksDetail(remarksId) {
|
|
|
+ async getUserClubRemarksDetail(remarksId) {
|
|
|
//修改回显资料备注信息
|
|
|
- this.UserService.getUserClubRemarksDetail({
|
|
|
- remarksId: remarksId
|
|
|
- })
|
|
|
- .then(response => {
|
|
|
- let data = response.data
|
|
|
- this.clubUserId = data.userId
|
|
|
- this.remarksList = data.remarks.map((el, index) => {
|
|
|
- el.isAssociation = false
|
|
|
- return el
|
|
|
- })
|
|
|
- this.remarksParams.remarksId = data.remarksId
|
|
|
- this.remarksParams.extra = data.extra
|
|
|
- this.remarksParams.clubType = data.clubType
|
|
|
- this.remarksParams.pinceSensitve = data.pinceSensitve
|
|
|
- this.remarksParams.satisfied = data.satisfied
|
|
|
- this.remarksParams.followup = data.followup
|
|
|
- this.remarksParams.fileList = data.fileList
|
|
|
- this.remarksParams.imageList = data.imageList
|
|
|
- this.remarksParams.productId = data.productId
|
|
|
- if (this.handleType == 'edit') {
|
|
|
- if(data.reportId){
|
|
|
- this.isHashReport = true
|
|
|
- this.remarksParams.reportId = data.reportId
|
|
|
- }
|
|
|
- this.remarksParams.questionMan = data.questionMan
|
|
|
- this.remarksParams.consult = data.consult
|
|
|
- this.checkedCategorysList = data.consult.split(',').map(i => parseInt(i, 0))
|
|
|
- this.categorys = this.categorys.map((el, index) => {
|
|
|
- if (data.consult.includes(el.id)) {
|
|
|
- el.isChecked = true
|
|
|
- } else {
|
|
|
- el.isChecked = false
|
|
|
- }
|
|
|
- return el
|
|
|
- })
|
|
|
+ try{
|
|
|
+ const res = await this.UserService.getUserClubRemarksDetail({ remarksId: remarksId })
|
|
|
+ const data = res.data
|
|
|
+ this.clubUserId = data.userId
|
|
|
+ this.remarksList = data.remarks.map((el, index) => {
|
|
|
+ el.isAssociation = false
|
|
|
+ return el
|
|
|
+ })
|
|
|
+ this.remarksParams.remarksId = data.remarksId
|
|
|
+ this.remarksParams.extra = data.extra
|
|
|
+ this.remarksParams.clubType = data.clubType
|
|
|
+ this.remarksParams.pinceSensitve = data.pinceSensitve
|
|
|
+ this.remarksParams.satisfied = data.satisfied
|
|
|
+ this.remarksParams.followup = data.followup
|
|
|
+ this.remarksParams.fileList = data.fileList
|
|
|
+ this.remarksParams.imageList = data.imageList
|
|
|
+ this.remarksParams.productId = data.productId
|
|
|
+ if (this.handleType == 'edit') {
|
|
|
+ if (data.reportId) {
|
|
|
+ this.isHashReport = true
|
|
|
+ this.remarksParams.reportId = data.reportId
|
|
|
}
|
|
|
- if(data.productId){
|
|
|
- let pro = {
|
|
|
- image:data.mainImage,
|
|
|
- name:data.productName,
|
|
|
- shopName:data.shopName
|
|
|
+ this.remarksParams.questionMan = data.questionMan
|
|
|
+ this.remarksParams.consult = data.consult
|
|
|
+ this.checkedCategorysList = data.consult.split(',').map(i => parseInt(i, 0))
|
|
|
+ this.categorys = this.categorys.map((el, index) => {
|
|
|
+ if (data.consult.includes(el.id)) {
|
|
|
+ el.isChecked = true
|
|
|
+ } else {
|
|
|
+ el.isChecked = false
|
|
|
}
|
|
|
- this.handleGoods.push(pro)
|
|
|
+ return el
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if (data.productId) {
|
|
|
+ let pro = {
|
|
|
+ image: data.mainImage,
|
|
|
+ name: data.productName,
|
|
|
+ shopName: data.shopName
|
|
|
}
|
|
|
- this.reportText = data.reportText ? data.reportText : ''
|
|
|
- this.priceFlagText = this.pinceFilters(data.pinceSensitve)
|
|
|
- this.intenFlagText = this.intenActionsFilters(data.satisfied)
|
|
|
- this.followStateText = this.followupFilters(data.followup)
|
|
|
- this.getCulbInfo()
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- this.$util.msg(error.msg, 2000)
|
|
|
- })
|
|
|
+ this.handleGoods.push(pro)
|
|
|
+ }
|
|
|
+ this.reportText = data.reportText ? data.reportText : ''
|
|
|
+ this.priceFlagText = this.pinceFilters(data.pinceSensitve)
|
|
|
+ this.intenFlagText = this.intenActionsFilters(data.satisfied)
|
|
|
+ this.followStateText = this.followupFilters(data.followup)
|
|
|
+ this.getCulbInfo(data.userId)
|
|
|
+ }catch(error){
|
|
|
+ this.$util.msg(error.msg, 2000)
|
|
|
+ }
|
|
|
},
|
|
|
- getUserClubConsults() {
|
|
|
+ async getUserClubConsults() {
|
|
|
//查询咨询类别
|
|
|
- this.UserService.getUserClubConsults()
|
|
|
- .then(response => {
|
|
|
- this.categorys = response.data.map((el, index) => {
|
|
|
- el.isChecked = false
|
|
|
- return el
|
|
|
- })
|
|
|
+ try{
|
|
|
+ const res = await this.UserService.getUserClubConsults()
|
|
|
+ const data = res.data
|
|
|
+ this.categorys = data.map((el, index) => {
|
|
|
+ el.isChecked = false
|
|
|
+ return el
|
|
|
})
|
|
|
- .catch(error => {
|
|
|
- console.log('=========>获取咨询类别列表失败')
|
|
|
- })
|
|
|
- },
|
|
|
- bindRemarkAction(index, event) {
|
|
|
- this.assActionList = []
|
|
|
- this.checkRemarkIndex = index
|
|
|
- if (event.detail.value != '') {
|
|
|
- this.UserService.getCmremarkslist({ remarks: event.detail.value })
|
|
|
- .then(response => {
|
|
|
- if (response.data && response.data.length > 0) {
|
|
|
- this.assActionList = response.data
|
|
|
- this.remarksList[index].isAssociation = true
|
|
|
- } else {
|
|
|
- this.assActionList = []
|
|
|
- this.remarksList[index].isAssociation = false
|
|
|
- }
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- console.log('=========>获取关键词联想失败')
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.remarksList[index].isAssociation = false
|
|
|
+ }catch(error){
|
|
|
+ console.log('=========>获取咨询类别列表失败')
|
|
|
}
|
|
|
},
|
|
|
- hideAssAction(item, event) {
|
|
|
- //隐藏对应的联想弹窗
|
|
|
- item.isAssociation = false
|
|
|
- },
|
|
|
- SelectAssociationFn(ass, item) {
|
|
|
- //选择关键词
|
|
|
- item.isAssociation = false
|
|
|
- item.label = ass
|
|
|
- },
|
|
|
- addListFn(item, index) {
|
|
|
- //添加
|
|
|
- let obj = { label: '', isAssociation: false }
|
|
|
- item.isAssociation = false
|
|
|
- this.remarksList.push(obj)
|
|
|
- },
|
|
|
- deleteLogistItemFn(item, index) {
|
|
|
- this.remarksList.splice(index, 1)
|
|
|
- },
|
|
|
bindPickerChange(type, e) {
|
|
|
//选择筛选条件
|
|
|
switch (type) {
|
|
@@ -496,6 +574,22 @@ export default {
|
|
|
this.followStateText = this.stateActions[e.target.value].name
|
|
|
this.remarksParams.followup = this.stateActions[e.target.value].value
|
|
|
break
|
|
|
+ case 4: // 客户来源
|
|
|
+ this.sourceStateText = this.stateActions[e.target.value].name
|
|
|
+ this.remarksParams.followup = this.stateActions[e.target.value].value
|
|
|
+ break
|
|
|
+ case 5: // 客户性别
|
|
|
+ this.genderText = this.stateActions[e.target.value].name
|
|
|
+ this.remarksParams.followup = this.stateActions[e.target.value].value
|
|
|
+ break
|
|
|
+ case 6: // 客户年龄
|
|
|
+ this.ageText = this.stateActions[e.target.value].name
|
|
|
+ this.remarksParams.followup = this.stateActions[e.target.value].value
|
|
|
+ break
|
|
|
+ case 7: // 加群请假
|
|
|
+ this.additiveText = this.stateActions[e.target.value].name
|
|
|
+ this.remarksParams.followup = this.stateActions[e.target.value].value
|
|
|
+ break
|
|
|
}
|
|
|
},
|
|
|
async editButtonConfim() {
|
|
@@ -513,13 +607,13 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
//统一处理关键词
|
|
|
- let remarksList = []
|
|
|
- for (const el of this.remarksList) {
|
|
|
+ let staticLabelsList = []
|
|
|
+ for (const el of this.staticLabelsList) {
|
|
|
if (el.label != '') {
|
|
|
- remarksList.push(el.label)
|
|
|
+ staticLabelsList.push(el.label)
|
|
|
}
|
|
|
}
|
|
|
- if (remarksList.length == 0) {
|
|
|
+ if (staticLabelsList.length == 0) {
|
|
|
this.$util.msg('请输入关键词记录', 2000)
|
|
|
return
|
|
|
}
|
|
@@ -535,7 +629,7 @@ export default {
|
|
|
this.$util.msg('请选择跟进状态', 2000)
|
|
|
return
|
|
|
}
|
|
|
- this.remarksParams.remarks = JSON.stringify(remarksList)
|
|
|
+ this.remarksParams.remarks = JSON.stringify(staticLabelsList)
|
|
|
console.log('remarksParams', this.remarksParams)
|
|
|
this.remarksParams.serviceProviderId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
|
|
|
this.isConfirmLoding = true
|
|
@@ -921,6 +1015,27 @@ page {
|
|
|
box-sizing: border-box;
|
|
|
margin-bottom: 30rpx;
|
|
|
position: relative;
|
|
|
+ .list-label-list{
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .list-label{
|
|
|
+ display: inline-block;
|
|
|
+ padding: 0 20rpx;
|
|
|
+ height: 48rpx;
|
|
|
+ line-height: 48rpx;
|
|
|
+ background: #F7F7F7;
|
|
|
+ text-align: center;
|
|
|
+ margin-right: 20rpx;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #666666;
|
|
|
+ &.active{
|
|
|
+ background: #FEF6F3;
|
|
|
+ color: #FF5B00;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
.list-view-list {
|
|
|
width: 100%;
|
|
|
height: 90rpx;
|
|
@@ -985,7 +1100,7 @@ page {
|
|
|
font-size: $font-size-48;
|
|
|
}
|
|
|
.icon-shanchu4 {
|
|
|
- color: #FF5B00;
|
|
|
+ color: #ff5b00;
|
|
|
font-size: $font-size-48;
|
|
|
}
|
|
|
}
|
|
@@ -994,6 +1109,12 @@ page {
|
|
|
.remarks-category {
|
|
|
width: 100%;
|
|
|
float: left;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+ .label {
|
|
|
+ color: #666666;
|
|
|
+ font-size: 28rpx;
|
|
|
+ margin-right: 50rpx;
|
|
|
+ }
|
|
|
.checkbox-list {
|
|
|
height: 60rpx;
|
|
|
font-size: $font-size-28;
|
|
@@ -1005,7 +1126,7 @@ page {
|
|
|
float: left;
|
|
|
.icon-yixuanze {
|
|
|
margin-right: 10rpx;
|
|
|
- color: #FF5B00;
|
|
|
+ color: #ff5b00;
|
|
|
}
|
|
|
.icon-weixuanze {
|
|
|
margin-right: 10rpx;
|
|
@@ -1103,7 +1224,7 @@ page {
|
|
|
border-radius: 8rpx;
|
|
|
background-color: #fff2ec;
|
|
|
font-size: $font-size-24;
|
|
|
- color: #FF5B00;
|
|
|
+ color: #ff5b00;
|
|
|
line-height: 44rpx;
|
|
|
text-align: center;
|
|
|
float: left;
|
|
@@ -1179,7 +1300,7 @@ page {
|
|
|
height: 88rpx;
|
|
|
line-height: 88rpx;
|
|
|
text-align: center;
|
|
|
- color: #FF5B00;
|
|
|
+ color: #ff5b00;
|
|
|
font-size: $font-size-24;
|
|
|
}
|
|
|
.edit-button {
|