511 lines
17 KiB
JavaScript
511 lines
17 KiB
JavaScript
|
|
//组件
|
||
|
|
var cmpcomponent_en = {
|
||
|
|
template:`
|
||
|
|
<div>
|
||
|
|
<div style="display: flex;margin-top: 10px;">
|
||
|
|
<el-input v-model="input" placeholder="input wellname" clearable style="width: 20%;"></el-input>
|
||
|
|
<el-checkbox style="background-color: #ECF5FF;margin-left: 5px;margin-right: 5px;" v-model="checked" label="Project Service" border></el-checkbox>
|
||
|
|
<el-button id ="bt_serach" plain type="primary" icon="el-icon-search" @click="getWell(input)">Search</el-button>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div class="span">
|
||
|
|
<el-table
|
||
|
|
:data="tableData"
|
||
|
|
style="width: 100%;font-size:14px"
|
||
|
|
:height="tHeight"
|
||
|
|
:cell-style="{background:'#304156'}"
|
||
|
|
border
|
||
|
|
>
|
||
|
|
<el-table-column
|
||
|
|
prop="wellNameSource"
|
||
|
|
label="Well Name"
|
||
|
|
:width="150"
|
||
|
|
:show-overflow-tooltip="true">
|
||
|
|
</el-table-column>
|
||
|
|
<el-table-column
|
||
|
|
prop="welltime"
|
||
|
|
label="Upload Time"
|
||
|
|
:width="170">
|
||
|
|
</el-table-column>
|
||
|
|
|
||
|
|
<el-table-column
|
||
|
|
prop="welloperator"
|
||
|
|
label="User"
|
||
|
|
:width="150"
|
||
|
|
:show-overflow-tooltip="true">
|
||
|
|
</el-table-column>
|
||
|
|
<el-table-column
|
||
|
|
prop="upload_user"
|
||
|
|
label="Upload User"
|
||
|
|
:width="150"
|
||
|
|
:show-overflow-tooltip="true">
|
||
|
|
</el-table-column>
|
||
|
|
<el-table-column
|
||
|
|
label="Construction documents"
|
||
|
|
width="175">
|
||
|
|
<template slot-scope="scope">
|
||
|
|
<el-button @click="show_file(scope.row)" type="text" size="medium">Detail</el-button>
|
||
|
|
</template>
|
||
|
|
</el-table-column>
|
||
|
|
<el-table-column
|
||
|
|
label="Operation"
|
||
|
|
width="160">
|
||
|
|
<template slot-scope="scope">
|
||
|
|
<el-button @click="show_pdf(scope.row)" type="text" size="medium">Report Detail</el-button>
|
||
|
|
<el-button @click="export_pdf(scope.row)" type="text" size="medium">Export</el-button>
|
||
|
|
</template>
|
||
|
|
</el-table-column>
|
||
|
|
</el-table>
|
||
|
|
</div>
|
||
|
|
<div class="block">
|
||
|
|
<span class="demonstration" style="background-color: #ECF5FF;"></span>
|
||
|
|
<el-pagination
|
||
|
|
@size-change="handleSizeChange"
|
||
|
|
@current-change="handleCurrentChange"
|
||
|
|
:current-page="currentPage"
|
||
|
|
:page-sizes="[50,100, 200, 300]"
|
||
|
|
:page-size="pagesize"
|
||
|
|
layout="total, sizes, prev, pager, next, jumper"
|
||
|
|
:total="recordTotal" style="background-color: #ECF5FF;">
|
||
|
|
</el-pagination>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<el-dialog
|
||
|
|
title="Construction Management Information"
|
||
|
|
:visible.sync="pdf_visible"
|
||
|
|
:lock-scroll ="false"
|
||
|
|
:append-to-body="true"
|
||
|
|
width="62%">
|
||
|
|
<div style="height: 450px;overflow: auto;">
|
||
|
|
<div style="display: flex;">
|
||
|
|
<div style="width: 50%;">Working hours(h): {{dialog_data.Total_work_time}}</div>
|
||
|
|
<div style="width: 50%;">Waiting hours(h): {{dialog_data.Total_wait_time}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Rig crew leader: {{dialog_data.well_captain}}</div>
|
||
|
|
<div style="width: 50%;">Name of safety officer: {{dialog_data.safety_officer_name}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Phone of safety officer: {{dialog_data.safety_officer_phone}}</div>
|
||
|
|
<div style="width: 50%;">Latitude and longitude: {{dialog_data.lon_lat}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Phone of hospital: {{dialog_data.hosp_phone}}</div>
|
||
|
|
<div style="width: 50%;">Phone of fire station: {{dialog_data.fire_phone}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Phone of police station: {{dialog_data.police_phone}}</div>
|
||
|
|
<div style="width: 50%;">Location: {{dialog_data.gl}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Instrument Management Information: </div>
|
||
|
|
</div>
|
||
|
|
<div v-if="dialog_data.Device_data.length>0">
|
||
|
|
<div style="width: 100%;padding-top: 10px;" v-for="item in dialog_data.Device_data">
|
||
|
|
Instrument series No.: {{item.sid}}
|
||
|
|
Instrument serial No.: {{item.iid}}
|
||
|
|
Total working hours(h): {{item.Accrued_work_time}}
|
||
|
|
Location: {{item.Location}}
|
||
|
|
Person in charge: {{item.Director}}
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Equipment and usage of solid control equipment: </div>
|
||
|
|
</div>
|
||
|
|
<div v-if="dialog_data.well_device!=''" style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">{{dialog_data.well_device}}</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
<div>Design Data</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Wellhead coordinates: (X){{dialog_data.x}} (Y){{dialog_data.y}}</div>
|
||
|
|
<div style="width: 50%;">Magnetic declination(°): {{dialog_data.declination}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">DIP(°): {{dialog_data.DIP}}</div>
|
||
|
|
<div style="width: 50%;">MT(μT): {{dialog_data.MT}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Planned closure azimuth(°): {{dialog_data.CLsA}}</div>
|
||
|
|
<div style="width: 50%;">Planned TVD(m): {{dialog_data.TVD}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Planned measured depth(m): {{dialog_data.design_depth}}</div>
|
||
|
|
<div style="width: 50%;">Planned max inclination(°): {{dialog_data.design_deviation}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Planned horizontal section length(m): {{dialog_data.design_hlength}}</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
|
||
|
|
<div>Geological Information</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Target layer: {{dialog_data.Target_stratum}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Reservoir thickness(m): {{dialog_data.Reservoir_thickness}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Range of gamma(API): {{dialog_data.Gamma_range}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Formation resistivity(Ω·m): {{dialog_data.CHFR}}</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
|
||
|
|
<div v-if="dialog_data.Drilling_data.length>0">
|
||
|
|
<div v-for="(item,index) in dialog_data.Drilling_data">
|
||
|
|
<div v-if="index==0">RIH Times{{item.Drilling_num}}</div>
|
||
|
|
<div v-if="index!=0" style="padding-top: 10px;">RIH Times{{item.Drilling_num}}</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Service staff: {{item.Servicer}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;line-height: 23px;">
|
||
|
|
<div style="width: 100%;">BHA: {{item.BHA}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;line-height: 23px;">
|
||
|
|
<div style="width: 100%;">Tool assembly: {{item.ToolCombination}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Waiting hours(h): {{item.Wait_time}}</div>
|
||
|
|
<div style="width: 50%;">In Hole hours(h): {{item.Work_time}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Reason of POOH: {{item.Reason}}</div>
|
||
|
|
<div style="width: 50%;">Depth when tool entry(m): {{item.In_depth}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Depth when tool outlet(m): {{item.Out_depth}}</div>
|
||
|
|
<div style="width: 50%;">Current Total Drilled Footage(m): {{item.Footage}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Next steps plan: {{item.Next_step}}</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<el-divider></el-divider>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div>Working Condition Information</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Time: {{dialog_data.t1}}</div>
|
||
|
|
<div style="width: 50%;">Well Depth Max(m): {{dialog_data.Max_depth}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Time: {{dialog_data.t2}}</div>
|
||
|
|
<div style="width: 50%;">Max. TVD(m): {{dialog_data.Max_tvd}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Time: {{dialog_data.t3}}</div>
|
||
|
|
<div v-if="if_show_t" style="width: 50%;">Max. Temperature(℃): {{dialog_data.Max_temp}}</div>
|
||
|
|
<div v-if="!if_show_t" style="width: 50%;">Max. Temperature(℉): {{dialog_data.Max_temp}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Time: {{dialog_data.t4}}</div>
|
||
|
|
<div style="width: 50%;">Max. Vibration(g): {{dialog_data.Max_vibrate}}</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<el-divider></el-divider>
|
||
|
|
<div>Daily Input Of Information</div>
|
||
|
|
<div v-for="item in dialog_data1">
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">{{item.context}}</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
<div>Next Working Condition</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">{{dialog_data.next_state}}</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
<div>Drilling Completion Information</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Length of horizontal sections(m): {{dialog_data.Hlength}}</div>
|
||
|
|
<div style="width: 50%;">Total working time of the instrument(h): {{dialog_data.Tool_work_time}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Total Footage(m): {{dialog_data.Total_footage}}</div>
|
||
|
|
<div style="width: 50%;">Drilling Rate(%): {{dialog_data.Rate}}</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
<div>Drilling Completion Summary</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">{{dialog_data.well_report}}</div>
|
||
|
|
</div>
|
||
|
|
<el-divider></el-divider>
|
||
|
|
<div>Reference Information</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">IP+Port: {{dialog_data.IP}}</div>
|
||
|
|
<div style="width: 50%;">area: {{dialog_data.IP_addr}}</div>
|
||
|
|
</div>
|
||
|
|
<div v-if="dialog_data.Refer_Drilling_data.length>0">
|
||
|
|
<div v-for="(item,index) in dialog_data.Refer_Drilling_data">
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">RIH Times{{item.Drilling_num}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">Service staff: {{item.Servicer}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">Waiting hours(h): {{item.Wait_time}}</div>
|
||
|
|
</div>
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 50%;">In Hole hours(h): {{item.Work_time}}</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<el-divider></el-divider>
|
||
|
|
</div>
|
||
|
|
</el-dialog>
|
||
|
|
|
||
|
|
<el-dialog
|
||
|
|
title="Construction Document Information"
|
||
|
|
:visible.sync="file_visible"
|
||
|
|
:lock-scroll ="false"
|
||
|
|
:append-to-body="true"
|
||
|
|
width="30%">
|
||
|
|
<div style="height: 450px;overflow: auto;">
|
||
|
|
<div style="display: flex;padding-top: 10px;">
|
||
|
|
<div style="width: 100%;">File List: </div>
|
||
|
|
</div>
|
||
|
|
<div v-if="file_data.length>0" style="padding-top: 10px;">
|
||
|
|
<div style="width: 100%;" v-for="item in file_data">
|
||
|
|
<el-button @click="down_file(item)" type="text" size="medium">{{item.filename}}</el-button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</el-dialog>
|
||
|
|
</div>
|
||
|
|
`,
|
||
|
|
data(){
|
||
|
|
// 获取当前屏幕的分辨率
|
||
|
|
let screenW = window.screen.width;
|
||
|
|
let screenH = window.innerHeight;
|
||
|
|
console.log("screen width:",screenW);
|
||
|
|
console.log("screen height:",screenH);
|
||
|
|
return {
|
||
|
|
tHeight:screenH-192,
|
||
|
|
tableData: Array(0),
|
||
|
|
input:'',
|
||
|
|
currentPage: 1,
|
||
|
|
pagesize:50,
|
||
|
|
recordTotal:0,
|
||
|
|
|
||
|
|
pdf_visible:false,
|
||
|
|
dialog_data:{
|
||
|
|
Device_data:[],
|
||
|
|
Drilling_data:[],
|
||
|
|
Refer_Drilling_data:[],
|
||
|
|
},
|
||
|
|
dialog_data1:{},
|
||
|
|
|
||
|
|
file_visible:false,
|
||
|
|
file_data:[],
|
||
|
|
|
||
|
|
checked:false,
|
||
|
|
|
||
|
|
if_show_t:true,
|
||
|
|
}
|
||
|
|
},
|
||
|
|
mounted() {
|
||
|
|
this.$data.dialog_data.h=234;
|
||
|
|
var _this = this;
|
||
|
|
|
||
|
|
axios.post('/deescloud/get_page_setting', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
if(response.data.r1=="2"){
|
||
|
|
//_this.$data.if_show_m=false;
|
||
|
|
}
|
||
|
|
|
||
|
|
if(response.data.r2 =="2"){
|
||
|
|
_this.$data.if_show_t=false;
|
||
|
|
}
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
|
||
|
|
var objs;
|
||
|
|
axios.post('/deescloud/get_well_cmp_en', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
index: this.$data.currentPage,
|
||
|
|
count: this.$data.pagesize,
|
||
|
|
checked:this.$data.checked
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
objs = response.data.data;
|
||
|
|
rcnt = response.data.total;
|
||
|
|
_this.$data.tableData = objs;
|
||
|
|
_this.$data.recordTotal = rcnt;
|
||
|
|
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
down_file(file){
|
||
|
|
console.log(file);
|
||
|
|
var downUrl = '/deescloud/download_file'+"?id="+file.id;
|
||
|
|
downloadUrl(file.filename,downUrl);
|
||
|
|
},
|
||
|
|
show_file(row){
|
||
|
|
//wellNameSource
|
||
|
|
let _this= this;
|
||
|
|
axios.post('/deescloud/get_well_files', {
|
||
|
|
Wellname: row.wellNameSource
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
_this.$data.file_data = response.data.data;
|
||
|
|
|
||
|
|
_this.$data.file_visible =true;
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
},
|
||
|
|
|
||
|
|
export_pdf(row){
|
||
|
|
var _this = this;
|
||
|
|
|
||
|
|
axios.post('deescloud/get_cmr_pdf_en',{
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
wellname: row.wellNameSource
|
||
|
|
},
|
||
|
|
).then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
var fileid = response.data.fileId;
|
||
|
|
|
||
|
|
var downUrl = 'file/'+fileid;
|
||
|
|
downloadUrl(row.wellNameSource+"-Construction Management Report.pdf",downUrl);
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
},
|
||
|
|
show_pdf(row){
|
||
|
|
//wellNameSource
|
||
|
|
let _this= this;
|
||
|
|
axios.post('/deescloud/get_cmr_record_en', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
Wellname: row.wellNameSource
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
_this.$data.dialog_data1 = response.data.data;
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
|
||
|
|
axios.post('/deescloud/get_cmr', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
Wellname: row.wellNameSource
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
_this.$data.dialog_data = response.data.data;
|
||
|
|
|
||
|
|
_this.$data.pdf_visible =true;
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
},
|
||
|
|
getWell(_search_name){
|
||
|
|
|
||
|
|
document.getElementById("bt_serach").blur();
|
||
|
|
|
||
|
|
this.$data.currentPage=1;
|
||
|
|
|
||
|
|
var _this = this;
|
||
|
|
|
||
|
|
var objs;
|
||
|
|
axios.post('/deescloud/get_well_cmp_en', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
Wellname: _search_name,
|
||
|
|
index: this.$data.currentPage,
|
||
|
|
count: this.$data.pagesize,
|
||
|
|
checked:this.$data.checked
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
objs = response.data.data;
|
||
|
|
rcnt = response.data.total;
|
||
|
|
_this.$data.tableData = objs;
|
||
|
|
_this.$data.recordTotal = rcnt;
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
},
|
||
|
|
|
||
|
|
handleSizeChange(val) {
|
||
|
|
//console.log(`每页 ${val} 条`);
|
||
|
|
this.$data.pagesize = val;
|
||
|
|
|
||
|
|
var _this = this;
|
||
|
|
|
||
|
|
var objs;
|
||
|
|
axios.post('/deescloud/get_well_cmp_en', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
Wellname: this.$data.input,
|
||
|
|
index: this.$data.currentPage,
|
||
|
|
count: this.$data.pagesize,
|
||
|
|
checked:this.$data.checked
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
objs = response.data.data;
|
||
|
|
rcnt = response.data.total;
|
||
|
|
_this.$data.tableData = objs;
|
||
|
|
_this.$data.recordTotal = rcnt;
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleCurrentChange(val) {
|
||
|
|
//console.log(`当前页: ${val}`);
|
||
|
|
this.$data.currentPage = val;
|
||
|
|
|
||
|
|
var _this = this;
|
||
|
|
|
||
|
|
var objs;
|
||
|
|
axios.post('/deescloud/get_well_cmp_en', {
|
||
|
|
opuser:localStorage.getItem("online_user"),
|
||
|
|
opuser_uuid:localStorage.getItem("uuid"),
|
||
|
|
Wellname: this.$data.input,
|
||
|
|
index: this.$data.currentPage,
|
||
|
|
count: this.$data.pagesize,
|
||
|
|
checked:this.$data.checked
|
||
|
|
})
|
||
|
|
.then(function (response) {
|
||
|
|
console.log(response.data);
|
||
|
|
objs = response.data.data;
|
||
|
|
rcnt = response.data.total;
|
||
|
|
_this.$data.tableData = objs;
|
||
|
|
_this.$data.recordTotal = rcnt;
|
||
|
|
})
|
||
|
|
.catch(function (error) {
|
||
|
|
console.log(error);
|
||
|
|
});
|
||
|
|
|
||
|
|
},
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|