|
@@ -328,7 +328,7 @@
|
|
</template>
|
|
</template>
|
|
<div v-if="cardSettings.cardGIS.expand">
|
|
<div v-if="cardSettings.cardGIS.expand">
|
|
<div style="width:100%;height: 500px;margin-top:15px;">
|
|
<div style="width:100%;height: 500px;margin-top:15px;">
|
|
- <ChartMap :wellId="wellId"></ChartMap>
|
|
|
|
|
|
+ <ChartMap :datas="mapDatas"></ChartMap>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a-card>
|
|
</a-card>
|
|
@@ -402,7 +402,8 @@ export default defineComponent({
|
|
historyAssignmentSummary: [],
|
|
historyAssignmentSummary: [],
|
|
lastHistoryAssignment: {},
|
|
lastHistoryAssignment: {},
|
|
historyAssignmentCount: 0,
|
|
historyAssignmentCount: 0,
|
|
- dataIndexList: [] as any[]
|
|
|
|
|
|
+ dataIndexList: [] as any[],
|
|
|
|
+ mapDatas : [] as any
|
|
});
|
|
});
|
|
|
|
|
|
const loadData = async (id) => {
|
|
const loadData = async (id) => {
|
|
@@ -422,6 +423,13 @@ export default defineComponent({
|
|
wellData.lastHistoryAssignment = data.lastHistoryAssignment ?? {};
|
|
wellData.lastHistoryAssignment = data.lastHistoryAssignment ?? {};
|
|
wellData.dataIndexList = data.dataIndexList;
|
|
wellData.dataIndexList = data.dataIndexList;
|
|
wellData.historyAssignmentCount = wellData.historyAssignmentSummary.reduce((total, it: any) => total + it.testing_num, 0);
|
|
wellData.historyAssignmentCount = wellData.historyAssignmentSummary.reduce((total, it: any) => total + it.testing_num, 0);
|
|
|
|
+ wellData.mapDatas = [{
|
|
|
|
+ well_id : wellData.dataModel.well_id,
|
|
|
|
+ well_common_name : data.dataModel.well_common_name,
|
|
|
|
+ geo_description : data.dataModel.geo_description,
|
|
|
|
+ x : data.dataModel.well_coordinates_x,
|
|
|
|
+ y : data.dataModel.well_coordinates_y
|
|
|
|
+ }];
|
|
|
|
|
|
fileOptions.businessType = wellData.dataIndexList.map(x => x.file_business_type);
|
|
fileOptions.businessType = wellData.dataIndexList.map(x => x.file_business_type);
|
|
fileOptions.businessType = Array.from(new Set(fileOptions.businessType));
|
|
fileOptions.businessType = Array.from(new Set(fileOptions.businessType));
|