Commit 48808a50 by 前端

Merge branch 'SAAS+V4.38.0-0425' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.38.0-0425
2 parents 6b8d03e7 3b2efc36
/*
* @Description: AI对练相关接口
* @Author: huyue
* @Date: 2024-04-19 11:02:02
* @LastEditors: huyue
* @LastEditTime: 2024-04-23 16:16:52
*/
import request from "./request"
const path = 'dj.api.smartcarlife.ai.sparring.'
// 获取练习列表
export function getList(data) {
data.method = `${path}task.page`
return request(data)
}
// 新建任务
export function createTask(data) {
data.method = `${path}task.create`
return request(data)
}
// 对练详情
export function getTaskDetail(data) {
data.method = `${path}task.staff.detail.page`
return request(data)
}
// 分页任务员工列表
export function getTaskStaffList(data) {
data.method = `${path}task.staff.page`
return request(data)
}
// 任务员工提醒
export function remindTaskStaff(data) {
data.method = `${path}task.staff.notify`
return request(data)
}
// 查询员工列表
export function getStaffList(data) {
// data.method = `merchants.api.staff.findStaffByPage`
data.method = 'merchants.api.open.serviceCenter.searchStaffPage'
return request(data)
}
// 获取所有的园区店
export function getAllStore(data = {}) {
data.method = `dj.smartcarlife.api.yqMerchant.list`
return request(data)
}
// 获取质检结果
export function getQualityResult(data) {
data.method = `dj.api.carboutique.ai.sparring.detail.check.result`
return request(data)
}
// 查询对练详情
export function getSparringDetail(data) {
data.method = `${path}task.staff.detail.page`
return request(data)
}
// 更新任务提示词状态
export function updateTaskPromptStatus(data) {
data.method = `${path}task.updatePrompt`
return request(data)
}
/*
* @Description:
* @Author: huyue
* @Date: 2024-04-01 15:03:31
* @LastEditors: huyue
* @LastEditTime: 2024-04-17 17:51:25
*/
const _import = require("@/libs/util.import." + process.env.NODE_ENV) const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = { export const routerName = {
912: { 912: {
...@@ -197,6 +204,103 @@ export const routerName = { ...@@ -197,6 +204,103 @@ export const routerName = {
], ],
component: _import("systemConfig/businessSchoolManage/index") component: _import("systemConfig/businessSchoolManage/index")
}, },
91208: {
path: "/exercise",
name: "exercise",
meta: {
title: "AI对练",
authId: "91208",
parentId: "912",
cache: false
},
component: _import("residentManage/exercise/index"),
auth: [
{
authId: "9120801",
parentId: "91208",
label: "新建任务",
category: "Button",
type: "primary",
handle: "handleToAdd",
addRoutePath: [
{
authId: "912080403",
name: "新建任务",
parentId: "91208"
}
]
},
{
authId: "9120802",
parentId: "91208",
label: "导出",
category: "Button",
handle: "handleExport"
},
{
authId: "9120803",
parentId: "91208",
label: "查看",
handle: "handleToView",
addRoutePath: [
{
authId: "912080402",
name: "查看",
parentId: "91208"
}
]
},
{
authId: "9120804",
parentId: "91208",
label: "明细",
handle: "handleToDetail",
addRoutePath: [
{
authId: "912080401",
name: "明细",
parentId: "91208"
}
]
}
]
},
912080401: {
path: "/exerciseDetail",
name: "exerciseDetail",
meta: {
title: "明细",
authId: "912080401",
parentId: "91208",
sideHidden: true,
activePath: "/exerciseDetail"
},
component: _import("residentManage/exercise/detail")
},
912080402: {
path: "/exerciseView",
name: "exerciseView",
meta: {
title: "查看",
authId: "912080402",
parentId: "91208",
sideHidden: true,
activePath: "/exerciseView"
},
component: _import("residentManage/exercise/view")
},
912080403: {
path: "/exerciseAdd",
name: "exerciseAdd",
meta: {
title: "新建任务",
authId: "912080403",
parentId: "91208",
sideHidden: true,
activePath: "/exerciseAdd"
},
component: _import("residentManage/exercise/add")
},
912060301: { 912060301: {
path: "/performanceConfig", path: "/performanceConfig",
name: "performanceConfig", name: "performanceConfig",
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
this.userInput[0] = event this.userInput[0] = event
}, },
handleEndInput (event) { handleEndInput(event) {
const isNumber = /^\d+$/.test(event) const isNumber = /^\d+$/.test(event)
if (!isNumber) { if (!isNumber) {
event = null event = null
...@@ -130,15 +130,14 @@ export default { ...@@ -130,15 +130,14 @@ export default {
this.$emit("focus", this) this.$emit("focus", this)
} }
}, },
handleBlur (index) { handleBlur(index) {
this.pickerVisible = false this.pickerVisible = false
this.contrastValue() this.contrastValue()
}, },
contrastValue () { contrastValue () {
const val = this.userInput const val = this.userInput
if (Array.isArray(val)) { if (Array.isArray(val)) {
if (val[0] > val[1]) { if (+val[0] > +val[1]) {
val[1] = null val[1] = null
} }
} }
......
<!-- 关联活动订单弹窗 -->
<template>
<d2-dialog
title="质检详情"
:is-visible="isQualityVisible"
class="qualityDailog"
width="80%"
@closeDialog="handleClose"
@confirmDialog="handleClose">
<div>
<el-tabs v-model="activeName" @tab-click="handleReset">
<el-tab-pane label="质检分析" name="analyse">
<quality-analyse v-if="activeName == 'analyse'" v-bind="$attrs" ref="analyseList" />
</el-tab-pane>
<el-tab-pane label="对练详情" name="dialogue">
<dialogue-detail
v-if="activeName == 'dialogue'"
ref="dialogueDetail"
v-bind="$attrs" />
</el-tab-pane>
</el-tabs>
</div>
</d2-dialog>
</template>
<script>
import { Util } from "@/common/util"
import { shopmallOrderList } from "@api/order"
import QualityAnalyse from "./qualityInspectionAnalyse"
import DialogueDetail from "./pairDetail"
export default {
name: "DialogResult",
components: {
QualityAnalyse,
DialogueDetail
},
data() {
return {
activeName: "analyse",
userInfo: this.$store.state.d2admin.user.info,
countObj: {},
searchForm: {
merchantName: "",
activityName: ""
},
searchFormSearch: {},
searchSelectObj: {
orderOrTrade: {
attr: "inputtedOrderCode",
value: ""
}
},
showFormData: [
{
label: "支付时间",
name: "orderDate",
type: "datePicker",
isClear: true,
pickerOptions: "rangePickerOptions"
},
{
label: "商户名称",
name: "merchantName",
type: "input",
maxlength: 20,
isClear: true,
keyFn: this.keyDowmGetList
},
{
label: "所属活动",
name: "activityName",
type: "input",
maxlength: 20,
isClear: true,
keyFn: this.keyDowmGetList
},
{
label: "客户名称",
name: "customerName",
type: "input",
maxlength: 20,
isClear: true,
keyFn: this.keyDowmGetList
},
{
label: "手机号",
name: "customerPhone",
type: "input",
inputType: "number",
maxlength: 11,
isClear: true,
keyFn: this.keyDowmGetList
}
],
getListApi: shopmallOrderList,
tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: "list",
singleSelectUniqueKey: "id",
tableOption: false,
tableColumns: [
{
label: "订单编号",
prop: "orderCode",
width: "200px"
},
{
label: "订单时间",
prop: "orderTime",
width: "150px",
formatter: (cellValue) => {
return cellValue.orderTime
? Util.dateFormate(cellValue.orderTime, "YYYY-MM-DD HH:mm:ss")
: ""
}
},
{
label: "客户名称",
prop: "customerName"
},
{
label: "手机号",
prop: "customerPhone",
width: "120px"
},
{
label: "商品名称",
prop: "goodsName",
formatter: (cellValue) => {
if (cellValue.subOrderList && cellValue.subOrderList.length > 0) {
return cellValue.subOrderList.reduce((str, item, index) => {
// return item.goodsName
if (index) {
str += "/" + item.goodsName
} else {
str += item.goodsName
}
return str
}, "")
// return cellValue.subOrderList[0].goodsName
} else {
return ""
}
}
},
{
label: "活动名称",
prop: "activityName"
// width: '200px'
},
{
label: "所属门店",
prop: "merchantName"
// width: '200px'
},
{
label: "尾款总额",
prop: "balancePaymentPrice",
formatter: (cellValue) => {
return cellValue.balancePaymentPrice
? "¥" + cellValue.balancePaymentPrice
: ""
}
},
{
label: "支付时间",
prop: "payDate",
width: "150px",
formatter: (cellValue) => {
return cellValue.payDate
? Util.dateFormate(cellValue.payDate, "YYYY-MM-DD HH:mm:ss")
: ""
}
}
]
},
baseData: {},
merchantDialogVisible: false,
ids: [],
radio: ""
}
},
props: {
isQualityVisible: {
type: Boolean,
default: false
}
},
computed: {},
mounted() {
console.log(111, this.$attrs)
},
methods: {
handleReset() {},
handleClose() {
this.$emit("closeDialog", false)
}
}
}
</script>
<style scoped>
</style>
<template>
<div class="dialogue">
<!-- <div class="record">
<audio id="audio1">
<source :src="detailObj.fileUrl" type="audio/mpeg" />
<source :src="detailObj.fileUrl" type="audio/ogg" />
您的浏览器不支持 audio 标签。
</audio>
<div class="play" v-if="isPlay" @click="handleAudio">
<img src="@/assets/play.png" />
</div>
<div class="play" v-else @click="handleAudio">
<img src="@/assets/pause.png" />
</div>
<div class="times">{{ currentTime }}/{{ totalTime }}</div>
<div
id="progressBar"
@mousemove="isCircle = true"
@mouseout="isCircle = false">
<div id="progress">
<div
class="circle"
@mousemove="isCircle = true"
draggable="true"
v-if="isCircle"></div>
</div>
</div>
<div class="trumpet" @click="handleMute">
<img src="@/assets/trumpet.png" v-if="isMuted"/>
<img src="@/assets/mute.png" v-if="!isMuted" />
</div>
</div> -->
<div class="record-info">
<div class="dialog">
<template v-for="item in dialogList">
<div :class="{ 'dialog-detail': true, 'nth-child': item.role == 'b' }" :key="item.id">
<div class="name">
<img class="role" src="@/assets/role-one.png" v-if="item.role == 'a'" />
{{ item.role == 'b' ? '客户' : '销售' }}
<img class="role" src="@/assets/role-two.png" v-if="item.role == 'b'" />
</div>
<div class="dig-content" @click="currentDialog(item)">
{{ item.content }}
</div>
</div>
</template>
</div>
<div class="abstract">
<div class="title">
<img class="robot" src="@/assets/robot.png" />
AI对话摘要
</div>
<div class="abText" v-html="formatSrt(digest)">
</div>
</div>
</div>
</div>
</template>
<script>
import { getSparringDetail, getQualityResult } from "@api/exercise"
export default {
name: 'PairDetail',
props: {
detailObj: {
type: Object,
default: {}
}
},
data() {
return {
myAud: "",
isPlay: true,
isMuted: true,
dialogList: [],
totalTime: "0:00",
currentTime: "0:00",
isCircle: false,
digest: ''
}
},
mounted() {
// this.myAud = document.getElementById("audio1")
// this.handleprogress()
this.conversationDetailPage()
},
methods: {
formatSrt(str) {
return str ? str.replace(/\n/g, "<br/>") : ''
},
currentDialog(data) {
this.myAud.currentTime = data.mergedOffset
},
toMinutesAndSeconds(seconds) {
let minutes = Math.floor(seconds / 60)
let remainingSeconds = parseInt(seconds % 60)
minutes = minutes > 10 ? minutes : `0${minutes}`
remainingSeconds = remainingSeconds > 10 ? remainingSeconds : `0${remainingSeconds}`
return `${minutes}:${remainingSeconds}`
},
handleprogress() {
const progress = document.getElementById("progress")
const progressBar = document.getElementById("progressBar")
this.myAud.addEventListener("canplay", () => {
if (this.myAud.duration > 0) {
this.totalTime = this.toMinutesAndSeconds(this.myAud.duration)
}
})
this.myAud.addEventListener("timeupdate", () => {
if (this.myAud.duration > 0) {
this.currentTime = this.toMinutesAndSeconds(this.myAud.currentTime)
const progressDur =
(this.myAud.currentTime / this.myAud.duration) * 100
progress.style.width = `${progressDur}%`
}
})
this.myAud.addEventListener("ended", () => {
this.isPlay = !this.isPlay
})
progress.addEventListener(
"click",
(e) => {
const x = e.offsetX / 370
const currentWidth = x * this.myAud.duration
this.myAud.currentTime = currentWidth
},
false
)
progressBar.addEventListener(
"click",
(e) => {
const x = e.offsetX / 370
const currentWidth = x * this.myAud.duration
this.myAud.currentTime = currentWidth
},
false
)
},
handleAudio() {
this.isPlay = !this.isPlay
if (!this.isPlay) {
this.myAud.play()
} else {
this.myAud.pause()
}
},
handleMute() {
this.isMuted = !this.isMuted
this.myAud.muted = !this.isMuted
},
conversationDetailPage() {
console.log(this.detailObj)
getSparringDetail({
taskStaffId: this.detailObj.id,
currentPage: 1,
pageSize: 9999
}).then((res) => {
console.log(res)
this.dialogList = res.list
})
getQualityResult({
taskStaffId: this.detailObj.id
}).then(res => {
this.digest = res.digest
})
}
}
}
</script>
<style scoped lang="scss">
.dialogue {
margin: auto;
.record {
width: 600px;
margin: 5px auto 0px;
height: 56px;
background: #f7f9fa;
border-radius: 32px;
display: flex;
align-items: center;
audio {
width: 600px;
height: 56px;
background: #f7f9fa;
border-radius: 32px;
}
}
.play {
width: 24px;
height: 24px;
margin: 0 20px 0 24px;
img {
width: 100%;
}
}
.trumpet {
width: 16px;
height: 16px;
margin-left: 24px;
img {
width: 100%;
}
}
.times {
font-size: 14px;
color: #666666;
min-width: 80px;
text-align: center;
margin-right: 19px;
}
#progressBar {
// position: absolute;
height: 6px;
width: 370px;
background-color: #e7e7e7;
/* 进度条背景颜色 */
border-radius: 6px;
}
#progress {
width: 0;
/* 初始进度为0 */
height: 6px;
background-image: linear-gradient(90deg, #9662ff 0%, #5850ff 100%);
/* 进度条颜色 */
transition: width 0.5s;
/* 进度条宽度变化动画 */
border-radius: 6px;
position: relative;
}
.circle {
width: 16px;
height: 16px;
background: #5850ff;
border: 4.5px solid #ffffff;
border-radius: 50%;
position: absolute;
right: -14px;
top: -4px;
box-sizing: border-box;
}
.record-info {
width: 100%;
float: left;
position: relative;
padding-right: 354px;
box-sizing: border-box;
height: 544px;
margin: 20px 0;
// display: flex;
// align-items: center;
.dialog {
width: 100%;
min-width: 588px;
height: 544px;
background: #f7f9fa;
border-radius: 4px;
overflow-y: scroll;
padding: 20px;
box-sizing: border-box;
.dialog-detail {
margin-bottom: 8px;
text-align: left;
.name {
font-size: 12px;
color: #666666;
letter-spacing: 0;
line-height: 16px;
.role {
width: 40px;
height: 40px;
vertical-align: top;
margin-right: 10px;
}
}
.dig-content {
width: 404px;
background: #EBEBFF;
border-radius: 4px;
font-size: 14px;
color: #333333;
padding: 10px 12px;
white-space: pre-wrap;
text-align: left;
margin-left: 50px;
margin-top: -20px;
line-height: 20px;
}
}
.nth-child {
text-align: right;
.dig-content {
display: inline-block;
background: #FFFFFF;
margin-right: 58px;
}
}
}
.abstract {
width: 334px;
height: 544px;
padding: 12px 20px;
position: absolute;
right: 0;
top: 0;
background-image: linear-gradient(180deg, #f6f4ff 0%, #f0f3ff 100%);
border: 1px solid #5850ff80;
border-radius: 4px;
box-sizing: border-box;
.title {
font-weight: 700;
font-size: 16px;
color: #333333;
.robot {
width: 28px;
height: 28px;
margin-right: 8px;
display: inline-block;
vertical-align: middle;
}
}
.abText {
margin-top: 14px;
width: 294px;
height: 472px;
padding: 12px;
box-sizing: border-box;
background: #ffffff;
border-radius: 4px;
overflow: scroll;
line-height: 20px;
}
}
}
}
</style>
<template>
<div class="analyse">
<div class="statistics">
<div class="s-item" v-for="(item, index) in sList" :key="index">
<div class="title">{{ item.text }}</div>
<div
class="content"
v-html="item.formatter && item.formatter(detailObj)"></div>
</div>
</div>
<d2-search
ref="showSearch"
class="show-search"
:search-form="searchForm"
:form-data="showFormData">
<div slot="firstClassify">
<el-select
v-model="searchForm.firstClassify"
clearable
placeholder="请选择"
@change="changeClassify">
<el-option
v-for="item in baseData.firstClassifyList"
:key="item"
:label="item"
:value="item">
</el-option>
</el-select>
</div>
<div slot="secondClassify">
<el-select
v-model="searchForm.secondClassify"
clearable
placeholder="请选择">
<el-option
v-for="item in baseData.secondClassifyList"
:key="item"
:label="item"
:value="item">
</el-option>
</el-select>
</div>
<template slot="score">
<el-input-range
start-placeholder="请输入"
end-placeholder="请输入"
:display-value="searchForm.qualityTestScore"></el-input-range>
</template>
</d2-search>
<div class="up-btns">
<el-button @click="handleSearch" size="small" type="primary">
查询
</el-button>
<el-button size="small" @click="handleReset"> 重置 </el-button>
</div>
<div class="theader">
<div class="title">话术列表</div>
<el-radio-group v-model="searchForm.hitResult">
<el-radio-button label="">全部</el-radio-button>
<el-radio-button label="1">命中</el-radio-button>
<el-radio-button label="0">未命中</el-radio-button>
</el-radio-group>
</div>
<d2-table
ref="analyseTable"
:get-list-api="getListApi"
:search-form="searchFormSearch"
:table-params="tableParams"
:before-search-fn="beforeSearchFn"
:has-page="false">
<div slot="scoreHtml" slot-scope="scope">
<template v-if="scope.scope.score || scope.scope.score === 0">
{{ scope.scope.score }}
</template>
<template v-else>--</template>
</div>
<template slot="suggestions" slot-scope="scope">
<div v-html="formatSrt(scope.scope.suggestions)"></div>
</template>
<template slot="hitResult" slot-scope="scope">
<div :class="['tag', scope.scope.hitResult == 1 ? 'gre' : 'red']">
{{ scope.scope.hitResult == 1 ? "是" : "否" }}
</div>
</template>
</d2-table>
</div>
</template>
<script>
import ElInputRange from "../../el-input-range"
import { Util, deepClone } from "@/common/util"
// import { conversationCheckList, getPointCategory } from "@api/resident"
import { getQualityResult } from "@api/exercise"
export default {
name: 'QualityInspectionAnalyse',
components: {
ElInputRange
},
props: {
detailObj: {
type: Object,
default: {}
}
},
data() {
return {
sList: [
{
text: "话术评分",
formatter: (data) => {
return `<span style="font-weight:700;font-size:20px;">${
data.score ? data.score : "0"
}</span>分`
}
},
{
text: '预计营销结果',
formatter: data => {
const classStr = data.estimatedResult == '成交' ? (data.estimatedResult == '战败' ? 'redStr' : 'greenStr') : 'grayStr'
return `<span class="${classStr}" style="font-weight:700;font-size:20px;">${data.estimatedResult ? data.estimatedResult : '--'}</span>`
}
}
],
searchForm: {
// firstClassify: "",
// secondClassify: "",
qualityTestScore: [],
hitResult: ""
},
searchFormSearch: {},
showFormData: [
// {
// label: "一级分类",
// name: "firstClassify",
// addHtml: "firstClassify"
// },
// {
// label: "二级分类",
// name: "secondClassify",
// addHtml: "secondClassify"
// },
{
label: "质检评分",
name: "qualityTestScore",
addHtml: "score"
}
],
select: "全部",
getListApi: getQualityResult,
tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: "checkDetailList",
tableOption: false,
tableColumns: [
{
label: "一级分类",
prop: "firstClassify",
width: "120px"
},
{
label: "二级分类",
prop: "secondClassify",
width: "140px"
},
{
label: "质检得分",
prop: "score",
width: "100px",
addHtml: "scoreHtml"
},
{
label: "是否命中",
prop: "hitResult",
width: "100px",
addHtml: "hitResult"
},
{
label: "命中文本",
prop: "hitText"
},
{
label: "话术建议",
prop: "suggestions",
addHtml: 'suggestions',
align: 'left'
}
]
},
baseData: {
firstClassifyList: [],
secondClassifyList: []
}
}
},
watch: {
"searchForm.hitResult"() {
this.$refs.analyseTable.refreshTable(true, true)
}
},
mounted() {
// this.getPointCategory()
},
methods: {
formatSrt(str) {
return str.replace(/\n/g, "<br/>")
},
toMinutesAndSeconds(seconds) {
seconds = Math.floor(seconds / 1000)
let formattedTime = ''
if (seconds < 60) return seconds + '秒'
else if (seconds > 3600) {
const hours = Math.floor(seconds / 3600)
const minutes = Math.floor((seconds % 3600) / 60)
if (hours > 0) formattedTime += hours + '小时'
if (minutes > 0 || hours > 0) formattedTime += minutes + '分'
return formattedTime
} else {
const hours = Math.floor(seconds / 3600)
const minutes = Math.floor((seconds % 3600) / 60)
const remainingSeconds = seconds % 60
if (hours > 0) formattedTime += hours + '小时'
if (minutes > 0 || hours > 0) formattedTime += minutes + '分'
if (remainingSeconds > 0) formattedTime += remainingSeconds + '秒'
return formattedTime
}
},
// toMinutesAndSeconds(time) {
// const h = Math.floor(time / 3600)
// const m = parseInt((time % 3600) / 60)
// return {
// h,
// m
// }
// },
getPointCategory() {
this.classifyMap = new Map()
getPointCategory().then((res) => {
console.log(res)
this.baseData.firstClassifyList = Object.keys(res)
for (const item in res) {
this.classifyMap.set(item, res[item])
}
})
},
changeClassify() {
this.searchForm.secondClassify = ""
this.baseData.secondClassifyList = this.classifyMap.get(
this.searchForm.firstClassify
)
},
beforeSearchFn() {
return new Promise((resolve) => {
this.searchFormSearch = deepClone(this.searchForm)
this.searchFormSearch.taskStaffId = this.detailObj.id
// this.searchFormSearch.pageSize = 99999
if (this.searchFormSearch.qualityTestScore) {
console.log(this.searchForm, '===')
this.searchFormSearch.qualityTestScoreBegin =
this.searchFormSearch.qualityTestScore[0]
this.searchFormSearch.qualityTestScoreEnd =
this.searchFormSearch.qualityTestScore[1]
}
delete this.searchFormSearch.qualityTestScore
resolve()
})
},
handleSearch() {
this.$refs.analyseTable.refreshTable(true, true)
},
handleReset() {
this.searchForm = {
// firstClassify: "",
// secondClassify: "",
qualityTestScore: [],
hitResult: ""
}
this.baseData.secondClassifyList = []
this.$refs.analyseTable.refreshTable()
}
}
}
</script>
<style lang="scss" scoped>
.analyse {
.statistics {
display: flex;
align-items: center;
justify-content: space-between;
.s-item {
flex: 1;
// min-width: 248px;
// height: 84px;
background: #f7f9fa;
border-radius: 4px;
padding: 12px 20px;
box-sizing: border-box;
margin-right: 16px;
.title {
font-size: 14px;
color: #333333;
margin-bottom: 8px;
}
.content {
color: #333333;
line-height:32px;
}
}
}
.theader {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
.title {
font-size: 16px;
color: #333333;
font-weight: 600;
}
}
.tag {
width: 30px;
height: 24px;
border-radius: 2px;
padding: 0 8px;
line-height: 24px;
box-sizing: border-box;
font-size: 14px;
margin: 0 auto;
}
.gre {
color: #2cca74;
background: #e9f9f1;
}
.red {
color: #eb4e4e;
background: #fdeded;
}
}
</style>
<style>
.redStr {
color: #eb4e4e;
}
.greenStr {
color: #2cca74;
}
.grayStr{
color: #999999;
}
</style>
<!-- 关联门店弹窗 -->
<template>
<d2-dialog
:title="title"
:is-visible.sync="relateStoreVisible"
width="70%"
btn-ok-label="确定"
@confirmDialog="handleRelateStoreConfirm"
@closeDialog="handleRelateStoreClose"
class="relateStore">
<slot />
<el-row class="tableCon">
<div class="tableBox">
<el-table
ref="seletingTable"
:data="selectingData"
height="464px"
class="table"
border
@select="handleChange"
@select-all="handleAll">
<el-table-column type="selection" width="55" align="center" />
<el-table-column prop="merchantName" label="门店名称" align="center">
</el-table-column>
<el-table-column prop="staffName" label="驻店员工名称" align="center">
</el-table-column>
<el-table-column prop="staffPhone" label="手机号" align="center">
</el-table-column>
</el-table>
<el-pagination
small
background
@current-change="handleCurrentChange"
:current-page.sync="pageNum"
:page-size="pageSize"
layout="total, prev, pager, next"
:total="total" />
</div>
<el-table
class="tableBox table"
:data="selectedData"
border
height="464px">
<el-table-column prop="merchantName" label="门店名称" align="center">
<template slot-scope="scope">
<span>{{ scope.row.merchantName }}</span>
</template>
</el-table-column>
<el-table-column prop="staffName" label="驻店员工名称" align="center">
<template slot-scope="scope">
<span>{{ scope.row.staffName }}</span>
</template>
</el-table-column>
<el-table-column prop="staffPhone" label="手机号" align="center">
<template slot-scope="scope">
<span>{{ scope.row.staffPhone }}</span>
</template>
</el-table-column>
<el-table-column label="删除" align="center" width="50px">
<template slot-scope="scope">
<el-button
class="el-icon-delete"
@click="handleDelete(scope.row)"
type="text" />
</template>
</el-table-column>
</el-table>
</el-row>
</d2-dialog>
</template>
<script>
export default {
name: "SelectEmployees",
data() {
return {
selectedData: [],
selectingData: [],
// 分页
total: 0,
pageNum: 1,
pageSize: 20
}
},
props: {
title: {
type: String,
default: "选择驻店员工"
},
relateStoreVisible: {
type: Boolean,
default: false
},
storeApi: {
type: Function,
default: () => {}
},
storeSelected: {
type: Array,
default: () => []
},
storeSearchForm: {
type: Object,
default: () => {}
},
merchantIds: {
type: Array,
default: () => []
}
},
mounted() {
this.selectedData = this.storeSelected
this.getSelectingList()
console.log(this.selectedData, '---------')
},
methods: {
recoverySelection() {
var exitIds = this.selectedData.map((item) => item.staffUuid)
this.selectingData.forEach((item) => {
exitIds.includes(item.staffUuid) &&
this.$refs.seletingTable.toggleRowSelection(item, true)
})
},
getSelectingList() {
const _storeSearchForm = this.storeSearchForm
// 会员权益/积分商城获取账户中心所有门店 接口不同 接口新增查询参数merchantName 不需单独处理
// if ([0, 4].includes(this.selectedScene)) {
// // 会员权益,积分商城场景查询门店名称参数
// _storeSearchForm.merchantIdName = _storeSearchForm.merchantName // 账户中心所有门店接口查询条件
// }
this.storeApi({
...this.storeSearchForm,
pageNum: this.pageNum,
pageSize: this.pageSize
// merchantNoList: this.merchantIds
}).then((res) => {
// res?.forEach((val) => {
// 账户中心门店返回商户号字段是merchantNo
// if (val.merchantNo) val.merchantId = Number(val.merchantNo)
// val?.sceneList?.forEach((subVal) => {
// if (subVal.scene == this.selectedScene) {
// val.yqMerchantId = subVal?.yqMerchant?.merchantId || "-"
// val.yqMerchantName = subVal?.yqMerchant?.merchantName || "-"
// }
// })
// })
this.selectingData = res.data
this.total = res.count
this.$nextTick(() => {
this.recoverySelection()
})
})
},
handleChange(selection, row) {
var addOrDelete = !!selection.find(
(item) => item.staffUuid === row.staffUuid
)
addOrDelete
? this.selectedData.push(row)
: (this.selectedData = this.selectedData.filter(
(item) => item.staffUuid !== row.staffUuid
))
},
handleAll(selection) {
this.selectingData.forEach((item) => {
var isExit = this.selectedData.findIndex(
(subItem) => subItem.staffUuid === item.staffUuid
)
if (selection.length && isExit === -1) {
this.selectedData.push(item)
} else if (!selection.length && isExit !== -1) {
this.selectedData.splice(isExit, 1)
}
})
},
handleDelete(row) {
this.selectedData = this.selectedData.filter(
(item) => item.staffUuid !== row.staffUuid
)
const obj = this.selectingData.find((v) => v.staffUuid == row.staffUuid)
this.$refs.seletingTable.toggleRowSelection(obj)
},
handleCurrentChange(val) {
this.pageNum = val
this.getSelectingList()
},
handleRelateStoreConfirm() {
this.$emit("handleRelateStoreConfirm", this.selectedData)
},
handleRelateStoreClose() {
this.$emit("handleRelateStoreClose")
}
}
}
</script>
<style lang="scss">
.relateStore .table {
margin: 0 auto 20px !important;
width: 98%;
}
.relateStore .tableCon {
margin-top: 20px;
display: flex;
.tableBox {
flex: 1;
}
}
.service-store .relateStore .el-table .cell,
.d2-form .relateStore .el-table .cell {
line-height: 26px !important;
}
.service-store .relateStore .el-table--medium td,
.d2-form .relateStore .el-table--medium td {
padding: 6px 8px !important;
}
.relateStore .red {
color: red;
}
.relateStore .tip-icon {
position: absolute;
display: inline-block;
height: 10px;
width: 10px;
line-height: 10px;
color: #ffffff;
background-color: red;
border: 1px solid red;
border-radius: 50%;
cursor: pointer;
font-size: 6px;
margin-left: 2px;
}
</style>
const scenarioType = {
0: '会员权益/升级',
1: '精品升级',
2: '次新车转化',
3: '售后众筹',
4: '积分商城'
}
export { scenarioType }
<!--
* @Description: 明细
* @Author: huyue
* @Date: 2024-04-16 17:54:27
* @LastEditors: huyue
* @LastEditTime: 2024-04-26 10:39:14
-->
<template>
<div>
<div class="title-box">
<div class="title-tag">{{ scenarioType[taskInfo.businessScenario] }}</div>
<div class="title">{{ taskInfo.taskName }}</div>
<div class="title-time">创建时间:{{ taskInfo.createdDate }}</div>
<div class="title-time">任务时间:{{ taskInfo.startTime }} - {{ taskInfo.endTime }}</div>
</div>
<d2-container style="margin-top: 50px;">
<div class="header" slot="header" style="padding: 10px 20px">
<d2-search
ref="showSearch"
class="show-search"
label-width="110px"
:search-form="searchForm"
:form-data="showFormData">
<div class="up-btns">
<el-button size="small" type="primary" @click="handleSearch">
查询
</el-button>
<el-button size="small" @click="handleReset"> 重置 </el-button>
</div>
</d2-search>
</div>
<div class="d2-container-content" style="position: positive">
<span style="position: absolute; right: 41px; top: 42px; z-index: 999;">
<el-button @click="handleExport" size="small" type="primary">
导出
</el-button>
</span>
<el-tabs v-model="activeName" type="card" @tab-click="handleTabChange">
<el-tab-pane label="全部" name="all"> </el-tab-pane>
<el-tab-pane label="未完成" name="0"> </el-tab-pane>
<el-tab-pane label="已完成" name="1"> </el-tab-pane>
</el-tabs>
<d2-table
ref="exerciseDetailTable"
:has-num="true"
:search-form="searchFormSearch"
:table-params="tableParams"
:get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<template slot="auth-button-other" slot-scope="scope">
<el-button type="text" @click="btnClick(scope)">{{ scope.scope.sparringStatus == 1 ? '查看结果' : '提醒' }}</el-button>
</template>
<div slot="sparringStatus" slot-scope="scope">
<div class="online-status"><span :class="[scope.scope.sparringStatus === 0 ? 'dot blue' : scope.scope.sparringStatus === 1 ? 'dot green' : 'dot orange']"></span>{{scope.scope.sparringStatus ? '已完成' : '未完成'}}</div>
</div>
</d2-table>
</div>
</d2-container>
<quality-detail :is-quality-visible="isQualityVisible" v-if="isQualityVisible" :detail-obj="detailObj"
@closeDialog="closeDialog"></quality-detail>
</div>
</template>
<script>
import { mapActions, mapState } from 'vuex'
import QualityDetail from "./components/dialogResult.vue"
import { Util, deepClone } from '@/common/util'
import { getTaskStaffList, remindTaskStaff } from "@api/exercise"
import { scenarioType } from './contant'
export default {
components: { QualityDetail },
data() {
return {
scenarioType,
activeName: 'all',
searchForm: {},
showFormData: [
{
label: "手机号",
name: "staffPhone",
type: "input",
isclear: true
},
{
label: "驻店名称",
name: "yqMerchantName",
type: "input",
isclear: true
},
{
label: "完成时间",
name: "completionTime",
type: "datePicker",
isclear: true
}
],
// table 相关
getListApi: getTaskStaffList,
searchFormSearch: {},
tableParams: {
listName: "list",
tableOption: true,
tableColumns: [{
label: "手机号",
prop: "staffPhone"
}, {
label: "驻店名称",
prop: "yqMerchantName"
}, {
label: "完成状态",
prop: "sparringStatus",
addHtml: 'sparringStatus'
}, {
label: "完成时间",
prop: "completionTime"
}]
},
isQualityVisible: false,
detailObj: {},
taskInfo: {}
}
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
})
},
mounted() {
console.log(this.$route.query, '===')
this.taskInfo = this.$route.query.row
this.searchFormSearch.taskId = this.taskInfo.id
},
methods: {
...mapActions({
get: 'd2admin/base/get',
close: 'd2admin/page/close'
}),
...mapActions('d2admin/user', ['actionSetDownloadList']),
handleSearch() {
console.log('search', this.searchFormSearch)
this.$refs.exerciseDetailTable.refreshTable(true, true)
},
handleReset() {
console.log('handleReset')
const { activeName } = this
this.searchForm = {}
this.searchForm.sparringStatus = activeName != 'all' ? activeName : ''
this.searchFormSearch = {}
this.$refs.exerciseDetailTable.refreshTable(true, true)
},
// 查询和导出的参数
getParams() {
var params = deepClone(this.searchForm)
const { activeName } = this
params.taskId = this.taskInfo.id
if (params.completionTime && params.completionTime.length) {
params.startTime = Util.dateFormate(params.completionTime[0], 'YYYY-MM-DD HH:mm:ss')
params.endTime = Util.dateFormate(params.completionTime[1], 'YYYY-MM-DD HH:mm:ss')
delete params.completionTime
}
params.sparringStatus = activeName != 'all' ? activeName : ''
return params
},
beforeSearchFn() {
return new Promise(resolve => {
this.searchFormSearch = this.getParams()
resolve()
})
},
// tab 列表切换
handleTabChange(tab, event) {
console.log(tab, event)
this.activeName = tab.name
this.handleSearch()
},
// 查看结果和提醒
btnClick(scope) {
console.log(scope, '2222222')
const _row = scope.scope
if (_row.sparringStatus == '1') {
// 查看结果
this.detailObj = _row
this.isQualityVisible = true
} else {
this.$confirm('是否确认发送提醒给驻店员工?', '发送提醒', {
confirmButtonText: '确定',
type: 'warning'
}).then(() => {
console.log('dia关闭')
const params = {
id: this.taskInfo.id
}
remindTaskStaff(params).then(res => {
console.log(res)
this.$message.success('提醒成功')
})
})
}
},
closeDialog() {
this.isQualityVisible = false
},
// 导出
handleExport() {
var params = this.getParams()
params.method =
"dj.api.smartcarlife.ai.sparring.task.staff.list.export"
const list = [
...this.dowloadList,
{
name: "明细列表",
exportParam: JSON.stringify(params),
status: "waiting",
timeid: new Date().getTime()
}
]
this.actionSetDownloadList({ list, type: "dowloadList" })
}
}
}
</script>
<style scoped lang="scss">
.title-box {
display: flex;
align-items: center;
margin-left: 24px;
.title-tag {
font-size: 14px;
color: #1d1d1d;
padding: 6px 16px;
background: #ffffff;
border: 1px solid #e8e8ea;
border-radius: 16px;
}
.title {
font-weight: 500;
font-size: 16px;
color: #1d1d1d;
margin-left: 12px;
line-height: 24px;
}
.title-time {
font-size: 14px;
color: #666666;
margin-left: 20px;
}
}
.online-status {
display: flex;
justify-content: center;
align-items: center;
.dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 8px;
}
.green {
background-color: #27CD5A;
}
.orange {
background-color: #FDB757;
}
.blue {
background-color: #2a58ad;
}
}
</style>
<!--
* @Description: AI对练
* @Author: huyue
* @Date: 2024-04-15 16:26:57
* @LastEditors: huyue
* @LastEditTime: 2024-04-26 10:24:29
-->
<template>
<div>
<d2-container>
<div class="header" slot="header" style="padding: 10px 20px;">
<d2-search ref="showSearch" class="show-search" label-width="110px" :search-form="searchForm"
:form-data="showFormData">
<div class="up-btns">
<el-button size="small" type="primary" @click="handleSearch">
查询
</el-button>
<el-button size="small" @click="handleReset">
重置
</el-button>
</div>
</d2-search>
</div>
<div class="d2-container-content" style="position: positive;">
<span style="position: absolute; right: 41px; top: 42px; z-index: 999;">
<auth-button :show-btn-ids="['9120801', '9120802']"
category="Button" />
</span>
<el-tabs v-model="activeName" type="card" @tab-click="handleTabChange">
<el-tab-pane label="全部" name="all">
</el-tab-pane>
<el-tab-pane label="进行中" name="1">
</el-tab-pane>
<el-tab-pane label="已结束" name="2">
</el-tab-pane>
</el-tabs>
<d2-table ref="exerciseTable" :has-num="true" :search-form="searchFormSearch" :table-params="tableParams"
:get-list-api="getListApi" :before-search-fn="beforeSearchFn">
<template slot="auth-button" slot-scope="scope">
<auth-button :data="scope.scope" />
</template>
<div slot="prompt" slot-scope="scope">
<el-switch
:value="scope.scope.promptOnOff" @change="handleSwitch(scope)">
</el-switch>
</div>
<div slot="taskState" slot-scope="scope">
<div class="online-status"><span :class="[scope.scope.taskState === 0 ? 'dot blue' : scope.scope.taskState === 1 ? 'dot orange' : 'dot gray']"></span>{{ statusObj[scope.scope.taskState] }}</div>
</div>
</d2-table>
</div>
</d2-container>
</div>
</template>
<script>
import { mapActions, mapState } from 'vuex'
import { Util, deepClone } from '@/common/util'
import { getList, updateTaskPromptStatus } from '@api/exercise'
import { scenarioType } from './contant'
export default {
data() {
return {
searchForm: {},
showFormData: [
{
label: '任务名称',
name: 'taskName',
type: 'input'
},
// {
// label: '状态',
// name: 'taskState',
// type: 'select',
// optionList: [
// {
// label: '全部',
// value: ''
// },
// {
// label: '进行中',
// value: '1'
// },
// {
// label: '已结束',
// value: '2'
// },
// {
// label: '未开始',
// value: '0'
// }
// ],
// optionId: "value",
// optionLabel: "label",
// isClear: true
// },
{
label: '业务场景',
name: 'businessScenario',
type: 'select',
isClear: true,
optionList: [{
label: '全部',
name: ''
}, {
label: '会员权益/升级',
value: '0'
}],
optionId: "value",
optionLabel: "label"
},
{
label: '创建时间',
name: 'createdTime',
type: 'datePicker',
isClear: true,
pickerOptions: 'rangePickerOptions'
},
{
label: '任务时间',
name: 'taskTime',
type: 'datePicker',
isClear: true
// pickerOptions: 'rangePickerOptions'
}
],
statusTypeList: [
{
label: '全部',
value: ''
},
{
label: '进行中',
value: '1'
},
{
label: '已结束',
value: '2'
},
{
label: '未开始',
value: '0'
}
],
statusObj: { 0: '未开始', 1: '进行中', 2: '已结束' },
activeName: 'all',
// table相关
getListApi: getList,
searchFormSearch: {},
tableParams: {
listName: 'list',
tableOption: true,
tableColumns: [{
label: '业务场景',
prop: 'businessScenario',
formatter: cellValue => {
return scenarioType[cellValue.businessScenario]
}
}, {
label: '任务名称',
prop: 'taskName'
}, {
label: '提示词',
prop: 'promptOnOff',
addHtml: "prompt",
width: '80'
}, {
label: '状态',
prop: 'taskState',
addHtml: "taskState",
width: '80'
}, {
label: '创建时间',
prop: 'createdDate',
formatter: cellValue => {
return Util.dateFormate(cellValue.createdDate, 'YYYY-MM-DD HH:mm:ss')
}
}, {
label: '任务时间',
prop: 'startTime',
formatter: cellValue => {
return Util.dateFormate(cellValue.startTime, 'YYYY-MM-DD') + '-' + Util.dateFormate(cellValue.endTime, 'YYYY-MM-DD')
}
}]
}
}
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
})
},
methods: {
...mapActions({
get: 'd2admin/base/get',
close: 'd2admin/page/close'
}),
...mapActions('d2admin/user', ['actionSetDownloadList']),
handleSearch() {
this.$refs.exerciseTable.refreshTable(true, true)
},
beforeSearchFn() {
console.log(this.searchForm)
return new Promise(resolve => {
this.searchFormSearch = this.getParams()
resolve()
})
},
getParams() {
var params = deepClone(this.searchForm)
if (params.createdTime && params.createdTime.length) {
params.createTimeStart = Util.dateFormate(params.createdTime[0], 'YYYY-MM-DD HH:mm:ss')
params.createTimeEnd = Util.dateFormate(params.createdTime[1], 'YYYY-MM-DD HH:mm:ss')
delete params.createdTime
}
if (params.taskTime && params.taskTime.length) {
params.startTime = Util.dateFormate(params.taskTime[0], 'YYYY-MM-DD HH:mm:ss')
params.endTime = Util.dateFormate(params.taskTime[1], 'YYYY-MM-DD HH:mm:ss')
delete params.taskTime
}
console.log(params, '4444444444')
return params
},
handleReset() {
console.log('handleReset')
this.searchForm = {}
this.activeName = 'all'
this.searchFormSearch = {}
this.$refs.exerciseTable.refreshTable(true, true)
},
// tab 列表切换
handleTabChange(tab, event) {
console.log(tab, event)
this.searchForm.taskState = tab.name != 'all' ? tab.name : ''
this.handleSearch()
},
// 状态改变
handleSwitch(scope, e) {
console.log(scope)
const { promptOnOff, id } = scope.scope
this.$confirm(`是否确认${promptOnOff ? '关闭' : '开启'}提示词?`, '提示', {
confirmButtonText: '确定',
type: 'warning'
}).then(() => {
console.log('dia开启')
updateTaskPromptStatus({
id,
promptOnOff: !promptOnOff
}).then(res => {
if (res && res.id) {
this.$message.success('修改成功')
} else {
this.$message.error('修改失败')
}
this.$refs.exerciseTable.refreshTable(true)
}).catch(err => {
console.log(err)
this.$message.error('修改失败')
})
})
},
// 明细
handleToDetail(row) {
this.close({ tagName: '/exercise' })
this.$router.push({
path: '/exerciseDetail',
query: { row }
})
},
// 查看
handleToView(row) {
this.close({ tagName: '/exercise' })
this.$router.push({
path: '/exerciseView',
query: { row }
})
},
// 新建任务
handleToAdd() {
this.close({ tagName: '/exercise' })
this.$router.push({
path: '/exerciseAdd'
})
},
// 导出
handleExport() {
console.log('导出', this.searchFormSearch, this.getParams())
var params = this.getParams()
params.method =
"dj.api.smartcarlife.ai.sparring.task.list.export"
const list = [
...this.dowloadList,
{
name: "任务列表",
exportParam: JSON.stringify(params),
status: "waiting",
timeid: new Date().getTime()
}
]
this.actionSetDownloadList({ list, type: "dowloadList" })
}
// beforeSearchFn() {
// console.log('beforeSearchFn')
// }
}
}
</script>
<style scoped lang="scss">
.online-status {
display: flex;
justify-content: center;
align-items: center;
.dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 8px;
}
.gray {
background-color: #c5c5c5;
}
.orange {
background-color: #FDB757;
}
.blue {
background-color: #2a58ad;
}
}
</style>
<!--
* @Description:
* @Author: huyue
* @Date: 2024-04-17 17:50:41
* @LastEditors: huyue
* @LastEditTime: 2024-04-26 10:38:40
-->
<template>
<div>
<d2-container class="exercise-veiw">
<el-form label-width="230px">
<div class="d2-container-content">
<div class="storeConfigCon_title">
<div class="edit-sub-title title">基本信息</div>
</div>
<el-form-item label="业务场景:">
<span>{{ scenarioType[taskInfo.businessScenario] }}</span>
</el-form-item>
<el-form-item label="任务名称:">
<span>{{ taskInfo.taskName }}</span>
</el-form-item>
<el-form-item label="任务时间:">
<span>{{ taskInfo.startTime }} - {{ taskInfo.endTime }}</span>
</el-form-item>
</div>
<div class="d2-container-content">
<div class="storeConfigCon_title">
<div class="edit-sub-title title">任务明细</div>
</div>
<el-form-item label="任务分类:">
<span>{{ taskType[taskInfo.taskType] }}</span>
</el-form-item>
<el-form-item label="客户分类:">
<span>{{ aiType[taskInfo.aiType] }}</span>
</el-form-item>
<el-form-item label="提示词:">
<span>{{ taskInfo.promptOnOff == 1 ? '开' : '关' }}</span>
</el-form-item>
</div>
<div class="d2-container-content">
<div class="storeConfigCon_title">
<div class="edit-sub-title title">驻店员工</div>
</div>
<el-form-item label="驻店员工:">
<div style="width: 728px">
<d2-table
ref="exerciseViewTable"
:row-style="{height: '50px'}"
:has-num="true"
:search-form="searchForm"
:table-params="tableParams"
:get-list-api="getListApi">
</d2-table>
</div>
</el-form-item>
</div><el-form-item style="margin-top: 40px;text-align: center;">
<el-button class="width_100 cancel-btn" type="primary" plain @click="handleClose"> 返回 </el-button>
</el-form-item>
</el-form>
</d2-container>
</div>
</template>
<script>
import { mapActions } from 'vuex'
import { getTaskStaffList } from "@api/exercise"
import { scenarioType } from './contant'
export default {
data() {
return {
scenarioType,
tableData: [
{
staffName: '张三',
phoneNumber: '13812345678',
registerTime: '2019-09-09 12:00:00'
},
{
staffName: '张三',
phoneNumber: '13812345678'
}
],
getListApi: getTaskStaffList,
searchForm: {},
tableParams: {
listName: "list",
tableColumns: [{
label: "驻店名称",
prop: "yqMerchantName"
}, {
label: "驻店员工名称",
prop: "staffName"
}, {
label: "手机号",
prop: "staffPhone"
}]
},
taskInfo: {},
taskType: {
1: '实战演练'
},
aiType: {
1: '独裁型',
2: '沉默型',
3: '理智型',
4: '人际型',
5: '犹豫型',
6: '新手司机',
7: '老手司机',
8: '女司机',
9: '价格型'
}
}
},
mounted() {
this.taskInfo = this.$route.query.row
console.log(this.taskInfo)
this.searchForm.taskId = this.taskInfo.id
},
methods: {
...mapActions({
get: 'd2admin/base/get',
close: 'd2admin/page/close'
}),
handleClose() {
this.close({ tagName: '/exerciseView' })
this.$router.push({ name: 'exercise' })
}
}
}
</script>
<style scoped lang="scss">
.exercise-veiw {
.d2-container-content {
padding: 20px 0 !important;
}
}
.storeConfigCon_title {
box-sizing: border-box;
padding: 10px 20px;
border-bottom: 1px solid #e5e5e5;
.title {
margin: 0 !important;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!