@uxda/appkit 4.2.30 → 4.2.32
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
|
@@ -1964,10 +1964,8 @@ var script$x = /* @__PURE__ */ defineComponent({
|
|
|
1964
1964
|
requestPaymentByBean({
|
|
1965
1965
|
caseConfigId: amounts.value[state.selected].id,
|
|
1966
1966
|
amount: amounts.value[state.selected].paymentAmount,
|
|
1967
|
-
app: "corporateStar",
|
|
1968
|
-
// 'crm',
|
|
1967
|
+
app: props.app || "corporateStar",
|
|
1969
1968
|
tenant: props.tenant,
|
|
1970
|
-
// '17454646',
|
|
1971
1969
|
user: code
|
|
1972
1970
|
}).then((result) => {
|
|
1973
1971
|
state.buttonLoading = false;
|
|
@@ -2029,7 +2027,8 @@ var script$x = /* @__PURE__ */ defineComponent({
|
|
|
2029
2027
|
src: selectBean.value ? "https://cdn.ddjf.com/static/images/appkit/select.svg" : "https://cdn.ddjf.com/static/images/appkit/not-select.svg"
|
|
2030
2028
|
}, null, 8, _hoisted_8$5)
|
|
2031
2029
|
])) : createCommentVNode("v-if", true)
|
|
2032
|
-
])) : createCommentVNode("v-if", true)
|
|
2030
|
+
])) : createCommentVNode("v-if", true),
|
|
2031
|
+
renderSlot(_ctx.$slots, "banner")
|
|
2033
2032
|
]),
|
|
2034
2033
|
createElementVNode("view", _hoisted_9$4, [
|
|
2035
2034
|
!selectBean.value ? (openBlock(), createElementBlock("view", _hoisted_10$2, [
|
|
@@ -2693,29 +2692,34 @@ const _hoisted_14$1 = { class: "list" };
|
|
|
2693
2692
|
const _hoisted_15$1 = { class: "item-count" };
|
|
2694
2693
|
const _hoisted_16$1 = { class: "item-title" };
|
|
2695
2694
|
const _hoisted_17$1 = {
|
|
2695
|
+
key: 0,
|
|
2696
|
+
class: "item-title-button"
|
|
2697
|
+
};
|
|
2698
|
+
const _hoisted_18$1 = ["onClick"];
|
|
2699
|
+
const _hoisted_19$1 = {
|
|
2696
2700
|
key: 2,
|
|
2697
2701
|
class: "rights-card"
|
|
2698
2702
|
};
|
|
2699
|
-
const
|
|
2700
|
-
const
|
|
2701
|
-
const
|
|
2702
|
-
const
|
|
2703
|
-
const
|
|
2704
|
-
const
|
|
2705
|
-
const
|
|
2706
|
-
const
|
|
2703
|
+
const _hoisted_20$1 = { class: "list" };
|
|
2704
|
+
const _hoisted_21$1 = { class: "item-count" };
|
|
2705
|
+
const _hoisted_22$1 = { class: "item-title" };
|
|
2706
|
+
const _hoisted_23$1 = { class: "operation-box" };
|
|
2707
|
+
const _hoisted_24$1 = { class: "search-time" };
|
|
2708
|
+
const _hoisted_25$1 = { class: "text number" };
|
|
2709
|
+
const _hoisted_26$1 = { class: "operation-list" };
|
|
2710
|
+
const _hoisted_27 = {
|
|
2707
2711
|
key: 0,
|
|
2708
2712
|
class: "box"
|
|
2709
2713
|
};
|
|
2710
|
-
const
|
|
2711
|
-
const
|
|
2712
|
-
const
|
|
2713
|
-
const
|
|
2714
|
-
const
|
|
2715
|
-
const
|
|
2716
|
-
const
|
|
2717
|
-
const
|
|
2718
|
-
const
|
|
2714
|
+
const _hoisted_28 = { class: "title number" };
|
|
2715
|
+
const _hoisted_29 = { class: "item-type" };
|
|
2716
|
+
const _hoisted_30 = { class: "item-detail" };
|
|
2717
|
+
const _hoisted_31 = { class: "item-info spa-between" };
|
|
2718
|
+
const _hoisted_32 = { class: "item-info-type" };
|
|
2719
|
+
const _hoisted_33 = { class: "item-info-title" };
|
|
2720
|
+
const _hoisted_34 = { class: "item-info-amount number" };
|
|
2721
|
+
const _hoisted_35 = { class: "item-detail-remark" };
|
|
2722
|
+
const _hoisted_36 = {
|
|
2719
2723
|
key: 0,
|
|
2720
2724
|
class: "box-not-text"
|
|
2721
2725
|
};
|
|
@@ -3019,7 +3023,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3019
3023
|
])
|
|
3020
3024
|
])) : createCommentVNode("v-if", true),
|
|
3021
3025
|
balance.value.privileges?.aiapprove ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
3022
|
-
_cache[
|
|
3026
|
+
_cache[12] || (_cache[12] = createElementVNode(
|
|
3023
3027
|
"div",
|
|
3024
3028
|
{ class: "title" },
|
|
3025
3029
|
"AI\u5BA1\u6279\u6743\u76CA",
|
|
@@ -3042,13 +3046,30 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3042
3046
|
1
|
|
3043
3047
|
/* TEXT */
|
|
3044
3048
|
),
|
|
3045
|
-
createElementVNode(
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3049
|
+
createElementVNode("div", _hoisted_16$1, [
|
|
3050
|
+
createElementVNode(
|
|
3051
|
+
"div",
|
|
3052
|
+
null,
|
|
3053
|
+
toDisplayString(item.title),
|
|
3054
|
+
1
|
|
3055
|
+
/* TEXT */
|
|
3056
|
+
),
|
|
3057
|
+
item.id ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
3058
|
+
createElementVNode("div", {
|
|
3059
|
+
onClick: ($event) => gotoTrade(item)
|
|
3060
|
+
}, "AI\u5BA1\u6279\u5145\u503C", 8, _hoisted_18$1),
|
|
3061
|
+
_cache[11] || (_cache[11] = createElementVNode(
|
|
3062
|
+
"img",
|
|
3063
|
+
{
|
|
3064
|
+
class: "button-icon",
|
|
3065
|
+
src: "https://cdn.ddjf.com/static/images/bpms-workBench/button-hg.svg"
|
|
3066
|
+
},
|
|
3067
|
+
null,
|
|
3068
|
+
-1
|
|
3069
|
+
/* HOISTED */
|
|
3070
|
+
))
|
|
3071
|
+
])) : createCommentVNode("v-if", true)
|
|
3072
|
+
])
|
|
3052
3073
|
]);
|
|
3053
3074
|
}),
|
|
3054
3075
|
128
|
|
@@ -3056,15 +3077,15 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3056
3077
|
))
|
|
3057
3078
|
])
|
|
3058
3079
|
])) : createCommentVNode("v-if", true),
|
|
3059
|
-
balance.value.privileges?.signkit ? (openBlock(), createElementBlock("div",
|
|
3060
|
-
_cache[
|
|
3080
|
+
balance.value.privileges?.signkit ? (openBlock(), createElementBlock("div", _hoisted_19$1, [
|
|
3081
|
+
_cache[13] || (_cache[13] = createElementVNode(
|
|
3061
3082
|
"div",
|
|
3062
3083
|
{ class: "title" },
|
|
3063
3084
|
"\u7535\u5B50\u7B7E\u7EA6\u6743\u76CA",
|
|
3064
3085
|
-1
|
|
3065
3086
|
/* HOISTED */
|
|
3066
3087
|
)),
|
|
3067
|
-
createElementVNode("div",
|
|
3088
|
+
createElementVNode("div", _hoisted_20$1, [
|
|
3068
3089
|
(openBlock(true), createElementBlock(
|
|
3069
3090
|
Fragment,
|
|
3070
3091
|
null,
|
|
@@ -3075,14 +3096,14 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3075
3096
|
}, [
|
|
3076
3097
|
createElementVNode(
|
|
3077
3098
|
"div",
|
|
3078
|
-
|
|
3099
|
+
_hoisted_21$1,
|
|
3079
3100
|
toDisplayString(unref(formatAmount)(item.count || 0)) + toDisplayString(item.unit),
|
|
3080
3101
|
1
|
|
3081
3102
|
/* TEXT */
|
|
3082
3103
|
),
|
|
3083
3104
|
createElementVNode(
|
|
3084
3105
|
"div",
|
|
3085
|
-
|
|
3106
|
+
_hoisted_22$1,
|
|
3086
3107
|
toDisplayString(item.title),
|
|
3087
3108
|
1
|
|
3088
3109
|
/* TEXT */
|
|
@@ -3158,15 +3179,15 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3158
3179
|
title: "\u6536\u652F\u660E\u7EC6"
|
|
3159
3180
|
}, {
|
|
3160
3181
|
default: withCtx(() => [
|
|
3161
|
-
createElementVNode("div",
|
|
3182
|
+
createElementVNode("div", _hoisted_23$1, [
|
|
3162
3183
|
createElementVNode(
|
|
3163
3184
|
"div",
|
|
3164
3185
|
{
|
|
3165
3186
|
class: normalizeClass(["operation-title spa-between", { "with-shadow": scrolled.value > 0 }])
|
|
3166
3187
|
},
|
|
3167
3188
|
[
|
|
3168
|
-
createElementVNode("div",
|
|
3169
|
-
_cache[
|
|
3189
|
+
createElementVNode("div", _hoisted_24$1, [
|
|
3190
|
+
_cache[15] || (_cache[15] = createElementVNode(
|
|
3170
3191
|
"div",
|
|
3171
3192
|
{ class: "title" },
|
|
3172
3193
|
"\u6536\u652F\u660E\u7EC6",
|
|
@@ -3182,12 +3203,12 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3182
3203
|
[
|
|
3183
3204
|
createElementVNode(
|
|
3184
3205
|
"div",
|
|
3185
|
-
|
|
3206
|
+
_hoisted_25$1,
|
|
3186
3207
|
toDisplayString(dateRangeDisplay.value),
|
|
3187
3208
|
1
|
|
3188
3209
|
/* TEXT */
|
|
3189
3210
|
),
|
|
3190
|
-
_cache[
|
|
3211
|
+
_cache[14] || (_cache[14] = createElementVNode(
|
|
3191
3212
|
"img",
|
|
3192
3213
|
{
|
|
3193
3214
|
style: { "margin-top": "-2px" },
|
|
@@ -3208,7 +3229,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3208
3229
|
createElementVNode("div", {
|
|
3209
3230
|
class: "search",
|
|
3210
3231
|
onClick: _cache[5] || (_cache[5] = ($event) => filterOpen.value = true)
|
|
3211
|
-
}, _cache[
|
|
3232
|
+
}, _cache[16] || (_cache[16] = [
|
|
3212
3233
|
createElementVNode(
|
|
3213
3234
|
"span",
|
|
3214
3235
|
{ class: "text" },
|
|
@@ -3231,7 +3252,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3231
3252
|
2
|
|
3232
3253
|
/* CLASS */
|
|
3233
3254
|
),
|
|
3234
|
-
createElementVNode("div",
|
|
3255
|
+
createElementVNode("div", _hoisted_26$1, [
|
|
3235
3256
|
createVNode(_component_scroll_view, {
|
|
3236
3257
|
class: "operation-scroll",
|
|
3237
3258
|
"scroll-y": true,
|
|
@@ -3240,7 +3261,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3240
3261
|
onScrolltolower: onReachBottom
|
|
3241
3262
|
}, {
|
|
3242
3263
|
default: withCtx(() => [
|
|
3243
|
-
consumptionGroups.value.length > 0 ? (openBlock(), createElementBlock("div",
|
|
3264
|
+
consumptionGroups.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
3244
3265
|
(openBlock(true), createElementBlock(
|
|
3245
3266
|
Fragment,
|
|
3246
3267
|
null,
|
|
@@ -3251,7 +3272,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3251
3272
|
}, [
|
|
3252
3273
|
createElementVNode(
|
|
3253
3274
|
"div",
|
|
3254
|
-
|
|
3275
|
+
_hoisted_28,
|
|
3255
3276
|
toDisplayString(item.date),
|
|
3256
3277
|
1
|
|
3257
3278
|
/* TEXT */
|
|
@@ -3266,24 +3287,24 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3266
3287
|
}, [
|
|
3267
3288
|
createElementVNode(
|
|
3268
3289
|
"div",
|
|
3269
|
-
|
|
3290
|
+
_hoisted_29,
|
|
3270
3291
|
toDisplayString(it.\u4EA4\u6613\u7C7B\u578B),
|
|
3271
3292
|
1
|
|
3272
3293
|
/* TEXT */
|
|
3273
3294
|
),
|
|
3274
|
-
createElementVNode("div",
|
|
3275
|
-
createElementVNode("div",
|
|
3295
|
+
createElementVNode("div", _hoisted_30, [
|
|
3296
|
+
createElementVNode("div", _hoisted_31, [
|
|
3276
3297
|
createElementVNode("div", null, [
|
|
3277
3298
|
createElementVNode(
|
|
3278
3299
|
"div",
|
|
3279
|
-
|
|
3300
|
+
_hoisted_32,
|
|
3280
3301
|
toDisplayString(it.\u8D26\u6237\u7C7B\u578B),
|
|
3281
3302
|
1
|
|
3282
3303
|
/* TEXT */
|
|
3283
3304
|
),
|
|
3284
3305
|
createElementVNode(
|
|
3285
3306
|
"div",
|
|
3286
|
-
|
|
3307
|
+
_hoisted_33,
|
|
3287
3308
|
toDisplayString(it.title),
|
|
3288
3309
|
1
|
|
3289
3310
|
/* TEXT */
|
|
@@ -3291,7 +3312,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3291
3312
|
]),
|
|
3292
3313
|
createElementVNode(
|
|
3293
3314
|
"div",
|
|
3294
|
-
|
|
3315
|
+
_hoisted_34,
|
|
3295
3316
|
toDisplayString(it.\u6536\u5165\u8FD8\u662F\u652F\u51FA == "\u652F\u51FA" ? "-" : "+") + toDisplayString(it.amount),
|
|
3296
3317
|
1
|
|
3297
3318
|
/* TEXT */
|
|
@@ -3299,7 +3320,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3299
3320
|
]),
|
|
3300
3321
|
createElementVNode(
|
|
3301
3322
|
"div",
|
|
3302
|
-
|
|
3323
|
+
_hoisted_35,
|
|
3303
3324
|
toDisplayString(it.description),
|
|
3304
3325
|
1
|
|
3305
3326
|
/* TEXT */
|
|
@@ -3315,7 +3336,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3315
3336
|
128
|
|
3316
3337
|
/* KEYED_FRAGMENT */
|
|
3317
3338
|
)),
|
|
3318
|
-
reachedLastPage.value ? (openBlock(), createElementBlock("div",
|
|
3339
|
+
reachedLastPage.value ? (openBlock(), createElementBlock("div", _hoisted_36, "\u6CA1\u6709\u66F4\u591A\u4E86")) : createCommentVNode("v-if", true)
|
|
3319
3340
|
])) : (openBlock(), createBlock(script$s, { key: 1 }))
|
|
3320
3341
|
]),
|
|
3321
3342
|
_: 1
|
package/package.json
CHANGED
|
@@ -43,7 +43,13 @@
|
|
|
43
43
|
<div class="list">
|
|
44
44
|
<div class="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
|
-
<div class="item-title">
|
|
46
|
+
<div class="item-title">
|
|
47
|
+
<div>{{ item.title }}</div>
|
|
48
|
+
<div class="item-title-button" v-if="item.id">
|
|
49
|
+
<div @click="gotoTrade(item)">AI审批充值</div>
|
|
50
|
+
<img class="button-icon" src="https://cdn.ddjf.com/static/images/bpms-workBench/button-hg.svg" />
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
47
53
|
</div>
|
|
48
54
|
</div>
|
|
49
55
|
</div>
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
:src="selectBean ? 'https://cdn.ddjf.com/static/images/appkit/select.svg' : 'https://cdn.ddjf.com/static/images/appkit/not-select.svg'" />
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<slot name="banner"></slot>
|
|
17
20
|
</view>
|
|
21
|
+
|
|
18
22
|
<view class="amount-footer">
|
|
19
23
|
<view class="agreement" v-if="!selectBean">
|
|
20
24
|
<nut-checkbox v-model="state.agreed">我已阅读并同意<a class="link inline"
|
|
@@ -152,8 +156,8 @@ const onPayClick = () => {
|
|
|
152
156
|
requestPaymentByBean({
|
|
153
157
|
caseConfigId: amounts.value[state.selected].id,
|
|
154
158
|
amount: amounts.value[state.selected].paymentAmount,
|
|
155
|
-
app:
|
|
156
|
-
tenant: props.tenant,
|
|
159
|
+
app: props.app || 'corporateStar',
|
|
160
|
+
tenant: props.tenant,
|
|
157
161
|
user: code
|
|
158
162
|
}).then(result => {
|
|
159
163
|
state.buttonLoading = false
|