diff --git a/src/api/basicdata/basicdataVehicle.js b/src/api/basicdata/basicdataVehicle.js index 0e5698c7..01412a84 100644 --- a/src/api/basicdata/basicdataVehicle.js +++ b/src/api/basicdata/basicdataVehicle.js @@ -2,7 +2,7 @@ import request from '@/axios'; export const getList = (current, size, params) => { return request({ - url: '/api/logpm-basicdata/vehicle/list', + url: '/api/logpm-basicdata/vehicle/page', method: 'get', params: { ...params, diff --git a/src/option/basicdata/basicdataVehicle.js b/src/option/basicdata/basicdataVehicle.js index c3fe0cab..9a1149c6 100644 --- a/src/option/basicdata/basicdataVehicle.js +++ b/src/option/basicdata/basicdataVehicle.js @@ -7,6 +7,7 @@ export default { border: true, index: true, viewBtn: false, + editBtn: false, selection: true, dialogClickModal: false, column: [ @@ -502,19 +503,19 @@ export default { align:'center', span:11, }, - { - label: "车辆挂靠公司", - prop: "vehicleParkingCompany", - type: "input", - labelWidth:'150', - width:"150px", - align:'center', - span:11, - }, + // { + // label: "车辆挂靠公司", + // prop: "vehicleParkingCompany", + // type: "input", + // labelWidth:'150', + // width:"150px", + // align:'center', + // span:11, + // }, { label: "是否有GPS", prop: "withGps", - type: "input", + type: "select", labelWidth:'150', width:"150px", align:'center', @@ -687,26 +688,28 @@ export default { url: 'link', }, }, - // { - // label: "历史照片", - // prop: "historicPhotos", - // type: 'upload', - // listType: 'picture-card', - // dataType: 'string', - // labelWidth:'150', - // span:11, - // addDisplay: true, - // multiple:true, - // width:"200px", - // align:'left', - // action: '/blade-resource/oss/endpoint/put-file', - // limit: 3, - // disabled:true, - // propsHttp: { - // res: 'data', - // url: 'link', - // }, - // }, + { + label: "车俩历史照片", + prop: "historicPhotos", + type: 'upload', + listType: 'picture-card', + dataType: 'string', + labelWidth:'150', + span:11, + multiple:true, + width:"200px", + align:'left', + action: '/blade-resource/oss/endpoint/put-file', + limit: 3, + disabled:true, + addDisplay: false, + editDisplay: false, + viewDisplay: false, + propsHttp: { + res: 'data', + url: 'link', + }, + }, { label: "预留1", diff --git a/src/views/basicdata/vehicle/basicdataVehicleform.vue b/src/views/basicdata/vehicle/basicdataVehicleform.vue index d6ccdbd5..96c10165 100644 --- a/src/views/basicdata/vehicle/basicdataVehicleform.vue +++ b/src/views/basicdata/vehicle/basicdataVehicleform.vue @@ -24,9 +24,7 @@