Commit a7414d67 by cen

feat: 更新签署人类型和优化合同详情组件

1 parent 1e15453c
......@@ -1814,6 +1814,7 @@ export const paymentMethodOpt = [
{ confId: "2", confValue: "冲账" }
]
export const signerTypeOpt = [
{ confId: 0, confValue: "个人-企业" },
{ confId: 1, confValue: "企业-企业" }
{ confId: 0, confValue: "个人" },
{ confId: 1, confValue: "企业委托" },
{ confId: 2, confValue: "企业" }
]
......@@ -220,7 +220,7 @@ export default {
},
handleReset() {
this.searchForm = this.$options.data.call(this).searchForm
this.$refs.vehicleLedgerTable.refreshTable(true, true)
this.$refs.reportManagementTable.refreshTable(true, true)
},
getOptionsList() {
this.showFormData.forEach((item, index) => {
......@@ -263,6 +263,18 @@ export default {
delete params.dateValue
return params
},
filterIds() {
const ids = []
if (this.$refs.reportManagementTable.mutiSelectArr.mutiSelectIndex) {
this.$refs.reportManagementTable.mutiSelectArr.mutiSelectIndex.forEach(
(item) => {
ids.push(item.id)
}
)
}
console.log(ids)
return ids
},
handleExport() {
const params = {
method: "/checkReport/export",
......@@ -270,6 +282,7 @@ export default {
server_provider_name: "gsc-vcp-web-facade",
...this.getParams()
}
params.idsStr = this.filterIds().join(",")
Object.keys(params).forEach((key) => {
if (
params[key] === null ||
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!