quick-admin-vue3-core
Version:
以快(计算机执行效率、开发效率)为核心的后台管理系统开发模板
61 lines (60 loc) • 1.95 kB
JavaScript
import { defineComponent as a, resolveComponent as p, createElementBlock as u, openBlock as c, createElementVNode as t, createVNode as l, createTextVNode as o, withCtx as n, normalizeClass as f, toDisplayString as r } from "vue";
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
const b = { class: "about-title f-sb-c" }, y = { class: "right f-fs-c" }, v = { class: "item" }, j = { class: "item" }, C = /* @__PURE__ */ a({
__name: "AboutTitle",
props: {
type: { default: "me" },
rejected: { type: Boolean }
},
emits: ["submit"],
setup(g, { emit: d }) {
const m = d;
return (s, e) => {
const i = p("el-button");
return c(), u("div", b, [
t("div", y, [
t("div", v, [
e[2] || (e[2] = o("提交:")),
l(i, {
onClick: e[0] || (e[0] = (k) => m("submit", s.type)),
style: { "min-width": "2em" },
ype: "primary",
size: "small",
text: ""
}, {
default: n(() => e[1] || (e[1] = [
o("1")
])),
_: 1
})
]),
e[4] || (e[4] = t("div", { class: "item" }, [
o("驳回:"),
t("b", { class: "red" }, "0")
], -1)),
t("div", j, [
e[3] || (e[3] = o(" 当前状态:")),
t("b", {
class: f(s.rejected ? "red" : "green")
}, r(s.rejected ? "已驳回" : "正常"), 3)
])
]),
l(i, {
style: { width: "5em" },
type: "primary",
size: "small",
class: "ml-a",
plain: s.rejected
}, {
default: n(() => [
o(r(s.rejected ? "取消驳回" : "驳回"), 1)
]),
_: 1
}, 8, ["plain"])
]);
};
}
}), B = /* @__PURE__ */ _(C, [["__scopeId", "data-v-7adedcee"]]);
export {
B as default
};