|
|
@@ -67,7 +67,7 @@
|
|
|
@pagination="getList" />
|
|
|
|
|
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
|
|
- <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
+ <DialogCom :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
<el-form-item label="标题" prop="title">
|
|
|
<el-input v-model="form.title" maxlength="50" placeholder="请输入标题" />
|
|
|
@@ -108,10 +108,10 @@
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
|
- </el-dialog>
|
|
|
+ </DialogCom>
|
|
|
|
|
|
<!-- 详情 -->
|
|
|
- <el-dialog :title="title" :visible.sync="yes" width="500px" append-to-body>
|
|
|
+ <DialogCom :title="title" :visible.sync="yes" width="500px" append-to-body>
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
<el-form-item label="标题" prop="title">
|
|
|
<el-input readonly v-model="form.title" maxlength="50" placeholder="请输入标题" />
|
|
|
@@ -153,7 +153,7 @@
|
|
|
<!-- <div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div> -->
|
|
|
- </el-dialog>
|
|
|
+ </DialogCom>
|
|
|
</div>
|
|
|
</template>
|
|
|
|