Commit 2ee46ddf by 张立顺

Merge branch 'SAAS+V4.50.0-0311' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.50.0-0311
2 parents 1f033386 64e17495
...@@ -56,6 +56,10 @@ export default { ...@@ -56,6 +56,10 @@ export default {
async search () { async search () {
try { try {
this.loading = true this.loading = true
this.$message.success({
message: '指标计算中,请耐心等待',
duration: 3000
})
this.boardList = this.$options.data.call(this).boardList this.boardList = this.$options.data.call(this).boardList
let { businessType } = this.searchForm let { businessType } = this.searchForm
const res = await getBoardList({ const res = await getBoardList({
......
...@@ -205,15 +205,11 @@ export default { ...@@ -205,15 +205,11 @@ export default {
// e.penetrationRate = Math.floor(Math.random() * 100) // e.penetrationRate = Math.floor(Math.random() * 100)
// e.touchConversionRate = Math.floor(Math.random() * 100) // e.touchConversionRate = Math.floor(Math.random() * 100)
// e.outputRatio = Math.floor(Math.random() * 201) - 100 // e.outputRatio = Math.floor(Math.random() * 201) - 100
let carBrandList = [], let supervisionNameList = []
supervisionNameList = []
e.brandList?.map(i => {
carBrandList.push(i.name)
})
e.supervisionList?.map(i => { e.supervisionList?.map(i => {
supervisionNameList.push(i.supervisionName) supervisionNameList.push(i.supervisionName)
}) })
e.carBrandList = carBrandList e.carBrandList = e.brandList.split(',')
e.supervisionNameList = supervisionNameList e.supervisionNameList = supervisionNameList
}) })
this.tableData = deepClone(res) this.tableData = deepClone(res)
......
...@@ -112,12 +112,17 @@ export default { ...@@ -112,12 +112,17 @@ export default {
async getBoardList () { async getBoardList () {
try { try {
this.loading = true this.loading = true
this.$message.success({
message: '指标计算中,请耐心等待',
duration: 3000
})
this.boardList = this.$options.data.call(this).boardList this.boardList = this.$options.data.call(this).boardList
let { merchantId, merchantName, businessType } = this.pageData, let { merchantId, merchantName, businessType } = this.pageData,
{ searchTime: { startDate, endDate } } = this { searchTime: { startDate, endDate } } = this
const res = await getBoardList({ const res = await getBoardList({
businessType, businessType,
merchantId, merchantId,
dateType: 3,
startDate, startDate,
endDate, endDate,
scope: 2 scope: 2
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!