3767d40c by xiaomiao

字段调整

1 parent e820c8db
......@@ -101,29 +101,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
>
XML报文
</el-button>
<el-button
type="text"
size="mini"
icon="el-icon-view"
onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
>
数据详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -171,6 +162,11 @@ export default {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......
......@@ -102,29 +102,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
>
XML报文
</el-button>
<el-button
type="text"
size="mini"
icon="el-icon-view"
onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
>
数据详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -173,6 +164,11 @@ export default {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......
......@@ -95,29 +95,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
>
XML报文
</el-button>
<el-button
type="text"
size="mini"
icon="el-icon-view"
onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
>
数据详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -159,6 +150,11 @@ export default {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......
......@@ -101,29 +101,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
>
XML报文
</el-button>
<el-button
type="text"
size="mini"
icon="el-icon-view"
onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
>
数据详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -171,6 +162,11 @@ export default {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......
......@@ -98,28 +98,19 @@ export default {
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
>
XML报文
</el-button>
<el-button
type="text"
size="mini"
icon="el-icon-view"
onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
>
数据详情
</el-button>
</div>
);
},
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -140,8 +131,6 @@ export default {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQlfQlZxdjList(this.form)
console.log("listssssssssssssssssssssssss",list);
console.log("listsssssssssssssssssssssssssss",list);
this.tableData.data = list
this.pageData = {
pageSize,
......@@ -163,6 +152,11 @@ export default {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......