|
|
@ -17,6 +17,7 @@ |
|
|
|
|
|
|
|
|
<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: {}, |
|
|
@ -91,8 +92,8 @@ export default { |
|
|
getList() { |
|
|
getList() { |
|
|
this.list = [] |
|
|
this.list = [] |
|
|
if (this.dictType === 'business_ccwz') { |
|
|
if (this.dictType === 'business_ccwz') { |
|
|
listData(this.queryParams).then(response => { |
|
|
|
|
|
this.list = response.rows |
|
|
|
|
|
|
|
|
public_storageLocation(this.queryParams).then(response => { |
|
|
|
|
|
this.list = response.data |
|
|
this.list.forEach(item => { |
|
|
this.list.forEach(item => { |
|
|
item.dictLabel = item.bh |
|
|
item.dictLabel = item.bh |
|
|
item.dictCode = item.id |
|
|
item.dictCode = item.id |
|
|
|