|
@@ -176,7 +176,10 @@
|
|
|
</a-descriptions>
|
|
|
</div>
|
|
|
<div style="flex:1;">
|
|
|
- <a-divider type="vertical" class="info-title" style="margin-top: 0px" dashed>相关文档</a-divider>
|
|
|
+ <a-divider type="vertical" class="info-title" style="margin-top: 0px" dashed>井身结构图片</a-divider>
|
|
|
+ <ChartImage ref="chartImageRef" style="margin-left: 10px"></ChartImage>
|
|
|
+
|
|
|
+ <a-divider type="vertical" class="info-title" dashed>相关文档</a-divider>
|
|
|
<div style="margin-left:10px;border:1px solid #f0f0f0;padding:5px;">
|
|
|
<a-input-search
|
|
|
v-model:value="fileOptions.docKey"
|
|
@@ -361,13 +364,15 @@ import {download} from "@/utils/downloadFile";
|
|
|
import {getPaginationTotalTitle} from "@/utils/common";
|
|
|
import type {TableProps} from "ant-design-vue";
|
|
|
import {message} from "ant-design-vue";
|
|
|
+import ChartImage from "@/components/basic/chart/chart-image.vue";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'wellinfoDetail',
|
|
|
- components: {ChartProdDynmics, ChartMap, filePreview},
|
|
|
+ components: {ChartImage, ChartProdDynmics, ChartMap, filePreview},
|
|
|
setup() {
|
|
|
const tabsViewStore = useTabsViewStore();
|
|
|
const route = useRoute();
|
|
|
+ const chartImageRef = ref();
|
|
|
const cardSettings = ref({
|
|
|
cardHeadStyle: {fontWeight: 'bold'},
|
|
|
buttonStyle: {fontSize: '20px', cursor: 'pointer'},
|
|
@@ -505,6 +510,7 @@ export default defineComponent({
|
|
|
|
|
|
fileOptions.businessType = wellData.dataIndexList.map(x => x.file_business_type);
|
|
|
fileOptions.businessType = Array.from(new Set(fileOptions.businessType));
|
|
|
+ chartImageRef.value.getImageUrl(data.dataModel.well_common_name);
|
|
|
})
|
|
|
get('wellInfo/getExpendSetting', {wellId: id}).then(data => {
|
|
|
if (data != null) {
|
|
@@ -588,7 +594,8 @@ export default defineComponent({
|
|
|
dayjs, wellId, fileOptions, downFile, onBusTypeChange, handleTestHistoryChange, testHistoryPage,
|
|
|
handleResizeColumn: (w, col) => {
|
|
|
col.width = w;
|
|
|
- }
|
|
|
+ },
|
|
|
+ chartImageRef
|
|
|
};
|
|
|
},
|
|
|
created() {
|