|
|
@ -17,7 +17,6 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { listData } from "@/api/system/dict/data" |
|
|
import { listData } from "@/api/system/dict/data" |
|
|
import { public_storageLocation } from "@/api/business/public/public"; |
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: "BusinessSelect", |
|
|
name: "BusinessSelect", |
|
|
components: {}, |
|
|
components: {}, |
|
|
@ -92,8 +91,8 @@ export default { |
|
|
getList() { |
|
|
getList() { |
|
|
this.list = [] |
|
|
this.list = [] |
|
|
if (this.dictType === 'business_ccwz') { |
|
|
if (this.dictType === 'business_ccwz') { |
|
|
public_storageLocation(this.queryParams).then(response => { |
|
|
|
|
|
this.list = response.data |
|
|
|
|
|
|
|
|
listData(this.queryParams).then(response => { |
|
|
|
|
|
this.list = response.rows |
|
|
this.list.forEach(item => { |
|
|
this.list.forEach(item => { |
|
|
item.dictLabel = item.bh |
|
|
item.dictLabel = item.bh |
|
|
item.dictCode = item.id |
|
|
item.dictCode = item.id |
|
|
@ -133,4 +132,4 @@ export default { |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
|
|
|
|
|
|
</script> |