SetCommon.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <el-dialog
  3. title="设置公共看板"
  4. :visible.sync="show"
  5. :modal-append-to-body="false"
  6. :close-on-click-modal="false"
  7. :center="true"
  8. v-dialogDrag
  9. custom-class="dialogclass"
  10. width="680px"
  11. @close="handleClose"
  12. >
  13. <div class="BI-share-wrap">
  14. <div class="board-title">
  15. <div style="flex:1">看板名称</div>
  16. <el-tag size="mini">审批状态</el-tag>
  17. </div>
  18. <el-select placeholder="请选择分类" style="width:100%;margin:20px 0"></el-select>
  19. <div class="tips">提示:个人看板设为公共看板,请先选择公共看板分类,提交审批,审批通过后可设置公开!</div>
  20. <div class="tips">提示:设置公开看板失败,若要编辑,请先执行撤销操作!<el-button type="text">撤销</el-button></div>
  21. <div class="tips">提示:审批通过后,个人看板则设置公开成功!</div>
  22. <div class="tips">提示:设置公开看板成功,若要编辑,请先撤销操作(即取消公开)!<el-button type="text">撤销</el-button></div>
  23. <div class="dia-bot">
  24. <el-button
  25. type="primary"
  26. plain
  27. @click="handleClose"
  28. style="margin-right: 20px"
  29. >{{ $t("Dialog.cancel_btn") }}</el-button
  30. >
  31. <el-button type="primary" @click="saveHandle">提交审批</el-button>
  32. </div>
  33. </div>
  34. </el-dialog>
  35. </template>
  36. <script>
  37. export default {
  38. name: "setCommon",
  39. model: {
  40. prop: 'show',
  41. event: 'showChange'
  42. },
  43. props: {
  44. show: {
  45. type: Boolean,
  46. default: false
  47. }
  48. },
  49. data() {
  50. return {
  51. }
  52. },
  53. created() {
  54. },
  55. methods: {
  56. handleClose() {
  57. this.$emit('showChange', false)
  58. },
  59. },
  60. }
  61. </script>
  62. <style lang="scss" scoped>
  63. .select-user-box {
  64. margin-top: 20px;
  65. padding: 20px;
  66. border: 1px dashed #c8cdd9;
  67. }
  68. .board-title{
  69. display: flex;
  70. }
  71. .dia-bot {
  72. display: flex;
  73. justify-content: center;
  74. margin: 40px 0;
  75. }
  76. </style>