Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 184e86ee
authored
Aug 22, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户管理-客户信息管理-列表字段、来源等&客户详情的最后保养时间、车险时间、保单信息、设备信息等优化
1 parent
7128de28
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
30 deletions
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/views/clientManage/clientDetail.vue
View file @
184e86e
...
@@ -447,12 +447,12 @@ export default {
...
@@ -447,12 +447,12 @@ export default {
guaranteeTableData
:
[],
//保单
guaranteeTableData
:
[],
//保单
guaranteeTableParams
:
[
guaranteeTableParams
:
[
{
{
label
:
"
保
单号:"
,
label
:
"单号:"
,
prop
:
"attInsureOrder"
,
prop
:
"attInsureOrder"
,
addHtml
:
"standNo"
addHtml
:
"standNo"
},
},
{
{
label
:
"
产品
名称:"
,
label
:
"
权益
名称:"
,
prop
:
"attProductName"
prop
:
"attProductName"
},
},
{
{
...
@@ -464,15 +464,15 @@ export default {
...
@@ -464,15 +464,15 @@ export default {
prop
:
"attServiceCompany"
prop
:
"attServiceCompany"
},
},
{
{
label
:
"
保险
生效时间:"
,
label
:
"生效时间:"
,
prop
:
"attInsureStartTime"
prop
:
"attInsureStartTime"
},
},
{
{
label
:
"
保险
到期时间:"
,
label
:
"到期时间:"
,
prop
:
"attInsureEndTime"
prop
:
"attInsureEndTime"
},
},
{
{
label
:
"
保险提单
时间:"
,
label
:
"
提报
时间:"
,
prop
:
"attInsureSubmitTime"
prop
:
"attInsureSubmitTime"
},
},
{
{
...
...
src/views/clientManage/index.vue
View file @
184e86e
...
@@ -343,9 +343,6 @@ export default {
...
@@ -343,9 +343,6 @@ export default {
flushTime
:
false
flushTime
:
false
}
}
},
},
// activated() {
// this.searchTable()
// },
created
()
{
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
//运行在qiankun容器中
...
@@ -445,16 +442,6 @@ export default {
...
@@ -445,16 +442,6 @@ export default {
this
.
$refs
.
clientManage
.
setTableHeightFun
()
this
.
$refs
.
clientManage
.
setTableHeightFun
()
},
},
setTableFinishFun
()
{
setTableFinishFun
()
{
//关闭默认时间30天再刷新,showDefaultTime也要设置false
// if (!this.flushTime) {
// this.flushTime = true
// this.searchTable()
// }
//接收到的数据为空
// if (!this.$refs.clientManage.data.length) {
// this.$refs.clientManage.setTableHeightFun()
// }
this
.
$refs
.
clientManage
.
data
.
length
?
(
this
.
$refs
.
clientManage
.
tableHeightValues
=
''
)
:
this
.
$refs
.
clientManage
.
setTableHeightFun
()
this
.
$refs
.
clientManage
.
data
.
length
?
(
this
.
$refs
.
clientManage
.
tableHeightValues
=
''
)
:
this
.
$refs
.
clientManage
.
setTableHeightFun
()
},
},
getParams
()
{
getParams
()
{
...
@@ -476,18 +463,6 @@ export default {
...
@@ -476,18 +463,6 @@ export default {
return
params
return
params
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
// return new Promise((resolve, reject) => {
// this.searchFormTable = JSON.parse(JSON.stringify(this.searchForm))
// if (this.searchFormTable.daterange) {
// this.searchFormTable.beginTime = this.searchForm.daterange[0]
// this.searchFormTable.endTime = this.searchForm.daterange[1]
// delete this.searchFormTable.daterange
// } else {
// if (this.searchFormTable.beginTime) delete this.searchFormTable.beginTime && delete this.searchFormTable.endTime
// }
// resolve()
// })
return
new
Promise
(
async
(
resolve
)
=>
{
return
new
Promise
(
async
(
resolve
)
=>
{
if
(
Object
.
keys
(
this
.
$route
.
query
).
length
&&
this
.
queryFlag
==
0
)
{
if
(
Object
.
keys
(
this
.
$route
.
query
).
length
&&
this
.
queryFlag
==
0
)
{
const
res
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'sourceList'
))
const
res
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'sourceList'
))
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment