Commit e1cdc26e by 李伟康

修复BUG

1 parent 38cf6027
...@@ -627,7 +627,7 @@ html { ...@@ -627,7 +627,7 @@ html {
width: fit-content; width: fit-content;
max-width: 410px; max-width: 410px;
box-sizing: border-box; box-sizing: border-box;
// border: 1px solid #E5E5E5 !important; border: 1px solid #E5E5E5 !important;
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.078); box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.078);
} }
......
...@@ -18,6 +18,12 @@ ...@@ -18,6 +18,12 @@
:tableParams="tableParams" :tableParams="tableParams"
:pageConf="pageConf" :pageConf="pageConf"
> >
<div
slot-scope="scope"
slot="merchantName"
>
{{ scope.scope.merchantName }} {{ scope.scope.merchantId }}
</div>
<span <span
slot="auth-button" slot="auth-button"
slot-scope="scope" slot-scope="scope"
...@@ -75,7 +81,7 @@ export default { ...@@ -75,7 +81,7 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '商户', label: '商户',
prop: 'merchantName', addHtml: 'merchantName',
}, },
{ {
label: '用户企微名', label: '用户企微名',
...@@ -120,14 +126,14 @@ export default { ...@@ -120,14 +126,14 @@ export default {
mounted () { mounted () {
}, },
methods: { methods: {
handleSearch() { handleSearch () {
this.$refs.listRef.refreshTable() this.$refs.listRef.refreshTable()
}, },
handleReset() { handleReset () {
this.searchForm = this.$options.data.call(this).searchForm this.searchForm = this.$options.data.call(this).searchForm
this.handleSearch() this.handleSearch()
}, },
jumpDetail(id){ jumpDetail (id) {
this.$router.push({ this.$router.push({
path: '/ChatLibrary/iusseDetail', path: '/ChatLibrary/iusseDetail',
query: { id } query: { id }
...@@ -145,7 +151,7 @@ export default { ...@@ -145,7 +151,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
padding: 20px; padding: 20px;
.table-title { .table-title {
font-weight: 500; font-weight: 700;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
padding-bottom: 18px; padding-bottom: 18px;
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
currentComponent: 'ai', currentComponent: 'ai',
tabPaneList: [ tabPaneList: [
{ {
label: '智能Ai话术', label: '智能AI话术',
name: '1' name: '1'
}, },
{ {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="title flex">用户详情</div> <div class="title flex">用户详情</div>
<div class="user-box flex"> <div class="user-box flex">
<div class="item flex"> <div class="item flex">
<div class="label">用户微信名:</div> <div class="label">用户企微名:</div>
{{staffDetail.staffName}} {{staffDetail.staffName}}
</div> </div>
<div class="item flex"> <div class="item flex">
...@@ -111,9 +111,14 @@ export default { ...@@ -111,9 +111,14 @@ export default {
}, },
methods: { methods: {
changeDate (e) { changeDate (e) {
let [beginDate, endDate] = e let beginDate = '',
this.searchForm.beginDate = dayjs(beginDate).format('YYYY-MM-DD') endDate = ''
this.searchForm.endDate = dayjs(endDate).format('YYYY-MM-DD') if (e) {
beginDate = dayjs(e[0]).format('YYYY-MM-DD')
endDate = dayjs(e[1]).format('YYYY-MM-DD')
}
this.searchForm.beginDate = beginDate
this.searchForm.endDate = endDate
this.$refs.listRef.refreshTable() this.$refs.listRef.refreshTable()
}, },
async getStaffChatRecordDetail () { async getStaffChatRecordDetail () {
...@@ -151,7 +156,7 @@ export default { ...@@ -151,7 +156,7 @@ export default {
.title { .title {
height: 58px; height: 58px;
padding: 0 20px; padding: 0 20px;
font-weight: 500; font-weight: 700;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!