|
@@ -47,7 +47,10 @@
|
|
|
<template slot-scope="scope"><span>{{ scope.row.actualUrl }}</span></template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="创建人" min-width="110px" align="center">
|
|
|
- <template slot-scope="scope"><span>{{ scope.row.creator }}</span></template>
|
|
|
+ <template slot-scope="scope">{{ scope.row.creator }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="更新人" min-width="110px" align="center">
|
|
|
+ <template slot-scope="scope">{{ scope.row.updator }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="更新时间" min-width="150px" align="center">
|
|
|
<template slot-scope="scope"><span>{{ scope.row.updateTimeStr }}</span></template>
|
|
@@ -186,6 +189,8 @@ export default {
|
|
|
consumerSelections,
|
|
|
sortOptions: [{ label: 'ID Ascending', key: '+id' }, { label: 'ID Descending', key: '-id' }],
|
|
|
statusOptions: ['published', 'draft', 'deleted'],
|
|
|
+ userNames: localStorage.getItem('realname'),
|
|
|
+ username: localStorage.getItem('username'),
|
|
|
showReviewer: false,
|
|
|
showSubmitBtn: true,
|
|
|
temp: {
|
|
@@ -369,6 +374,8 @@ export default {
|
|
|
this.$refs['serviceDataForms'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.serviceData = ele
|
|
|
+ this.serviceData.creator = this.userNames
|
|
|
+ this.serviceData.creatorEn = this.username
|
|
|
this.serviceData.id = ''
|
|
|
this.serviceData.returnDataType === 512
|
|
|
if (this.serviceData.requestForWard) { this.serviceData.redirect = 1 } else { this.serviceData.redirect = 0 }
|
|
@@ -498,7 +505,7 @@ export default {
|
|
|
method: ele.method,
|
|
|
actualUrl: this.serviceData.actualUrl,
|
|
|
status: this.serviceData.status,
|
|
|
- creator: this.serviceData.creator,
|
|
|
+ updator: this.userNames,
|
|
|
returnDataType: '512',
|
|
|
mockUrl: this.serviceData.mockUrl,
|
|
|
redirect: this.serviceData.redirect
|