修复cidlog日志输出问题,删除不用域名
This commit is contained in:
parent
7ebe4a0952
commit
318ecc2578
|
|
@ -38,7 +38,8 @@ export default {
|
|||
token: localStorage.getItem("token"),
|
||||
},
|
||||
server_list: [
|
||||
{ label: "gep.ljsea.xyz", value: "gep.ljsea.xyz" },
|
||||
{ label: "gep.ljsea.top", value: "gep.ljsea.top" },
|
||||
{ label: "gst.ljsea.top", value: "gst.ljsea.top" },
|
||||
{ label: "tx.ljsea.top", value: "tx.ljsea.top" },
|
||||
{ label: "js.ljsea.top", value: "js.ljsea.top" },
|
||||
{label: "as.ljsea.top", value: "as.ljsea.top"},
|
||||
|
|
@ -400,7 +401,7 @@ export default {
|
|||
</el-form>
|
||||
|
||||
<!-- 表格 :row-style="this.tableRowClassName"-->
|
||||
<el-table :data="tableData" width="100%" border v-loading="tableLoading">
|
||||
<el-table :data="tableData" width="100%" v-loading="tableLoading">
|
||||
:row-style="this.tableRowClassName"
|
||||
<el-table-column prop="ID" label="id" width="80"></el-table-column>
|
||||
<el-table-column
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export default {
|
|||
return {
|
||||
ip: "",
|
||||
tableData: [],
|
||||
currentPageData: [],
|
||||
ConfigFileCurrentPageData: [],
|
||||
loading: false,
|
||||
pageSize: 10,
|
||||
|
|
@ -72,7 +73,7 @@ export default {
|
|||
this.tableData[i].CreatedAt = this.formattedTime(this.tableData[i].CreatedAt)
|
||||
//console.log('this.ConfigFileList:',this.ConfigFileList);
|
||||
}
|
||||
this.currentPageData();
|
||||
this.handleCurrentChange(1);
|
||||
},
|
||||
formattedTime(isoTime) {
|
||||
const date = new Date(isoTime);
|
||||
|
|
@ -90,11 +91,13 @@ export default {
|
|||
},
|
||||
handleSizeChange(val) {
|
||||
this.pageSize = val;
|
||||
this.currentPageData();
|
||||
},
|
||||
handleCurrentChange(val) {
|
||||
this.currentPage = val;
|
||||
this.currentPageData();
|
||||
this.currentPageData = this.tableData.slice(
|
||||
(this.currentPage - 1) * this.pageSize,
|
||||
this.currentPage * this.pageSize
|
||||
);
|
||||
},
|
||||
|
||||
//设置项目执行构建部署
|
||||
|
|
@ -139,12 +142,18 @@ export default {
|
|||
},
|
||||
async updateButtonLogCID(index) {
|
||||
this.updateDialogVisible = true;
|
||||
var id = this.tableData[index].ID;
|
||||
this.updateForm.create_time = this.tableData[index].CreatedAt;
|
||||
this.updateForm.script = this.tableData[index].Script;
|
||||
this.updateForm.end = this.tableData[index].Log;
|
||||
this.updateForm.error = this.tableData[index].Error;
|
||||
this.updateForm.RunTime = this.tableData[index].RunTime;
|
||||
// var id = this.tableData[index].ID;
|
||||
// this.updateForm.create_time = this.tableData[index].CreatedAt;
|
||||
// this.updateForm.script = this.tableData[index].Script;
|
||||
// this.updateForm.end = this.tableData[index].Log;
|
||||
// this.updateForm.error = this.tableData[index].Error;
|
||||
// this.updateForm.RunTime = this.tableData[index].RunTime;
|
||||
var id = this.currentPageData[index].ID;
|
||||
this.updateForm.create_time = this.currentPageData[index].CreatedAt;
|
||||
this.updateForm.script = this.currentPageData[index].Script;
|
||||
this.updateForm.end = this.currentPageData[index].Log;
|
||||
this.updateForm.error = this.currentPageData[index].Error;
|
||||
this.updateForm.RunTime = this.currentPageData[index].RunTime;
|
||||
},
|
||||
async getIpClient() {
|
||||
try {
|
||||
|
|
@ -267,7 +276,7 @@ export default {
|
|||
|
||||
<!-- 表格 :row-style="this.tableRowClassName"-->
|
||||
<el-table
|
||||
:data="ConfigFileCurrentPageData"
|
||||
:data="currentPageData"
|
||||
width="100%"
|
||||
v-loading="loading"
|
||||
element-loading-text="数据加载中..."
|
||||
|
|
|
|||
|
|
@ -32,17 +32,6 @@ export default {
|
|||
},
|
||||
loading: false, // 加载状态
|
||||
server_list: [
|
||||
// <el-option label="gep.ljsea.top" value="gep.ljsea.top"
|
||||
// >gep.ljsea.xyz</el-option
|
||||
// >
|
||||
// <el-option label="tx.ljsea.top" value="tx.ljsea.top"
|
||||
// >tx.ljsea.top</el-option
|
||||
// >
|
||||
// <el-option label="js.ljsea.top" value="js.ljsea.top"
|
||||
// >js.ljsea.top</el-option
|
||||
// >
|
||||
// <el-option label="as.ljsea.top" value="as.ljsea.top"
|
||||
// >as.ljsea.top</el-option>
|
||||
{ label: "js.ljsea.top", value: "js.ljsea.top" },
|
||||
{ label: "tx.ljsea.top", value: "tx.ljsea.top" },
|
||||
{ label: "gep.ljsea.top", value: "gep.ljsea.top" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue