yuang-framework-ui-pc 1.1.156 → 1.1.157

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.
@@ -73,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
73
  }
74
74
  isExecuting = true;
75
75
  fileList.value = [];
76
- http.post(`/framework-api/core/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
76
+ http.post(`/framework-api/user/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
77
77
  let attachemtList = res.data.data.records;
78
78
  for (let i = 0; i < attachemtList.length; i++) {
79
79
  fileList.value.push({
@@ -122,7 +122,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
122
122
  formData.append("code", modelValue.value);
123
123
  formData.append("multipartFile", uploadFile, uploadFile.name);
124
124
  http({
125
- url: `/framework-api/core/framework-attachment/uploadAttachment`,
125
+ url: `/framework-api/user/framework-attachment/uploadAttachment`,
126
126
  method: "post",
127
127
  headers: {
128
128
  "Content-Type": "multipart/form-data"
@@ -165,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
165
165
  formData.append("code", modelValue.value);
166
166
  formData.append("multipartFile", uploadFile, uploadFile.name);
167
167
  http({
168
- url: `/framework-api/core/framework-attachment/uploadAttachment`,
168
+ url: `/framework-api/user/framework-attachment/uploadAttachment`,
169
169
  method: "post",
170
170
  headers: {
171
171
  "Content-Type": "multipart/form-data"
@@ -191,7 +191,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
191
191
  if (!modelValue.value) {
192
192
  return;
193
193
  }
194
- http.post(`/framework-api/core/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
194
+ http.post(`/framework-api/user/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
195
195
  let attachemtList = res.data.data.records;
196
196
  emit("change", attachemtList);
197
197
  });
@@ -204,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
204
204
  }
205
205
  let id = uploadItem.id;
206
206
  ElMessageBox.confirm("确定要删除吗?", "系统提示", { type: "warning", draggable: true }).then(() => {
207
- http.get(`/framework-api/core/framework-attachment/deleteInfo`, { params: { id } }).then((res) => {
207
+ http.get(`/framework-api/user/framework-attachment/deleteInfo`, { params: { id } }).then((res) => {
208
208
  EleMessage.success(res.data.message);
209
209
  fileList.value.splice(fileList.value.indexOf(uploadItem), 1);
210
210
  emitChange();
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  const changeImageCaptcha = () => {
35
35
  imageCaptchaForm.value.captcha = "";
36
36
  imageCaptchaSrc.value = "";
37
- http.post("/framework-api/core/framework-captcha/createImageCaptcha").then((res) => {
37
+ http.post("/framework-api/user/framework-captcha/createImageCaptcha").then((res) => {
38
38
  imageCaptchaSrc.value = res.data.data.imageSrc;
39
39
  imageCaptchaForm.value.key = res.data.data.key;
40
40
  emit("change", { key: res.data.data.key });
@@ -60,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  const changeImageCaptcha = () => {
61
61
  imageCaptchaForm.value.captcha = "";
62
62
  imageCaptchaSrc.value = "";
63
- http.post("/framework-api/core/framework-captcha/createImageCaptcha").then((res) => {
63
+ http.post("/framework-api/user/framework-captcha/createImageCaptcha").then((res) => {
64
64
  imageCaptchaForm.value.key = res.data.data.key;
65
65
  imageCaptchaSrc.value = res.data.data.imageSrc;
66
66
  }).catch((ex) => {
@@ -90,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
90
  mobile: componentParam.value.mobile,
91
91
  imageCaptcha: imageCaptchaForm.value
92
92
  };
93
- http.post(`/framework-api/core/framework-captcha/createShortMessageCaptcha`, data).then((res) => {
93
+ http.post(`/framework-api/user/framework-captcha/createShortMessageCaptcha`, data).then((res) => {
94
94
  callCaptchaTimes();
95
95
  emit("change", { key: res.data.data.key });
96
96
  ElMessage.success(res.data.message);
@@ -54,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  getCaptcha();
55
55
  };
56
56
  const getCaptcha = () => {
57
- http.post(`/framework-api/core/framework-captcha/createSliderCaptcha`, {}).then((res) => {
57
+ http.post(`/framework-api/user/framework-captcha/createSliderCaptcha`, {}).then((res) => {
58
58
  key.value = res.data.data.key;
59
59
  block.value.src = res.data.data.blockSrc;
60
60
  block.value.style.top = res.data.data.blockY + "px";
@@ -147,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
147
147
  key: key.value,
148
148
  captcha: moveLength
149
149
  };
150
- http.post(`/framework-api/core/framework-captcha/validateSliderCaptcha`, data).then((res) => {
150
+ http.post(`/framework-api/user/framework-captcha/validateSliderCaptcha`, data).then((res) => {
151
151
  verifySuccessEvent();
152
152
  setTimeout(() => {
153
153
  emit("success", { key: key.value, value: moveLength });
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
91
91
  }
92
92
  isExecuting = true;
93
93
  fileList.value = [];
94
- httpConfig.http.post(`/framework-api/core/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
94
+ httpConfig.http.post(`/framework-api/user/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
95
95
  let attachemtList = res.data.data.records;
96
96
  for (let i = 0; i < attachemtList.length; i++) {
97
97
  fileList.value.push({
@@ -140,7 +140,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
140
140
  formData.append("code", modelValue.value);
141
141
  formData.append("multipartFile", uploadFile, uploadFile.name);
142
142
  httpConfig.http({
143
- url: `/framework-api/core/framework-attachment/uploadAttachment`,
143
+ url: `/framework-api/user/framework-attachment/uploadAttachment`,
144
144
  method: "post",
145
145
  headers: {
146
146
  "Content-Type": "multipart/form-data"
@@ -183,7 +183,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
183
183
  formData.append("code", modelValue.value);
184
184
  formData.append("multipartFile", uploadFile, uploadFile.name);
185
185
  httpConfig.http({
186
- url: `/framework-api/core/framework-attachment/uploadAttachment`,
186
+ url: `/framework-api/user/framework-attachment/uploadAttachment`,
187
187
  method: "post",
188
188
  headers: {
189
189
  "Content-Type": "multipart/form-data"
@@ -209,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
209
209
  if (!modelValue.value) {
210
210
  return;
211
211
  }
212
- httpConfig.http.post(`/framework-api/core/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
212
+ httpConfig.http.post(`/framework-api/user/framework-attachment/selectPage`, { codeForEqual: modelValue.value, pageSize: 100 }).then((res) => {
213
213
  let attachemtList = res.data.data.records;
214
214
  emit("change", attachemtList);
215
215
  });
@@ -222,7 +222,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
222
222
  }
223
223
  let id = uploadItem.id;
224
224
  es.ElMessageBox.confirm("确定要删除吗?", "系统提示", { type: "warning", draggable: true }).then(() => {
225
- httpConfig.http.get(`/framework-api/core/framework-attachment/deleteInfo`, { params: { id } }).then((res) => {
225
+ httpConfig.http.get(`/framework-api/user/framework-attachment/deleteInfo`, { params: { id } }).then((res) => {
226
226
  message.EleMessage.success(res.data.message);
227
227
  fileList.value.splice(fileList.value.indexOf(uploadItem), 1);
228
228
  emitChange();
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
35
35
  const changeImageCaptcha = () => {
36
36
  imageCaptchaForm.value.captcha = "";
37
37
  imageCaptchaSrc.value = "";
38
- httpConfig.http.post("/framework-api/core/framework-captcha/createImageCaptcha").then((res) => {
38
+ httpConfig.http.post("/framework-api/user/framework-captcha/createImageCaptcha").then((res) => {
39
39
  imageCaptchaSrc.value = res.data.data.imageSrc;
40
40
  imageCaptchaForm.value.key = res.data.data.key;
41
41
  emit("change", { key: res.data.data.key });
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
61
61
  const changeImageCaptcha = () => {
62
62
  imageCaptchaForm.value.captcha = "";
63
63
  imageCaptchaSrc.value = "";
64
- httpConfig.http.post("/framework-api/core/framework-captcha/createImageCaptcha").then((res) => {
64
+ httpConfig.http.post("/framework-api/user/framework-captcha/createImageCaptcha").then((res) => {
65
65
  imageCaptchaForm.value.key = res.data.data.key;
66
66
  imageCaptchaSrc.value = res.data.data.imageSrc;
67
67
  }).catch((ex) => {
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
91
91
  mobile: componentParam.value.mobile,
92
92
  imageCaptcha: imageCaptchaForm.value
93
93
  };
94
- httpConfig.http.post(`/framework-api/core/framework-captcha/createShortMessageCaptcha`, data).then((res) => {
94
+ httpConfig.http.post(`/framework-api/user/framework-captcha/createShortMessageCaptcha`, data).then((res) => {
95
95
  callCaptchaTimes();
96
96
  emit("change", { key: res.data.data.key });
97
97
  elementPlus.ElMessage.success(res.data.message);
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
55
55
  getCaptcha();
56
56
  };
57
57
  const getCaptcha = () => {
58
- httpConfig.http.post(`/framework-api/core/framework-captcha/createSliderCaptcha`, {}).then((res) => {
58
+ httpConfig.http.post(`/framework-api/user/framework-captcha/createSliderCaptcha`, {}).then((res) => {
59
59
  key.value = res.data.data.key;
60
60
  block.value.src = res.data.data.blockSrc;
61
61
  block.value.style.top = res.data.data.blockY + "px";
@@ -148,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
148
148
  key: key.value,
149
149
  captcha: moveLength
150
150
  };
151
- httpConfig.http.post(`/framework-api/core/framework-captcha/validateSliderCaptcha`, data).then((res) => {
151
+ httpConfig.http.post(`/framework-api/user/framework-captcha/validateSliderCaptcha`, data).then((res) => {
152
152
  verifySuccessEvent();
153
153
  setTimeout(() => {
154
154
  emit("success", { key: key.value, value: moveLength });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.156",
3
+ "version": "1.1.157",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",
@@ -77,7 +77,7 @@
77
77
  "xgplayer": "^3.0.20",
78
78
  "xgplayer-hls": "^3.0.20",
79
79
  "xgplayer-music": "^3.0.20",
80
- "yuang-framework-ui-common": "^1.0.123"
80
+ "yuang-framework-ui-common": "^1.0.124"
81
81
  },
82
82
  "main": "lib/index.cjs",
83
83
  "module": "es/index.js",