@uxda/appkit 4.2.28 → 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
|
@@ -526,7 +526,7 @@ const _hoisted_1$A = { class: "app-verify column" };
|
|
|
526
526
|
const _hoisted_2$p = { class: "caption" };
|
|
527
527
|
const _hoisted_3$j = { class: "number" };
|
|
528
528
|
const _hoisted_4$f = { class: "form-btn" };
|
|
529
|
-
const _hoisted_5$
|
|
529
|
+
const _hoisted_5$c = {
|
|
530
530
|
key: 1,
|
|
531
531
|
class: "caption"
|
|
532
532
|
};
|
|
@@ -616,7 +616,7 @@ var script$G = /* @__PURE__ */ defineComponent({
|
|
|
616
616
|
})) : createCommentVNode("v-if", true),
|
|
617
617
|
sent.value ? (openBlock(), createElementBlock(
|
|
618
618
|
"div",
|
|
619
|
-
_hoisted_5$
|
|
619
|
+
_hoisted_5$c,
|
|
620
620
|
toDisplayString(countdown.value) + "s\u540E\u91CD\u65B0\u53D1\u9001",
|
|
621
621
|
1
|
|
622
622
|
/* TEXT */
|
|
@@ -1871,7 +1871,7 @@ const _hoisted_3$f = {
|
|
|
1871
1871
|
class: "bean-buy"
|
|
1872
1872
|
};
|
|
1873
1873
|
const _hoisted_4$c = { class: "left" };
|
|
1874
|
-
const _hoisted_5$
|
|
1874
|
+
const _hoisted_5$b = {
|
|
1875
1875
|
key: 0,
|
|
1876
1876
|
class: "amount"
|
|
1877
1877
|
};
|
|
@@ -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;
|
|
@@ -2000,7 +1998,7 @@ var script$x = /* @__PURE__ */ defineComponent({
|
|
|
2000
1998
|
)),
|
|
2001
1999
|
!selectBean.value ? (openBlock(), createElementBlock(
|
|
2002
2000
|
"div",
|
|
2003
|
-
_hoisted_5$
|
|
2001
|
+
_hoisted_5$b,
|
|
2004
2002
|
"\u4F59\u989D " + toDisplayString(unref(formatAmount)(balance.value || 0)),
|
|
2005
2003
|
1
|
|
2006
2004
|
/* TEXT */
|
|
@@ -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, [
|
|
@@ -2142,7 +2141,7 @@ const _hoisted_1$t = { class: "account-card" };
|
|
|
2142
2141
|
const _hoisted_2$k = { class: "card" };
|
|
2143
2142
|
const _hoisted_3$e = { class: "card-row" };
|
|
2144
2143
|
const _hoisted_4$b = { class: "card-row-left" };
|
|
2145
|
-
const _hoisted_5$
|
|
2144
|
+
const _hoisted_5$a = { class: "bean-nums number" };
|
|
2146
2145
|
var script$w = /* @__PURE__ */ defineComponent({
|
|
2147
2146
|
__name: "BalanceCard",
|
|
2148
2147
|
props: {
|
|
@@ -2205,7 +2204,7 @@ var script$w = /* @__PURE__ */ defineComponent({
|
|
|
2205
2204
|
)),
|
|
2206
2205
|
createElementVNode(
|
|
2207
2206
|
"div",
|
|
2208
|
-
_hoisted_5$
|
|
2207
|
+
_hoisted_5$a,
|
|
2209
2208
|
toDisplayString(unref(formatAmount)(balance.value.total || 0)),
|
|
2210
2209
|
1
|
|
2211
2210
|
/* TEXT */
|
|
@@ -2266,7 +2265,7 @@ const _hoisted_1$s = { class: "consumption-filter" };
|
|
|
2266
2265
|
const _hoisted_2$j = { class: "consumption-filter-content" };
|
|
2267
2266
|
const _hoisted_3$d = { class: "title" };
|
|
2268
2267
|
const _hoisted_4$a = { class: "info" };
|
|
2269
|
-
const _hoisted_5$
|
|
2268
|
+
const _hoisted_5$9 = ["onClick"];
|
|
2270
2269
|
var script$v = /* @__PURE__ */ defineComponent({
|
|
2271
2270
|
__name: "ConsumptionFilter",
|
|
2272
2271
|
props: {
|
|
@@ -2354,7 +2353,7 @@ var script$v = /* @__PURE__ */ defineComponent({
|
|
|
2354
2353
|
onClick: () => onFilterSectionClick(index, it.code),
|
|
2355
2354
|
class: normalizeClass([getItemClass(index, it.code), "info-item"]),
|
|
2356
2355
|
key: i
|
|
2357
|
-
}, toDisplayString(typeof it === "string" ? it : it.name), 11, _hoisted_5$
|
|
2356
|
+
}, toDisplayString(typeof it === "string" ? it : it.name), 11, _hoisted_5$9);
|
|
2358
2357
|
}),
|
|
2359
2358
|
128
|
|
2360
2359
|
/* KEYED_FRAGMENT */
|
|
@@ -2671,7 +2670,7 @@ const _hoisted_1$n = { class: "account-view" };
|
|
|
2671
2670
|
const _hoisted_2$h = { class: "scroll-content" };
|
|
2672
2671
|
const _hoisted_3$b = { class: "balance" };
|
|
2673
2672
|
const _hoisted_4$9 = { class: "bean-box spa-between" };
|
|
2674
|
-
const _hoisted_5$
|
|
2673
|
+
const _hoisted_5$8 = { class: "bean-counts spa-between" };
|
|
2675
2674
|
const _hoisted_6$4 = { class: "counts number" };
|
|
2676
2675
|
const _hoisted_7$4 = {
|
|
2677
2676
|
key: 0,
|
|
@@ -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
|
};
|
|
@@ -2939,7 +2943,7 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
2939
2943
|
onClick: _cache[0] || (_cache[0] = ($event) => rulesPopupOpen.value = true)
|
|
2940
2944
|
}, "\u89C4\u5219\u8BF4\u660E")
|
|
2941
2945
|
]),
|
|
2942
|
-
createElementVNode("div", _hoisted_5$
|
|
2946
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
2943
2947
|
createElementVNode(
|
|
2944
2948
|
"div",
|
|
2945
2949
|
_hoisted_6$4,
|
|
@@ -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
|
|
@@ -3338,14 +3359,16 @@ var script$q = /* @__PURE__ */ defineComponent({
|
|
|
3338
3359
|
script$q.__file = "src/balance/components/AccountView.vue";
|
|
3339
3360
|
|
|
3340
3361
|
const _hoisted_1$m = { class: "balance-reminder" };
|
|
3341
|
-
const _hoisted_2$g = { class: "
|
|
3342
|
-
const _hoisted_3$a = { class: "
|
|
3362
|
+
const _hoisted_2$g = { class: "body" };
|
|
3363
|
+
const _hoisted_3$a = { class: "footer" };
|
|
3343
3364
|
const _hoisted_4$8 = { class: "col" };
|
|
3365
|
+
const _hoisted_5$7 = { class: "col" };
|
|
3344
3366
|
var script$p = /* @__PURE__ */ defineComponent({
|
|
3345
3367
|
__name: "BalanceReminder",
|
|
3346
3368
|
props: {
|
|
3347
3369
|
modelValue: { type: Boolean, required: true, default: () => false },
|
|
3348
|
-
buttonText: { type: String, required: false, default: "\u53BB\u5145\u503C" }
|
|
3370
|
+
buttonText: { type: String, required: false, default: "\u53BB\u5145\u503C" },
|
|
3371
|
+
tip: { type: String, required: false, default: "\u60A8\u7684\u8D26\u6237\u53EF\u7528\u4F59\u989D\u4E0D\u8DB3\uFF0C\u8BF7\u5145\u503C\u540E\u518D\u8FDB\u884C\u67E5\u8BE2" }
|
|
3349
3372
|
},
|
|
3350
3373
|
emits: ["recharge", "update:modelValue"],
|
|
3351
3374
|
setup(__props, { emit: __emit }) {
|
|
@@ -3362,31 +3385,37 @@ var script$p = /* @__PURE__ */ defineComponent({
|
|
|
3362
3385
|
}, {
|
|
3363
3386
|
default: withCtx(() => [
|
|
3364
3387
|
createElementVNode("div", _hoisted_1$m, [
|
|
3365
|
-
_cache[3] || (_cache[3] = createElementVNode(
|
|
3366
|
-
"div",
|
|
3367
|
-
{ class: "body" },
|
|
3368
|
-
[
|
|
3369
|
-
createElementVNode("h2", null, "\u64CD\u4F5C\u5931\u8D25"),
|
|
3370
|
-
createElementVNode("p", null, "\u60A8\u7684\u8D26\u6237\u53EF\u7528\u4F59\u989D\u4E0D\u8DB3\uFF0C\u8BF7\u5145\u503C\u540E\u518D\u8FDB\u884C\u67E5\u8BE2")
|
|
3371
|
-
],
|
|
3372
|
-
-1
|
|
3373
|
-
/* HOISTED */
|
|
3374
|
-
)),
|
|
3375
3388
|
createElementVNode("div", _hoisted_2$g, [
|
|
3376
|
-
|
|
3389
|
+
_cache[2] || (_cache[2] = createElementVNode(
|
|
3390
|
+
"h2",
|
|
3391
|
+
null,
|
|
3392
|
+
"\u6E29\u99A8\u63D0\u793A",
|
|
3393
|
+
-1
|
|
3394
|
+
/* HOISTED */
|
|
3395
|
+
)),
|
|
3396
|
+
createElementVNode(
|
|
3397
|
+
"p",
|
|
3398
|
+
null,
|
|
3399
|
+
toDisplayString(_ctx.tip),
|
|
3400
|
+
1
|
|
3401
|
+
/* TEXT */
|
|
3402
|
+
)
|
|
3403
|
+
]),
|
|
3404
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
3405
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
3377
3406
|
createVNode(_component_nut_button, {
|
|
3378
3407
|
class: "cancel-button",
|
|
3379
3408
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", false)),
|
|
3380
3409
|
block: ""
|
|
3381
3410
|
}, {
|
|
3382
|
-
default: withCtx(() => _cache[
|
|
3411
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
3383
3412
|
createTextVNode("\u53D6\u6D88")
|
|
3384
3413
|
])),
|
|
3385
3414
|
_: 1
|
|
3386
3415
|
/* STABLE */
|
|
3387
3416
|
})
|
|
3388
3417
|
]),
|
|
3389
|
-
createElementVNode("div",
|
|
3418
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
3390
3419
|
createVNode(_component_nut_button, {
|
|
3391
3420
|
block: "",
|
|
3392
3421
|
class: "recharge-button",
|
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>
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<nut-popup
|
|
3
|
-
pop-class="balance-reminder-popup"
|
|
4
|
-
round
|
|
5
|
-
teleport="#app"
|
|
6
|
-
:visible="modelValue"
|
|
2
|
+
<nut-popup pop-class="balance-reminder-popup" round teleport="#app" :visible="modelValue"
|
|
7
3
|
:close-on-click-overlay="false">
|
|
8
4
|
<div class="balance-reminder">
|
|
9
5
|
<div class="body">
|
|
10
|
-
<h2
|
|
11
|
-
<p
|
|
6
|
+
<h2>温馨提示</h2>
|
|
7
|
+
<p>{{ tip }}</p>
|
|
12
8
|
</div>
|
|
13
9
|
<div class="footer">
|
|
14
10
|
<div class="col">
|
|
15
|
-
<nut-button
|
|
16
|
-
class="cancel-button"
|
|
17
|
-
@click="emit('update:modelValue', false)"
|
|
18
|
-
block>取消</nut-button>
|
|
11
|
+
<nut-button class="cancel-button" @click="emit('update:modelValue', false)" block>取消</nut-button>
|
|
19
12
|
</div>
|
|
20
13
|
<div class="col">
|
|
21
|
-
<nut-button block
|
|
22
|
-
class="recharge-button"
|
|
23
|
-
@click="emit('recharge')">{{buttonText}}</nut-button>
|
|
14
|
+
<nut-button block class="recharge-button" @click="emit('recharge')">{{ buttonText }}</nut-button>
|
|
24
15
|
</div>
|
|
25
16
|
</div>
|
|
26
17
|
</div>
|
|
@@ -31,15 +22,17 @@
|
|
|
31
22
|
interface BalanceReminderProps {
|
|
32
23
|
modelValue: boolean
|
|
33
24
|
buttonText?: string
|
|
25
|
+
tip?: string
|
|
34
26
|
}
|
|
35
27
|
|
|
36
28
|
const emit = defineEmits(['recharge', 'update:modelValue'])
|
|
37
29
|
|
|
38
30
|
withDefaults(
|
|
39
31
|
defineProps<BalanceReminderProps>(), {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
modelValue: () => false,
|
|
33
|
+
buttonText: '去充值',
|
|
34
|
+
tip: '您的账户可用余额不足,请充值后再进行查询'
|
|
35
|
+
}
|
|
43
36
|
)
|
|
44
37
|
</script>
|
|
45
38
|
|
|
@@ -47,13 +40,16 @@ withDefaults(
|
|
|
47
40
|
.balance-reminder-popup {
|
|
48
41
|
width: 90%;
|
|
49
42
|
}
|
|
43
|
+
|
|
50
44
|
.balance-reminder {
|
|
51
45
|
--primary-button-background: linear-gradient(135deg, #098C9D 0%, #66BF97 100%);
|
|
46
|
+
|
|
52
47
|
h2 {
|
|
53
48
|
font-size: 16px;
|
|
54
49
|
font-weight: bold;
|
|
55
50
|
margin-bottom: 14px;
|
|
56
51
|
}
|
|
52
|
+
|
|
57
53
|
.body {
|
|
58
54
|
height: 120px;
|
|
59
55
|
box-sizing: border-box;
|
|
@@ -66,16 +62,19 @@ withDefaults(
|
|
|
66
62
|
text-align: center;
|
|
67
63
|
color: #666;
|
|
68
64
|
}
|
|
65
|
+
|
|
69
66
|
.footer {
|
|
70
67
|
display: flex;
|
|
71
68
|
flex-direction: row;
|
|
72
69
|
justify-content: stretch;
|
|
73
70
|
align-items: center;
|
|
74
71
|
padding: 10px 20px 20px 20px;
|
|
72
|
+
|
|
75
73
|
.col {
|
|
76
74
|
flex-grow: 1;
|
|
77
75
|
padding: 6px;
|
|
78
76
|
}
|
|
77
|
+
|
|
79
78
|
.recharge-button {
|
|
80
79
|
color: #fff;
|
|
81
80
|
background: var(--primary-button-background);
|
|
@@ -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
|