|
@@ -730,6 +730,8 @@ export default {
|
|
formData.append('file', file)
|
|
formData.append('file', file)
|
|
|
|
|
|
formData.append('policyId', this.comCode || this.code)
|
|
formData.append('policyId', this.comCode || this.code)
|
|
|
|
+ formData.append('type', this.policyType)
|
|
|
|
+
|
|
// formData.append("mainId", this.searchForm.mainId);
|
|
// formData.append("mainId", this.searchForm.mainId);
|
|
const result = await handleImport('policy/limit/import', formData)
|
|
const result = await handleImport('policy/limit/import', formData)
|
|
console.log(result)
|
|
console.log(result)
|
|
@@ -950,10 +952,15 @@ export default {
|
|
.map(k => {
|
|
.map(k => {
|
|
return k.customerId
|
|
return k.customerId
|
|
})
|
|
})
|
|
- .join('')
|
|
|
|
|
|
+ .join(',')
|
|
|
|
+ const dis = this.selectedData
|
|
|
|
+ .map(k => {
|
|
|
|
+ return k.id
|
|
|
|
+ })
|
|
|
|
+ .join(',')
|
|
const params = {
|
|
const params = {
|
|
customerIds,
|
|
customerIds,
|
|
- policyId: this.comCode || this.code
|
|
|
|
|
|
+ dis
|
|
}
|
|
}
|
|
if (type) {
|
|
if (type) {
|
|
params.limitQty = this.limitQty
|
|
params.limitQty = this.limitQty
|