@uxda/appkit 4.2.32 → 4.2.34

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.
package/dist/index.js CHANGED
@@ -1926,7 +1926,9 @@ var script$x = /* @__PURE__ */ defineComponent({
1926
1926
  });
1927
1927
  onMounted(() => {
1928
1928
  const $http = useHttp$2();
1929
- $http.get(endpoints.\u83B7\u53D6\u589E\u503C\u6743\u76CA\u7C7B\u76EE).then((res) => {
1929
+ $http.get(endpoints.\u83B7\u53D6\u589E\u503C\u6743\u76CA\u7C7B\u76EE, {
1930
+ rightCode: props.app === "cloudkitPro" ? "riskQueryCompany" : "riskQueryMulti"
1931
+ }).then((res) => {
1930
1932
  balance.value = res.balance;
1931
1933
  amounts.value = res.paymentCaseConfigVOS;
1932
1934
  });
@@ -3036,7 +3038,7 @@ var script$q = /* @__PURE__ */ defineComponent({
3036
3038
  null,
3037
3039
  renderList(balance.value.privileges.aiapprove, (item, index) => {
3038
3040
  return openBlock(), createElementBlock("div", {
3039
- class: "item",
3041
+ class: "item star-item",
3040
3042
  key: index
3041
3043
  }, [
3042
3044
  createElementVNode(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.32",
3
+ "version": "4.2.34",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -41,7 +41,7 @@
41
41
  <div class="rights-card" v-if="balance.privileges?.aiapprove">
42
42
  <div class="title">AI审批权益</div>
43
43
  <div class="list">
44
- <div class="item" v-for="(item, index) in balance.privileges.aiapprove" :key="index">
44
+ <div class="item star-item" v-for="(item, index) in balance.privileges.aiapprove" :key="index">
45
45
  <div class="item-count">{{ formatAmount(item.count || 0) }}{{ item.unit }}</div>
46
46
  <div class="item-title">
47
47
  <div>{{ item.title }}</div>
@@ -111,7 +111,9 @@ const currentAmount = computed(() => {
111
111
 
112
112
  onMounted(() => {
113
113
  const $http = useHttp()
114
- $http.get<any[]>(endpoints.获取增值权益类目).then((res: any) => {
114
+ $http.get<any[]>(endpoints.获取增值权益类目, {
115
+ rightCode: props.app === 'cloudkitPro' ? 'riskQueryCompany' : 'riskQueryMulti',
116
+ }).then((res: any) => {
115
117
  balance.value = res.balance
116
118
  amounts.value = res.paymentCaseConfigVOS
117
119
  })