人车管理 星油车辆添加车牌

pull/13/head
李飞 2 years ago
parent cf8ebd30fe
commit 27459621fa
  1. 7
      src/api/user/oilVehicleOwner.js
  2. 7
      src/views/driver/vehicle/OilVehicleOwnerAdd.vue
  3. 2
      src/views/driver/vehicle/OilVehicleOwnerList.vue

@ -30,6 +30,13 @@ export default {
data: oilVehicleOwner
})
},
saveDispat(oilVehicleOwner) { // 新保存(调度管理)
return request({
url: `/xkhl-user/saasCustomerPlatenum/save `,
method: 'post',
data: oilVehicleOwner
})
},
saveSite(oilVehicleOwner) { // 保存
return request({
url: `/${service_name}/${group_name}/saveSite`,

@ -197,9 +197,14 @@ export default {
}
},
save() {
//
//
oilVehicleOwnerApi.saveDispatch(this.oilVehicleOwner).then((res) => {
this.$message.success(res.msg);
this.$emit("closeDialog");
this.$emit("getByPage");
});
//
oilVehicleOwnerApi.saveDispat(this.oilVehicleOwner).then((res) => {
this.$emit("closeDialog");
this.$emit("getByPage");
this.oilVehicleOwner = {};

@ -194,7 +194,7 @@
direction="ltr"
destroy-on-close
>
<OilVehicleOwnerAdd @getByPage="getByPage" @closeDialog="closeDialog" />
<OilVehicleOwnerAdd v-if="addDialog" @getByPage="getByPage" @closeDialog="closeDialog" />
</el-drawer>
<!-- 导出抽屉 -->

Loading…
Cancel
Save