Commit 3171f044 by 杨明

fixed

1 parent fa89afd9
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-10-09 11:37:41
* @LastEditTime: 2023-10-10 14:33:16
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -17,7 +17,7 @@
</div>
<div class="collapse-item-panel" :style="{ display: stepItem.isExpaned ? 'block' : 'none' }">
<div class="task-item">
<template v-if="stepItem.conditionsList.length">
<template>
<div class="task-item-head flex-column-center">
<div class="task-item-icon">
<img src="@/assets/config/log.png" />
......@@ -25,7 +25,7 @@
<div class="task-item-name">进入条件</div>
<div class="task-item-desc">(描述用户触发何种条件后,将自动变更为该旅程阶段)</div>
</div>
<div class="progress-item-content bg-fff">
<div class="progress-item-content bg-fff" v-if="stepItem.conditionsList.length">
<div class="progress-item" v-for="(v, k) in stepItem.conditionsList" :key="k">
<span>条件{{ k + 1 }}</span>
<span>{{ spiltString(v, 0) }}</span>
......@@ -33,8 +33,16 @@
<span>{{ spiltString(v, 1) }}</span>
</div>
</div>
<div class="empty-panel" v-else>
<div class="empty-img">
<img src="@/assets/empty.png" />
</div>
<div class="empty-txt">
暂无进入条件
</div>
</div>
</template>
<template v-if="stepItem.sopList.length">
<template>
<div class="task-item-sop flex">
<div class="task-sop-l">
<div class="task-item-head flex-column-center">
......@@ -44,7 +52,7 @@
<div class="task-item-name">SOP任务</div>
<div class="task-item-desc">(系统面向当前旅程阶段客户的营销计划)</div>
</div>
<div class="task-item-content bg-fff">
<div class="task-item-content bg-fff" v-if="stepItem.sopList.length">
<div class="step-item" v-for="(v, k) in stepItem.sopList" :key="k">
<div class="step-item-day">
<img src="@/assets/config/step-border.png" />
......@@ -63,6 +71,14 @@
</div>
</div>
</div>
<div class="empty-panel" v-else>
<div class="empty-img">
<img src="@/assets/empty.png" />
</div>
<div class="empty-txt">
暂无SOP任务
</div>
</div>
</div>
<div class="task-sop-calendar">
<div class="task-item-head flex-column-center">
......@@ -192,6 +208,19 @@ export default {
}
</script>
<style lang="scss" scoped>
.empty-panel {
background: #fff;
padding: 10px;
font-size: 12px;
color: #666666;
text-align: center;
margin: 10px 0px;
.empty-img {
width: 48px;
height: 30px;
margin: 10px auto 4px;
}
}
.collapse-item {
overflow: hidden;
height: 51px;
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-10-09 11:39:11
* @LastEditTime: 2023-10-10 14:47:39
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -10,7 +10,7 @@
<div class="journey-main">
<div class="bg-fff p20">
<GLCombiForm ref="formSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="journey-body">
<div class="journey-body" v-if="journeyList.length">
<div class="journey-item" v-for="item in journeyList" :key="item.id">
<div class="journey-item-head flex-column-center ">
<img src="@/assets/config/icon-1.png" />
......@@ -35,6 +35,14 @@
</div>
</div>
</div>
<div class="empty-panel" v-else>
<div class="empty-img">
<img src="@/assets/config/empty.png" />
</div>
<div class="empty-txt">
暂无数据
</div>
</div>
</div>
</div>
</template>
......@@ -70,7 +78,7 @@ export default {
multiple: true
}
],
journeyList: []
journeyList: ['']
// journeyList: [
// {
// id: 1,
......@@ -172,6 +180,17 @@ export default {
}
</script>
<style lang="scss" scoped>
.empty-panel {
font-size: 16px;
color: #999999;
text-align: center;
height: calc(100vh - 240px);
.empty-img {
width: 268px;
height: 88;
margin: 60px auto 4px;
}
}
.journey-item {
border: 1px solid #f0f0fb;
border-radius: 4px;
......
......@@ -297,6 +297,10 @@ export default {
</script>
<style lang="scss" scoped>
.headPortrait {
width: 16px;
height: 12px;
}
.scrm-sub-client-container {
/deep/ .el-table .cell {
text-overflow: clip;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!