Commit b54e4b13 authored by zhanglw's avatar zhanglw

修复样式scoped错误

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