|
@@ -27,7 +27,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
const structureList = common_vendor.ref([]);
|
|
|
const emissionList = common_vendor.ref([]);
|
|
|
const energyList = common_vendor.ref([]);
|
|
|
- const displacementList = common_vendor.ref([]);
|
|
|
const setList = common_vendor.ref([]);
|
|
|
const levelList = common_vendor.ref([]);
|
|
|
const driveList = common_vendor.ref([]);
|
|
@@ -54,9 +53,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
res = await $api(`dictData`, "GET", { code: "energy", is_use: "0" });
|
|
|
if (res.errcode === 0)
|
|
|
energyList.value = res.data;
|
|
|
- res = await $api(`dictData`, "GET", { code: "displacement", is_use: "0" });
|
|
|
- if (res.errcode === 0)
|
|
|
- displacementList.value = res.data;
|
|
|
res = await $api(`dictData`, "GET", { code: "set", is_use: "0" });
|
|
|
if (res.errcode === 0)
|
|
|
setList.value = res.data;
|
|
@@ -101,9 +97,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
case "energy":
|
|
|
list = energyList.value;
|
|
|
break;
|
|
|
- case "displacement":
|
|
|
- list = displacementList.value;
|
|
|
- break;
|
|
|
case "set":
|
|
|
list = setList.value;
|
|
|
break;
|
|
@@ -128,10 +121,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
c: common_vendor.t(info.value.series || "暂无"),
|
|
|
d: common_vendor.t(info.value.year || "暂无"),
|
|
|
e: common_vendor.t(info.value.style || "暂无"),
|
|
|
- f: common_vendor.t(info.value.vin || "暂无"),
|
|
|
+ f: common_vendor.t(info.value.vin ? "已上传" : "未上传"),
|
|
|
g: common_vendor.t(info.value.mileage || "暂无"),
|
|
|
h: common_vendor.t(getDict(info.value.emission, "emission")),
|
|
|
- i: common_vendor.t(info.value.f_time || "暂无"),
|
|
|
+ i: common_vendor.t(common_vendor.unref(common_vendor.hooks)(info.value.f_time).format("YYYY-MM") || "暂无日期"),
|
|
|
j: common_vendor.t(info.value.number || "0"),
|
|
|
k: common_vendor.t(info.value.place || "暂无"),
|
|
|
l: common_vendor.t(info.value.license || "暂无"),
|
|
@@ -139,7 +132,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
n: common_vendor.t(info.value.in_color || "暂无"),
|
|
|
o: common_vendor.t(getDict(info.value.use_type, "use_type")),
|
|
|
p: common_vendor.t(getDict(info.value.energy, "energy")),
|
|
|
- q: common_vendor.t(getDict(info.value.displacement, "displacement")),
|
|
|
+ q: common_vendor.t(info.value.displacement || "暂无"),
|
|
|
r: common_vendor.t(getDict(info.value.level, "level")),
|
|
|
s: common_vendor.t(getDict(info.value.type, "type")),
|
|
|
t: common_vendor.t(getDict(info.value.drive, "drive")),
|