|
@@ -15,7 +15,7 @@
|
|
|
</zj-form-container>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button size="mini" @click="formCancel">取 消</el-button>
|
|
|
- <el-button size="mini" type="primary" @click="formConfirm">确 定</el-button>
|
|
|
+ <el-button v-if="!formData.id" size="mini" type="primary" @click="formConfirm">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -354,7 +354,7 @@ export default {
|
|
|
return (
|
|
|
<div>
|
|
|
<div>
|
|
|
- <el-button type="primary" onClick={()=>{ this.showQuestion = true }}>新增</el-button>
|
|
|
+ {!this.formData.id?<el-button type="primary" onClick={()=>{ this.showQuestion = true }}>新增</el-button>:null}
|
|
|
</div>
|
|
|
<div>
|
|
|
<zj-table
|