|
@@ -146,7 +146,7 @@
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<a-row class="edit-operation" style="width:500px;float:right;" data-v-step="3">
|
|
<a-row class="edit-operation" style="width:500px;float:right;" data-v-step="3">
|
|
- <a-col :span="24" >
|
|
|
|
|
|
+ <a-col :span="24" style="text-align: right;" >
|
|
<a-checkbox-group v-model:value="showColumnType" @change="onCheckboxChange">
|
|
<a-checkbox-group v-model:value="showColumnType" @change="onCheckboxChange">
|
|
<a-row>
|
|
<a-row>
|
|
<a-col :span="8">
|
|
<a-col :span="8">
|
|
@@ -302,8 +302,8 @@
|
|
@change="(current)=>handleTableChange({ current: current,pageSize: pagination.pageSize })"
|
|
@change="(current)=>handleTableChange({ current: current,pageSize: pagination.pageSize })"
|
|
@showSizeChange="(current,pageSize)=>handleTableChange({ current: current,pageSize: pageSize })"/>
|
|
@showSizeChange="(current,pageSize)=>handleTableChange({ current: current,pageSize: pageSize })"/>
|
|
</a-spin>
|
|
</a-spin>
|
|
- <div style="width:100%;height: 500px;margin-top:15px" data-v-step="5">
|
|
|
|
- <ChartMap :datas="data" :isSearch="(true)"></ChartMap>
|
|
|
|
|
|
+ <div style="width:100%;height: 500px;margin-top:15px" >
|
|
|
|
+ <ChartMap :datas="data" :isSearch="(true)" data-v-step="5"></ChartMap>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -367,10 +367,11 @@ import {download} from "@/utils/downloadFile";
|
|
import {columns, filterColumns, formState, getTdColor} from './table';
|
|
import {columns, filterColumns, formState, getTdColor} from './table';
|
|
import filePreview from '@/components/basic/file-preview/index.vue';
|
|
import filePreview from '@/components/basic/file-preview/index.vue';
|
|
import {numberToCurrencyNo} from "@/utils/common";
|
|
import {numberToCurrencyNo} from "@/utils/common";
|
|
|
|
+import {LeftCircleOutlined,RightCircleOutlined} from '@ant-design/icons-vue';
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
name: 'wellinfoindex',
|
|
name: 'wellinfoindex',
|
|
- components: {ChartCell, ChartMap, filePreview},
|
|
|
|
|
|
+ components: {ChartCell, ChartMap, filePreview,LeftCircleOutlined,RightCircleOutlined},
|
|
setup() {
|
|
setup() {
|
|
|
|
|
|
const curTour = ref(null);
|
|
const curTour = ref(null);
|
|
@@ -397,55 +398,50 @@ export default defineComponent({
|
|
{
|
|
{
|
|
target:'[data-v-step="1"]',
|
|
target:'[data-v-step="1"]',
|
|
header:{
|
|
header:{
|
|
- title:'<div style="color: white;background: #4c8dff;display: inline;font-size: 15px;' +
|
|
|
|
- 'border-radius:10px 10px 0 0;padding:5px 20px 0 10px;font-weight:bolder;">' +
|
|
|
|
- '引导1/5: <span style="padding-left: 20px;">可以切换目录查询 ← </span></div>'
|
|
|
|
|
|
+ title:'<div class="leftTriangle" style="position:absolute;right:400px;top:15px;"></div>' +
|
|
|
|
+ '<div class="tipsTitle">引导1/5:</div>'
|
|
},
|
|
},
|
|
- content:'<div></div>',
|
|
|
|
|
|
+ content:'<div class="tipsContent">可以切换目录查询</div>',
|
|
params:{
|
|
params:{
|
|
placement:'right'
|
|
placement:'right'
|
|
}
|
|
}
|
|
},{
|
|
},{
|
|
target:'[data-v-step="2"]',
|
|
target:'[data-v-step="2"]',
|
|
header:{
|
|
header:{
|
|
- title:'<div style="color: white;background: #4c8dff;display: inline;font-size: 15px;' +
|
|
|
|
- 'border-radius:10px 10px 0 0;padding:5px 20px 0 10px;font-weight:bolder;">' +
|
|
|
|
- '引导2/5: <span style="padding-left: 20px;">点击"☰"按钮展开更多查询 →</span></div>',
|
|
|
|
|
|
+ title:'<div class="rightTriangle" style="position:absolute;left:349px;top:15px;"></div>' +
|
|
|
|
+ '<div class="tipsTitle" style="position:relative;left:-50px;">引导2/5:</div>',
|
|
},
|
|
},
|
|
- content:'<div></div>',
|
|
|
|
|
|
+ content:'<div class="tipsContent" style="position:relative;left:-50px;">点击"☰"按钮展开更多查询</div>',
|
|
params:{
|
|
params:{
|
|
placement:'left'
|
|
placement:'left'
|
|
}
|
|
}
|
|
},{
|
|
},{
|
|
target:'[data-v-step="3"]',
|
|
target:'[data-v-step="3"]',
|
|
header:{
|
|
header:{
|
|
- title:'<div style="color: white;background: #4c8dff;display: inline;font-size: 15px;' +
|
|
|
|
- 'border-radius:10px 10px 0 0;padding:5px 20px 0 10px;font-weight:bolder;">' +
|
|
|
|
- '引导3/5: <span style="padding-left: 20px;">切换不同视图,也可勾选需要显示的列 →</span></div>',
|
|
|
|
|
|
+ title:'<div class="rightTriangle" style="position:absolute;left:399px;top:15px;"></div>' +
|
|
|
|
+ '<div class="tipsTitle">引导3/5:</div>',
|
|
},
|
|
},
|
|
- content:'<div></div>',
|
|
|
|
|
|
+ content:'<div class="tipsContent">切换不同视图,也可勾选需要显示的列</div>',
|
|
params:{
|
|
params:{
|
|
placement:'left'
|
|
placement:'left'
|
|
}
|
|
}
|
|
},{
|
|
},{
|
|
target:'[data-v-step="4"]',
|
|
target:'[data-v-step="4"]',
|
|
header:{
|
|
header:{
|
|
- title:'<div style="color: white;background: #4c8dff;display: inline;font-size: 15px;' +
|
|
|
|
- 'border-radius:10px 10px 0 0;padding:5px 20px 0 10px;font-weight:bolder;">' +
|
|
|
|
- '引导4/5: <span style="padding-left: 20px;">可移动表格数据列的顺序 ↑</span></div>'
|
|
|
|
|
|
+ title:'<div class="topTriangle" style="position:absolute;top:-29px;left:180px;"></div>' +
|
|
|
|
+ '<div class="tipsTitle">引导4/5:</div>'
|
|
},
|
|
},
|
|
- content:'<div></div>',
|
|
|
|
|
|
+ content:'<div class="tipsContent">可移动表格数据列的顺序</div>',
|
|
params:{
|
|
params:{
|
|
placement:'top'
|
|
placement:'top'
|
|
}
|
|
}
|
|
},{
|
|
},{
|
|
target:'[data-v-step="5"]',
|
|
target:'[data-v-step="5"]',
|
|
header:{
|
|
header:{
|
|
- title:'<div style="color: white;background: #4c8dff;display: inline;font-size: 15px;' +
|
|
|
|
- 'border-radius:10px 10px 0 0;padding:5px 20px 0 10px;font-weight:bolder;">' +
|
|
|
|
- '引导5/5:<span style="padding-left: 20px;">地图显示当前列表的井所在位置 ↑</span></div>'
|
|
|
|
|
|
+ title:'<div class="topTriangle" style="position:absolute;top:-29px;left:180px;"></div>' +
|
|
|
|
+ '<div class="tipsTitle">引导5/5:</div>'
|
|
},
|
|
},
|
|
- content:'<div></div>',
|
|
|
|
|
|
+ content:'<div class="tipsContent">地图显示当前列表的井所在位置</div>',
|
|
params:{
|
|
params:{
|
|
placement:'bottom'
|
|
placement:'bottom'
|
|
}
|
|
}
|
|
@@ -464,13 +460,17 @@ export default defineComponent({
|
|
});
|
|
});
|
|
const showOverlay = ref(true);
|
|
const showOverlay = ref(true);
|
|
|
|
|
|
|
|
+ const curStep = ref(1);
|
|
|
|
+
|
|
const myCallbacks = ref({
|
|
const myCallbacks = ref({
|
|
onPreviousStep(){
|
|
onPreviousStep(){
|
|
showOverlay.value = true;
|
|
showOverlay.value = true;
|
|
|
|
+ curStep.value -= 1;
|
|
loadStyle();
|
|
loadStyle();
|
|
},
|
|
},
|
|
onNextStep(){
|
|
onNextStep(){
|
|
showOverlay.value = true;
|
|
showOverlay.value = true;
|
|
|
|
+ curStep.value += 1;
|
|
loadStyle();
|
|
loadStyle();
|
|
},onStop:async function(){
|
|
},onStop:async function(){
|
|
showOverlay.value = false;
|
|
showOverlay.value = false;
|
|
@@ -484,8 +484,13 @@ export default defineComponent({
|
|
const $divs = document.getElementsByClassName("v-step__buttons");
|
|
const $divs = document.getElementsByClassName("v-step__buttons");
|
|
for(let i=0;i < $divs.length;i++) {
|
|
for(let i=0;i < $divs.length;i++) {
|
|
const div = $divs[i];
|
|
const div = $divs[i];
|
|
- div.setAttribute("style","background-color:#4c8dff;color:white;height:30px;width:100%;" +
|
|
|
|
- "position: relative;top:-2px;padding-top:4px;border-radius:0 0 10px 10px;");
|
|
|
|
|
|
+ if(curStep.value ==2){
|
|
|
|
+ div.setAttribute("style","background-color:#4c8dff;color:white;height:30px;width:100%;" +
|
|
|
|
+ "position: relative;top:-2px;left:-50px;padding-top:4px;border-radius:0 0 10px 10px;");
|
|
|
|
+ }else{
|
|
|
|
+ div.setAttribute("style","background-color:#4c8dff;color:white;height:30px;width:100%;" +
|
|
|
|
+ "position: relative;top:-2px;padding-top:4px;border-radius:0 0 10px 10px;");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
const $buttons = document.getElementsByClassName("v-step__button");
|
|
const $buttons = document.getElementsByClassName("v-step__button");
|
|
for(let i=0;i < $buttons.length;i++) {
|
|
for(let i=0;i < $buttons.length;i++) {
|
|
@@ -954,6 +959,55 @@ export default defineComponent({
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
|
+.tipsTitle{
|
|
|
|
+ color: white;
|
|
|
|
+ background: #4c8dff;
|
|
|
|
+ font-size: 15px;
|
|
|
|
+ border-radius:10px 10px 0 0;
|
|
|
|
+ padding:5px 20px 0 10px;
|
|
|
|
+ font-weight:bolder;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width:400px;
|
|
|
|
+}
|
|
|
|
+.tipsContent{
|
|
|
|
+ color: white;
|
|
|
|
+ background: #4c8dff;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ padding-left: 20px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.leftTriangle{
|
|
|
|
+ height: 0;
|
|
|
|
+ border-top: 12px solid transparent;
|
|
|
|
+ border-bottom: 15px solid transparent;
|
|
|
|
+ border-left: 15px solid transparent;
|
|
|
|
+ border-right: 12px solid #4c8dff;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.rightTriangle{
|
|
|
|
+ height: 0;
|
|
|
|
+ border-top: 12px solid transparent;
|
|
|
|
+ border-bottom: 15px solid transparent;
|
|
|
|
+ border-left: 15px solid #4c8dff;
|
|
|
|
+ border-right: 12px solid transparent;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.topTriangle{
|
|
|
|
+ height: 0;
|
|
|
|
+ border-top: 18px solid transparent;
|
|
|
|
+ border-bottom: 18px solid #4c8dff;
|
|
|
|
+ border-left: 15px solid transparent;
|
|
|
|
+ border-right: 15px solid transparent;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+.bottomTriangle{
|
|
|
|
+ height: 0;
|
|
|
|
+ border-top: 18px solid #4c8dff;
|
|
|
|
+ border-bottom: 18px solid transparent;
|
|
|
|
+ border-left: 15px solid transparent;
|
|
|
|
+ border-right: 15px solid transparent;
|
|
|
|
+}
|
|
|
|
|
|
.query-index {
|
|
.query-index {
|
|
display: flex;
|
|
display: flex;
|