@newview/permission-service 1.2.15 → 1.2.17

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.
@@ -7,12 +7,11 @@ var __publicField = (obj, key, value) => {
7
7
  import { BaseInstance } from "@newview/base-vue";
8
8
  import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode } from "vue";
9
9
  import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, InstitutionRoleApi, InstitutionTypeApi, InstitutioninforApi, InstitutionPlatformApi, InstitutionTreeApi, EnterpriseApi, LoginLogApi, UserinforApi, InstitutionUserApi, UserRoleApi, OAuthApi, UserSignApi } from "@newview/permission-api";
10
- import { QueryWrapper } from "@newview/infrastructure";
10
+ import { QueryWrapper, BaseApi } from "@newview/infrastructure";
11
11
  import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
12
12
  import { SelectPlatform, BaseLogin } from "@newview/permission-ui";
13
13
  import { SignTaskInfoApi } from "@newview/casign-api";
14
14
  import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
15
- import { CorePartnerApi, CorePlatformConfigApi } from "@newview/permission-db-api";
16
15
  import { NvComFormUp } from "@newview/file-ui";
17
16
  const propDefine$h = {
18
17
  linkParam: {
@@ -6206,6 +6205,35 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
6206
6205
  });
6207
6206
  }
6208
6207
  const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-58aa3e77"]]);
6208
+ class DBCenterBaseApi extends BaseApi {
6209
+ get ProxyName() {
6210
+ return "CalcPythonApi";
6211
+ }
6212
+ constructor() {
6213
+ super();
6214
+ this.addHeader("projectid", 0);
6215
+ this.addHeader("devprod", "dev");
6216
+ this.addHeader("dbSkey", "08fb72ad2cf661088849ef17fdaab21a");
6217
+ }
6218
+ }
6219
+ class CorePartnerApi extends DBCenterBaseApi {
6220
+ get ControllerName() {
6221
+ return "currency";
6222
+ }
6223
+ constructor() {
6224
+ super();
6225
+ this.addHeader("tableName", "core_partner");
6226
+ }
6227
+ }
6228
+ class CorePlatformConfigApi extends DBCenterBaseApi {
6229
+ get ControllerName() {
6230
+ return "currency";
6231
+ }
6232
+ constructor() {
6233
+ super();
6234
+ this.addHeader("tableName", "core_platform_config");
6235
+ }
6236
+ }
6209
6237
  const propDefine$9 = {
6210
6238
  linkParam: {
6211
6239
  // 带入的参数
@@ -11226,7 +11254,7 @@ class UserinforInstance2 extends BaseInstance {
11226
11254
  return;
11227
11255
  }
11228
11256
  if (!this.utilities.isNull(this.userFormModel.Phone)) {
11229
- const reg = /^[1][3,4,5,7,8]\d{9}$/;
11257
+ const reg = /^[1][3,4,5,6,7,8,9]\d{9}$/;
11230
11258
  if (!reg.test(this.userFormModel.Phone)) {
11231
11259
  this.message.warning(`手机号格式不正确, 请重新输入!`);
11232
11260
  this.saveingUser.value = false;