Commit ca1eaf73 by 杨明

fixed

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