|
@@ -43,7 +43,7 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column label="接口ID" min-width="80px" align="center">
|
|
|
- {{ this.$route.path.split('/')[3] }}
|
|
|
+ {{ this.$route.path.split('/')[4] }}
|
|
|
</el-table-column>
|
|
|
|
|
|
<!--<el-table-column label="方法协议" min-width="150px" align="center">-->
|
|
@@ -429,7 +429,7 @@ export default {
|
|
|
this.dataFrom.creator = this.userNames
|
|
|
this.dataFrom.creatorEn = this.username
|
|
|
this.dataFrom.updator = ''
|
|
|
- this.dataFrom.methodId = parseInt(this.$route.path.split('/')[3])
|
|
|
+ this.dataFrom.methodId = parseInt(this.$route.path.split('/')[4])
|
|
|
this.dataFrom.methodProtocol = 'http'
|
|
|
this.dataFrom = vel
|
|
|
this.dataFrom = vel
|
|
@@ -534,7 +534,7 @@ export default {
|
|
|
this.dataFrom = vel
|
|
|
// this.dataFrom.creator = this.userNames
|
|
|
this.dataFrom.updator = this.userNames
|
|
|
- this.dataFrom.methodId = parseInt(this.$route.path.split('/')[3])
|
|
|
+ this.dataFrom.methodId = parseInt(this.$route.path.split('/')[4])
|
|
|
this.dataFrom.methodProtocol = 'http'
|
|
|
this.dataFrom = vel
|
|
|
this.dataFrom = vel
|
|
@@ -550,7 +550,7 @@ export default {
|
|
|
// const tempData = Object.assign({}, this.ruleData)
|
|
|
// const tempData = {
|
|
|
// id: this.ruleForm.id,
|
|
|
- // methodId: parseInt(this.$route.path.split('/')[3]),
|
|
|
+ // methodId: parseInt(this.$route.path.split('/')[4]),
|
|
|
// updator: '',
|
|
|
// execSort: this.ruleForm.execSort,
|
|
|
// whenScript: this.ruleForm.whenScript,
|