Commit 184e86ee by xuyl

客户管理-客户信息管理-列表字段、来源等&客户详情的最后保养时间、车险时间、保单信息、设备信息等优化

1 parent 7128de28
...@@ -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"
}, },
{ {
......
...@@ -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'))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!