yuang-framework-ui-pc 1.1.69 → 1.1.70

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.
@@ -2,6 +2,8 @@ import { defineComponent, mergeModels, watch, useModel, ref, computed, resolveCo
2
2
  import { EleMessage } from "../utils/message";
3
3
  import OrganizationDialog from "./components/organization-dialog";
4
4
  import { Select } from "@element-plus/icons-vue";
5
+ import { http } from "yuang-framework-ui-common/lib/config/httpConfig";
6
+ import { application } from "yuang-framework-ui-common/lib/config/applicationConfig";
5
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
8
  ...{ name: "YuUimsOrganizationDialog" },
7
9
  __name: "index",
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  if (modelValue.value) {
34
34
  if (!componentParam.value.isMultiple) {
35
35
  if (modelValue.value != "0") {
36
- let res = await http.get(`${application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfo`, { params: { id: modelValue.value } });
36
+ let res = await http.get(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-role/selectInfo`, { params: { id: modelValue.value } });
37
37
  const info = res.data.data;
38
38
  inputValue.value = info.name;
39
39
  initList.value = [info];
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  } else {
42
42
  let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
43
43
  if (idList.length > 0) {
44
- let res = await http.post(`${application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfoList`, idList);
44
+ let res = await http.post(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-role/selectInfoList`, idList);
45
45
  const infoList = res.data.data;
46
46
  let names = "";
47
47
  for (let index in infoList) {
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  if (modelValue.value) {
34
34
  if (!componentParam.value.isMultiple) {
35
35
  if (modelValue.value != "0") {
36
- let res = await http.get(`${application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfo`, { params: { id: modelValue.value } });
36
+ let res = await http.get(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-user/selectInfo`, { params: { id: modelValue.value } });
37
37
  const info = res.data.data;
38
38
  inputValue.value = info.name;
39
39
  initList.value = [info];
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  } else {
42
42
  let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
43
43
  if (idList.length > 0) {
44
- let res = await http.post(`${application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfoList`, idList);
44
+ let res = await http.post(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-user/selectInfoList`, idList);
45
45
  const infoList = res.data.data;
46
46
  let names = "";
47
47
  for (let index in infoList) {
@@ -3,6 +3,8 @@ const vue = require("vue");
3
3
  const message = require("../utils/message");
4
4
  const OrganizationDialog = require("./components/organization-dialog");
5
5
  const iconsVue = require("@element-plus/icons-vue");
6
+ const httpConfig = require("yuang-framework-ui-common/lib/config/httpConfig");
7
+ const applicationConfig = require("yuang-framework-ui-common/lib/config/applicationConfig");
6
8
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7
9
  ...{ name: "YuUimsOrganizationDialog" },
8
10
  __name: "index",
@@ -44,7 +46,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
46
  if (modelValue.value) {
45
47
  if (!componentParam.value.isMultiple) {
46
48
  if (modelValue.value != "0") {
47
- let res = await http.get(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-organization/selectInfo`, { params: { id: modelValue.value } });
49
+ let res = await httpConfig.http.get(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-organization/selectInfo`, { params: { id: modelValue.value } });
48
50
  const info = res.data.data;
49
51
  inputValue.value = info.name;
50
52
  initList.value = [info];
@@ -52,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
52
54
  } else {
53
55
  let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
54
56
  if (idList.length > 0) {
55
- let res = await http.post(`${application.gatewayServerBaseUrl}/uims-api/admin/uims-organization/selectInfoList`, idList);
57
+ let res = await httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-organization/selectInfoList`, idList);
56
58
  const infoList = res.data.data;
57
59
  let names = "";
58
60
  for (let index in infoList) {
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
34
34
  if (modelValue.value) {
35
35
  if (!componentParam.value.isMultiple) {
36
36
  if (modelValue.value != "0") {
37
- let res = await httpConfig.http.get(`${applicationConfig.application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfo`, { params: { id: modelValue.value } });
37
+ let res = await httpConfig.http.get(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-role/selectInfo`, { params: { id: modelValue.value } });
38
38
  const info = res.data.data;
39
39
  inputValue.value = info.name;
40
40
  initList.value = [info];
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
42
42
  } else {
43
43
  let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
44
44
  if (idList.length > 0) {
45
- let res = await httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfoList`, idList);
45
+ let res = await httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-role/selectInfoList`, idList);
46
46
  const infoList = res.data.data;
47
47
  let names = "";
48
48
  for (let index in infoList) {
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
34
34
  if (modelValue.value) {
35
35
  if (!componentParam.value.isMultiple) {
36
36
  if (modelValue.value != "0") {
37
- let res = await httpConfig.http.get(`${applicationConfig.application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfo`, { params: { id: modelValue.value } });
37
+ let res = await httpConfig.http.get(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-user/selectInfo`, { params: { id: modelValue.value } });
38
38
  const info = res.data.data;
39
39
  inputValue.value = info.name;
40
40
  initList.value = [info];
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
42
42
  } else {
43
43
  let idList = modelValue.value.split("|").filter((item) => item.trim() !== "");
44
44
  if (idList.length > 0) {
45
- let res = await httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/cms-api/admin/cms-template/selectInfoList`, idList);
45
+ let res = await httpConfig.http.post(`${applicationConfig.application.gatewayServerBaseUrl}/uims-api/admin/uims-user/selectInfoList`, idList);
46
46
  const infoList = res.data.data;
47
47
  let names = "";
48
48
  for (let index in infoList) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.69",
3
+ "version": "1.1.70",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",