zsysview 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-d0A-NaTk.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1, k as _sfc_main$2, Z as ZSYSMessage } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _hoisted_2 = { key: 0 }, _hoisted_3 = { key: 0 }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "backup",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx } from "vue";
2
- import { _ as _export_sfc } from "./index-d0A-NaTk.js";
2
+ import { _ as _export_sfc } from "./index-DzL6spbn.js";
3
3
  const _sfc_main = {}, _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } };
4
4
  function _sfc_render(_ctx, _cache) {
5
5
  const _component_breadcrumb = resolveComponent("breadcrumb"), _component_el_result = resolveComponent("el-result");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
2
- import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-d0A-NaTk.js";
2
+ import { e as useRouter, i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DzL6spbn.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "change_password",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, onMounted, onUnmounted, createElementBlock, Fragment, unref } from "vue";
2
- import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, n as refresh_default, m as _sfc_main$3 } from "./index-d0A-NaTk.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, n as refresh_default, m as _sfc_main$3 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "department_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { i as _sfc_main$1 } from "./index-d0A-NaTk.js";
2
+ import { i as _sfc_main$1 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "help",
5
5
  setup(__props) {
@@ -48817,7 +48817,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48817
48817
  path: "/main",
48818
48818
  //"/main"
48819
48819
  name: "main",
48820
- component: () => import("./main-CmoO3WLk.js"),
48820
+ component: () => import("./main-BM8Fvt32.js"),
48821
48821
  meta: { requiresAuth: !0, title: "主界面" },
48822
48822
  children: [
48823
48823
  {
@@ -48829,13 +48829,13 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48829
48829
  path: "/self",
48830
48830
  //个人中心
48831
48831
  meta: { title: "基本信息" },
48832
- component: () => import("./self-vvSccpsd.js")
48832
+ component: () => import("./self-CUu1aORS.js")
48833
48833
  },
48834
48834
  {
48835
48835
  path: "/notification",
48836
48836
  //个人中心
48837
48837
  meta: { title: "系统消息" },
48838
- component: () => import("./notification-DMmjK1Ml.js")
48838
+ component: () => import("./notification-BCkAPoyl.js")
48839
48839
  }
48840
48840
  ]
48841
48841
  },
@@ -48843,7 +48843,7 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48843
48843
  path: "/password",
48844
48844
  //修改密码
48845
48845
  meta: { title: "修改密码" },
48846
- component: () => import("./change_password-CvHB1KYG.js")
48846
+ component: () => import("./change_password-BCpfLtZQ.js")
48847
48847
  },
48848
48848
  {
48849
48849
  path: "/sys",
@@ -48854,61 +48854,61 @@ const useTokenStore = /* @__PURE__ */ defineStore("UseToken", () => {
48854
48854
  {
48855
48855
  path: "/user",
48856
48856
  meta: { title: "用户管理" },
48857
- component: () => import("./user-D7pO_VD_.js")
48857
+ component: () => import("./user-CXVihXkC.js")
48858
48858
  },
48859
48859
  {
48860
48860
  path: "/department",
48861
48861
  meta: { title: "组织架构" },
48862
- component: () => import("./department-BfBgWfmG.js")
48862
+ component: () => import("./department-BraC02i1.js")
48863
48863
  },
48864
48864
  {
48865
48865
  path: "/position",
48866
48866
  meta: { title: "职务" },
48867
- component: () => import("./position-DGysWi8T.js")
48867
+ component: () => import("./position-2LqfB_Zh.js")
48868
48868
  },
48869
48869
  {
48870
48870
  path: "/role",
48871
48871
  meta: { title: "角色权限" },
48872
- component: () => import("./role-Dzq9eLTp.js")
48872
+ component: () => import("./role-CNrpDxip.js")
48873
48873
  },
48874
48874
  {
48875
48875
  path: "/log",
48876
48876
  meta: { title: "日志" },
48877
- component: () => import("./log-BJAUEnEQ.js")
48877
+ component: () => import("./log-DPlyCY4H.js")
48878
48878
  },
48879
48879
  {
48880
48880
  path: "/backup",
48881
48881
  meta: { title: "备份" },
48882
- component: () => import("./backup-D-mH-Z_D.js")
48882
+ component: () => import("./backup-JYciwQ4I.js")
48883
48883
  },
48884
48884
  {
48885
48885
  path: "/systemsetting",
48886
48886
  meta: { title: "高级设置" },
48887
- component: () => import("./systemsetting-TZtg03lz.js")
48887
+ component: () => import("./systemsetting-BsHvQQfQ.js")
48888
48888
  }
48889
48889
  ]
48890
48890
  },
48891
48891
  {
48892
48892
  path: "/help",
48893
48893
  meta: { title: "使用帮助" },
48894
- component: () => import("./help-B5h3IgOj.js")
48894
+ component: () => import("./help-Au_xwj_V.js")
48895
48895
  },
48896
48896
  {
48897
48897
  path: "/version",
48898
48898
  meta: { title: "版本记录" },
48899
- component: () => import("./version-Ccq107Rh.js")
48899
+ component: () => import("./version-0-kWtYgH.js")
48900
48900
  },
48901
48901
  {
48902
48902
  path: "/building",
48903
48903
  meta: { title: "开发中的功能" },
48904
- component: () => import("./building-WUIAcqB8.js")
48904
+ component: () => import("./building-JfhGEuI2.js")
48905
48905
  }
48906
48906
  ]
48907
48907
  },
48908
48908
  {
48909
48909
  path: "/login",
48910
48910
  name: "login",
48911
- component: () => import("./login-3zJDsptw.js")
48911
+ component: () => import("./login-DNMzryyr.js")
48912
48912
  }
48913
48913
  ], router = createRouter({
48914
48914
  history: createWebHistory(),
@@ -51716,14 +51716,6 @@ class HttpApiV1 {
51716
51716
  return console.log(err), Promise.reject("访问服务器失败");
51717
51717
  }
51718
51718
  }
51719
- static PostSync(url2, obj) {
51720
- let rd = { error_code: 1, message: "请求失败" };
51721
- return this.Post(url2, obj).then((re) => {
51722
- rd = re, console.log("PostSync rd", rd);
51723
- }).catch((error) => {
51724
- console.error("捕获错误:", error);
51725
- }), rd;
51726
- }
51727
51719
  // http_axios.interceptors.response.use(res=>{
51728
51720
  // return res
51729
51721
  // },err=>{
@@ -52253,7 +52245,9 @@ const emitter = mitt(), zsysEventBus = () => ({
52253
52245
  }), onUnmounted(() => {
52254
52246
  eventBus.off("aud", aud_event);
52255
52247
  });
52256
- const pageChange = (pageindex, size) => {
52248
+ const handleSelectionChange = (val) => {
52249
+ console.log(val);
52250
+ }, pageChange = (pageindex, size) => {
52257
52251
  currentPage.value = pageindex, pageSize.value = size, console.log(currentPage.value, pageSize.value), GetListData();
52258
52252
  };
52259
52253
  return (_ctx, _cache) => {
@@ -52272,7 +52266,8 @@ const emitter = mitt(), zsysEventBus = () => ({
52272
52266
  createVNode(_component_el_table, {
52273
52267
  data: data.value.listdata,
52274
52268
  style: { width: "100%" },
52275
- stripe: !0
52269
+ stripe: !0,
52270
+ onSelectionChange: handleSelectionChange
52276
52271
  }, {
52277
52272
  empty: withCtx(() => [
52278
52273
  createVNode(_component_el_empty, {
@@ -52345,20 +52340,20 @@ class CommonHelper {
52345
52340
  return !0;
52346
52341
  }
52347
52342
  }
52348
- function GetUserPermission() {
52343
+ async function GetUserPermission() {
52349
52344
  let ps = [];
52350
52345
  try {
52351
- let res = HttpApiV1.PostSync(HttpApiV1.url_user_permission, {});
52346
+ let res = await HttpApiV1.Post(HttpApiV1.url_user_permission, {});
52352
52347
  res.IsSuccess && (ps = res.data, console.log("GetUserPermission", ps));
52353
52348
  } catch (e) {
52354
52349
  console.log("GetUserPermission error", e);
52355
52350
  }
52356
52351
  return ps;
52357
52352
  }
52358
- function HasPermission(p2) {
52353
+ async function HasPermission(p2) {
52359
52354
  let has = !1;
52360
52355
  try {
52361
- let ps = GetUserPermission();
52356
+ let ps = await GetUserPermission();
52362
52357
  console.log("ps", ps), has = CommonHelper.StringArrayHasString(ps, p2);
52363
52358
  } catch (error) {
52364
52359
  console.error("HasPermission error", error);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, withCtx, createTextVNode, reactive, computed, createElementVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-d0A-NaTk.js";
2
+ import { H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$2, k as _sfc_main$3 } from "./index-DzL6spbn.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "log_setting",
5
5
  setup(__props, { expose: __expose }) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withKeys, createTextVNode, createElementVNode, toDisplayString, inject } from "vue";
2
- import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-d0A-NaTk.js";
2
+ import { e as useRouter, p as useRoute, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc } from "./index-DzL6spbn.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1 = {
5
5
  class: "bg",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, resolveDynamicComponent, toDisplayString, createElementBlock, Fragment, renderList, markRaw, inject, reactive, onMounted, ref, unref, createTextVNode, watch } from "vue";
2
- import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-d0A-NaTk.js";
2
+ import { b as bell_default, u as user_default, o as office_building_default, a as avatar_default, r as reading_default, c as copy_document_default, d as operation_default, s as setting_default, q as question_filled_default, H as HttpApiV1, C as CommonHelper, _ as _export_sfc, e as useRouter, f as formatPreciseOralTime, g as arrow_down_default, h as useTokenStore, Z as ZSYSMessage } from "./index-DzL6spbn.js";
3
3
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4
4
  __name: "userMenuItem",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, computed, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-d0A-NaTk.js";
2
+ import { H as HttpApiV1, j as formatDateTime, i as _sfc_main$1, k as _sfc_main$2 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "notification",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
2
- import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-d0A-NaTk.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "position_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createElementVNode, createCommentVNode, createTextVNode, createElementBlock, Fragment, unref } from "vue";
2
- import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-d0A-NaTk.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, _ as _export_sfc, i as _sfc_main$2, k as _sfc_main$3, m as _sfc_main$4 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1$1 = { style: { display: "flex", "justify-content": "right" } }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "role_edit_dialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1 } from "./index-d0A-NaTk.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px", "margin-top": "20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "self",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, reactive, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, withCtx, createTextVNode } from "vue";
2
- import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-d0A-NaTk.js";
2
+ import { i as _sfc_main$1, H as HttpApiV1, Z as ZSYSMessage } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "systemsetting",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, reactive, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, withDirectives, withModifiers, createVNode, createCommentVNode, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, computed, unref } from "vue";
2
- import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4, m as _sfc_main$5 } from "./index-d0A-NaTk.js";
2
+ import { z as zsysEventBus, l as useMagicKeys, w as whenever, H as HttpApiV1, Z as ZSYSMessage, j as formatDateTime, i as _sfc_main$3, k as _sfc_main$4, m as _sfc_main$5 } from "./index-DzL6spbn.js";
3
3
  import { h } from "./index.es-DrN1BLo5.js";
4
4
  const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
5
5
  key: 0,
@@ -52,6 +52,7 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
52
52
  uname: "",
53
53
  username: "",
54
54
  password: "",
55
+ phone: "",
55
56
  is_enable: !0,
56
57
  role_value: []
57
58
  }), rules = reactive({
@@ -118,7 +119,7 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
118
119
  const _component_el_input = resolveComponent("el-input"), _component_el_switch = resolveComponent("el-switch"), _component_el_form_item = resolveComponent("el-form-item"), _component_el_option = resolveComponent("el-option"), _component_el_select = resolveComponent("el-select"), _component_el_form = resolveComponent("el-form"), _component_el_checkbox = resolveComponent("el-checkbox"), _component_el_tooltip = resolveComponent("el-tooltip"), _component_el_text = resolveComponent("el-text"), _component_el_button = resolveComponent("el-button"), _component_el_dialog = resolveComponent("el-dialog"), _directive_loading = resolveDirective("loading");
119
120
  return openBlock(), createBlock(_component_el_dialog, {
120
121
  modelValue: visible.value,
121
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => visible.value = $event),
122
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => visible.value = $event),
122
123
  title: "用户",
123
124
  "align-center": !0,
124
125
  "before-close": handleBeforeClose,
@@ -139,7 +140,7 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
139
140
  default: withCtx(() => [
140
141
  createVNode(_component_el_checkbox, {
141
142
  modelValue: view.donotClose,
142
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => view.donotClose = $event),
143
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => view.donotClose = $event),
143
144
  label: "连续录入",
144
145
  style: { "margin-right": "10px" }
145
146
  }, null, 8, ["modelValue"])
@@ -153,22 +154,22 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
153
154
  default: withCtx(() => [
154
155
  createVNode(_component_el_button, {
155
156
  type: "primary",
156
- onClick: _cache[7] || (_cache[7] = ($event) => submitForm(ruleFormRef.value)),
157
+ onClick: _cache[8] || (_cache[8] = ($event) => submitForm(ruleFormRef.value)),
157
158
  disabled: view.loading,
158
159
  loading: view.saving
159
160
  }, {
160
161
  default: withCtx(() => [
161
- _cache[10] || (_cache[10] = createTextVNode("保存(", -1)),
162
+ _cache[11] || (_cache[11] = createTextVNode("保存(", -1)),
162
163
  createVNode(_component_el_text, {
163
164
  tag: "ins",
164
165
  style: { color: "white" }
165
166
  }, {
166
- default: withCtx(() => [..._cache[9] || (_cache[9] = [
167
+ default: withCtx(() => [..._cache[10] || (_cache[10] = [
167
168
  createTextVNode("S", -1)
168
169
  ])]),
169
170
  _: 1
170
171
  }),
171
- _cache[11] || (_cache[11] = createTextVNode(")", -1))
172
+ _cache[12] || (_cache[12] = createTextVNode(")", -1))
172
173
  ]),
173
174
  _: 1
174
175
  }, 8, ["disabled", "loading"])
@@ -176,7 +177,7 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
176
177
  _: 1
177
178
  }),
178
179
  createVNode(_component_el_button, { onClick: close }, {
179
- default: withCtx(() => [..._cache[12] || (_cache[12] = [
180
+ default: withCtx(() => [..._cache[13] || (_cache[13] = [
180
181
  createTextVNode("取消", -1)
181
182
  ])]),
182
183
  _: 1
@@ -185,7 +186,7 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
185
186
  ]),
186
187
  default: withCtx(() => [
187
188
  withDirectives((openBlock(), createBlock(_component_el_form, {
188
- onSubmit: _cache[5] || (_cache[5] = withModifiers(() => {
189
+ onSubmit: _cache[6] || (_cache[6] = withModifiers(() => {
189
190
  }, ["prevent"])),
190
191
  ref_key: "ruleFormRef",
191
192
  ref: ruleFormRef,
@@ -246,6 +247,19 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
246
247
  ]),
247
248
  _: 1
248
249
  })) : createCommentVNode("", !0),
250
+ createVNode(_component_el_form_item, {
251
+ label: "手机号码",
252
+ prop: "phone"
253
+ }, {
254
+ default: withCtx(() => [
255
+ createVNode(_component_el_input, {
256
+ modelValue: form.value.phone,
257
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.phone = $event),
258
+ style: { width: "300px" }
259
+ }, null, 8, ["modelValue"])
260
+ ]),
261
+ _: 1
262
+ }),
249
263
  createVNode(_component_el_form_item, {
250
264
  label: "角色权限",
251
265
  prop: "role_title"
@@ -254,7 +268,7 @@ const _hoisted_1$2 = { style: { float: "left" } }, _hoisted_2 = {
254
268
  createVNode(_component_el_select, {
255
269
  multiple: "",
256
270
  modelValue: form.value.role_value,
257
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.role_value = $event),
271
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.value.role_value = $event),
258
272
  placeholder: "未选择",
259
273
  clearable: ""
260
274
  }, {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, onMounted, resolveComponent, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
2
- import { H as HttpApiV1, i as _sfc_main$1 } from "./index-d0A-NaTk.js";
2
+ import { H as HttpApiV1, i as _sfc_main$1 } from "./index-DzL6spbn.js";
3
3
  const _hoisted_1 = { style: { padding: "0px 20px", "white-space": "pre" } }, _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "version",
5
5
  setup(__props) {
@@ -77,9 +77,9 @@ export declare function formatDateTime(date: Date | string | number): string;
77
77
 
78
78
  export declare const formatPreciseOralTime: (timestamp: string | Date) => string;
79
79
 
80
- export declare function GetUserPermission(): string[];
80
+ export declare function GetUserPermission(): Promise<string[]>;
81
81
 
82
- export declare function HasPermission(p: string): boolean;
82
+ export declare function HasPermission(p: string): Promise<boolean>;
83
83
 
84
84
  export declare class httpapi {
85
85
  static api_host: string;
@@ -122,7 +122,6 @@ export declare class httpapi {
122
122
  static url_system_common_info: string;
123
123
  static GetFullApiUrl(api: string): string;
124
124
  static Post(url: string, obj: object): Promise<HttpApiReturnData>;
125
- static PostSync(url: string, obj: object): HttpApiReturnData;
126
125
  }
127
126
 
128
127
  export declare class HttpApiReturnData {
@@ -1,4 +1,4 @@
1
- import { G, D, B, Z, y, x, i, j, f, H, v, z, m, t, A, k } from "./index-d0A-NaTk.js";
1
+ import { G, D, B, Z, y, x, i, j, f, H, v, z, m, t, A, k } from "./index-DzL6spbn.js";
2
2
  export {
3
3
  G as GetUserPermission,
4
4
  D as HasPermission,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.1.8",
4
+ "version": "0.1.10",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",