<template>
  <div class="dialog-small">

    <el-dialog
        :before-close="handleClose"
        :modal="true"
        :modal-append-to-body="false"
        :visible.sync="dialogVisible"
        class="dissatisfied-detail"
        title=""
        width="416px"
    >
      <template #title>
        <Title noBg text="催办督办"/>
      </template>
      <div class="content">
        <div class="items">
          <div class="label">当前办理部门：</div>
          <div class="value">XXX社区</div>
        </div>

        <div class="items">
          <div class="label">转入该部门时间：</div>
          <div class="value">2023-09-10 15:30</div>
        </div>

        <div class="items">
          <div class="label">联系人：</div>
          <div class="value">王军</div>
        </div>

        <div class="items">
          <div class="label">联系电话：</div>
          <div class="value">133****8989</div>
          <CallPhone icon="el-icon-phone"/>
        </div>

        <div class="items">
          <div class="label">时间状态：</div>
          <div class="value">办理中</div>
        </div>

        <div class="items">
          <div class="label">催办说明：</div>
        </div>
        <div class="items">
          <el-input
              v-model="explain"
              :autosize="{ minRows: 5, maxRows: 10}"
              class="input"
              maxlength="500"
              placeholder="请填写催办说明，不超过500字"
              type="textarea"/>
        </div>

        <div class="btn-group">
          <el-button class="cancel" plain round type="success" @click="handleClose">取消</el-button>
          <el-button class="sure" plain round type="warning" @click="handleSure">确定</el-button>
        </div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import Title from "@/views/dataBoard/satisfactionEval/components/Title";
import CallPhone from "@/views/dataBoard/cpts/CallPhone";

export default {
  name: "Supervision",
  components: {Title, CallPhone},
  data() {
    return {
      dialogVisible: false,
      explain: ""
    }
  },
  mounted() {

  },
  methods: {
    handleClose(done) {
      this.dialogVisible = false;
    },
    open(id) {
      this.dialogVisible = true;
    },
    handleSure() {

    }
  }
}
</script>

<style lang="scss" scoped>
@import "~@/assets/scss/dataBoard/dialog-small.scss";

.content {
  padding: 0 25px;

  .items {
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 17px;

    .label {
      color: #9CB4D3;
    }

    .value {
      color: #FFFFFF;
    }
  }
}

/deep/ .el-textarea__inner {
  color: #fff;
  border: 1px solid #0E3978;
  border-radius: 2px;
  background: rgba(0, 23, 66, 0.72);
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;

  .el-button {
    width: 136px;
    height: 36px;
    margin: 0 20px;
  }

  .sure {
    color: #8ED3FF;
    border: 1px solid #006CFF;
    background: rgba(0, 108, 255, 0.5);
  }

  .cancel {
    color: #B6D2FF;
    border: 1px solid #6496E8;
    background: rgba(116, 146, 194, 0.6);
  }

}

</style>