Commit e1f09b97 by zhangquan

单个模板初始化

1 parent 9a44c900
......@@ -92,6 +92,18 @@
listeners: {
click: row => this.changeContractTMPL(row.scope)
}
},
{
type: 'el-button',
name: row => {
return '模板初始化'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.initTmpl(row.scope)
}
}
],
searchForm: {
......@@ -203,6 +215,12 @@
ids
}
},
initTmpl(row) {
this.tipObj = {
visible: true,
ids: [row.id]
}
},
toInitTmpl(){
const params = {
templateIds: this.tipObj.ids
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!