Commit 69c84edd by wangzhihui

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

…ife-system into SAAS+V4.51.1-0415
2 parents f8ea35e0 d5b65f35
...@@ -418,6 +418,7 @@ import { mapActions, mapState, mapMutations } from "vuex" ...@@ -418,6 +418,7 @@ import { mapActions, mapState, mapMutations } from "vuex"
import { getParkStore } from "@api/editCustomer" import { getParkStore } from "@api/editCustomer"
import chooseRuleDialog from './chooseRuleDialog' import chooseRuleDialog from './chooseRuleDialog'
import ruleInfoDialog from './ruleInfoDialog' import ruleInfoDialog from './ruleInfoDialog'
import { deepClone } from "@/common/util"
export default { export default {
name: "CarDamage", name: "CarDamage",
components: { components: {
...@@ -1135,11 +1136,9 @@ export default { ...@@ -1135,11 +1136,9 @@ export default {
}, },
getList() { getList() {
var params = this.getParams() var params = this.getParams()
params = { let eventParams = deepClone({ ...this.page, ...params })
...this.page, if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
...params getList(eventParams).then((res) => {
}
getList(params).then((res) => {
this.tableData = res.list.map((item) => { this.tableData = res.list.map((item) => {
item.paySuccessDate = item.paySuccessDate item.paySuccessDate = item.paySuccessDate
? Util.dateFormate(item.paySuccessDate, "YYYY-MM-DD HH:mm:ss") ? Util.dateFormate(item.paySuccessDate, "YYYY-MM-DD HH:mm:ss")
...@@ -1153,10 +1152,9 @@ export default { ...@@ -1153,10 +1152,9 @@ export default {
}, },
getOrderCount() { getOrderCount() {
var params = this.getParams() var params = this.getParams()
params = { let eventParams = deepClone({ ...params })
...params if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
} getOrderCount(eventParams).then((res) => {
getOrderCount(params).then((res) => {
this.totalCount = res.totalPriceCount this.totalCount = res.totalPriceCount
}) })
}, },
...@@ -1177,11 +1175,13 @@ export default { ...@@ -1177,11 +1175,13 @@ export default {
} }
params.pageNum = 1 params.pageNum = 1
params.method = "dj.api.smartcarlife.ordermanage.export.async" params.method = "dj.api.smartcarlife.ordermanage.export.async"
let eventParams = deepClone({ ...params })
if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: "订单列表", name: "订单列表",
exportParam: JSON.stringify(params), exportParam: JSON.stringify(eventParams),
status: "waiting", status: "waiting",
timeid: new Date().getTime() timeid: new Date().getTime()
} }
...@@ -1193,11 +1193,13 @@ export default { ...@@ -1193,11 +1193,13 @@ export default {
var params = this.getParams() var params = this.getParams()
params.pageNum = 1 params.pageNum = 1
params.method = "dj.api.smartcarlife.order.residentEquity.export.async" params.method = "dj.api.smartcarlife.order.residentEquity.export.async"
let eventParams = deepClone({ ...params })
if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: "分润&成本分析", name: "分润&成本分析",
exportParam: JSON.stringify(params), exportParam: JSON.stringify(eventParams),
status: "waiting", status: "waiting",
timeid: new Date().getTime() timeid: new Date().getTime()
} }
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="延保协议:" label="合同协议:"
class="photoItem photoItemList" class="photoItem photoItemList"
v-if="$$(detail.payOrder, 'zyVoucherUrl')" v-if="$$(detail.payOrder, 'zyVoucherUrl')"
> >
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!