Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <!-- 添加图像的dialog -->
- <el-dialog
- title="上传X线片"
- :visible.sync="addDiagnoseDialogVisible"
- width="30%"
- center>
- <span slot="footer" class="dialog-footer">
- <el-button @click="addDiagnoseDialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="saveXRay">确 定</el-button>
- </span>
- </el-dialog>
- </template>
- <script>
- export default {
- name: 'imgUploadDialog',
- data () {
- return {
- addDiagnoseDialogVisible: false
- }
- },
- props: ['visiable'],
- watch: {
- visiable: function (newVal, oldVal) {
- this.addDiagnoseDialogVisible = this.visiable
- }
- }
- }
- </script>
Add Comment
Please, Sign In to add comment