Commit b54e4b13 authored by zhanglw's avatar zhanglw

修复样式scoped错误

parent fa5eef01
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
//获取设备信息 //获取设备信息
HttpReq.truckDispatching.deviceManagementQuery(param).then((res) => { HttpReq.truckDispatching.deviceManagementQuery(param).then((res) => {
...@@ -295,14 +295,14 @@ export default { ...@@ -295,14 +295,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -327,7 +327,7 @@ export default { ...@@ -327,7 +327,7 @@ export default {
this.reqProjectsSimple().then((list) => { this.reqProjectsSimple().then((list) => {
this.form.selectList = list; this.form.selectList = list;
}); });
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.plantFactory.getDeviceManageList(param).then((res) => { HttpReq.plantFactory.getDeviceManageList(param).then((res) => {
//console.log(res); //console.log(res);
...@@ -472,7 +472,7 @@ export default { ...@@ -472,7 +472,7 @@ export default {
HttpReq.equipment.getInstructionLog(param).then((res) => { HttpReq.equipment.getInstructionLog(param).then((res) => {
if(res){ if(res){
form2.total = res.totalElements; form2.total = res.totalElements;
var formData = res.content || [], var formData = res.content || [],
timeKeys = {'ilTimHour':'小时','ilTimMins':'分钟','ilTimSec':''}; timeKeys = {'ilTimHour':'小时','ilTimMins':'分钟','ilTimSec':''};
for(var fitem of formData){ for(var fitem of formData){
fitem.subcode = item.subcode; fitem.subcode = item.subcode;
...@@ -776,7 +776,7 @@ export default { ...@@ -776,7 +776,7 @@ export default {
HttpReq.equipment.getInstructionLog(param).then((res) => { HttpReq.equipment.getInstructionLog(param).then((res) => {
if(res){ if(res){
form2.total = res.totalElements; form2.total = res.totalElements;
var formData = res.content || [], var formData = res.content || [],
timeKeys = {'ilTimHour':'小时','ilTimMins':'分钟','ilTimSec':''}; timeKeys = {'ilTimHour':'小时','ilTimMins':'分钟','ilTimSec':''};
for(var fitem of formData){ for(var fitem of formData){
fitem.subcode = item.subcode; fitem.subcode = item.subcode;
...@@ -836,14 +836,14 @@ export default { ...@@ -836,14 +836,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -858,7 +858,7 @@ export default { ...@@ -858,7 +858,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -88,9 +88,9 @@ export default { ...@@ -88,9 +88,9 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.IntelligentDispatchHistoryQuery(param).then((res) => { HttpReq.truckDispatching.IntelligentDispatchHistoryQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
this.loading = false; this.loading = false;
...@@ -135,14 +135,14 @@ export default { ...@@ -135,14 +135,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -199,7 +199,7 @@ export default { ...@@ -199,7 +199,7 @@ export default {
query1.flag = 1; query1.flag = 1;
HttpReq.truckDispatching.manualSchedulingAdd(query1).then((res) => { HttpReq.truckDispatching.manualSchedulingAdd(query1).then((res) => {
if(res.code == 200){ if(res.code == 200){
}else{ }else{
this.$notify({ this.$notify({
title: res.msg, title: res.msg,
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
}).catch(function(error) { }); }).catch(function(error) { });
HttpReq.truckDispatching.manualOrderAdd(query1).then((res) => { HttpReq.truckDispatching.manualOrderAdd(query1).then((res) => {
if(res.code == 200){ if(res.code == 200){
}else{ }else{
this.$notify({ this.$notify({
title: res.msg, title: res.msg,
...@@ -234,14 +234,14 @@ export default { ...@@ -234,14 +234,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<el-select v-model="query.carclass" placeholder="请选择卡车类型" style="width:180px;"> <el-select v-model="query.carclass" placeholder="请选择卡车类型" style="width:180px;">
<el-option v-for="(obj,index) in carTypeData" :label="obj.name" :value="obj.name" :key="index"></el-option> <el-option v-for="(obj,index) in carTypeData" :label="obj.name" :value="obj.name" :key="index"></el-option>
</el-select> </el-select>
<el-button size="mini" type="success" icon="el-icon-search" @click="toSearch">搜索</el-button> <el-button size="mini" type="success" icon="el-icon-search" @click="toSearch">搜索</el-button>
<el-button size="mini" icon="el-icon-refresh" @click="clearLimit">重置</el-button> <el-button size="mini" icon="el-icon-refresh" @click="clearLimit">重置</el-button>
</div> </div>
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.manualSchedulingQuery(param).then((res) => { HttpReq.truckDispatching.manualSchedulingQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
//新增到订单历史 //新增到订单历史
HttpReq.truckDispatching.personRecordingAdd(obj1).then((res) => { HttpReq.truckDispatching.personRecordingAdd(obj1).then((res) => {
if(res.code == 200){ if(res.code == 200){
}else{ }else{
this.$notify({ this.$notify({
title: res.msg, title: res.msg,
...@@ -236,14 +236,14 @@ export default { ...@@ -236,14 +236,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<el-select v-model="query.carclass" placeholder="请选择卡车类型" style="width:180px;"> <el-select v-model="query.carclass" placeholder="请选择卡车类型" style="width:180px;">
<el-option v-for="(obj,index) in carTypeData" :label="obj.name" :value="obj.name" :key="index"></el-option> <el-option v-for="(obj,index) in carTypeData" :label="obj.name" :value="obj.name" :key="index"></el-option>
</el-select> </el-select>
<el-button size="mini" type="success" icon="el-icon-search" @click="toSearch">搜索</el-button> <el-button size="mini" type="success" icon="el-icon-search" @click="toSearch">搜索</el-button>
<el-button size="mini" icon="el-icon-refresh" @click="clearLimit">重置</el-button> <el-button size="mini" icon="el-icon-refresh" @click="clearLimit">重置</el-button>
</div> </div>
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesLishiQuery(param).then((res) => { HttpReq.truckDispatching.apiManmadesLishiQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -267,7 +267,7 @@ export default { ...@@ -267,7 +267,7 @@ export default {
if(res.code == 200){ if(res.code == 200){
res.data.content.forEach((itemSon) => { res.data.content.forEach((itemSon) => {
delCheckCarsList.push(itemSon.id); delCheckCarsList.push(itemSon.id);
}); });
HttpReq.truckDispatching.personRecordingCarsDel(delCheckCarsList).then((res) => { }) HttpReq.truckDispatching.personRecordingCarsDel(delCheckCarsList).then((res) => { })
} }
}) })
...@@ -359,7 +359,7 @@ export default { ...@@ -359,7 +359,7 @@ export default {
query1.flag = 2; query1.flag = 2;
HttpReq.truckDispatching.personRecordingAdd(query1).then((res) => { HttpReq.truckDispatching.personRecordingAdd(query1).then((res) => {
if(res.code == 200){ if(res.code == 200){
}else{ }else{
this.$notify({ this.$notify({
title: res.msg, title: res.msg,
...@@ -377,7 +377,7 @@ export default { ...@@ -377,7 +377,7 @@ export default {
this.loadDataAdd(); this.loadDataAdd();
this.loadData(); this.loadData();
this.form.toAddVisible = false; this.form.toAddVisible = false;
this.queryAdd = {}; this.queryAdd = {};
this.formAdd = {}; this.formAdd = {};
...@@ -392,14 +392,14 @@ export default { ...@@ -392,14 +392,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
......
...@@ -561,7 +561,7 @@ export default { ...@@ -561,7 +561,7 @@ export default {
} }
</script> </script>
<style scope> <style scoped>
*{ *{
margin: 0; margin: 0;
padding: 0; padding: 0;
......
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
//获取故障表 //获取故障表
HttpReq.truckDispatching.carFaultQuery(param).then((res) => { HttpReq.truckDispatching.carFaultQuery(param).then((res) => {
...@@ -339,14 +339,14 @@ export default { ...@@ -339,14 +339,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -361,7 +361,7 @@ export default { ...@@ -361,7 +361,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
//获取故障类型信息 //获取故障类型信息
HttpReq.truckDispatching.carFaultTypeQuery(param).then((res) => { HttpReq.truckDispatching.carFaultTypeQuery(param).then((res) => {
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -231,14 +231,14 @@ export default { ...@@ -231,14 +231,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -253,7 +253,7 @@ export default { ...@@ -253,7 +253,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
//获取车队信息 //获取车队信息
HttpReq.truckDispatching.carFleetQuery(param).then((res) => { HttpReq.truckDispatching.carFleetQuery(param).then((res) => {
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -245,14 +245,14 @@ export default { ...@@ -245,14 +245,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -267,7 +267,7 @@ export default { ...@@ -267,7 +267,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -435,7 +435,7 @@ export default { ...@@ -435,7 +435,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.carModelQuery(param).then((res) => { HttpReq.truckDispatching.carModelQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -252,14 +252,14 @@ export default { ...@@ -252,14 +252,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.carRepairQuery(param).then((res) => { HttpReq.truckDispatching.carRepairQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -303,14 +303,14 @@ export default { ...@@ -303,14 +303,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -325,7 +325,7 @@ export default { ...@@ -325,7 +325,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -455,7 +455,7 @@ export default { ...@@ -455,7 +455,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.device-manage{ .device-manage{
.mapcontainer2{ .mapcontainer2{
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.carTypeQuery(param).then((res) => { HttpReq.truckDispatching.carTypeQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -262,14 +262,14 @@ export default { ...@@ -262,14 +262,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -284,7 +284,7 @@ export default { ...@@ -284,7 +284,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -537,7 +537,7 @@ export default { ...@@ -537,7 +537,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
toDayWarning:0, toDayWarning:0,
userRegiester:0, userRegiester:0,
}, },
} }
}, },
mounted() { mounted() {
...@@ -260,15 +260,15 @@ export default { ...@@ -260,15 +260,15 @@ export default {
} }
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.home_manage{ .home_manage{
flex:1;display:flex;position:relative;height:auto;margin:0 0 0 .833vh;height:100%;width:100%;color:#58dbff; flex:1;display:flex;position:relative;height:auto;margin:0 0 0 .833vh;height:100%;width:100%;color:#58dbff;
flex-direction:column; flex-direction:column;
.el-table__empty-block{background-color:#00344D} .el-table__empty-block{background-color:#00344D}
li{list-style:none;margin:0;padding:0;} li{list-style:none;margin:0;padding:0;}
.statistics{ .statistics{
/* height:375px; */ /* height:375px; */
...@@ -279,7 +279,7 @@ export default { ...@@ -279,7 +279,7 @@ export default {
display:flex; display:flex;
} }
.liner{ .liner{
position:relative;width:100%; position:relative;width:100%;
display:flex;align-items:center;justify-content:center; display:flex;align-items:center;justify-content:center;
...@@ -310,7 +310,7 @@ export default { ...@@ -310,7 +310,7 @@ export default {
>div{ >div{
h3{ h3{
line-height:40px;margin:0;padding:0 0 0 10px;font-weight:normal;font-size:16px; line-height:40px;margin:0;padding:0 0 0 10px;font-weight:normal;font-size:16px;
} }
...@@ -329,10 +329,10 @@ export default { ...@@ -329,10 +329,10 @@ export default {
.l-right{flex:1;margin-left:10px;} .l-right{flex:1;margin-left:10px;}
.el-progress__text{color:#04defe;font-size:14px !important;} .el-progress__text{color:#04defe;font-size:14px !important;}
} }
.c-right{ .c-right{
position:relative;flex:1;height:100%;margin-left:.989vw; position:relative;flex:1;height:100%;margin-left:.989vw;
.cr-liner{position:absolute;top:0;left:0;height:100%;width:100%;display:flex;flex-direction:column;overflow-y:auto;} .cr-liner{position:absolute;top:0;left:0;height:100%;width:100%;display:flex;flex-direction:column;overflow-y:auto;}
} }
......
...@@ -284,15 +284,15 @@ export default { ...@@ -284,15 +284,15 @@ export default {
} }
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.home_user{ .home_user{
flex:1;display:flex;position:relative;height:auto;margin:0 0 0 .833vh;height:100%;width:100%;color:#58dbff; flex:1;display:flex;position:relative;height:auto;margin:0 0 0 .833vh;height:100%;width:100%;color:#58dbff;
flex-direction:column; flex-direction:column;
.el-table__empty-block{background-color:#00344D} .el-table__empty-block{background-color:#00344D}
li{list-style:none;margin:0;padding:0;} li{list-style:none;margin:0;padding:0;}
.statistics{ .statistics{
/* height:375px; */ /* height:375px; */
...@@ -303,7 +303,7 @@ export default { ...@@ -303,7 +303,7 @@ export default {
display:flex; display:flex;
} }
.liner{ .liner{
position:relative;width:100%; position:relative;width:100%;
display:flex;align-items:center;justify-content:center; display:flex;align-items:center;justify-content:center;
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
} }
.c-left{ .c-left{
width:30vw;height:100%;display:flex;flex-direction:column; width:30vw;height:100%;display:flex;flex-direction:column;
.panle_div{border:1px solid #04d4f7; .panle_div{border:1px solid #04d4f7;
flex:1;height:36.018vh;margin-bottom:1.851vh;position:relative; flex:1;height:36.018vh;margin-bottom:1.851vh;position:relative;
.panel-liner{ .panel-liner{
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
.l-right{flex:1;margin-left:10px;} .l-right{flex:1;margin-left:10px;}
.el-progress__text{color:#04defe;font-size:14px !important;} .el-progress__text{color:#04defe;font-size:14px !important;}
} }
.c-right{border:1px solid #04d4f7; .c-right{border:1px solid #04d4f7;
flex:1;height:100%;margin-left:.989vw;display:flex; flex:1;height:100%;margin-left:.989vw;display:flex;
.right-within{position:relative;flex:1;margin:8px;} .right-within{position:relative;flex:1;margin:8px;}
......
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.login { .login {
display: flex; display: flex;
justify-content: center; justify-content: center;
......
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
//点击搜索 //点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
var day = date.getDate(); //日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31) var day = date.getDate(); //日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31)
var hours = date.getHours(); //小时 ,返回 Date 对象的小时 (0 ~ 23) var hours = date.getHours(); //小时 ,返回 Date 对象的小时 (0 ~ 23)
var minutes = date.getMinutes(); //分钟 ,返回 Date 对象的分钟 (0 ~ 59) var minutes = date.getMinutes(); //分钟 ,返回 Date 对象的分钟 (0 ~ 59)
var seconds = date.getSeconds(); //秒 ,返回 Date 对象的秒数 (0 ~ 59) var seconds = date.getSeconds(); //秒 ,返回 Date 对象的秒数 (0 ~ 59)
//修改月份格式 //修改月份格式
if (month >= 1 && month <= 9) { if (month >= 1 && month <= 9) {
month = "0" + month; month = "0" + month;
...@@ -257,14 +257,14 @@ export default { ...@@ -257,14 +257,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -279,7 +279,7 @@ export default { ...@@ -279,7 +279,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.breakDownQueryDay(param).then((res) => { HttpReq.truckDispatching.breakDownQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "故障日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "故障日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -175,14 +175,14 @@ export default { ...@@ -175,14 +175,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.breakDownQueryMonth(param).then((res) => { HttpReq.truckDispatching.breakDownQueryMonth(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
if (month >= 1 && month <= 9) { if (month >= 1 && month <= 9) {
month = "0" + month; month = "0" + month;
} }
let currentFormatDate = year + "-" + month; let currentFormatDate = year + "-" + month;
this.currentTime = currentFormatDate; this.currentTime = currentFormatDate;
return currentFormatDate; return currentFormatDate;
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "故障月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "故障月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -163,14 +163,14 @@ export default { ...@@ -163,14 +163,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.breakDownQueryYear(param).then((res) => { HttpReq.truckDispatching.breakDownQueryYear(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "故障年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "故障年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -152,14 +152,14 @@ export default { ...@@ -152,14 +152,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.caiquAreaQueryDay(param).then((res) => { HttpReq.truckDispatching.caiquAreaQueryDay(param).then((res) => {
this.loading = false; this.loading = false;
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "采区产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "采区产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -170,14 +170,14 @@ export default { ...@@ -170,14 +170,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.caiquAreaQueryMonth(param).then((res) => { HttpReq.truckDispatching.caiquAreaQueryMonth(param).then((res) => {
this.loading = false; this.loading = false;
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "采区产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "采区产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -160,14 +160,14 @@ export default { ...@@ -160,14 +160,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.caiquAreaQueryYear(param).then((res) => { HttpReq.truckDispatching.caiquAreaQueryYear(param).then((res) => {
this.loading = false; this.loading = false;
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "采区产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "采区产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -150,14 +150,14 @@ export default { ...@@ -150,14 +150,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesCheDayQueryDay(param).then((res) => { HttpReq.truckDispatching.apiManmadesCheDayQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "车辆产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "车辆产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -176,14 +176,14 @@ export default { ...@@ -176,14 +176,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesCheMonthQueryMonth(param).then((res) => { HttpReq.truckDispatching.apiManmadesCheMonthQueryMonth(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "车辆产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "车辆产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -166,14 +166,14 @@ export default { ...@@ -166,14 +166,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesCheYearQueryYear(param).then((res) => { HttpReq.truckDispatching.apiManmadesCheYearQueryYear(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "车辆产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "车辆产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -156,14 +156,14 @@ export default { ...@@ -156,14 +156,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesCheDayQueryDay(param).then((res) => { HttpReq.truckDispatching.apiManmadesCheDayQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "车辆班次产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "车辆班次产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -175,14 +175,14 @@ export default { ...@@ -175,14 +175,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesCheMonthQueryMonth(param).then((res) => { HttpReq.truckDispatching.apiManmadesCheMonthQueryMonth(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -153,7 +153,7 @@ export default { ...@@ -153,7 +153,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "车辆班次产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "车辆班次产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -165,14 +165,14 @@ export default { ...@@ -165,14 +165,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesCheYearQueryYear(param).then((res) => { HttpReq.truckDispatching.apiManmadesCheYearQueryYear(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "车辆班次产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "车辆班次产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -155,14 +155,14 @@ export default { ...@@ -155,14 +155,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesSijiQueryDay(param).then((res) => { HttpReq.truckDispatching.apiManmadesSijiQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "司机产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "司机产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -176,14 +176,14 @@ export default { ...@@ -176,14 +176,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesSijiQueryDay(param).then((res) => { HttpReq.truckDispatching.apiManmadesSijiQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "司机产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "司机产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -166,14 +166,14 @@ export default { ...@@ -166,14 +166,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.apiManmadesSijiQueryDay(param).then((res) => { HttpReq.truckDispatching.apiManmadesSijiQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "司机产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "司机产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -156,14 +156,14 @@ export default { ...@@ -156,14 +156,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "司机班次产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "司机班次产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -175,14 +175,14 @@ export default { ...@@ -175,14 +175,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -153,7 +153,7 @@ export default { ...@@ -153,7 +153,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "司机班次产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "司机班次产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -165,14 +165,14 @@ export default { ...@@ -165,14 +165,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "司机班次产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "司机班次产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -155,14 +155,14 @@ export default { ...@@ -155,14 +155,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "等待区日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "等待区日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -170,14 +170,14 @@ export default { ...@@ -170,14 +170,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
if (month >= 1 && month <= 9) { if (month >= 1 && month <= 9) {
month = "0" + month; month = "0" + month;
} }
let currentFormatDate = year + "-" + month; let currentFormatDate = year + "-" + month;
this.currentTime = currentFormatDate; this.currentTime = currentFormatDate;
return currentFormatDate; return currentFormatDate;
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "等待区月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "等待区月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -161,14 +161,14 @@ export default { ...@@ -161,14 +161,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "等待区年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "等待区年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -150,14 +150,14 @@ export default { ...@@ -150,14 +150,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.xiequAreaQueryDay(param).then((res) => { HttpReq.truckDispatching.xiequAreaQueryDay(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "卸点产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "卸点产量日报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -176,14 +176,14 @@ export default { ...@@ -176,14 +176,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.xiequAreaQueryMonth(param).then((res) => { HttpReq.truckDispatching.xiequAreaQueryMonth(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "卸点产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "卸点产量月报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -166,14 +166,14 @@ export default { ...@@ -166,14 +166,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
}else{ }else{
param.createTime = this.currentTime; param.createTime = this.currentTime;
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.xiequAreaQueryYear(param).then((res) => { HttpReq.truckDispatching.xiequAreaQueryYear(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
// 点击搜索 // 点击搜索
toSearch() { toSearch() {
this.page = 1; this.page = 1;
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
//导出 //导出
daochu(){ daochu(){
//获取表格 //获取表格
var exportFileContent = document.querySelector(".el-table").outerHTML; var exportFileContent = document.querySelector(".el-table").outerHTML;
//设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M) //设置格式为Excel,表格内容通过btoa转化为base64,此方法只在文件较小时使用(小于1M)
//exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent))); //exportFileContent=window.btoa(unescape(encodeURIComponent(exportFileContent)));
//var link = "data:"+MIMEType+";base64," + exportFileContent; //var link = "data:"+MIMEType+";base64," + exportFileContent;
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题 var blob = new Blob([exportFileContent], {type: "text/plain;charset=utf-8"}); //解决中文乱码问题
blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type}); blob = new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
//设置链接 //设置链接
var link = window.URL.createObjectURL(blob); var link = window.URL.createObjectURL(blob);
var a = document.createElement("a"); //创建a标签 var a = document.createElement("a"); //创建a标签
a.download = "卸点产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名) a.download = "卸点产量年报("+ this.currentTime + ").xls"; //设置被下载的超链接目标(文件名)
a.href = link; //设置a标签的链接 a.href = link; //设置a标签的链接
...@@ -156,14 +156,14 @@ export default { ...@@ -156,14 +156,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -459,7 +459,7 @@ export default { ...@@ -459,7 +459,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -618,7 +618,7 @@ export default { ...@@ -618,7 +618,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
div::-webkit-scrollbar{ div::-webkit-scrollbar{
display:none display:none
} }
......
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -814,7 +814,7 @@ export default { ...@@ -814,7 +814,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.form-cell { .form-cell {
margin: 0 !important; margin: 0 !important;
width: 100%; width: 100%;
......
...@@ -388,7 +388,7 @@ export default { ...@@ -388,7 +388,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
#title-btn-left, #title-btn-right { #title-btn-left, #title-btn-right {
margin: 20px 0px 20px 0px; margin: 20px 0px 20px 0px;
padding: 0px 15px 0px 15px; padding: 0px 15px 0px 15px;
......
...@@ -504,7 +504,7 @@ export default { ...@@ -504,7 +504,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -502,7 +502,7 @@ export default { ...@@ -502,7 +502,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.RegionalOreBlendingQuery(param).then((res) => { HttpReq.truckDispatching.RegionalOreBlendingQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -252,14 +252,14 @@ export default { ...@@ -252,14 +252,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
}); });
this.entruckingData = caiquCenArr1; this.entruckingData = caiquCenArr1;
this.detrainingData = xiequCenArr1; this.detrainingData = xiequCenArr1;
}) })
}; };
}) })
//获取各个点的数据 //获取各个点的数据
...@@ -450,10 +450,10 @@ export default { ...@@ -450,10 +450,10 @@ export default {
}) })
} }
}) })
} }
} }
}, },
handleClick1(tab, event){ handleClick1(tab, event){
if(this.transmitWay == 'edit'){ if(this.transmitWay == 'edit'){
...@@ -539,7 +539,7 @@ export default { ...@@ -539,7 +539,7 @@ export default {
}; };
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
*{ *{
margin: 0; margin: 0;
padding: 0; padding: 0;
...@@ -673,4 +673,4 @@ export default { ...@@ -673,4 +673,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.RegionalTypeQuery(param).then((res) => { HttpReq.truckDispatching.RegionalTypeQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -242,14 +242,14 @@ export default { ...@@ -242,14 +242,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -264,7 +264,7 @@ export default { ...@@ -264,7 +264,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -212,7 +212,7 @@ export default { ...@@ -212,7 +212,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -248,7 +248,7 @@ export default { ...@@ -248,7 +248,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -228,7 +228,7 @@ export default { ...@@ -228,7 +228,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -752,7 +752,7 @@ export default { ...@@ -752,7 +752,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -285,7 +285,7 @@ export default { ...@@ -285,7 +285,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
this.tableData = alltableData; this.tableData = alltableData;
} }
}) })
} }
}) })
...@@ -209,14 +209,14 @@ export default { ...@@ -209,14 +209,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.monthStatisticsQuery(param).then((res) => { HttpReq.truckDispatching.monthStatisticsQuery(param).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
var day = date.getDate(); //日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31) var day = date.getDate(); //日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31)
var hours = date.getHours(); //小时 ,返回 Date 对象的小时 (0 ~ 23) var hours = date.getHours(); //小时 ,返回 Date 对象的小时 (0 ~ 23)
var minutes = date.getMinutes(); //分钟 ,返回 Date 对象的分钟 (0 ~ 59) var minutes = date.getMinutes(); //分钟 ,返回 Date 对象的分钟 (0 ~ 59)
var seconds = date.getSeconds(); //秒 ,返回 Date 对象的秒数 (0 ~ 59) var seconds = date.getSeconds(); //秒 ,返回 Date 对象的秒数 (0 ~ 59)
//修改月份格式 //修改月份格式
if (month >= 1 && month <= 9) { if (month >= 1 && month <= 9) {
month = "0" + month; month = "0" + month;
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
var day = date.getDate(); //日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31) var day = date.getDate(); //日 ,从 Date 对象返回一个月中的某一天 (1 ~ 31)
var hours = date.getHours(); //小时 ,返回 Date 对象的小时 (0 ~ 23) var hours = date.getHours(); //小时 ,返回 Date 对象的小时 (0 ~ 23)
var minutes = date.getMinutes(); //分钟 ,返回 Date 对象的分钟 (0 ~ 59) var minutes = date.getMinutes(); //分钟 ,返回 Date 对象的分钟 (0 ~ 59)
var seconds = date.getSeconds(); //秒 ,返回 Date 对象的秒数 (0 ~ 59) var seconds = date.getSeconds(); //秒 ,返回 Date 对象的秒数 (0 ~ 59)
//修改月份格式 //修改月份格式
if (month >= 1 && month <= 9) { if (month >= 1 && month <= 9) {
month = "0" + month; month = "0" + month;
...@@ -275,14 +275,14 @@ export default { ...@@ -275,14 +275,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
param.page = this.page - 1; param.page = this.page - 1;
param.size = this.size; param.size = this.size;
param.sort = sort; param.sort = sort;
this.$nextTick(()=>{ this.$nextTick(()=>{
HttpReq.truckDispatching.dataDictionaryQuery(param).then((res) => { HttpReq.truckDispatching.dataDictionaryQuery(param).then((res) => {
this.loading = false; this.loading = false;
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
return 'success-row'; return 'success-row';
} }
return ''; return '';
}, },
cancelForm(a, b, c){ cancelForm(a, b, c){
this.form.visible = false; this.form.visible = false;
}, },
...@@ -217,14 +217,14 @@ export default { ...@@ -217,14 +217,14 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
.el-table .success-row { .el-table .success-row {
background: #f0f9eb; background: #f0f9eb;
} }
.device-manage{ .device-manage{
.panel-bottom{ .panel-bottom{
.el-button{margin:2px 0;padding:6px 15px;font-size:14px;} .el-button{margin:2px 0;padding:6px 15px;font-size:14px;}
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
} }
} }
} }
.ecahrt1-dialog{ .ecahrt1-dialog{
display:flex;align-items:center; display:flex;align-items:center;
.el-dialog{ .el-dialog{
......
...@@ -338,7 +338,7 @@ export default { ...@@ -338,7 +338,7 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scoped>
.el-table .warning-row { .el-table .warning-row {
background: oldlace; background: oldlace;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment