src/views/CNAS/process/demand/index.vue
@@ -75,7 +75,7 @@ </el-form-item> </el-form> <div style="margin-bottom: 10px"> <el-button size="small" type="primary" icon="el-icon-plus" @click="openDialog"> <el-button size="small" type="primary" icon="el-icon-plus" @click="openDialog('add')"> 新 增 </el-button> </div> @@ -126,7 +126,10 @@ operation: [ { name: "编 辑", type: "text" type: "text", clickFun: (row) => { this.$refs.editRef.openAddContracts(row) } } ], }, @@ -152,8 +155,8 @@ /** * @desc 打开模态框 */ openDialog() { this.$refs.editRef.open() openDialog(type) { this.$refs.editRef.open(type) } } }