Commit fc4a906b by 杨明

样式修改

1 parent a9dbd6da
...@@ -167,3 +167,11 @@ img { ...@@ -167,3 +167,11 @@ img {
.customMessageClass { .customMessageClass {
z-index: 9999 !important; z-index: 9999 !important;
} }
.el-popover.el-popper.popover-dialog {
padding: 10px !important;
.popover-panel {
background: #f7f7fc;
padding: 5px 20px 5px 5px;
margin-bottom: 10px;
}
}
<template> <template>
<div <div class="journey" v-loading="loading">
class="journey"
v-loading="loading"
>
<div class="container"> <div class="container">
<div class="sticky"> <div class="sticky">
<GLCombiForm <GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :formData="searchFormData" :searchSelectObj="searchSelectObj" @handleOk="handleSearch" @handleRest="handleReset" :key="FormKey"></GLCombiForm>
ref="showSearch"
:rowNumber="2"
:formObj="searchForm"
:formData="searchFormData"
:searchSelectObj="searchSelectObj"
@handleOk="handleSearch"
@handleRest="handleReset"
:key="FormKey"
></GLCombiForm>
<div :class="['sticky-btns', { hiddenExport: viewType == 1 }]"> <div :class="['sticky-btns', { hiddenExport: viewType == 1 }]">
<div class="btns"> <div class="btns">
<el-button <el-button type="default" @click="refreshInst" plain>状态刷新</el-button>
type="default" <el-button type="default" @click="changeViewType">切换为{{ viewType == 1 ? '列表' : '看板' }}视图</el-button>
@click="refreshInst" <el-button type="default" @click="handleExport">导出</el-button>
plain
>状态刷新</el-button>
<el-button
type="default"
@click="changeViewType"
>切换为{{ viewType == 1 ? '列表' : '看板' }}视图</el-button>
<el-button
type="default"
@click="handleExport"
>导出</el-button>
</div> </div>
</div> </div>
</div> </div>
<template v-if="viewType == 1"> <template v-if="viewType == 1">
<div class="journey-data-view"> <div class="journey-data-view">
<data-view <data-view :params="tableSearchForm" ref="dataView" :stageList="stageList"></data-view>
:params="tableSearchForm"
ref="dataView"
:stageList="stageList"
></data-view>
</div> </div>
</template> </template>
<template v-else> <template v-else>
...@@ -48,11 +22,7 @@ ...@@ -48,11 +22,7 @@
<template v-if="stageList && stageList.length"> <template v-if="stageList && stageList.length">
<template v-for="(i, index) in stageList"> <template v-for="(i, index) in stageList">
<template> <template>
<div <div :class="['tab', { active: searchForm.sopJourneyStage == i.value }]" :key="index" @click="changeTab(i.value)">
:class="['tab', { active: searchForm.sopJourneyStage == i.value }]"
:key="index"
@click="changeTab(i.value)"
>
{{ i.label }} {{ i.label }}
</div> </div>
</template> </template>
...@@ -61,11 +31,7 @@ ...@@ -61,11 +31,7 @@
</div> </div>
</div> </div>
<div class="journey-table"> <div class="journey-table">
<journey-table <journey-table ref="table" :params="tableSearchForm" :stageList="stageList"></journey-table>
ref="table"
:params="tableSearchForm"
:stageList="stageList"
></journey-table>
</div> </div>
</template> </template>
</div> </div>
...@@ -125,6 +91,7 @@ export default { ...@@ -125,6 +91,7 @@ export default {
value: '' value: ''
}] }]
for (let k in stages) { for (let k in stages) {
item.journeyItem.push({ item.journeyItem.push({
label: stages[k].value, label: stages[k].value,
value: stages[k].value, // 后台要求改成label值 20230927 value: stages[k].value, // 后台要求改成label值 20230927
......
<template> <template>
<div class="journey-table"> <div class="journey-table">
<GLTable <GLTable ref="tableRef" :noDataImg="url" :tableParams="tableParams" :tableData="tableData" :pageConf="pageConf" @refreshTable="refreshTable" :tableTotal="tableTotal">
ref="tableRef" <div class="table-btns" slot="auth-button" slot-scope="scope">
:noDataImg="url" <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope"></GLTableButton>
:tableParams="tableParams"
:tableData="tableData"
:pageConf="pageConf"
@refreshTable="refreshTable"
:tableTotal="tableTotal"
>
<div
class="table-btns"
slot="auth-button"
slot-scope="scope"
>
<GLTableButton
:buttonList="tableButtonList"
:buttonItem="scope.scope"
></GLTableButton>
</div> </div>
</GLTable> </GLTable>
<el-drawer <el-drawer :visible.sync="showDrawer" direction="rtl" size="720px">
:visible.sync="showDrawer"
direction="rtl"
size="720px"
>
<template #title> <template #title>
<div class="drawer-title">编辑客户旅程</div> <div class="drawer-title">编辑客户旅程</div>
</template> </template>
...@@ -47,15 +28,8 @@ ...@@ -47,15 +28,8 @@
<div class="label">旅程阶段:</div> <div class="label">旅程阶段:</div>
<template v-for="(i, index) in stageList"> <template v-for="(i, index) in stageList">
<template v-if="index != 0"> <template v-if="index != 0">
<div <div :key="index" class="tags-item flex">
:key="index" <el-button :class="['text', { disabled: i.disabled }, { active: index == stageIndex }]" :disabled="i.disabled" @click="editStage(index)">{{ i.label }}</el-button>
class="tags-item flex"
>
<el-button
:class="['text',{disabled:i.disabled}, { active: index == stageIndex }]"
:disabled="i.disabled"
@click="editStage(index)"
>{{ i.label }}</el-button>
<div class="arrow"></div> <div class="arrow"></div>
</div> </div>
</template> </template>
...@@ -70,10 +44,7 @@ ...@@ -70,10 +44,7 @@
</div> </div>
<template v-for="(i, index) in fileObject"> <template v-for="(i, index) in fileObject">
<template> <template>
<div <div :key="index" class="file-item flex">
:key="index"
class="file-item flex"
>
<div class="label">{{ i.label }}:</div> <div class="label">{{ i.label }}:</div>
<div class="value"> <div class="value">
<template v-if="userInfo.carMaintenanceInsurances && userInfo.carMaintenanceInsurances[0]"> <template v-if="userInfo.carMaintenanceInsurances && userInfo.carMaintenanceInsurances[0]">
...@@ -86,14 +57,8 @@ ...@@ -86,14 +57,8 @@
</div> </div>
</div> </div>
<div class="footer flex"> <div class="footer flex">
<el-button <el-button type="default" @click="showDrawer = false">取消</el-button>
type="default" <el-button type="primary" @click="handleConfirm">确定</el-button>
@click="showDrawer = false"
>取消</el-button>
<el-button
type="primary"
@click="handleConfirm"
>确定</el-button>
</div> </div>
</el-drawer> </el-drawer>
</div> </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08 * @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-15 13:48:05 * @LastEditTime: 2024-01-16 13:44:05
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue * @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<img src="@/assets/icon-tip.png" class="question" slot="reference" alt="" /> <img src="@/assets/icon-tip.png" class="question" slot="reference" alt="" />
</el-popover> </el-popover>
</div> </div>
<div class="task-item-desc">该旅程阶段支持手动标记</div> <div class="task-item-desc">该旅程阶段{{ stepItem.editable ? '' : '不' }}支持手动标记</div>
</div> </div>
<div class="progress-item-content bg-fff" v-if="stepItem.conditionsList.length"> <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"> <div class="progress-item" v-for="(v, k) in stepItem.conditionsList" :key="k">
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<div class="calendar-item" v-for="(v, k) in stepItem.sopList" :key="k"> <div class="calendar-item" v-for="(v, k) in stepItem.sopList" :key="k">
<div class="calendar-day">第{{ v[0].day }}天</div> <div class="calendar-day">第{{ v[0].day }}天</div>
<div class="calendar-time flex-column-center" v-for="(value, key) in v" :key="key"> <div class="calendar-time flex-column-center" v-for="(value, key) in v" :key="key">
<el-popover placement="top-start" width="100" trigger="click"> <el-popover popper-class="popover-dialog" placement="top-start" width="100" trigger="click">
<div class="popover-panel" v-for="(t, pkey) in v" :key="pkey"> <div class="popover-panel" v-for="(t, pkey) in v" :key="pkey">
<div class="flex-column-center"> <div class="flex-column-center">
<span>{{ t.time }}</span> <span>{{ t.time }}</span>
...@@ -440,7 +440,7 @@ export default { ...@@ -440,7 +440,7 @@ export default {
val.subConditions.forEach(i => { val.subConditions.forEach(i => {
i.operators.forEach(o => { i.operators.forEach(o => {
if (o.value) { if (o.value) {
title += `并且满足${i.name}${o.name}${o.value}` title += `并且满足${i.name}${o.name}${o.value}${o.unit?o.unit:''}`
} }
}) })
}) })
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-27 11:29:17 * @Date: 2023-09-27 11:29:17
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2024-01-15 15:48:20 * @LastEditTime: 2024-01-16 13:42:50
* @FilePath: \scrm-micro-scene\src\views\journeyConfig\components\relatedActivity.vue * @FilePath: \scrm-micro-scene\src\views\journeyConfig\components\relatedActivity.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
</div> </div>
<div class="condition-panel" v-if="configInfoList.length == 2"> <div class="condition-panel" v-if="configInfoList.length == 2">
<div class="flex"> <div class="flex">
<label class="condition-label" style="line-height: revert;">企微成员范围:</label> <label class="condition-label">企微成员范围:</label>
<div class="condition-select"> <div class="condition-select m-l">
<div class="m-b-10"> <div class="m-b-10">
<el-radio-group v-model="empType"> <el-radio-group v-model="empType">
<el-radio :label="index" v-for="(item, index) in configInfoList" :key="item.id">{{ item.name }}</el-radio> <el-radio :label="index" v-for="(item, index) in configInfoList" :key="item.id">{{ item.name }}</el-radio>
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
.condition-more { .condition-more {
margin-left: 70px; margin-left: 70px;
padding: 15px 20px; padding: 20px;
margin-top: 10px; margin-top: 10px;
&:has(.condition-1) { &:has(.condition-1) {
background: #f9f9f9; background: #f9f9f9;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!