'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
var vueI18n = require('vue-i18n');

var _sfc_main = /* @__PURE__ */ vue.defineComponent({
  ...{
    name: "FModifyRecord"
  },
  __name: "index",
  props: {
    data: {}
  },
  setup(__props) {
    const { t } = vueI18n.useI18n();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_ele_InfoFilled = vue.resolveComponent("ele-InfoFilled");
      const _component_el_icon = vue.resolveComponent("el-icon");
      const _component_el_text = vue.resolveComponent("el-text");
      const _component_ele_UserFilled = vue.resolveComponent("ele-UserFilled");
      const _component_el_tag = vue.resolveComponent("el-tag");
      const _component_el_descriptions_item = vue.resolveComponent("el-descriptions-item");
      const _component_ele_Calendar = vue.resolveComponent("ele-Calendar");
      const _component_ele_Tickets = vue.resolveComponent("ele-Tickets");
      const _component_el_descriptions = vue.resolveComponent("el-descriptions");
      const _component_el_popover = vue.resolveComponent("el-popover");
      return vue.openBlock(), vue.createBlock(_component_el_popover, {
        placement: "bottom",
        width: "300",
        trigger: "hover"
      }, {
        reference: vue.withCtx(() => [
          vue.createVNode(_component_el_text, {
            type: "primary",
            class: "cursor-default"
          }, {
            default: vue.withCtx(() => [
              vue.createVNode(_component_el_icon, null, {
                default: vue.withCtx(() => [
                  vue.createVNode(_component_ele_InfoFilled)
                ]),
                _: 1
                /* STABLE */
              }),
              vue.createTextVNode(
                vue.toDisplayString(vue.unref(t)("message.list.detail")),
                1
                /* TEXT */
              )
            ]),
            _: 1
            /* STABLE */
          })
        ]),
        default: vue.withCtx(() => [
          vue.createVNode(_component_el_descriptions, {
            direction: "vertical",
            column: 2,
            border: ""
          }, {
            default: vue.withCtx(() => [
              vue.createVNode(_component_el_descriptions_item, { width: "140" }, {
                label: vue.withCtx(() => [
                  vue.createVNode(_component_el_text, null, {
                    default: vue.withCtx(() => [
                      vue.createVNode(_component_el_icon, null, {
                        default: vue.withCtx(() => [
                          vue.createVNode(_component_ele_UserFilled)
                        ]),
                        _: 1
                        /* STABLE */
                      }),
                      vue.createTextVNode(
                        vue.toDisplayString(vue.unref(t)("message.list.creator")),
                        1
                        /* TEXT */
                      )
                    ]),
                    _: 1
                    /* STABLE */
                  })
                ]),
                default: vue.withCtx(() => [
                  vue.createVNode(_component_el_tag, null, {
                    default: vue.withCtx(() => {
                      var _a;
                      return [
                        vue.createTextVNode(
                          vue.toDisplayString((_a = props.data.createUserName) != null ? _a : vue.unref(t)("message.list.none")),
                          1
                          /* TEXT */
                        )
                      ];
                    }),
                    _: 1
                    /* STABLE */
                  })
                ]),
                _: 1
                /* STABLE */
              }),
              vue.createVNode(_component_el_descriptions_item, null, {
                label: vue.withCtx(() => [
                  vue.createVNode(_component_el_text, null, {
                    default: vue.withCtx(() => [
                      vue.createVNode(_component_el_icon, null, {
                        default: vue.withCtx(() => [
                          vue.createVNode(_component_ele_Calendar)
                        ]),
                        _: 1
                        /* STABLE */
                      }),
                      vue.createTextVNode(
                        vue.toDisplayString(vue.unref(t)("message.list.createTime")),
                        1
                        /* TEXT */
                      )
                    ]),
                    _: 1
                    /* STABLE */
                  })
                ]),
                default: vue.withCtx(() => [
                  vue.createVNode(_component_el_tag, null, {
                    default: vue.withCtx(() => {
                      var _a;
                      return [
                        vue.createTextVNode(
                          vue.toDisplayString((_a = props.data.createTime) != null ? _a : vue.unref(t)("message.list.none")),
                          1
                          /* TEXT */
                        )
                      ];
                    }),
                    _: 1
                    /* STABLE */
                  })
                ]),
                _: 1
                /* STABLE */
              }),
              vue.createVNode(_component_el_descriptions_item, null, {
                label: vue.withCtx(() => [
                  vue.createVNode(_component_el_text, null, {
                    default: vue.withCtx(() => [
                      vue.createVNode(_component_el_icon, null, {
                        default: vue.withCtx(() => [
                          vue.createVNode(_component_ele_UserFilled)
                        ]),
                        _: 1
                        /* STABLE */
                      }),
                      vue.createTextVNode(
                        vue.toDisplayString(vue.unref(t)("message.list.modifier")),
                        1
                        /* TEXT */
                      )
                    ]),
                    _: 1
                    /* STABLE */
                  })
                ]),
                default: vue.withCtx(() => [
                  vue.createVNode(_component_el_tag, null, {
                    default: vue.withCtx(() => {
                      var _a;
                      return [
                        vue.createTextVNode(
                          vue.toDisplayString((_a = props.data.updateUserName) != null ? _a : vue.unref(t)("message.list.none")),
                          1
                          /* TEXT */
                        )
                      ];
                    }),
                    _: 1
                    /* STABLE */
                  })
                ]),
                _: 1
                /* STABLE */
              }),
              vue.createVNode(_component_el_descriptions_item, null, {
                label: vue.withCtx(() => [
                  vue.createVNode(_component_el_text, null, {
                    default: vue.withCtx(() => [
                      vue.createVNode(_component_el_icon, null, {
                        default: vue.withCtx(() => [
                          vue.createVNode(_component_ele_Calendar)
                        ]),
                        _: 1
                        /* STABLE */
                      }),
                      vue.createTextVNode(
                        vue.toDisplayString(vue.unref(t)("message.list.modifyTime")),
                        1
                        /* TEXT */
                      )
                    ]),
                    _: 1
                    /* STABLE */
                  })
                ]),
                default: vue.withCtx(() => [
                  vue.createVNode(_component_el_tag, null, {
                    default: vue.withCtx(() => {
                      var _a;
                      return [
                        vue.createTextVNode(
                          vue.toDisplayString((_a = props.data.updateTime) != null ? _a : vue.unref(t)("message.list.none")),
                          1
                          /* TEXT */
                        )
                      ];
                    }),
                    _: 1
                    /* STABLE */
                  })
                ]),
                _: 1
                /* STABLE */
              }),
              "remark" in props.data ? (vue.openBlock(), vue.createBlock(_component_el_descriptions_item, { key: 0 }, {
                label: vue.withCtx(() => [
                  vue.createVNode(_component_el_text, null, {
                    default: vue.withCtx(() => [
                      vue.createVNode(_component_el_icon, null, {
                        default: vue.withCtx(() => [
                          vue.createVNode(_component_ele_Tickets)
                        ]),
                        _: 1
                        /* STABLE */
                      }),
                      vue.createTextVNode(
                        vue.toDisplayString(vue.unref(t)("message.list.remark")),
                        1
                        /* TEXT */
                      )
                    ]),
                    _: 1
                    /* STABLE */
                  })
                ]),
                default: vue.withCtx(() => {
                  var _a;
                  return [
                    vue.createTextVNode(
                      " " + vue.toDisplayString((_a = props.data.remark) != null ? _a : vue.unref(t)("message.list.none")),
                      1
                      /* TEXT */
                    )
                  ];
                }),
                _: 1
                /* STABLE */
              })) : vue.createCommentVNode("v-if", true)
            ]),
            _: 1
            /* STABLE */
          })
        ]),
        _: 1
        /* STABLE */
      });
    };
  }
});

exports.default = _sfc_main;
