dev2 #1

Open
panjunjie wants to merge 201 commits from dev2 into main
Showing only changes of commit d42c198a13 - Show all commits

View File

@ -97,7 +97,7 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="250">
<el-table-column label="操作" width="300">
<template slot-scope="scope">
<el-button
size="mini"
@ -106,6 +106,13 @@
>
编辑
</el-button>
<el-button
size="mini"
type="success"
@click="openCopyDrawer(scope.row)"
>
复制
</el-button>
<el-button
size="mini"
type="danger"
@ -265,6 +272,18 @@
this.$refs.storeConfDrawerRef.open()
},
//
openCopyDrawer(row) {
this.isEditMode = false
this.currentFormData = { ...row } //
this.currentFormData.storeName = ''
this.currentFormData.storeId = null
this.currentFormData.id = null
this.currentFormData.createTime = null
this.currentFormData.updateTime = null
this.$refs.storeConfDrawerRef.open()
},
//
async handleSave(data) {
let res = null