Commit ca1eaf73 by 杨明

fixed

1 parent e266cb3f
......@@ -15,7 +15,7 @@
"echarts": "^5.2.0",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.3.9",
"glsx-components": "^1.4.1",
"glsx-table": "^1.1.0",
"jquery": "^3.6.0",
"sha1": "^1.1.1",
......
......@@ -126,7 +126,7 @@ export function clientManageExportApi(params) {
export function perfectCustomerPhone(params) {
params.method = `entmicro.api.customer.perfectCustomerPhone`
return http3({
url: 'http://192.168.3.193:8395/rop-scrm-entmicro/router',
url: '/rop-scrm-entmicro/router',
method: 'GET',
data: params,
sign: true
......
......@@ -16,7 +16,6 @@ export function getTableList(params) {
method: 'POST',
data: params,
sign: true
})
}
//计算表格上面的数量
......@@ -29,7 +28,6 @@ export function getTableTagNum(params) {
method: 'POST',
data: params,
sign: true
})
}
......@@ -54,7 +52,6 @@ export function updateTag(params) {
data: params,
sign: true,
returnAll: true
})
}
//获取单条数据labelList数组
......@@ -67,7 +64,6 @@ export function queryLabelListByGroupId(params) {
data: params,
sign: true,
returnAll: true
})
}
......
......@@ -80,7 +80,7 @@ export default {
type
}
this.$apis.leadManage.selectableStaff(params).then(res => {
this.tableData = res.list
this.tableData = res.list ? res.list : []
this.tableTotal = res.total
})
},
......
......@@ -157,11 +157,13 @@ export default {
if (this.tableTotal == 0) {
this.$refs.viewCustomers.setTableHeightFun()
}
if (tagLists.length == 0) {
document.querySelector('.noDataText').innerText = '请选择标签'
} else {
document.querySelector('.noDataText').innerText = '暂无数据'
}
// this.$nextTick(() => {
// if (tagLists.length == 0) {
// document.querySelector('.noDataText').innerText = '请选择标签'
// } else {
// document.querySelector('.noDataText').innerText = '暂无数据'
// }
// })
})
.catch(err => {
this.userLoading = false
......
......@@ -16,12 +16,14 @@ const toLabel = value => {
if (value !== 0 && !value) {
return
}
let sourceList = JSON.parse(window.localStorage.getItem('sourceList'))
if (sourceList) {
let curElement = sourceList.find(item => {
return item.value === value
})
return curElement.label
}
}
const tagType = value => {
let type = ''
......
......@@ -815,6 +815,8 @@ export default {
if (res) {
this.getPageDetail()
this.$message.success('设置成功')
} else {
this.$message.error('设置失败')
}
})
this.phoneVisible = false
......@@ -1010,7 +1012,7 @@ export default {
font-size: 14px;
}
.leftWrapTop {
.leftWrapBottom{
.leftWrapBottom {
text-align: left;
}
padding: 0 20px;
......
......@@ -113,7 +113,7 @@ export default {
{
label: '操作',
prop: 'optionBtns',
width: '140px',
width: '180px',
addHtml: 'optionBtns',
fixed: 'right'
}
......
......@@ -24,7 +24,7 @@
</template>
<!-- 跟进员工 -->
<template slot="userName" slot-scope="scope">
<el-tag type="info" :disable-transitions="false" v-if="scope.scope.userName !== null">
<el-tag type="info" :disable-transitions="false" v-if="scope.scope.userName">
<i class="el-icon-user-solid"></i>
{{ scope.scope.userName }}
</el-tag>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!