Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
183fff1e8e
@ -365,29 +365,72 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
async getDictList() {
|
async getDictList() {
|
||||||
request({
|
request({
|
||||||
url: "/system/dict/data/type/car_use_nature",
|
url: '/system/dict-data/page?pageNo=1&pageSize=100&dictType=car_use_nature',
|
||||||
method: 'get',
|
method: 'get'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
console.log('res: ',res);
|
||||||
this.carUseNature.push(res.data)
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
||||||
})
|
const data = res.data.list.map(m => {
|
||||||
|
return {
|
||||||
request({
|
dictValue: m.value,
|
||||||
url: "/system/dict/data/type/jyc_type",
|
dictLabel: m.label
|
||||||
method: 'get',
|
}
|
||||||
}).then(res => {
|
})
|
||||||
this.jycType.push(res.data)
|
this.carUseNature.push(data)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
// request({
|
||||||
request({
|
// url: "/system/dict/data/type/car_use_nature",
|
||||||
url: "/system/dict/data/type/car_license_color",
|
// method: 'get',
|
||||||
method: 'get',
|
// }).then(res => {
|
||||||
}).then(res => {
|
//
|
||||||
this.licenseColor.push(res.data)
|
// this.carUseNature.push(res.data)
|
||||||
|
// })
|
||||||
})
|
request({
|
||||||
|
url: '/system/dict-data/page?pageNo=1&pageSize=100&dictType=jyc_type',
|
||||||
|
method: 'get'
|
||||||
|
}).then(res => {
|
||||||
|
console.log('res: ',res);
|
||||||
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
||||||
|
const data = res.data.list.map(m => {
|
||||||
|
return {
|
||||||
|
dictValue: m.value,
|
||||||
|
dictLabel: m.label
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.jycType.push(data)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// request({
|
||||||
|
// url: "/system/dict/data/type/jyc_type",
|
||||||
|
// method: 'get',
|
||||||
|
// }).then(res => {
|
||||||
|
// this.jycType.push(res.data)
|
||||||
|
//
|
||||||
|
// })
|
||||||
|
request({
|
||||||
|
url: '/system/dict-data/page?pageNo=1&pageSize=100&dictType=car_license_color',
|
||||||
|
method: 'get'
|
||||||
|
}).then(res => {
|
||||||
|
console.log('res: ',res);
|
||||||
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
||||||
|
const data = res.data.list.map(m => {
|
||||||
|
return {
|
||||||
|
dictValue: m.value,
|
||||||
|
dictLabel: m.label
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.licenseColor.push(data)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// request({
|
||||||
|
// url: "/system/dict/data/type/car_license_color",
|
||||||
|
// method: 'get',
|
||||||
|
// }).then(res => {
|
||||||
|
// this.licenseColor.push(res.data)
|
||||||
|
//
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -246,21 +246,49 @@
|
|||||||
methods: {
|
methods: {
|
||||||
newtwo() {
|
newtwo() {
|
||||||
request({
|
request({
|
||||||
url: '/system/dict/data/type/fee_type',
|
url: '/system/dict-data/page?pageNo=1&pageSize=100&dictType=fee_type',
|
||||||
method: 'get',
|
method: 'get'
|
||||||
|
}).then(res => {
|
||||||
}).then((res) => {
|
console.log('res: ',res);
|
||||||
this.manei = res.data
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
||||||
console.log(res);
|
this.manei = res.data.list.map(m => {
|
||||||
|
return {
|
||||||
|
dictValue: m.value,
|
||||||
|
dictLabel: m.label
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
// request({
|
||||||
|
// url: '/system/dict/data/type/fee_type',
|
||||||
|
// method: 'get',
|
||||||
|
|
||||||
|
// }).then((res) => {
|
||||||
|
// this.manei = res.data
|
||||||
|
// console.log(res);
|
||||||
|
// })
|
||||||
request({
|
request({
|
||||||
url: '/system/dict/data/type/rescue_car_type',
|
url: '/system/dict-data/page?pageNo=1&pageSize=100&dictType=rescue_car_type',
|
||||||
method: 'get',
|
method: 'get'
|
||||||
|
}).then(res => {
|
||||||
}).then((res) => {
|
console.log('res: ',res);
|
||||||
this.car = res.data
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
||||||
console.log(res);
|
this.car = res.data.list.map(m => {
|
||||||
|
return {
|
||||||
|
dictValue: m.value,
|
||||||
|
dictLabel: m.label
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
// request({
|
||||||
|
// url: '/system/dict/data/type/rescue_car_type',
|
||||||
|
// method: 'get',
|
||||||
|
|
||||||
|
// }).then((res) => {
|
||||||
|
// this.car = res.data
|
||||||
|
// console.log(res);
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
kcdd() {
|
kcdd() {
|
||||||
request({
|
request({
|
||||||
|
Loading…
Reference in New Issue
Block a user