|
@@ -53,7 +53,7 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" v-if="index !== 1">
|
|
|
- <el-button @click="dialogVisible = false">取消</el-button>
|
|
|
+ <el-button @click="cancel">取消</el-button>
|
|
|
<el-button type="primary" @click="getSubmit">确定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -215,6 +215,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+ // 取消
|
|
|
+ cancel(){
|
|
|
+ this.dialogVisible = false
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
+
|
|
|
// 字典翻译
|
|
|
typeFormatter(row) {
|
|
|
return this.selectDictLabel(this.dict.type.deployment_form, row.type)
|