af-mobile-client-vue3 1.4.5 → 1.4.7
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/src/components/data/XFormItem/index.vue +1 -1
- package/src/styles/login.less +2 -0
- package/src/views/component/XCellListView/index.vue +5 -8
- package/vite.config.ts +7 -0
- package/.npmignore +0 -26
- package/pnpm-lock.yaml +0 -10076
package/package.json
CHANGED
|
@@ -620,7 +620,7 @@ function onCalendarConfirm(values) {
|
|
|
620
620
|
// js 函数作为数据源
|
|
621
621
|
async function updateOptions() {
|
|
622
622
|
if (attr.keyName && (attr.keyName.toString().includes('async ') || attr.keyName.toString().includes('function '))) {
|
|
623
|
-
option.value = await executeStrFunctionByContext(
|
|
623
|
+
option.value = await executeStrFunctionByContext(currInst, attr.keyName, [props.form, runLogic, props.mode, getConfigByNameAsync, post])
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
|
package/src/styles/login.less
CHANGED
|
@@ -9,11 +9,11 @@ const emit = defineEmits(['deleteRow'])
|
|
|
9
9
|
// 访问路由
|
|
10
10
|
const router = useRouter()
|
|
11
11
|
// 获取默认值
|
|
12
|
-
|
|
12
|
+
const idKey = ref('o_id')
|
|
13
13
|
|
|
14
14
|
// 简易crud表单测试
|
|
15
|
-
const configName = ref('
|
|
16
|
-
const serviceName = ref('af-
|
|
15
|
+
const configName = ref('mobile_instrumentManageCRUD')
|
|
16
|
+
const serviceName = ref('af-revenue')
|
|
17
17
|
|
|
18
18
|
// 资源权限测试
|
|
19
19
|
// const configName = ref('crud_sources_test')
|
|
@@ -83,17 +83,14 @@ const serviceName = ref('af-safecheck')
|
|
|
83
83
|
// })
|
|
84
84
|
// }
|
|
85
85
|
|
|
86
|
-
// 删除功能
|
|
86
|
+
// // 删除功能
|
|
87
87
|
// function deleteRow(result) {
|
|
88
88
|
// emit('deleteRow', result.o_id)
|
|
89
89
|
// }
|
|
90
|
-
// const fixQueryForm = ref({
|
|
91
|
-
// f_operator_id: '487184754014158848',
|
|
92
|
-
// })
|
|
93
90
|
</script>
|
|
94
91
|
|
|
95
92
|
<template>
|
|
96
|
-
<NormalDataLayout id="XCellListView" title="
|
|
93
|
+
<NormalDataLayout id="XCellListView" title="测试">
|
|
97
94
|
<template #layout_content>
|
|
98
95
|
<XCellList
|
|
99
96
|
:config-name="configName"
|
package/vite.config.ts
CHANGED
|
@@ -64,6 +64,13 @@ export default ({ mode }: ConfigEnv): UserConfig => {
|
|
|
64
64
|
changeOrigin: true,
|
|
65
65
|
rewrite: path => path.replace(/^\/linepatrol\/geoserver/, '/geoserver'),
|
|
66
66
|
},
|
|
67
|
+
// '/api/af-revenue': {
|
|
68
|
+
// // target: v4Server,
|
|
69
|
+
// rewrite: (path: string) => path.replace(/^\/api\/af-revenue\//, '/'),
|
|
70
|
+
// target: 'http://127.0.0.1:9026',
|
|
71
|
+
// ws: false,
|
|
72
|
+
// changeOrigin: true,
|
|
73
|
+
// },
|
|
67
74
|
'/api': {
|
|
68
75
|
// v3用
|
|
69
76
|
// rewrite: (path: string) => path.replace(/^\/api\/af-system\//, '/rs/'),
|
package/.npmignore
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Logs
|
|
2
|
-
logs
|
|
3
|
-
*.log
|
|
4
|
-
npm-debug.log*
|
|
5
|
-
yarn-debug.log*
|
|
6
|
-
yarn-error.log*
|
|
7
|
-
pnpm-debug.log*
|
|
8
|
-
lerna-debug.log*
|
|
9
|
-
|
|
10
|
-
node_modules
|
|
11
|
-
dist
|
|
12
|
-
dist-ssr
|
|
13
|
-
*.local
|
|
14
|
-
stats.html
|
|
15
|
-
|
|
16
|
-
# Editor directories and files
|
|
17
|
-
.idea
|
|
18
|
-
*.suo
|
|
19
|
-
*.ntvs*
|
|
20
|
-
*.njsproj
|
|
21
|
-
*.sln
|
|
22
|
-
*.sw?
|
|
23
|
-
|
|
24
|
-
# Misc
|
|
25
|
-
.DS_Store
|
|
26
|
-
.history
|