|
|
@ -178,7 +178,7 @@ |
|
|
|
size="mini" |
|
|
|
circle |
|
|
|
title="复制" |
|
|
|
@click="copyTemplate(scope.$index)" |
|
|
|
@click="copyTemplate(scope.row,scope.$index)" |
|
|
|
> |
|
|
|
<svg-icon icon-class="clipboard" /> |
|
|
|
</el-button> |
|
|
@ -235,7 +235,7 @@ |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
<drawerDialog :id="id" :drawer.sync="drawer" :index="templateIndex" :template-list="list" :parent-list="parentList" @closeTemplateDrawer="closeTemplateDrawer" /> |
|
|
|
<drawerDialog :id="id" :drawer.sync="drawer" :type="temType" :index="templateIndex" :template-list="list" :parent-list="parentList" @closeTemplateDrawer="closeTemplateDrawer" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
@ -269,6 +269,7 @@ export default { |
|
|
|
nblbList: [], |
|
|
|
bglxList: [], |
|
|
|
dicCodeList: [], |
|
|
|
temType: '', |
|
|
|
categoryList: [ |
|
|
|
{ |
|
|
|
value: 'YSJL', |
|
|
@ -496,13 +497,16 @@ export default { |
|
|
|
showPageStatus: false, |
|
|
|
hasCheckedPage: false |
|
|
|
} |
|
|
|
this.templateIndex = '' |
|
|
|
this.dialogStatus = 'create' |
|
|
|
this.dialogFormVisible = true |
|
|
|
this.drawer = true |
|
|
|
}, |
|
|
|
copyTemplate($index) { |
|
|
|
this.loadFormData($index) |
|
|
|
copyTemplate(row, $index) { |
|
|
|
this.id = row.id |
|
|
|
this.temType = 1 |
|
|
|
this.templateIndex = $index |
|
|
|
this.dialogStatus = 'create' |
|
|
|
this.dialogFormVisible = true |
|
|
|
this.drawer = true |
|
|
|
}, |
|
|
|
showUpdate(row, $index) { |
|
|
|
console.log(row, $index, '行') |
|
|
|