Browse Source

更新

wangqin
hui 7 months ago
parent
commit
efcec53870
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/AddNEditDialog.vue

6
ruoyi-ui/src/views/JiHeExpressway/pages/control/device/strategy/components/AddNEditDialog.vue

@ -20,7 +20,7 @@
<el-button type="primary" @click="onSaveTaskGroup('basicInfoForm')" :loading="submitting"> 提交 </el-button> <el-button type="primary" @click="onSaveTaskGroup('basicInfoForm')" :loading="submitting"> 提交 </el-button>
</div> </div>
</el-form> </el-form>
{{ editData.id }}
<template v-if="editData.id"> <template v-if="editData.id">
<!-- 如果是新增的还没有保存的任务组不能添加任务 --> <!-- 如果是新增的还没有保存的任务组不能添加任务 -->
<div class="fl-around task_op"> <div class="fl-around task_op">
@ -251,8 +251,8 @@ export default {
Message.success(`提交成功!`); Message.success(`提交成功!`);
this.$emit("onSuccess"); this.$emit("onSuccess");
this.editData = result.data; this.editData = { ...result.data };
// this.mode = "edit" this.mode = "edit"
}) })
.catch((err) => { .catch((err) => {

Loading…
Cancel
Save