parent
335bc2dad7
commit
858bd86e5e
|
@ -231,7 +231,7 @@ export default {
|
||||||
},
|
},
|
||||||
getVersionHistory() {
|
getVersionHistory() {
|
||||||
this.$get('/api/definition/versions/' + this.basisData.id, response => {
|
this.$get('/api/definition/versions/' + this.basisData.id, response => {
|
||||||
if (this.httpForm.isCopy) {
|
if (this.basisData.isCopy) {
|
||||||
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
|
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
|
||||||
} else {
|
} else {
|
||||||
this.versionData = response.data;
|
this.versionData = response.data;
|
||||||
|
|
|
@ -235,7 +235,7 @@ export default {
|
||||||
},
|
},
|
||||||
getVersionHistory() {
|
getVersionHistory() {
|
||||||
this.$get('/api/definition/versions/' + this.basisData.id, response => {
|
this.$get('/api/definition/versions/' + this.basisData.id, response => {
|
||||||
if (this.httpForm.isCopy) {
|
if (this.basisData.isCopy) {
|
||||||
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
|
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
|
||||||
} else {
|
} else {
|
||||||
this.versionData = response.data;
|
this.versionData = response.data;
|
||||||
|
|
|
@ -352,7 +352,7 @@ export default {
|
||||||
},
|
},
|
||||||
getVersionHistory() {
|
getVersionHistory() {
|
||||||
this.$get('/api/definition/versions/' + this.basisData.id, response => {
|
this.$get('/api/definition/versions/' + this.basisData.id, response => {
|
||||||
if (this.httpForm.isCopy) {
|
if (this.basisData.isCopy) {
|
||||||
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
|
this.versionData = response.data.filter(v => v.versionId === this.httpForm.versionId);
|
||||||
} else {
|
} else {
|
||||||
this.versionData = response.data;
|
this.versionData = response.data;
|
||||||
|
|
Loading…
Reference in New Issue