• wangxl's avatar
    3333 · 4c6cbfb4
    wangxl authored
    4c6cbfb4
auditEdit.vue 1.6 KB
<template>
  <div>
    <a-row>
      <a-col :span="24">
        <div class="main-title">
          <span>审核</span>
        </div>
      </a-col>
    </a-row>
    <a-row>
      <a-col :span="24" style="text-align: center;">
        <a-form-model-item prop="auditContent">
          <a-textarea v-model="auditObj.auditContent" :auto-size="{ minRows: 5, maxRows: 8 }" :max-length="500" style="margin: 4px 4px; width: 60%;height: 115px;" />
        </a-form-model-item>
      </a-col>
    </a-row>
    <a-row>
      <a-col :span="24" style="text-align: center;">
        <a-form-model-item prop="auditResult">
          <a-radio-group v-model="auditObj.auditResult" @change="onChange">
            <a-radio :value="10">通过</a-radio>
            <a-radio :value="30">返回修改</a-radio>
            <a-radio :value="20">不通过</a-radio>
          </a-radio-group>
        </a-form-model-item>
      </a-col>
    </a-row>
  </div>
</template>
<script>
export default {
  name: "AuditEdit",
  data () {
    return {};
  },
  props: {
    auditObj: {
      type: Object,
      default: () => {
        return null;
      },
    },
  },
  created () {

  },
  methods: {
    onChange (e) { },
  },
};
</script>
<style lang="less" scoped>
.tb-title {
  color: #0079fe;
  display: flex;
  text-align: center;
  height: 40px;

  &::after {
    content: "";
    flex-grow: 1;
    border-top: 1px dashed #d9d9d9;
    transform: translateY(50%);
    margin-left: 10px;
  }
}

.doc-tag {
  line-height: 2;
  display: inline-block;
  margin-right: 12px;
  background: #ebf3ff;
  border-radius: 4px;
  color: #0079fe;
  padding: 0 10px;
}
</style>