Commit 7c1522a7 by zlr

修改下拉默认显示

parent 4240b4ee
......@@ -24,7 +24,7 @@
</div>
</div>
</el-col>
<el-col :span="8" >
<el-col :span="8" >
<div class="grid-content bg-purpleThree">
<i class="el-icon-circle-close grid-icon"></i>
<div class="num-content">
......@@ -89,7 +89,7 @@
@current-change="pageChange"
/>
</div>
<!-- 分页end -->
<!-- 分页end -->
</div>
</el-card>
......@@ -146,7 +146,7 @@
{{ transStatusList[scope.row.recordStatus] }}
</template>
</el-table-column>
<el-table-column prop label="操作" width="200" align="center">
<template slot-scope="scope">
<el-button
......@@ -195,9 +195,9 @@
<pre v-highlightjs="logContent"><code class="java" /></pre>
</el-dialog>
</div>
</template>
......@@ -350,7 +350,7 @@ export default {
}else{
this.$message.error(res.errMsg)
}
});
},
// 获取总列表
......@@ -361,7 +361,7 @@ export default {
if(res.success){
this.allTableData = res.data;
}
});
},
......@@ -373,7 +373,7 @@ export default {
this.alRunningTransNum = res.data;
this.panelArr[0].num=this.alRunningTransNum;
}
});
},
......@@ -385,7 +385,7 @@ export default {
this.allSuccessCount = res.data;
this.panelArr[1].num=this.allSuccessCount;
}
});
},
// 获取总执行失败次数
......@@ -396,7 +396,7 @@ export default {
this.allFailCount = res.data;
this.panelArr[2].num=this.allFailCount;
}
});
},
......@@ -418,8 +418,7 @@ export default {
//查看详情
checkDetail(row) {
      console.log('打开查看详情弹窗id不为为null');
this.pageLog.transId=row.id;
this.pageLog.transId=row.transId;
this.getKettleTransRecordList();// 分页获取转换执行日志记录列表
this.getSimpleList();//获取我添加的作业列表 搜索下拉框列表
this.dialogShow=true;     
......@@ -427,7 +426,6 @@ export default {
//获取转换下拉列表
getSimpleList(){
getList().then((res)=>{
console.log('获取转换日志下拉列表:',res);
if(res.success){
this.simpleList=res.data;
}
......@@ -510,28 +508,28 @@ export default {
}
}
fileName = decodeURIComponent(fileName)
// 获取数据类型
let type = res.data.headers['Content-Type'][0];
let blob = new Blob([res.data], { type: type })
const a = document.createElement('a')
// 创建URL
const blobUrl = window.URL.createObjectURL(blob)
a.download = fileName;
a.href = blobUrl;
document.body.appendChild(a);
// 下载文件
a.click()
// 释放内存
URL.revokeObjectURL(blobUrl)
document.body.removeChild(a)
} else {
console.log('error', data)
}
// var returnUrl=res.data;
// var httpUrl= process.env.VUE_APP_BASE_API+returnUrl;
// this.downLoadFile(httpUrl);
......@@ -568,7 +566,7 @@ export default {
this.getKettleTransRecordList();
},
},
};
</script>
......
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