Commit 08206c9f by 李伟康

commit 客户档案&标签

1 parent f83a1691
......@@ -332,8 +332,8 @@ export const routerName = {
component: _import("contentManager/customerFile/index")
},
9131701:{
path: "/contentDetails",
name: "contentDetails",
path: "/customerFileDetails",
name: "customerFileDetails",
meta: {
title: "话术管理",
authId: "9131701",
......@@ -341,6 +341,6 @@ export const routerName = {
cache: false
},
auth: [],
component: _import("contentManager/customerFile/contentDetails")
component: _import("contentManager/customerFile/customerFileDetails")
}
}
......@@ -568,7 +568,7 @@
>
<el-form-item
prop="headings"
label="段落标题"
label="段落标题:"
:style="{ 'margin-bottom': '22px' }"
>
<el-input
......@@ -580,7 +580,7 @@
</el-form-item>
<el-form-item
prop="content"
label="段落内容"
label="段落内容:"
:style="{ 'margin-bottom': '22px' }"
>
<el-input
......@@ -647,7 +647,7 @@
<p class="photo-top-tips">支持mp3,大小不超过200M</p>
</el-form-item>
<el-form-item
label="上传多张图片"
label="上传多张图片:"
:style="{ 'margin-bottom': '22px' }"
>
<glsx-preview
......
......@@ -248,7 +248,7 @@ export default {
label: '查看时长',
minWidth: 220,
formatter: (cellValue) => {
return cellValue.solutionBrowsingDurationCount ? secondsToMinutesAndSeconds(cellValue.solutionBrowsingDurationCount) : `0分钟0秒`
return cellValue.solutionBrowsingDurationCount ? secondsToMinutesAndSeconds(cellValue.solutionBrowsingDurationCount) : `0秒`
}
},
]
......@@ -306,7 +306,7 @@ export default {
this.$router.push({
name: "contentAdd",
params: {
scene: query.scene,
scene: Number(query.scene),
showChannel: 2,
type: 3,
receptionSceneInfoList: [{
......
......@@ -93,7 +93,7 @@
</div>
</template>
<template v-else>
<span>{{ scope.scope.customerTagName || '--' }}</span>
<span>{{ scope.scope.customerTagName || '-' }}</span>
</template>
</template>
<template
......@@ -392,7 +392,7 @@ export default {
},
jumpDetail (row) {
this.$router.push({
name: "contentDetails",
name: "customerFileDetails",
query: {
id: row.id,
receptionSceneName: row.receptionSceneName,
......@@ -425,6 +425,7 @@ export default {
display: flex;
align-items: center;
padding: 0 10px;
justify-content: center;
.tag {
white-space: nowrap;
overflow: hidden;
......
......@@ -59,6 +59,7 @@
<div
v-if="item.addHtml"
:key="tableKey"
class="label-name"
>
<template v-if="scope.row.level == 2 && scope.row.isEdit">
<el-input
......@@ -66,7 +67,7 @@
:maxlength="item.maxlength"
:placeholder="item.placeholder"
:ref="`${scope.row.id}`"
size="small"
size="mini"
:class="scope.row.className"
></el-input>
</template>
......@@ -231,17 +232,17 @@ export default {
label: '序号',
prop: 'num',
type: 'ownSerialNum',
width: 60,
minWidth: 60,
}, {
label: '一级分类',
addHtml: 'labelName',
minWidth: 220,
minWidth: 300,
maxlength: 30,
placeholder: '请输入'
}, {
label: '业务类型',
minWidth: 220,
minWidth: 180,
formatter: (cellValue) => {
return SCENE_OPTIONS.find(e => e.id == cellValue.scene)?.label || '-'
},
......@@ -250,13 +251,13 @@ export default {
formatter: (cellValue) => {
return cellValue.updatedDate ? Util.dateFormate(cellValue.updatedDate, 'YYYY-MM-DD HH:mm:ss') : '-'
},
minWidth: 220
minWidth: 200
}, {
label: '生效时间',
formatter: (cellValue) => {
return cellValue.status == -1 ? '-' : cellValue.effectiveTime ? Util.dateFormate(cellValue.effectiveTime, 'YYYY-MM-DD HH:mm:ss') : '-'
},
minWidth: 220
minWidth: 200
}
]
},
......@@ -284,7 +285,6 @@ export default {
...this.page,
...this.searchForm
})
console.log(list)
list?.map((e, index) => e.num = this.indexNum(index))
this.tableTotal = total || 0
this.tableData = list || []
......@@ -319,13 +319,13 @@ export default {
parentId: row.id,
editId: childrenId
}
if (item.nextList && item.nextList.length) item.nextList.unshift(childrenItem)
else item.nextList = [childrenItem]
this.$nextTick(() => {
this.$refs.table.toggleRowExpansion(row, true)
setTimeout(() => {
this.$refs[childrenId][0].focus()
this.$refs.table.setCurrentRow(childrenItem)
}, 100)
})
},
......@@ -430,4 +430,7 @@ export default {
border-color: red;
}
}
.label-name{
padding: 4px 10px;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!