UNPKG

dldiscuss

Version:

#### 介绍 {**以下是 Gitee 平台说明,您可以替换此简介** Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}

71 lines (70 loc) 2.33 kB
import { defineComponent as v, ref as r, onActivated as p, resolveComponent as c, openBlock as l, createElementBlock as m, createElementVNode as t, createVNode as s, withCtx as n, createBlock as h, pushScopeId as w, popScopeId as f } from "vue"; import x from "./index-C1TmWU_R.mjs"; import { d as g, _ as I } from "./discussCom-BiaeqCV0.mjs"; const k = (a) => (w("data-v-d0e0b582"), a = a(), f(), a), N = { class: "home" }, S = { class: "view-header" }, b = /* @__PURE__ */ k(() => /* @__PURE__ */ t("span", { class: "title" }, "首页", -1)), B = { class: "static" }, C = { class: "static-item" }, y = { class: "static-item" }, D = { class: "static-item" }, E = { class: "static-item" }, V = /* @__PURE__ */ v({ __name: "index", setup(a) { const e = r({ new: 0, ing: 0, over: 0, ex: 0 }), _ = async () => { const o = await g({}); e.value.new = o.disNew, e.value.ing = o.disInProgress, e.value.over = o.disFinished, e.value.ex = o.disTimeout; }; return p(() => { _(); }), (o, j) => { const d = c("el-col"), u = c("el-row"), i = c("el-statistic"); return l(), m("div", N, [ t("div", S, [ s(u, { class: "el-row" }, { default: n(() => [ s(d, { span: 4 }, { default: n(() => [ b ]), _: 1 }) ]), _: 1 }) ]), t("div", B, [ t("div", C, [ s(i, { title: "新合议", value: e.value.new }, null, 8, ["value"]) ]), t("div", y, [ s(i, { title: "合议中", value: e.value.ing }, null, 8, ["value"]) ]), t("div", D, [ s(i, { title: "已完成", value: e.value.over }, null, 8, ["value"]) ]), t("div", E, [ s(i, { title: "已超时", value: e.value.ex }, null, 8, ["value"]) ]) ]), (l(), h(x, { key: /* @__PURE__ */ new Date(), pageName: "home" })) ]); }; } }), O = /* @__PURE__ */ I(V, [["__scopeId", "data-v-d0e0b582"]]); export { O as default };