Commit 4575644a by xinla

--no commit message

1 parent 9e4eb267
...@@ -61,8 +61,8 @@ li { ...@@ -61,8 +61,8 @@ li {
.flex { .flex {
display: flex; display: flex;
} }
.flex1 { .fxat {
flex: 1; flex: auto;
} }
.fxbw { .fxbw {
display: flex; display: flex;
......
<template> <template>
<div class="flex" v-loading="loading"> <div class="flex" v-loading="loading">
<el-form :model="form" ref="form" :rules="rules" label-width="100px" class="g-card flex1 mr20"> <el-form :model="form" ref="form" :rules="rules" label-width="100px" class="g-card fxat mr20">
<el-form-item label="活码名称" prop="taskName"> <el-form-item label="活码名称" prop="taskName">
<el-input v-model="form.taskName" maxlength="30" show-word-limit placeholder="请输入名称" clearable /> <el-input v-model="form.taskName" maxlength="30" show-word-limit placeholder="请输入名称" clearable />
</el-form-item> </el-form-item>
......
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
<template> <template>
<div class="flex" v-loading="loading"> <div class="flex" v-loading="loading">
<el-form :model="form" ref="form" :rules="rules" label-width="100px" class="g-card flex1 mr20"> <el-form :model="form" ref="form" :rules="rules" label-width="100px" class="g-card fxat mr20">
<el-form-item label="活码名称" prop="codeName"> <el-form-item label="活码名称" prop="codeName">
<el-input v-model="form.codeName" maxlength="30" show-word-limit placeholder="请输入" clearable></el-input> <el-input v-model="form.codeName" maxlength="30" show-word-limit placeholder="请输入" clearable></el-input>
</el-form-item> </el-form-item>
......
<template> <template>
<div class="flex" v-loading="loading"> <div class="flex" v-loading="loading">
<el-form :model="form" ref="form" :rules="rules" label-width="100px" class="g-card flex1 mr20"> <el-form :model="form" ref="form" :rules="rules" label-width="100px" class="g-card fxat mr20">
<el-form-item label="任务名称" prop="taskName"> <el-form-item label="任务名称" prop="taskName">
<el-input <el-input
type="textarea" type="textarea"
......
<script> <script>
import { updateBirthday, getDetail, getSummary, getFollowUpRecord, getCustomerInfoByUserId } from '@/api/customer' import { updateBirthday, getDetail, getSummary, getFollowUpRecord, getCustomerInfoByUserId } from '@/api/customer'
import { getList } from '@/api/salesCenter/businessConver.js' import { getList } from '@/api/salesCenter/businessConver.js'
import { dictAddType, dictJoinGroupType, dictTrackState } from '@/utils/dictionary' import { dictAddType, dictJoinGroupType, dictTrackState } from '@/utils/dictionary'
import InfoTab from './customer/infoTab.vue' import InfoTab from './customer/infoTab.vue'
export default { export default {
name: 'CustomerDetail', name: 'CustomerDetail',
components: { InfoTab }, components: { InfoTab },
data() { data() {
...@@ -18,14 +18,14 @@ ...@@ -18,14 +18,14 @@
pickerOptions: { pickerOptions: {
disabledDate(time) { disabledDate(time) {
return time.getTime() > Date.now() return time.getTime() > Date.now()
} },
}, },
dictAddType, dictAddType,
dictJoinGroupType, dictJoinGroupType,
dictTrackState, dictTrackState,
active: 0, active: 0,
openedTabs: ['0'] openedTabs: ['0'],
} }
}, },
created() { created() {
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
}, },
changeTab(tab) { changeTab(tab) {
this.openedTabs.includes(tab.$attrs.id) || this.openedTabs.push(tab.$attrs.id) this.openedTabs.includes(tab.$attrs.id) || this.openedTabs.push(tab.$attrs.id)
} },
// remark(item) { // remark(item) {
// return ( // return (
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
// this.customer.customerName + (item.remarkCorpName ? '-' + item.remarkCorpName : '') // this.customer.customerName + (item.remarkCorpName ? '-' + item.remarkCorpName : '')
// ) // )
// } // }
} },
} }
</script> </script>
<template> <template>
...@@ -166,13 +166,11 @@ ...@@ -166,13 +166,11 @@
v-for="(item, index) of customer.trackUsers" v-for="(item, index) of customer.trackUsers"
:key="index" :key="index"
:label="item.userName" :label="item.userName"
:id="item.trackUserId" :id="item.trackUserId">
>
<info-tab <info-tab
v-if="openedTabs.includes(item.trackUserId)" v-if="openedTabs.includes(item.trackUserId)"
:stageList="stageList" :stageList="stageList"
:userId="item.trackUserId" :userId="item.trackUserId"></info-tab>
></info-tab>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -180,20 +178,21 @@ ...@@ -180,20 +178,21 @@
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.avatar { .avatar {
width: 80px; width: 80px;
height: 80px; height: 80px;
border-radius: var(--border-radius-big); border-radius: var(--border-radius-big);
} flex: none;
.info-wrap { }
.info-wrap {
margin-left: 20px; margin-left: 20px;
.info { .info {
color: #aaa; color: #aaa;
line-height: 32px; line-height: 32px;
} }
} }
.el-icon-s-custom { .el-icon-s-custom {
font-size: 16px; font-size: 16px;
margin-left: 4px; margin-left: 4px;
color: #999; color: #999;
...@@ -203,8 +202,8 @@ ...@@ -203,8 +202,8 @@
&.woman { &.woman {
color: #f753b2; color: #f753b2;
} }
} }
.g-card-title { .g-card-title {
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </style>
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
</script> </script>
<template> <template>
<div class="flex" v-loading="loading"> <div class="flex" v-loading="loading">
<el-form :model="form" ref="form" label-width="100px" class="g-card flex1 mr20"> <el-form :model="form" ref="form" label-width="100px" class="g-card fxat mr20">
<el-form-item label="类型" prop="codeType"> <el-form-item label="类型" prop="codeType">
<el-radio-group v-model="form.codeType" @change="codeTypeChange"> <el-radio-group v-model="form.codeType" @change="codeTypeChange">
<el-radio v-for="(value, key, index) in type" :key="index" :label="+key">{{ value }}</el-radio> <el-radio v-for="(value, key, index) in type" :key="index" :label="+key">{{ value }}</el-radio>
......
<template> <template>
<div> <div>
<div class="tab flex"> <div class="tab flex">
<div class="g-card mr20 flex1"> <div class="g-card mr20 fxat">
<div class="g-card-title"> <div class="g-card-title">
门店导购码 门店导购码
<span class="desc mr10">根据客户最近位置,引导添加最近门店的导购</span> <span class="desc mr10">根据客户最近位置,引导添加最近门店的导购</span>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="g-card mt0 flex1"> <div class="g-card mt0 fxat">
<div class="g-card-title"> <div class="g-card-title">
门店群活码 门店群活码
<span class="desc mr10">根据客户最近位置,引导添加最近门店的客户群</span> <span class="desc mr10">根据客户最近位置,引导添加最近门店的客户群</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!