Commit d4b5a1e5 by zhangquan

紧急需求开发

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