|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589 |
- <template>
- <view>
- <view class="timetabct">
- <view class="timetabctview">
- <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">7天</view>
- </view>
- <view class="timetabctview">
- <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">15天</view>
- </view>
- <view class="timetabctview">
- <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">30天</view>
- </view>
- </view>
-
- <view class="timepick">
- <view class="timepicktime">
- <view @click="tabtimetap(3)">{{sheartime1}}</view>
- <view>
- <image class="Underimg" src="../../../static/images/Underimg.png" mode=""></image>
- </view>
- </view>
- <view class="timepickpick">
- <view @click="checkboxChange()" style="width: 40rpx;height:40rpx;border: 1rpx solid #E0E0E0;">
- <image v-if="timepickpickisshow" style="width: 40rpx;height: 40rpx;"
- src="../../../static/images/xuanzhong.png" mode=""></image>
- </view>
- <view style="font-size:26rpx;text-indent: 12rpx;">对比</view>
- </view>
- <view class="timepicktime" v-if="timepickpickisshow">
- <view @click="tabtimetap(4)">{{sheartime2}}</view>
- <view>
- <image class="Underimg" src="../../../static/images/Underimg.png" mode=""></image>
- </view>
- </view>
- </view>
-
- <view class="timeduibi">
- <view class="timeshow">数据起始时间:<text style="color: #333333;">{{kanbanlist.kaishitime}}</text></view>
- <view class="timeshow" v-if="kanbanlist.duibitime.length!=0">
- 数据对比时间:
- <text style="color: #333333;">{{kanbanlist.duibitime}}</text>
- </view>
- </view>
-
- <!-- 简报 -->
- <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
- <view class="boxzonglan" style="min-height: 100rpx;">
- <view class="zonglantit">简报</view>
- <view class="zonglanbox">
- <view class="grid" v-for="(item,index) in numlist" :key="index"
- style="height: auto;padding-bottom: 20rpx;">
- <view class="audonum" v-if="item.name=='接待时长'">{{item.name}}/分</view>
- <view class="audonum" v-else>{{item.name}}</view>
- <view class="num">
- <view v-if="index==1" style="width: 35%;">
- {{item.num>100?100:item.num}}%
- </view>
- <view v-else style="width: 35%;">
- {{item.num||0}}
- </view>
- <view class="comparesize" v-if="compareFlag&&timepickpickisshow">
- <text style="margin-right: 10rpx;">对比:{{index==1?item.num1+'%':item.num1}} </text>
- <template v-if="item.num2*1 != 0">
- <text :style="{color:item.num2*1>0?'red':'green'}">
- {{item.num2}}{{ item.name == '平均执行率' ? "%" : "" }}{{item.num2*1 > 0 ? '↑':'↓'}}</text>
- </template>
- <template v-else>
- <text
- :style="{color:item.num2*1>0?'red':'green'}">{{item.num2}}{{ item.name == '平均执行率' ? "%" : "" }}</text>
- </template>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
- <view class="boxtittab" style="border: none;height: 82rpx;">
- <view class="tabbox">
- <view :class="{ activecllasscet2: newactiveTotal == 0 }" @click="tabxuanxiangtap(0)">项目</view>
- </view>
- <view class="tabbox">
- <view :class="{ activecllasscet2: newactiveTotal == 1 }" @click="tabxuanxiangtap(1)">顾问</view>
- </view>
- <view class="tabbox">
- <view :class="{ activecllasscet2: newactiveTotal == 2 }" @click="tabxuanxiangtap(2)">团队</view>
- </view>
-
- <view class="tabbox">
- <view :class="{ activecllasscet2: newactiveTotal == 3 }" @click="tabxuanxiangtap(3)">销讲一级</view>
- </view>
- <view class="tabbox">
- <view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view>
- </view>
- </view>
-
-
- <view class="chart">
-
- <view style="display: flex;padding: 0 0 40rpx 0;justify-content: center;">
- <view class="marketingBusiness">
- <view class="marketingBusinesstext" style="min-width: 50rpx;" @click="showMarketingBusiness = true">
- {{ marketingBusinessText }}
- <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
- </view>
- </view>
- <view
- style="margin: 0 20rpx 0 0;flex-shrink: 0;display: flex;align-items: center;justify-content: center;position: relative;z-index: 999999;"
- v-if="Selecttuandui&&Selecttuanduiobj.name" @click="oninputtap4()">
- <view class="title2-che" style="width: 220rpx;">
- {{Selecttuanduiobj.name}}
- <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
- </view>
- </view>
- <view style="display: flex;justify-content:center;padding-left: 30rpx;padding-right: 30rpx;"
- v-if="lopanobj.name && newactiveTotal == 1" @click="oninputtap()">
- <view class="title2-che" style="width: 220rpx;">{{lopanobj.name}}
- <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
- </view>
- </view>
- </view>
-
- <view style="padding: 30rpx;padding-bottom: 20rpx;align-items: center;" v-if="Selectlevel">
- <view style="display: flex;align-items: center;border-bottom: 1px solid #C9C9C9;height: 80rpx;">
- <view>选择一级:</view>
- <view style="width:75%;">
- <input @click="oninputtap2()" v-model="Selectlevelobj.name" type="text" disabled="true"
- :border="border" placeholder="请选择" />
- </view>
- <view>
- <image src="https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/qf/more.png"
- style="width:12rpx;height:23rpx;margin-left: 16rpx;">
- </view>
- </view>
-
-
- <view style="display: flex;align-items: center;border-bottom: 1px solid #C9C9C9;height: 80rpx;">
- <view>选择二级:</view>
- <view style="width:75%;">
- <input @click="oninputtap3()" v-model="erSelectlevelobj.name" type="text" disabled="true"
- :border="border" placeholder="请选择" />
- </view>
- <view>
- <image src="https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/qf/more.png"
- style="width:12rpx;height:23rpx;margin-left: 16rpx;">
- </view>
- </view>
- </view>
-
-
- <view class="single">
- <view class="uchaserbox" :class="{ uchaserboxs : newactiveTotal == 1 || newactiveTotal == 3 }"
- v-if="lineOptsect.series.length!=0">
- <qiun-data-charts :style="!showCanvas?'display:none':''" :type="linetype" :chartData="lineOptsect"
- background="none" :ontouch="true" canvasId="wangxiaohuaerlingeryilingwuyibao" :opts="opts"
- :canvas2d="true" />
- </view>
- <view v-else style="width: 100%;">
- <view style="width: 100%;text-align: center;">
- <image style="width: 200rpx;height: 200rpx;"
- src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
- </view>
- <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
- </view>
- </view>
- </view>
-
- <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
- <view class="single" v-if="timepickpickisshow">
- <view class="title">
- <view class="title1">对比报表</view>
- </view>
- <view class="table" v-if="!guwenFlag">
- <view v-for="(item,index) in tableDate" :key="index">
- <view class="tr">
- <view v-for="(item1,index1) in item" :key="index" style="width: 100%;">
- <view v-if="index1<item.length-1||index==0" class="td"
- style="border-right:1px solid #E0E0E0;">{{item1}}</view>
- <view v-if="index>0 && index1==item.length-1" class="td"
- style="border-right:1px solid #E0E0E0;" :style="{color:item1*1>0?'red':'green'}">
- {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="table" v-if="guwenFlag" style="width: 100%;">
- <scroll-view scroll-x="true" style="white-space: nowrap;">
- <view v-for="(item,index) in tableDate" :key="index"
- :style="{display:index==0?'inline-block':'block'}">
- <view class="tr" style="display: inline-block;">
- <view v-for="(item1,index1) in item" :key="index1" class="trd"
- style="display: inline-block;">
- <view v-if="index==1&&index1>0" class="td" :style="{color:item1*1>0?'red':'green'}"
- style="border-right:1px solid #E0E0E0;">
- {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
- </view>
- <view v-else-if="index>1&&index1>0" class="td" style="border-right:1px solid #E0E0E0;">
- {{item1+'%'}}
- </view>
- <view v-else class="td" style="border-right:1px solid #E0E0E0;">{{item1}}</view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
-
- </view>
- <view style="width: 100%;height: 60rpx;"></view>
- <u-select v-model="Showhiddenunits" mode="single-column" :list="selectlist" @confirm="confirm"
- :default-value="selindexList">
- </u-select>
- <u-select v-model="Showhiddenunits2" mode="single-column" :list="selectlist2" @confirm="confirm2"
- :default-value="selindex">
- </u-select>
- <u-select v-model="Showhiddenunits3" mode="single-column" :list="selectlist3" @confirm="confirm3"
- :default-value="selindex">
- </u-select>
- <u-select v-model="Showhiddenunits4" mode="single-column" :list="selectlist4" @confirm="confirm4"
- :default-value="selindexList4">
- </u-select>
- <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
- <newcalendar v-model="totalTimeShow2" :planNum='intervaltime' mode="date" @change="totalTimeChange2">
- </newcalendar>
-
- <!-- 接待时间 -到访时间-->
- <u-popup v-model="timeshow" mode="bottom">
- <view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }"
- @click="tabtimetap(5, '接待时间')">
- 全部</view>
- <view class="timeview" :style="{ color: activeTotal == 0 ? '#2B6EFF' : '#333333' }"
- @click="tabtimetap(0, '今天')">
- 今天</view>
- <view class="timeview" :style="{ color: activeTotal == 1 ? '#2B6EFF' : '#333333' }"
- @click="tabtimetap(1, '昨天')">
- 昨天</view>
- <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }"
- @click="tabtimetap(2, '近7天')">
- 近7天</view>
- <view class="timeview" :style="{ color: activeTotal == 3 ? '#2B6EFF' : '#333333' }"
- @click="tabtimetap(3, '近30天')">
- 近30天</view>
- <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }"
- @click="tabtimetap(4, '')">
- 自定义</view>
- </u-popup>
-
- <!-- 顾问 -->
- <u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select>
- <!-- 全部话术 -->
- <u-select v-model="huashushow" :list="huashuList" @confirm="actionSelectCallback1"></u-select>
-
- <u-select v-model="showMarketingBusiness" mode="single-column" :list="showMarketingList"
- label-name="templateName" value-name="id" @confirm="selectMarketingBusiness"></u-select>
-
- <!-- 加载组件 -->
- <loading v-model="LOADING"></loading>
- </view>
-
- </template>
- <script>
- import newcalendar from '@/components/newcalendar/newcalendar.vue';
- import loading from "@/components/loading/index.vue"
- export default {
- components: {
- newcalendar,
- loading
- },
- data() {
- return {
- time: '接待时间',
- team: '部门',
- guwen: '顾问',
- huashu: '全部话术',
- huashuList: false,
- huashuShow: false,
- freeList: [], //顾问
- selindexList: [0], // 默认选中第一项
- selindexList4: [0], // 默认选中第一项
- compareFlag: false,
- numlist: [{
- name: '接待量',
- num: '10',
- num1: '0',
- num2: '0'
- },
- {
- name: '平均执行率',
- num: '10',
- num1: '0',
- num2: '0'
- },
- {
- name: '接待时长',
- num: '10',
- num1: '0',
- num2: '0'
- },
- ],
- activeTotal: 0, //时间下标
- newactiveTotal: 0, //tab下标
- totalTimeShow: false,
- totalTimeShow2: false,
- totalTimeShow3: false,
- cWidth: uni.upx2px(690),
- cHeight: uni.upx2px(453),
- AcHeight: uni.upx2px(500),
- kanbanlist: { //录音和测评的数据
- kaishitime: '',
- duibitime: '',
- audonum: '',
- audotime: "",
- avgDuration: '',
- fraction: ''
- },
- pamect: { //接口参数
- houseId: '',
- timeType: "4",
- firstStartDate: '', //第一次开始时间
- firstEndDate: '', //第一次结束时间
- lastStartDate: '',
- lastEndDate: '',
- accountId: '', //顾问ids
- marketingId: '', //二级销讲id
- deptId: "", //部门id
- showStatus: 0,
- marketingBusiness: '',
- },
- linetype: "line",
- lineOptsect: {}, //图表数据
- Showhiddenunits: false,
- selectlist: [],
- lopanobj: {
- id: '',
- name: ''
- },
- //二级相关
- Selectlevel: false,
- Selectlevelobj: {
- id: '',
- name: ''
- },
- erSelectlevelobj: {
- id: '',
- name: ''
- },
- Showhiddenunits2: false,
- Showhiddenunits3: false,
- selectlist2: [],
- selectlist3: [],
- //团队相关
- Selecttuandui: false,
- selectlist4: [],
- Selecttuanduiobj: {
- id: '',
- name: ''
- },
- Showhiddenunits4: false,
- showCanvas: true,
- timepickpickisshow: false,
- sheartime1: "",
- sheartime2: "",
- intervaltime: 0,
- tableDate: [],
- guwenFlag: false,
- opts: {}, // 配置项为空
-
- marketingBusinessText: '请选择销讲业务',
- showMarketingBusiness: false, // 展示可选择的销讲业务
- showMarketingList: [], // 销讲业务列表
- marketingBusiness: '', // 销讲业务
- };
-
- },
- onLoad(option) {
- this.LOADING = true
- this.pamect.houseId = uni.getStorageSync('buildingID').id;
- this.getFreeList()
- this.getMarketingBusiness()
-
- if (option.type == 1) {
- this.timepickpickisshow = true
- this.pamect.firstStartDate = option.staTime
- this.pamect.firstEndDate = option.endtime
- this.pamect.lastStartDate = option.staTime1
- this.pamect.lastEndDate = option.endtime1
- this.pamect.timeType = ''
- this.sheartime1 =
- `${this.fomatDate(this.pamect.firstStartDate)}-${this.fomatDate(this.pamect.firstEndDate)}`
- this.sheartime2 = `${this.fomatDate(this.pamect.lastStartDate)}-${this.fomatDate(this.pamect.lastEndDate)}`
- this.tabxuanxiangtap(3)
- this.$forceUpdate()
- } else {
- this.init()
- }
- },
- onPullDownRefresh() {
- this.init()
- setTimeout(function() {
- uni.stopPullDownRefresh();
- }, 1000);
- },
- watch: {
- Showhiddenunits(newValue, oldValue) {
- this.showCanvas = !newValue
- },
- Showhiddenunits2(newValue, oldValue) {
- this.showCanvas = !newValue
- },
- Showhiddenunits3(newValue, oldValue) {
- this.showCanvas = !newValue
- },
- Showhiddenunits4(newValue, oldValue) {
- this.showCanvas = !newValue
- },
-
- totalTimeShow(newValue, oldValue) {
- this.showCanvas = !newValue
- },
- totalTimeShow2(newValue, oldValue) {
- this.showCanvas = !newValue
- },
- totalTimeShow3(newValue, oldValue) {
- this.showCanvas = !newValue
- },
- },
- methods: {
- // 顾问
- actionSelectCallback(e) {
- // this.screen.agentId = e[0].value;
- // this.counselorName = e[0].label;
- },
- // 话术
- actionSelectCallback1(e) {
- // this.screen.agentId = e[0].value;
- // this.counselorName = e[0].label;
- },
-
- // 获取销讲业务模板
- getMarketingBusiness() {
- this.$u.get("/customer/marketingBusiness", {
- houseId: this.pamect.houseId
- }).then(res => {
- console.log(res)
- if (res) {
- this.showMarketingList = res
- this.showMarketingList.unshift({
- templateName: '全部',
- id: ''
- })
- }
- })
- },
-
- // 选择趋势分析
- selectMarketingBusiness(e) {
- this.marketingBusinessText = e[0].label
- this.marketingBusiness = e[0].value
- this.init()
- },
-
- // 获取一级
- getAllYiJi() {
- this.speakingLevel()
- },
-
- // 获取二级
- getAllErJi() {
- if (this.pamect.marketingId == '') {
- this.getonsyiji()
- } else {
- this.aboutEecondary()
- }
- },
-
- //获取顾问列表
- getFreeList() {
- this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
- houseId: this.pamect.houseId
- }).then(res => {
- this.freeList = res;
- this.huashuList = res;
- if (this.freeList.length) {
- this.freeList.forEach(item => {
- item.label = item.name;
- item.value = item.accountId
- })
- }
- })
- },
-
- // 时间格式转换
- fomatDate(date) {
- if (!date) return '--'
- let arr = date.split(' ')
- let str = arr[0]
- let result = str.split('-')
- return `${result[1]}-${result[2]}`
- },
-
- //是否对比
- checkboxChange() {
- if (this.newactiveTotal == 3) {
- uni.showToast({
- title: '销讲一级无对比',
- duration: 2000
- });
- return
- }
- if (this.newactiveTotal == 2) {
- if (this.Selecttuanduiobj.id == '') {
- uni.showToast({
- title: '全部团队无对比',
- duration: 2000
- });
- return
- }
- }
-
- if (this.timepickpickisshow == true) {
- this.timepickpickisshow = false;
- this.pamect.showStatus = 0;
- this.init()
- } else {
- this.timepickpickisshow = true;
- this.pamect.showStatus = 1;
- }
- this.activeTotal = 8;
- },
-
- init() {
- this.pamect.marketingBusiness = this.marketingBusiness
- this.$u.post("/cusLvStatistics/lyAndcp", this.pamect).then(data => {
- this.pamect.lastStartDate = data.lastStartDate;
- this.pamect.lastEndDate = data.lastEndDate;
- this.numlist[0].num = data.startSumCustomer || 0
- this.numlist[1].num = data.startFraction || 0
-
- this.numlist[2].num = Math.floor(data.startSumDuration / 60) || 0;
- if (data.endSumDuration != null) {
- this.compareFlag = true
- this.numlist[0].num1 = data.endSumCustomer || 0
- this.numlist[1].num1 = data.endFraction || 0
- this.numlist[2].num1 = Math.floor(data.endSumDuration / 60) || 0;
- this.numlist[0].num2 = data.contrastSumCustomer
- this.numlist[1].num2 = data.contrastFraction || 0
- this.numlist[2].num2 = data.contrastSumDuration
- } else {
- this.compareFlag = false
- }
- this.sheartime1 = data.lastStartDate.substring(5, 10) + "--" + data.lastEndDate.substring(5,
- 10);
- this.sheartime2 = '请选择';
- this.kanbanlist.duibitime = '';
- var kaishi = this.DateDiff(data.lastStartDate, data.lastEndDate);
- this.kanbanlist.kaishitime = data.lastStartDate + "至" + data.lastEndDate + "(" + kaishi + "天)";
- if (this.pamect.showStatus == 1) {
- this.sheartime2 = data.firstStartDate.substring(5, 10) + "--" + data.firstEndDate
- .substring(5, 10);
- var jeishu = this.DateDiff(data.firstStartDate, data.firstEndDate);
- this.kanbanlist.duibitime = data.firstStartDate + "至" + data.firstEndDate + "(" + jeishu +
- "天)";
- }
- this.kanbanlist.audonum = data.sumCustomer;
- this.kanbanlist.audotime = data.avgDuration;
- this.kanbanlist.avgDuration = data.fraction;
- this.kanbanlist.fraction = data.fraction;
-
- if (this.newactiveTotal == 0) {
- this.ProjectDimension()
- } else if (this.newactiveTotal == 1) {
- console.log(this.pamect.accountId)
- if (this.pamect.accountId == "") {
- this.getguwenlist()
- } else {
- this.ConsultantDimension()
- }
- } else if (this.newactiveTotal == 2) {
- if (this.pamect.deptId == "") {
- this.getuanduilist()
- } else {
- this.TeamCompared()
- }
- } else if (this.newactiveTotal == 3) {
- this.speakingLevel()
- } else {
- if (this.pamect.marketingId == '') {
- this.getonsyiji()
- } else {
- this.aboutEecondary()
- }
- }
- setTimeout(() => {
- this.$forceUpdate()
- this.LOADING = false
- }, 1500)
-
- }).catch(e => {
- this.LOADING = false
- })
- },
- //起始时间
- totalTimeChange(e) {
- this.pamect.lastStartDate = e.startDate;
- this.pamect.lastEndDate = e.endDate;
- var kaishi = this.DateDiff(this.pamect.lastStartDate, this.pamect.lastEndDate)
- this.kanbanlist.kaishitime = this.pamect.lastStartDate + "至" + this.pamect.lastEndDate + "(" + kaishi +
- "天)";
-
- if (this.pamect.showStatus == 0) {
- this.init()
- this.totalTimeShow = false;
- } else {
- if (this.pamect.firstStartDate.length == 0) {
- uni.showToast({
- title: '请选择对比时间',
- duration: 2000
- });
- } else {
- var jshu = this.DateDiff(this.pamect.firstStartDate, this.pamect.firstEndDate)
- if (kaishi == jshu) {
- this.init()
- } else {
- uni.showToast({
- title: '请选择相同天数',
- duration: 2000
- });
- }
- }
- this.totalTimeShow = false;
- }
- },
- //对比时间
- totalTimeChange2(e) {
- console.log(e)
- var d = new Date(e.result.replace(/\-/g, '/'));
- d.setDate(d.getDate() + this.intervaltime);
- var year = d.getFullYear();
- var month = d.getMonth() + 1;
- if (month < 10) month = '0' + month;
- var day = d.getDate();
- if (day < 10) day = '0' + day;
- this.pamect.firstStartDate = e.result;
- this.pamect.firstEndDate = year + '-' + month + '-' + day;
- console.log(this.pamect.firstStartDate)
- var kaishi = this.DateDiff(this.pamect.lastStartDate, this.pamect.lastEndDate)
- var jeishu = this.DateDiff(this.pamect.firstStartDate, this.pamect.firstEndDate)
- this.kanbanlist.duibitime = this.pamect.firstStartDate + "至" + this.pamect.firstEndDate + "(" + jeishu +
- "天)";
-
- console.log(this.pamect.lastStartDate, this.pamect.lastEndDate, kaishi, jeishu)
- if (kaishi == jeishu) {
- this.init()
- } else {
- uni.showToast({
- title: '请选择相同天数',
- duration: 2000
- });
- }
- this.totalTimeShow2 = false;
- },
- //自定义时间
- totalTimeChange3(e) {
- this.pamect.firstStartDate = "";
- this.pamect.firstEndDate = "";
- this.pamect.lastStartDate = e.startDate;
- this.pamect.lastEndDate = e.endDate;
- this.init()
- this.totalTimeShow3 = false;
- },
-
-
- //时间切换
- tabtimetap(index) {
- if (index == 0) {
- this.pamect.timeType = "4";
- this.pamect.firstStartDate = '';
- this.pamect.firstEndDate = '';
- this.pamect.lastStartDate = '';
- this.pamect.lastEndDate = '';
- this.init()
- } else if (index == 1) {
- this.pamect.timeType = "5";
- this.pamect.firstStartDate = '';
- this.pamect.firstEndDate = '';
- this.pamect.lastStartDate = '';
- this.pamect.lastEndDate = '';
- this.init()
- } else if (index == 2) {
- this.pamect.timeType = "6";
- this.pamect.firstStartDate = '';
- this.pamect.firstEndDate = '';
- this.pamect.lastStartDate = '';
- this.pamect.lastEndDate = '';
- this.init()
- } else if (index == 3) {
- this.pamect.timeType = "";
- this.totalTimeShow = true;
- } else if (index == 4) {
- this.pamect.timeType = "";
- var kaishi = this.DateDiff(this.pamect.lastStartDate, this.pamect.lastEndDate)
- console.log(kaishi)
- this.intervaltime = kaishi - 1;
- this.totalTimeShow2 = true;
- } else {
- this.pamect.timeType = "";
- this.totalTimeShow3 = true;
- }
- this.activeTotal = index;
- },
- //tab切换
- tabxuanxiangtap(index) {
- if (index == 1 || index == 3 || index == 4) {
- if (this.showMarketingList.findIndex(item => item.id == '') != -1) {
- this.showMarketingList.shift()
- }
- this.marketingBusinessText = this.showMarketingList[0].templateName
- this.marketingBusiness = this.showMarketingList[0].id
- } else {
- this.showMarketingList.unshift({
- templateName: '全部',
- id: ''
- })
- this.marketingBusiness = ''
- this.marketingBusinessText = '请选择销讲业务'
- }
- this.pamect.accountId = ""
- this.newactiveTotal = index;
- this.Selectlevel = false;
- this.Selecttuandui = false;
- this.timepickpickisshow = false;
- this.init()
- },
- //项目维度
- ProjectDimension() {
- const that = this;
- that.lineOptsect = {
- categories: [],
- series: []
- };
- this.linetype = "line";
- this.pamect.marketingBusiness = this.marketingBusiness
- this.$u.post("/cusLvStatistics/teamOrOneValueShow", this.pamect).then(data => {
- if (this.pamect.showStatus == 0) {
- that.lineOptsect = {
- categories: [],
- series: [{
- name: '起始时间',
- data: [],
- color: '#7ED3F4'
- }]
- }
- data.lastValue.forEach((child, zxc) => {
- that.lineOptsect.categories.push(child.statDate.substring(5, 10))
- })
- that.lineOptsect.series[0].data = data.lastValue.map(item => item.fraction);
- } else {
- that.lineOptsect = {
- categories: [],
- series: [{
- name: '起始时间',
- data: [],
- color: '#7ED3F4'
- },
- {
- name: '对比时间',
- data: [],
- color: '#FF7070'
- },
- ]
- }
- data.firstValue.forEach((item, sdf) => {
- data.lastValue.forEach((child, zxc) => {
- if (sdf == zxc) {
- that.lineOptsect.categories.push(
- child.statDate.substring(5, 10) + 'vs' + item.statDate
- .substring(5, 10)
- )
- }
- })
- })
- that.lineOptsect.series[1].data = data.firstValue.map(item => item.fraction);
- that.lineOptsect.series[0].data = data.lastValue.map(item => item.fraction)
- that.guwenFlag = false
- // // 处理表格数据
- let arr = [
- ['时间', '时段一', '时段二', '变化']
- ]
- that.lineOptsect.categories.map((item, index) => {
- let newarr = [item, data.lastValue[index].fraction, data.firstValue[index]
- .fraction, data.contrast[index].data
- ]
- arr.push(newarr)
- })
- // console.log(arr)
- that.tableDate = arr
- }
- this.$forceUpdate()
- });
- },
-
- //顾问维度
- ConsultantDimension() {
- const that = this;
- that.lineOptsect = {
- categories: [],
- series: []
- };
- this.pamect.marketingBusiness = this.marketingBusiness
- this.linetype = "radar";
- this.$u.post("/cusLvStatistics/accFirstLevelContrast", this.pamect).then(data => {
- // return
- let max = data.firstList[0].total
- for (let i = 0; i < data.firstList.length; i++) {
- if (max < data.firstList[i]) max = data.firstList[i];
- }
- this.opts = {
- ...this.opts,
- fontSize: 10,
- extra: {
- radar: {
- max: max + 25
- }
- }
- }
- if (this.pamect.showStatus == 0) {
- that.lineOptsect = {
- categories: [],
- series: [{
- name: '时段一',
- data: [],
- color: '#7ED3F4'
- }]
- }
- data.firstList.forEach((item, sdf) => {
- that.lineOptsect.categories.push(item.name)
- that.lineOptsect.series[0].data.push(data.firstList[sdf].total)
- })
- } else {
- // 当有对比的时候
- that.lineOptsect = {
- categories: [],
- series: [{
- name: '时段一',
- data: [],
- color: '#7ED3F4'
- },
- {
- name: '时段二',
- data: [],
- color: '#FF7070'
- },
- ]
- }
- data.headerList.forEach((item, sdf) => {
- that.lineOptsect.categories.push(item.name)
- that.lineOptsect.series[0].data.push(data.firstList[sdf].total)
- that.lineOptsect.series[1].data.push(data.secondList[sdf].total)
- })
- // return
- // // 处理表格数据
- that.guwenFlag = true
- let arr = []
- arr[0] = ['时间', ...that.lineOptsect.categories]
- arr[1] = ['变化']
- arr[2] = ['时段一']
- arr[3] = ['时段二']
- // console.log(arr)
- data.firstList.map((item, index) => {
- arr[2].push(item.total)
- arr[3].push(data.secondList[index].total)
- arr[1].push(data.thirdList[index].total)
- })
- that.tableDate = arr
- }
- this.$forceUpdate()
- });
- },
- // 顾问纬度选择顾问
- oninputtap() {
- this.Showhiddenunits = true;
- },
- // 顾问选择确认
- confirm(e) {
- this.lopanobj.id = e[0].value;
- this.lopanobj.name = e[0].label;
- this.pamect.accountId = this.lopanobj.id;
- this.ConsultantDimension()
- this.Showhiddenunits = false;
- for (let i = 0; i < this.selectlist.length; i++) {
- if (e[0].value == this.selectlist[i].value) {
- this.selindexList[0] = i
- }
- }
- },
- //获取顾问
- getguwenlist() {
- this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
- houseId: this.pamect.houseId,
- marketingBusiness: this.marketingBusiness,
- }).then(data => {
- console.log(data, 'sdajmkldjaskldjaskldjaskldjaskljdklsa')
- this.selectlist = [];
- if (data.length == 0) {
- this.lineOptsect = {
- categories: [],
- series: []
- };
- return
- } else {
- data.forEach(item => {
- this.selectlist.push({
- value: item.accountId,
- label: item.name
- })
- })
- this.lopanobj.id = data[0].accountId;
- this.lopanobj.name = data[0].name;
- this.pamect.accountId = this.lopanobj.id;
- console.log(this.pamect.accountId)
- this.ConsultantDimension()
- }
- })
- },
-
- //销讲一级
- speakingLevel() {
- this.linetype = "radar";
- this.lineOptsect = {
- categories: [],
- series: []
- };
- this.pamect.marketingBusiness = this.marketingBusiness
- this.$u.post("/cusLvStatistics/firstLevelContrast", this.pamect).then(data => {
- if (data.length == 0) {
- return
- } else {
- let max = data[0].avgExecutionRate
- let list = data.map(item => {
- return item.name
- });
- let list1 = data.map(item => {
- if (item.avgExecutionRate == null) {
- item.avgExecutionRate = 0
- } else {
- item.avgExecutionRate = item.avgExecutionRate
- }
- if (max < item.avgExecutionRate) max = item.avgExecutionRate;
- return item.avgExecutionRate
- });
- this.opts = {
- ...this.opts,
- fontSize: 10,
- extra: {
- radar: {
- max: max + 25
- }
- }
- }
- this.lineOptsect = {
- "categories": list,
- "series": [{
- "name": "销讲一级",
- "data": list1
- }]
- }
- }
- this.$forceUpdate()
- })
- },
- //销讲二级
- aboutEecondary() {
- this.lineOptsect = {};
- this.linetype = "line";
- this.pamect.marketingBusiness = this.marketingBusiness
- this.$u.post("/cusLvStatistics/level2Contrast", this.pamect).then(data => {
- if (this.pamect.showStatus == 0) {
- this.lineOptsect = {
- categories: [],
- series: [{
- name: '起始时间',
- data: [],
- color: '#7ED3F4'
- }]
- }
- data.lastList.forEach((item, sdf) => {
- this.lineOptsect.categories.push(item.statDate.substring(5, 10))
- })
- this.lineOptsect.series[0].data = data.lastList.map(item => item.avgExecutionRate);
- } else {
- this.lineOptsect = {
- categories: [],
- series: [{
- name: '起始时间',
- data: [],
- color: '#7ED3F4'
- },
- {
- name: '对比时间',
- data: [],
- color: '#FF7070'
- },
- ]
- }
- data.firstList.forEach((item, sdf) => {
- data.lastList.forEach((child, zxc) => {
- if (sdf == zxc) {
- this.lineOptsect.categories.push(
- child.statDate.substring(5, 10) + 'vs' + item.statDate
- .substring(5, 10)
- )
- }
- })
- })
- this.lineOptsect.series[1].data = data.firstList.map(item => item.avgExecutionRate);
- this.lineOptsect.series[0].data = data.lastList.map(item => item.avgExecutionRate)
- let that = this
- this.guwenFlag = false
- // // 处理表格数据
- let arr = [
- ['时间', '时段一', '时段二', '变化']
- ]
- that.lineOptsect.categories.map((item, index) => {
- let newarr = [item, data.lastList[
- index].avgExecutionRate, data.firstList[index].avgExecutionRate,
- data.contrast[index].data
- ]
- arr.push(newarr)
- })
- that.tableDate = arr
- }
- this.$forceUpdate()
- })
- },
- //销讲二级:获取一级
- getonsyiji() {
- this.$u.post("/cusLvStatistics/findAllFirstLevel", {
- houseId: this.pamect.houseId,
- marketingBusiness: this.marketingBusiness,
- }).then(data => {
- this.selectlist2 = [];
- if (data.length == 0) {
- this.Selectlevel = false;
- this.lineOptsect = {
- categories: [],
- series: []
- };
- return
- } else {
- this.Selectlevel = true;
- data.forEach(item => {
- this.selectlist2.push({
- value: item.marketingId,
- label: item.name
- })
- })
- this.Selectlevelobj.id = data[0].marketingId;
- this.Selectlevelobj.name = data[0].name;
- this.getonserji(this.Selectlevelobj.id)
- }
-
- this.$forceUpdate()
- })
- },
- //销讲二级:通过一级获取二级
- getonserji(ccd) {
- this.$u.post("/cusLvStatistics/findLevel2ByFirstLevel", {
- houseId: this.pamect.houseId,
- marketingId: ccd
- }).then(data => {
- this.selectlist3 = [];
- data.forEach(item => {
- this.selectlist3.push({
- value: item.marketingId,
- label: item.name
- })
- })
- this.erSelectlevelobj.id = data[0].marketingId;
- this.erSelectlevelobj.name = data[0].name;
- this.pamect.marketingId = this.erSelectlevelobj.id;
- this.aboutEecondary()
- this.$forceUpdate()
- })
- },
- //销讲二级:一级选择
- oninputtap2() {
- this.Showhiddenunits2 = true;
- },
- //销讲二级:二级选择
- oninputtap3() {
- if (this.Selectlevelobj.id == "") {
- uni.showToast({
- title: '请先选择一级',
- duration: 2000
- });
- } else {
- this.Showhiddenunits3 = true;
- }
- },
- //销讲二级:一级选择确认
- confirm2(e) {
- this.Selectlevelobj.id = e[0].value;
- this.Selectlevelobj.name = e[0].label;
- this.getonserji(this.Selectlevelobj.id)
- },
- //销讲二级:二级选择确认
- confirm3(e) {
- this.erSelectlevelobj.id = e[0].value;
- this.erSelectlevelobj.name = e[0].label;
- this.pamect.marketingId = this.erSelectlevelobj.id;
- this.aboutEecondary()
- },
-
-
-
-
-
- //团队请选择
- oninputtap4() {
- this.Showhiddenunits4 = true;
- },
- //团队选择确认
- confirm4(e) {
- this.Selecttuanduiobj.id = e[0].value;
- this.Selecttuanduiobj.name = e[0].label;
- this.pamect.deptId = this.Selecttuanduiobj.id;
-
- this.pamect.showStatus = 0;
- this.pamect.timeType = "4";
- this.pamect.firstStartDate = '';
- this.pamect.firstEndDate = '';
- this.pamect.lastStartDate = '';
- this.pamect.lastEndDate = '';
- this.activeTotal = 0;
- this.timepickpickisshow = false;
- this.init()
- this.TeamCompared()
-
- for (let i = 0; i < this.selectlist4.length; i++) {
- if (e[0].value == this.selectlist4[i].value) {
- this.selindexList4[0] = i
- }
- }
- },
- //获取团队列表
- getuanduilist() {
- this.$u.post("/cusLvStatistics/findAllDeptIdByHouseId ", {
- houseId: this.pamect.houseId,
- marketingBusiness: this.marketingBusiness,
- }).then(data => {
- this.selectlist4 = [{
- value: "",
- label: "全部"
- }];
- if (data.length == 0) {
- this.Selecttuandui = false;
- this.lineOptsect = {
- categories: [],
- series: []
- };
- return
- } else {
- this.Selecttuandui = true;
- data.forEach(item => {
- this.selectlist4.push({
- value: item.deptId,
- label: item.deptName
- })
- })
- this.Selecttuanduiobj.id = "";
- this.Selecttuanduiobj.name = "全部";
- this.pamect.deptId = this.Selecttuanduiobj.id;
- this.TeamCompared()
- }
- })
- },
- //团队对比
- TeamCompared() {
- const that = this;
- that.lineOptsect = {
- categories: [],
- series: []
- };
- this.linetype = "line";
- this.$forceUpdate()
- this.pamect.marketingBusiness = this.marketingBusiness
- this.$u.post("/cusLvStatistics/teamOrOneValueShowByDept", this.pamect).then(data => {
- if (this.Selecttuanduiobj.id == "") {
- var newlist = [];
- for (var i in data) {
- var ect = data[i].receptionStatList.map(item => {
- if (item.fraction == null) {
- item.fraction = 0
- } else {
- item.fraction = item.fraction
- }
- return item.fraction
- });
- newlist.push({
- name: data[i].deptName,
- data: ect
- })
- }
- var timelist = [];
- for (var i in data) {
- var ect = data[i].receptionStatList.map(item => {
- return item.statDate
- });
- timelist.push({
- name: data[i].deptName,
- data: ect
- })
- }
- var xAxisdata = [];
- timelist[0].data.forEach((item, sdf) => {
- xAxisdata.push(item.substring(5, 10))
- })
- that.lineOptsect = {
- categories: xAxisdata,
- series: newlist
- }
- } else {
- if (this.pamect.showStatus == 0) {
- that.lineOptsect = {
- categories: [],
- series: [{
- name: '起始时间',
- data: [],
- color: '#7ED3F4'
- }]
- }
- data.lastValue.receptionStatList.forEach((item, sdf) => {
- that.lineOptsect.categories.push(item.statDate.substring(5, 10))
- })
- that.lineOptsect.series[0].data = data.lastValue.receptionStatList.map(item => item
- .fraction);
- } else {
- that.lineOptsect = {
- categories: [],
- series: [{
- name: '起始时间',
- data: [],
- color: '#7ED3F4'
- },
- {
- name: '对比时间',
- data: [],
- color: '#FF7070'
- },
- ]
- }
- data.firstValue.receptionStatList.forEach((item, sdf) => {
- data.lastValue.receptionStatList.forEach((child, zxc) => {
- if (sdf == zxc) {
- that.lineOptsect.categories.push(
- child.statDate.substring(5, 10) + 'vs' + item
- .statDate.substring(5, 10)
- )
- }
- })
- })
- that.lineOptsect.series[1].data = data.firstValue.receptionStatList.map(item => item
- .fraction);
- that.lineOptsect.series[0].data = data.lastValue.receptionStatList.map(item => item
- .fraction)
- that.guwenFlag = false
- // 团队处理数据
- // // 处理表格数据
- let arr = [
- ['时间', '时段一', '时段二', '变化']
- ]
- that.lineOptsect.categories.map((item, index) => {
- let newarr = [item, data
- .lastValue.receptionStatList[index].fraction, data.firstValue
- .receptionStatList[index].fraction, data.contrast
- .receptionStatList[index].data
- ]
- arr.push(newarr)
- })
- that.tableDate = arr
- }
- }
- this.$forceUpdate()
- });
- },
-
- //算相隔天数
- DateDiff(sDate1, sDate2) {
- var aDate, oDate1, oDate2, iDays;
- aDate = sDate1.split("-");
- oDate1 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]); //转换为yyyy-MM-dd格式
- aDate = sDate2.split("-");
- oDate2 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]);
- iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
- return iDays + 1; //返回相差天数
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- .title2-che {
- width: 178rpx;
- height: 48rpx;
- background: #FFFFFF;
- border-radius: 6rpx;
- border: 1px solid #E0E0E0;
- line-height: 48rpx;
- font-size: 28rpx;
- font-weight: 400;
- color: #666666;
- text-indent: 12rpx;
- margin-left: 35rpx;
- position: relative;
-
- .righttochoose {
- width: 18rpx;
- height: 24rpx;
- position: absolute;
- top: 12rpx;
- right: 12rpx;
- }
- }
-
- .table {
- border: 0px solid darkgray;
-
- .tr {
- display: flex;
- // width: 100%;
- justify-content: center;
- height: 64rpx;
- align-items: center;
- border-bottom: 1px solid #E0E0E0;
- flex-wrap: nowrap;
-
- .td {
- text-align: center;
- font-size: 24rpx;
- font-weight: 400;
- color: #333333;
- height: 64rpx;
- line-height: 64rpx;
- // flex-shrink: 0;
- }
-
- .trd {
- flex-shrink: 0;
- min-width: 300rpx;
- // border-bottom: 1px solid #ccc;
- }
-
- .th {
- height: 64rpx;
- text-align: center;
- font-size: 28rpx;
- font-weight: 400;
- color: #666666;
- line-height: 64rpx;
- }
- }
- }
-
- .uchaserbox {
- width: 100%;
- height: 50vh;
- overflow: hidden;
- }
-
- .uchaserboxs {
- width: 100%;
- height: 70vh;
- }
-
- .activecllasscet2 {
- color: #2671E2;
- border-bottom: 2px solid #2671E2;
- }
-
- .timeduibi {
- width: 100%;
- background: #FFFFFF;
- padding-bottom: 10rpx;
-
- .timeshow {
- color: #666666;
- width: 100%;
- height: 50rpx;
- font-size: 28rpx;
- line-height: 50rpx;
- text-indent: 30rpx;
- }
- }
-
-
-
-
-
-
- // 顶部时间切换
- .timetabct {
- width: 100%;
- height: 98rpx;
- display: flex;
- align-items: center;
- border-bottom: 1px solid #E0E0E0;
- }
-
- .timetabctview {
- flex: 1;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- .timetabct view {
- width: 94rpx;
- text-align: center;
- height: 100%;
- line-height: 98rpx;
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- }
-
- .activecllasscet {
- border-bottom: 2px solid #2671E2;
- }
-
- // 对比时间切换
- .timepick {
- width: 100%;
- height: 90rpx;
- display: flex;
- align-items: center;
- background: #FFFFFF;
- }
-
- .timepicktime {
- width: 260rpx;
- height: 50rpx;
- border: 1rpx solid #E0E0E0;
- margin-left: 30rpx;
- display: flex;
- background: #FFFFFF;
- }
-
- .timepicktime>view:nth-of-type(1) {
- width: 210rpx;
- height: 100%;
- line-height: 50rpx;
- font-size: 26rpx;
- font-weight: 400;
- text-align: center;
- }
-
- .timepicktime>view:nth-of-type(2) {
- width: 49rpx;
- height: 100%;
- // border-left: 1px solid #E0E0E0;
- }
-
- .timepickpick {
- width: 110rpx;
- height: 50rpx;
- margin-left: 30rpx;
- display: flex;
- align-items: center;
- }
-
- .Underimg {
- width: 50rpx;
- height: 50rpx;
- margin-top: -2rpx;
- }
-
-
-
-
- .timeButton {
- width: 100%;
- height: 60rpx;
- display: flex;
- color: #b1b1b1;
- font-size: 28rpx;
-
- .item {
- text-align: center;
- line-height: 60rpx;
- padding-left: 12rpx;
- padding-right: 12rpx;
- border-radius: 8rpx;
- border: 1px solid #E0E0E0;
- margin-right: 20rpx;
-
- &.active {
- color: #FFFFFF;
- background-color: #2671E2;
- }
- }
- }
-
-
-
- .boardbox {
- width: 100%;
- height: 172rpx;
- display: flex;
- align-items: center;
- background: #F4F8FD;
- border-radius: 8rpx;
- margin-top: 28rpx;
-
- .boardbox-zuo {
- width: 50%;
- height: 120rpx;
- border-right: 1px solid #E0E0E0;
- }
-
- .boardbox-you {
- width: 50%;
- height: 120rpx;
- }
-
- .boardbox-text1 {
- width: 100%;
- text-align: center;
- font-size: 28rpx;
- color: #333333;
- }
-
- .boardbox-text2 {
- width: 100%;
- text-align: center;
- font-size: 26rpx;
- color: #333333;
- margin-top: 10rpx;
- }
- }
-
- .comparesize {
- flex: 1;
- font-size: 24rpx;
- color: #666666;
- margin-top: 10rpx;
- }
-
- .grid:nth-child(1) {
- border-right: none;
- border-bottom: none;
- }
-
- .grid:nth-child(2) {
- // border-bottom: none;
- }
-
- .grid:nth-child(3) {
- width: 50%;
- }
-
- .chart {
- padding: 40rpx 0 20rpx;
- min-height: 50vh;
-
- .marketingBusiness {
- display: flex;
- justify-content: center;
- align-items: center;
-
- .marketingBusinesstext {
- padding: 0 20rpx;
- display: flex;
- align-items: center;
- border-radius: 8rpx;
- border: 1rpx solid #666666;
-
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
-
- .righttochoose {
- margin-left: 12rpx;
- width: 18rpx;
- height: 24rpx;
- }
- }
- }
- }
- </style>
|