|
|
@@ -87,16 +87,8 @@ const store = createStore({
|
|
|
shipStatus: 0,
|
|
|
},
|
|
|
numbers: [],
|
|
|
- imgs: [
|
|
|
- {
|
|
|
- viewUrl:
|
|
|
- "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/data-platform/ship2.jpg",
|
|
|
- },
|
|
|
- {
|
|
|
- viewUrl:
|
|
|
- "https://6875-huihenduo-2gx127w7f837b584-1255802371.tcb.qcloud.la/data-platform/ship1.jpg",
|
|
|
- },
|
|
|
- ],
|
|
|
+ certificates: [],
|
|
|
+ exhibitImgs: [],
|
|
|
levelData: [
|
|
|
{ name: "项目1", score: 80, level: "高" },
|
|
|
{ name: "项目2", score: 80, level: "高" },
|
|
|
@@ -137,7 +129,7 @@ const store = createStore({
|
|
|
state.cargoOwnerInfo.data[2].text =
|
|
|
cargoownerDetail.loadPort + " - " + cargoownerDetail.dischargePort;
|
|
|
state.shipInfo.shipName = shipDetail.shipName;
|
|
|
- state.shipInfo.imgs = shipDetail.exhibitImgs;
|
|
|
+ state.exhibitImgs = shipDetail.exhibitImgs;
|
|
|
state.shipInfo.shipOwnerName = shipDetail.shipownerName;
|
|
|
state.shipInfo.shipOwnerId = shipDetail.shipownerIdcard;
|
|
|
state.shipInfo.data[0].text = shipDetail.shipMmsi;
|
|
|
@@ -153,10 +145,7 @@ const store = createStore({
|
|
|
state.shipInfo.data[1].text = data.shipLength;
|
|
|
state.shipInfo.data[2].text = data.shipBreadth;
|
|
|
state.voyages = data.historyVoyages;
|
|
|
- state.imgs = data.certificates;
|
|
|
- },
|
|
|
- setImgs(state, imgs) {
|
|
|
- state.imgs = imgs;
|
|
|
+ state.certificates = data.certificates;
|
|
|
},
|
|
|
setShipsCache(state, ships) {
|
|
|
state.shipsCache = ships;
|