|
@@ -405,15 +405,19 @@ export default {
|
|
|
},
|
|
|
//表格-新增
|
|
|
handleAdd () {
|
|
|
- if(this.isDialog == true){
|
|
|
- this.flag = true;
|
|
|
+ this.flag = true;
|
|
|
this.tableType = "add";
|
|
|
this.tableTitle = "新增";
|
|
|
this.tableForm = {};
|
|
|
- }
|
|
|
- else{
|
|
|
- this.$emit("handleAdd");
|
|
|
- }
|
|
|
+ // if(this.isDialog ){
|
|
|
+ // this.flag = true;
|
|
|
+ // this.tableType = "add";
|
|
|
+ // this.tableTitle = "新增";
|
|
|
+ // this.tableForm = {};
|
|
|
+ // }
|
|
|
+ // else{
|
|
|
+ // this.$emit("handleAdd");
|
|
|
+ // }
|
|
|
|
|
|
console.log(this.tableOptions);
|
|
|
},
|