w-ui-v1 1.1.18 → 1.1.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/package.json +1 -1
- package/utils/apis/pageConfig.ts +9 -0
- package/utils/nfc.ts +2 -3
- package/w-card/w-card.vue +494 -483
- package/w-detail/w-detail.vue +2 -0
- package/w-form-control/w-form-control.vue +33 -4
- package/w-menu/w-menu.vue +4 -3
- package/w-report-table/w-report-table.vue +182 -123
- package/w-search/w-search.vue +3 -5
package/package.json
CHANGED
package/utils/apis/pageConfig.ts
CHANGED
|
@@ -5,6 +5,15 @@ export function pageConfig(sourceId: string) {
|
|
|
5
5
|
url: `/v3/ltmpl/config?sourceId=${sourceId}`,
|
|
6
6
|
})
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
// 获取报表页面详细配置
|
|
10
|
+
export function reportPageData(queryKey: string,language:string='zh') {
|
|
11
|
+
return request({
|
|
12
|
+
url: `/v3/ltmpl/report-data?queryKey=${queryKey}&language=${language}`,
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
8
17
|
//勾选列表页面详细配置
|
|
9
18
|
export function selectPageConfig(sourceId: string) {
|
|
10
19
|
return request({
|
package/utils/nfc.ts
CHANGED
|
@@ -214,15 +214,14 @@ function __read(intent) {
|
|
|
214
214
|
|
|
215
215
|
function bytesToDecimalString(inarray) {
|
|
216
216
|
let result = BigInt(0);
|
|
217
|
-
|
|
217
|
+
|
|
218
218
|
// 反转数组以适配大端序
|
|
219
219
|
const reversed = [...inarray].reverse();
|
|
220
220
|
for (let j = 0; j < reversed.length; j++) {
|
|
221
221
|
const byte = BigInt(parseInt(reversed[j])) & BigInt(0xff);
|
|
222
|
-
resultStr=resultStr+((result << BigInt(8)) | byte)
|
|
223
222
|
result = (result << BigInt(8)) | byte;
|
|
224
223
|
}
|
|
225
|
-
return
|
|
224
|
+
return result.toString().padStart(10, '0');
|
|
226
225
|
}
|
|
227
226
|
|
|
228
227
|
|