|
@@ -67,7 +67,7 @@
|
|
</el-form>
|
|
</el-form>
|
|
<div class="form-btn">
|
|
<div class="form-btn">
|
|
<el-button @click="cancel">取消</el-button>
|
|
<el-button @click="cancel">取消</el-button>
|
|
- <el-button type="primary" @click="getSubmit">确定</el-button>
|
|
|
|
|
|
+ <el-button v-if="!disabled" type="primary" @click="getSubmit">确定</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -209,7 +209,7 @@ export default {
|
|
edit(this.form).then(res => {
|
|
edit(this.form).then(res => {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
this.$message.success('编辑成功!')
|
|
this.$message.success('编辑成功!')
|
|
- this.getList()
|
|
|
|
|
|
+ this.getList(this.$route.query.id)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|