|
@@ -30,8 +30,8 @@
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogVisible=false">取 消</el-button>
|
|
|
- <el-button v-if="act === 1" type="primary" @click="addSubmit">确 定</el-button>
|
|
|
- <el-button v-else type="primary" @click="editSubmit">确 定</el-button>
|
|
|
+ <el-button v-if="act === 1" type="primary" @click="addSubmit">确 定1</el-button>
|
|
|
+ <el-button v-else type="primary" @click="editSubmit">确 定2</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<el-row :gutter="10" class="mb8">
|
|
@@ -193,6 +193,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleAdd() {
|
|
|
+ this.act = 1
|
|
|
this.resetForm()
|
|
|
this.dialogVisible = true
|
|
|
this.getRbac()
|