Commit d4b5a1e5 by zhangquan

紧急需求开发

1 parent 8d85c996
......@@ -201,6 +201,14 @@
<el-button @click="submitForm('ruleForm')" size="small" type="primary">确定</el-button>
</div>
</el-drawer>
<GLDialog
mode="small"
@onOk="downLoadExchangeCode"
okText="确认并生成excel文件"
@onCancel="closeCodeDialog"
:visible.sync="dialogShow">
</GLDialog>
</div>
</template>
<script>
......@@ -229,6 +237,7 @@ export default {
data() {
return {
url: url,
dialogShow: false,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
hasTryNum: '',
value: false,
......@@ -313,6 +322,18 @@ export default {
listeners: {
click: row => this.copy(row.scope)
}
},
{
type: 'el-button',
name: row => {
return '生成兑换码'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.openDialog(row.scope)
}
}
],
product: [
......@@ -454,6 +475,16 @@ export default {
}
},
methods: {
downLoadExchangeCode(){
},
closeCodeDialog(){
},
openDialog(row){
this.curRowId = row
this.dialogShow = true
},
handleDetail(row) {
this.$refs.detailDetailRef.show(row)
// this.getcardRecordList()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!