diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index c9a1968..aefce79 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -10,7 +10,7 @@ - + @@ -148,7 +148,7 @@ export default { sbzlList: [], species: [], parentList: [], - leftList:[] + leftList: [] } }, created() { @@ -284,13 +284,13 @@ export default { this.parentList = data }) }, - getLeftList(){ - this.api({ + getLeftList() { + this.api({ url: '/getTopLevel', method: 'get', params: { - pageNum:10, - pageSize:10 + pageNum: 10, + pageSize: 10 } }).then(data => { this.leftList = data diff --git a/src/views/flow/template.vue b/src/views/flow/template.vue index 91b3068..618f763 100644 --- a/src/views/flow/template.vue +++ b/src/views/flow/template.vue @@ -178,7 +178,7 @@ size="mini" circle title="复制" - @click="copyTemplate(scope.$index)" + @click="copyTemplate(scope.row,scope.$index)" > @@ -235,7 +235,7 @@ - +