@cmstops/pro-compo 3.9.2-alpha.20 → 3.9.2-alpha.21

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.
@@ -32,6 +32,12 @@ const _sfc_main = defineComponent({
32
32
  ...{ name: "ViewAllColumn" },
33
33
  __name: "index",
34
34
  props: {
35
+ maxSelect: {},
36
+ defaultSelectedData: {},
37
+ typeData: {},
38
+ series: {},
39
+ banner: {},
40
+ userInfo: {},
35
41
  typeKey: {},
36
42
  rid: {}
37
43
  },
@@ -1,5 +1,6 @@
1
1
  import { ref, computed, watch } from "vue";
2
2
  import { Message } from "@arco-design/web-vue";
3
+ import { DEFAULT_BASE_API } from "../../../../config.js";
3
4
  import { getCategoryMediaNew, getPoliticals, getMlists } from "../../../script/api.js";
4
5
  import useTableBatch from "../../../../hooks/batch.js";
5
6
  const useViewAllColumnState = (props, emit) => {
@@ -109,7 +110,6 @@ const useViewAllColumnState = (props, emit) => {
109
110
  where: ["state:15|19"]
110
111
  };
111
112
  params.where.push(props.typeKey);
112
- console.log(filter.value, "888888");
113
113
  if (filter.value) {
114
114
  const _filter = filter.value;
115
115
  params.order = _filter.order;
@@ -123,11 +123,11 @@ const useViewAllColumnState = (props, emit) => {
123
123
  try {
124
124
  let response;
125
125
  if (props.typeKey && props.typeKey !== "ZQ") {
126
- response = await getCategoryMediaNew(props.userInfo.BASE_API, params);
126
+ response = await getCategoryMediaNew(DEFAULT_BASE_API, params);
127
127
  } else {
128
128
  params.keyword = ((_a = filter.value) == null ? void 0 : _a.precise_kw) || ((_b = filter.value) == null ? void 0 : _b.keywords) || "";
129
129
  params.state = 2;
130
- response = await getPoliticals(props.userInfo.BASE_API, params);
130
+ response = await getPoliticals(DEFAULT_BASE_API, params);
131
131
  }
132
132
  const { code, message } = response;
133
133
  if (code === 0) {
@@ -152,7 +152,7 @@ const useViewAllColumnState = (props, emit) => {
152
152
  };
153
153
  const loadMore = async (record, done) => {
154
154
  try {
155
- const res = await getMlists(props.userInfo.BASE_API, {
155
+ const res = await getMlists(DEFAULT_BASE_API, {
156
156
  rid: props.rid,
157
157
  gid: record.special_id
158
158
  });
@@ -33,6 +33,12 @@ const _sfc_main = vue.defineComponent({
33
33
  ...{ name: "ViewAllColumn" },
34
34
  __name: "index",
35
35
  props: {
36
+ maxSelect: {},
37
+ defaultSelectedData: {},
38
+ typeData: {},
39
+ series: {},
40
+ banner: {},
41
+ userInfo: {},
36
42
  typeKey: {},
37
43
  rid: {}
38
44
  },
@@ -2,6 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  var vue = require("vue");
4
4
  var webVue = require("@arco-design/web-vue");
5
+ var config = require("../../../../config.js");
5
6
  var api = require("../../../script/api.js");
6
7
  var batch = require("../../../../hooks/batch.js");
7
8
  const useViewAllColumnState = (props, emit) => {
@@ -111,7 +112,6 @@ const useViewAllColumnState = (props, emit) => {
111
112
  where: ["state:15|19"]
112
113
  };
113
114
  params.where.push(props.typeKey);
114
- console.log(filter.value, "888888");
115
115
  if (filter.value) {
116
116
  const _filter = filter.value;
117
117
  params.order = _filter.order;
@@ -125,11 +125,11 @@ const useViewAllColumnState = (props, emit) => {
125
125
  try {
126
126
  let response;
127
127
  if (props.typeKey && props.typeKey !== "ZQ") {
128
- response = await api.getCategoryMediaNew(props.userInfo.BASE_API, params);
128
+ response = await api.getCategoryMediaNew(config.DEFAULT_BASE_API, params);
129
129
  } else {
130
130
  params.keyword = ((_a = filter.value) == null ? void 0 : _a.precise_kw) || ((_b = filter.value) == null ? void 0 : _b.keywords) || "";
131
131
  params.state = 2;
132
- response = await api.getPoliticals(props.userInfo.BASE_API, params);
132
+ response = await api.getPoliticals(config.DEFAULT_BASE_API, params);
133
133
  }
134
134
  const { code, message } = response;
135
135
  if (code === 0) {
@@ -154,7 +154,7 @@ const useViewAllColumnState = (props, emit) => {
154
154
  };
155
155
  const loadMore = async (record, done) => {
156
156
  try {
157
- const res = await api.getMlists(props.userInfo.BASE_API, {
157
+ const res = await api.getMlists(config.DEFAULT_BASE_API, {
158
158
  rid: props.rid,
159
159
  gid: record.special_id
160
160
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "3.9.2-alpha.20",
3
+ "version": "3.9.2-alpha.21",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",