xyvcard-asset 0.0.18 → 0.0.20
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/{assign-CnuGWSFW.mjs → assign-DS84uCHm.mjs} +95 -91
- package/dist/{edit-B-LYCCbp.mjs → edit-BV3P-kiT.mjs} +1 -1
- package/dist/{edit-D17Gyv98.mjs → edit-BaWrwFgf.mjs} +1 -1
- package/dist/edit-CuEUJBMa.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-LbrAsCMD.mjs → edit.vue_vue_type_script_setup_true_lang-CSvQU9EU.mjs} +28 -29
- package/dist/{edit-D32-_mu1.mjs → edit.vue_vue_type_script_setup_true_lang-JZ4KujwQ.mjs} +20 -21
- package/dist/{edit.vue_vue_type_script_setup_true_lang-rgOtFZu6.mjs → edit.vue_vue_type_script_setup_true_lang-NJMVf1bn.mjs} +46 -46
- package/dist/index-Bb_sQScO.mjs +169 -0
- package/dist/{index-BdDLFlf4.mjs → index-Br-xX9gN.mjs} +5 -5
- package/dist/{index-C-pCJ3qR.mjs → index-Bvn3U9pm.mjs} +18 -18
- package/dist/{index-BpLDkr7K.mjs → index-CQjuk7-u.mjs} +40 -41
- package/dist/{index-DTvR5Kzi.mjs → index-CoeHKpWi.mjs} +13 -13
- package/dist/{index-DsSb9DBJ.mjs → index-DFm7gtx_.mjs} +22 -22
- package/dist/{index-DTA_c5of.mjs → index-DunHcdgk.mjs} +13 -13
- package/dist/{index-CAxWHIh9.mjs → index-DycM8yjC.mjs} +11 -11
- package/dist/{index-3yyPfzhR.mjs → index-U9RubJnZ.mjs} +1 -1
- package/dist/index.mjs +422 -457
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +2 -2
- package/dts/api/index.d.ts +3 -3
- package/dts/router/page.d.ts +5 -5
- package/package.json +1 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +0 -9
- package/dist/index-DeX1io_N.mjs +0 -158
@@ -3,7 +3,7 @@ import { useTableHooks as re, fileApi as T } from "jmash-core";
|
|
3
3
|
import { D as C, s as de } from "./index-CGds22-2.mjs";
|
4
4
|
import { useI18n as ue } from "vue-i18n";
|
5
5
|
import { useRouter as me } from "vue-router";
|
6
|
-
import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-
|
6
|
+
import { _ as pe } from "./edit.vue_vue_type_script_setup_true_lang-CSvQU9EU.mjs";
|
7
7
|
const ce = { class: "app-container" }, fe = { class: "search-container" }, be = { key: 0 }, _e = { key: 1 }, ve = {
|
8
8
|
key: 2,
|
9
9
|
class: "distance-left"
|
@@ -27,7 +27,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
27
27
|
{
|
28
28
|
label: "site.qrcode",
|
29
29
|
prop: "qrcode",
|
30
|
-
width: "
|
30
|
+
width: "120",
|
31
31
|
slotName: "qrcode",
|
32
32
|
columnType: "slot",
|
33
33
|
isColumn: !0
|
@@ -36,7 +36,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
36
36
|
{
|
37
37
|
label: "site.orgId",
|
38
38
|
prop: "orgId",
|
39
|
-
width: "
|
39
|
+
width: "260",
|
40
40
|
slotName: "orgId",
|
41
41
|
columnType: "slot",
|
42
42
|
isColumn: !0
|
@@ -60,21 +60,21 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
60
60
|
{
|
61
61
|
label: "site.address",
|
62
62
|
prop: "address",
|
63
|
-
width: "
|
63
|
+
width: "200",
|
64
64
|
isColumn: !0
|
65
65
|
},
|
66
66
|
// 建成时间
|
67
67
|
{
|
68
68
|
label: "site.buildDate",
|
69
69
|
prop: "buildDate",
|
70
|
-
width: "
|
70
|
+
width: "120",
|
71
71
|
isColumn: !0
|
72
72
|
},
|
73
73
|
// 场地管理员姓名
|
74
74
|
{
|
75
75
|
label: "site.manager",
|
76
76
|
prop: "manager",
|
77
|
-
width: "
|
77
|
+
width: "120",
|
78
78
|
isColumn: !0
|
79
79
|
},
|
80
80
|
// 管理员手机号脱敏
|
@@ -98,7 +98,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
98
98
|
},
|
99
99
|
{
|
100
100
|
label: "common.operate",
|
101
|
-
width: "
|
101
|
+
width: "200",
|
102
102
|
slotName: "operation",
|
103
103
|
columnType: "slot",
|
104
104
|
fixed: "right",
|
@@ -115,7 +115,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
115
115
|
}
|
116
116
|
function H(l) {
|
117
117
|
L.push({
|
118
|
-
path: "/
|
118
|
+
path: "/rawasset/asset-site/info",
|
119
119
|
query: { entityKey: l.siteId }
|
120
120
|
});
|
121
121
|
}
|
@@ -132,7 +132,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
132
132
|
l.mobileEncrypt = !l.mobileEncrypt;
|
133
133
|
}
|
134
134
|
return r.getList(), (l, t) => {
|
135
|
-
const W = s("el-tooltip"), X = s("el-tree-select"), w = s("el-form-item"), c = s("el-col"), Y = s("el-input"), Z = s("jmash-select"), P = s("el-button"),
|
135
|
+
const W = s("el-tooltip"), X = s("el-tree-select"), w = s("el-form-item"), c = s("el-col"), Y = s("el-input"), Z = s("jmash-select"), P = s("el-button"), U = s("el-row"), x = s("el-form"), ee = s("jmash-column-select"), te = s("el-image"), S = s("svg-icon"), le = s("el-switch"), oe = s("jmash-table"), ae = s("jmash-pagination"), ne = s("el-card"), h = ie("hasPerm");
|
136
136
|
return d(), p("div", ce, [
|
137
137
|
g("div", fe, [
|
138
138
|
o(x, {
|
@@ -142,7 +142,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
142
142
|
inline: !0
|
143
143
|
}, {
|
144
144
|
default: a(() => [
|
145
|
-
o(
|
145
|
+
o(U, null, {
|
146
146
|
default: a(() => [
|
147
147
|
o(c, { span: 6 }, {
|
148
148
|
default: a(() => [
|
@@ -265,7 +265,7 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
265
265
|
class: "table-container"
|
266
266
|
}, {
|
267
267
|
header: a(() => [
|
268
|
-
o(
|
268
|
+
o(U, { justify: "space-between" }, {
|
269
269
|
default: a(() => [
|
270
270
|
o(c, { span: 17 }, {
|
271
271
|
default: a(() => [
|
@@ -339,13 +339,13 @@ const ce = { class: "app-container" }, fe = { class: "search-container" }, be =
|
|
339
339
|
mobilePhone: a((e) => [
|
340
340
|
e.data.row.mobileEncrypt ? (d(), p("span", _e, u(e.data.row.mobilePhone), 1)) : (d(), p("span", be, u(e.data.row.mobilePhoneIns), 1)),
|
341
341
|
e.data.row.mobilePhoneIns ? (d(), p("span", ve, [
|
342
|
-
b(o(
|
342
|
+
b(o(S, {
|
343
343
|
"icon-class": "close-eye",
|
344
344
|
onClick: (m) => N(e.data.row)
|
345
345
|
}, null, 8, ["onClick"]), [
|
346
346
|
[z, !e.data.row.mobileEncrypt]
|
347
347
|
]),
|
348
|
-
b(o(
|
348
|
+
b(o(S, {
|
349
349
|
"icon-class": "eye-open",
|
350
350
|
onClick: (m) => N(e.data.row)
|
351
351
|
}, null, 8, ["onClick"]), [
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as H, getCurrentInstance as G, ref as b, resolveComponent as s, resolveDirective as J, openBlock as _, createElementBlock as V, createElementVNode as d, createVNode as n, withCtx as o, unref as r, withKeys as R, createTextVNode as
|
1
|
+
import { defineComponent as H, getCurrentInstance as G, ref as b, resolveComponent as s, resolveDirective as J, openBlock as _, createElementBlock as V, createElementVNode as d, createVNode as n, withCtx as o, unref as r, withKeys as R, createTextVNode as w, toDisplayString as u, isRef as S, createBlock as W, createCommentVNode as X, withDirectives as Z } from "vue";
|
2
2
|
import { useTableHooks as x } from "jmash-core";
|
3
3
|
import { useI18n as ee } from "vue-i18n";
|
4
4
|
import { c as k } from "./common-CshrwPyx.mjs";
|
@@ -63,7 +63,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
63
63
|
},
|
64
64
|
{
|
65
65
|
label: "common.operate",
|
66
|
-
width: "
|
66
|
+
width: "200",
|
67
67
|
slotName: "operation",
|
68
68
|
columnType: "slot",
|
69
69
|
fixed: "right",
|
@@ -78,22 +78,22 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
78
78
|
l[0]
|
79
79
|
).getFullDate(), a.value.inventoryEndTime = k(l[1]).getFullDate(), i.handleQuery();
|
80
80
|
} else
|
81
|
-
|
81
|
+
N();
|
82
82
|
}
|
83
83
|
function U(l) {
|
84
84
|
i.selectionRows.value = l;
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function N() {
|
87
87
|
c.value = [], a.value.inventoryStartTime = "", a.value.inventoryEndTime = "", i.resetQuery();
|
88
88
|
}
|
89
89
|
function Y(l) {
|
90
90
|
T.push({
|
91
|
-
path: "/
|
91
|
+
path: "/rawasset/asset-inventory-record/info",
|
92
92
|
query: { inventoryId: l.inventoryId }
|
93
93
|
});
|
94
94
|
}
|
95
95
|
return i.getList(), (l, t) => {
|
96
|
-
const L = s("el-tree-select"), v = s("el-form-item"), m = s("el-col"), Q = s("el-input"), B = s("jmash-select"), g = s("el-row"), E = s("el-date-picker"),
|
96
|
+
const L = s("el-tree-select"), v = s("el-form-item"), m = s("el-col"), Q = s("el-input"), B = s("jmash-select"), g = s("el-row"), E = s("el-date-picker"), h = s("el-button"), q = s("el-form"), A = s("jmash-column-select"), F = s("jmash-table"), K = s("jmash-pagination"), M = s("el-card"), O = J("hasPerm");
|
97
97
|
return _(), V("div", ne, [
|
98
98
|
d("div", le, [
|
99
99
|
n(q, {
|
@@ -201,18 +201,18 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
201
201
|
default: o(() => [
|
202
202
|
n(v, { class: "search-btn" }, {
|
203
203
|
default: o(() => [
|
204
|
-
n(
|
204
|
+
n(h, {
|
205
205
|
type: "primary",
|
206
206
|
onClick: t[7] || (t[7] = (e) => r(i).handleQuery())
|
207
207
|
}, {
|
208
208
|
default: o(() => [
|
209
|
-
|
209
|
+
w(u(l.$t("common.search")), 1)
|
210
210
|
]),
|
211
211
|
_: 1
|
212
212
|
}),
|
213
|
-
n(
|
213
|
+
n(h, { onClick: N }, {
|
214
214
|
default: o(() => [
|
215
|
-
|
215
|
+
w(u(l.$t("common.reset")), 1)
|
216
216
|
]),
|
217
217
|
_: 1
|
218
218
|
})
|
@@ -306,7 +306,7 @@ const ne = { class: "app-container" }, le = { class: "search-container" }, ae =
|
|
306
306
|
class: "el-button-color",
|
307
307
|
onClick: (se) => Y(e.data.row)
|
308
308
|
}, [
|
309
|
-
|
309
|
+
w(u(l.$t("common.view")), 1)
|
310
310
|
], 8, ae)), [
|
311
311
|
[O, ["asset:inventory_record:view"]]
|
312
312
|
])
|
@@ -11,7 +11,7 @@ const S = { class: "app-container" }, T = { class: "cell-item" }, j = { class: "
|
|
11
11
|
w.unionOrgBizLayDict.useValues();
|
12
12
|
const C = z(), _ = K(), r = k([!1]), n = k({});
|
13
13
|
_.query.entityKey && L.findById({ siteId: _.query.entityKey }).then(({ data: o }) => {
|
14
|
-
|
14
|
+
n.value = Object.assign(n, o);
|
15
15
|
});
|
16
16
|
function p(o) {
|
17
17
|
r.value[o] = !r.value[o];
|