refactor: 分组管理,新建分组=>新增分组

main
wu.jian2 2 years ago
parent 5787e3c2c7
commit ab6c289436

@ -79,7 +79,7 @@
</el-dialog> </el-dialog>
<!-- 新增或编辑目录弹窗 --> <!-- 新增或编辑目录弹窗 -->
<el-dialog <el-dialog
:title="currentCatalog.code ? '编辑分组':'新分组'" :title="currentCatalog.code ? '编辑分组':'新分组'"
:visible.sync="catalogVisible" :visible.sync="catalogVisible"
custom-class="bs-el-dialog" custom-class="bs-el-dialog"
width="30%" width="30%"

@ -53,11 +53,11 @@
@click="catalogAdd" @click="catalogAdd"
> >
<i class="el-icon-plus" /> <i class="el-icon-plus" />
<div>分组</div> <div>分组</div>
</div> </div>
<!-- 新增或编辑目录弹窗 --> <!-- 新增或编辑目录弹窗 -->
<el-dialog <el-dialog
:title="currentCatalog.code ? '编辑分组':'新分组'" :title="currentCatalog.code ? '编辑分组':'新分组'"
:visible.sync="catalogVisible" :visible.sync="catalogVisible"
custom-class="bs-el-dialog" custom-class="bs-el-dialog"
width="30%" width="30%"

@ -83,7 +83,7 @@
</el-dialog> </el-dialog>
<!-- 新增或编辑目录弹窗 --> <!-- 新增或编辑目录弹窗 -->
<el-dialog <el-dialog
:title="currentCatalog.code ? '编辑分组' : '新分组'" :title="currentCatalog.code ? '编辑分组' : '新分组'"
:visible.sync="catalogVisible" :visible.sync="catalogVisible"
custom-class="bs-el-dialog" custom-class="bs-el-dialog"
width="30%" width="30%"

@ -389,7 +389,7 @@ export default {
this.$refs.categroyEditForm.type = 'dataset' this.$refs.categroyEditForm.type = 'dataset'
this.$refs.categroyEditForm.dialogFormVisible = true this.$refs.categroyEditForm.dialogFormVisible = true
this.$refs.categroyEditForm.init(this.rightClickForm.org, false) this.$refs.categroyEditForm.init(this.rightClickForm.org, false)
this.$refs.categroyEditForm.title = '分组编辑' this.$refs.categroyEditForm.title = '编辑分组'
}) })
return return
} }

@ -62,11 +62,11 @@
@click="catalogAdd" @click="catalogAdd"
> >
<i class="el-icon-plus" /> <i class="el-icon-plus" />
<div>分组</div> <div>分组</div>
</div> </div>
<!-- 新增或编辑目录弹窗 --> <!-- 新增或编辑目录弹窗 -->
<el-dialog <el-dialog
:title="currentCatalog.code ? '编辑分组' : '新分组'" :title="currentCatalog.code ? '编辑分组' : '新分组'"
:visible.sync="catalogVisible" :visible.sync="catalogVisible"
custom-class="bs-el-dialog" custom-class="bs-el-dialog"
width="30%" width="30%"
@ -175,7 +175,7 @@ export default {
// //
name: '', name: '',
id: '', id: '',
code: '', code: ''
}, },
formRules: { formRules: {
name: [ name: [

Loading…
Cancel
Save