af-mobile-client-vue3 1.0.89 → 1.0.91
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/.env.development +4 -4
- package/build/vite/index.ts +91 -91
- package/certs/127.0.0.1+2-key.pem +28 -0
- package/certs/127.0.0.1+2.pem +27 -0
- package/index.html +17 -17
- package/package.json +108 -108
- package/src/api/user/index.ts +40 -40
- package/src/assets/img/banner/appraise-banner-1.png +0 -0
- package/src/assets/img/banner/appraise-banner-2.png +0 -0
- package/src/components/core/XSelect/index.vue +1 -1
- package/src/components/data/XCellList/index.vue +35 -21
- package/src/components/data/XForm/index.vue +153 -153
- package/src/components/data/XFormItem/index.vue +46 -11
- package/src/components.d.ts +53 -53
- package/src/router/index.ts +60 -60
- package/src/router/routes.ts +145 -139
- package/src/services/api/Login.ts +6 -6
- package/src/views/component/EvaluateRecordView/index.vue +40 -40
- package/src/views/component/XCellListView/index.vue +2 -2
- package/src/views/component/XFormAppraiseView/index.vue +169 -0
- package/src/views/component/XFormGroupView/index.vue +2 -2
- package/src/views/component/index.vue +127 -123
package/src/components.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* prettier-ignore */
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
// Generated by unplugin-vue-components
|
|
5
|
-
// Read more: https://github.com/vuejs/core/pull/3399
|
|
6
|
-
export {}
|
|
7
|
-
|
|
8
|
-
declare module 'vue' {
|
|
9
|
-
export interface GlobalComponents {
|
|
10
|
-
BeautifulLoading: typeof import('./components/core/BeautifulLoading/index.vue')['default']
|
|
11
|
-
MicroAppView: typeof import('./components/core/App/MicroAppView.vue')['default']
|
|
12
|
-
NavBar: typeof import('./components/core/NavBar/index.vue')['default']
|
|
13
|
-
NormalDataLayout: typeof import('./components/layout/NormalDataLayout/index.vue')['default']
|
|
14
|
-
RouterLink: typeof import('vue-router')['RouterLink']
|
|
15
|
-
RouterView: typeof import('vue-router')['RouterView']
|
|
16
|
-
SvgIcon: typeof import('./components/core/SvgIcon/index.vue')['default']
|
|
17
|
-
Tabbar: typeof import('./components/core/Tabbar/index.vue')['default']
|
|
18
|
-
TabBarLayout: typeof import('./components/layout/TabBarLayout/index.vue')['default']
|
|
19
|
-
Uploader: typeof import('./components/core/Uploader/index.vue')['default']
|
|
20
|
-
VanArea: typeof import('vant/es')['Area']
|
|
21
|
-
VanButton: typeof import('vant/es')['Button']
|
|
22
|
-
VanCalendar: typeof import('vant/es')['Calendar']
|
|
23
|
-
VanCell: typeof import('vant/es')['Cell']
|
|
24
|
-
VanCellGroup: typeof import('vant/es')['CellGroup']
|
|
25
|
-
VanCheckbox: typeof import('vant/es')['Checkbox']
|
|
26
|
-
VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
|
|
27
|
-
VanDatePicker: typeof import('vant/es')['DatePicker']
|
|
28
|
-
VanField: typeof import('vant/es')['Field']
|
|
29
|
-
VanForm: typeof import('vant/es')['Form']
|
|
30
|
-
VanLoading: typeof import('vant/es')['Loading']
|
|
31
|
-
VanNavBar: typeof import('vant/es')['NavBar']
|
|
32
|
-
VanPicker: typeof import('vant/es')['Picker']
|
|
33
|
-
VanPopup: typeof import('vant/es')['Popup']
|
|
34
|
-
VanRadio: typeof import('vant/es')['Radio']
|
|
35
|
-
VanRadioGroup: typeof import('vant/es')['RadioGroup']
|
|
36
|
-
VanRate: typeof import('vant/es')['Rate']
|
|
37
|
-
VanRow: typeof import('vant/es')['Row']
|
|
38
|
-
VanSlider: typeof import('vant/es')['Slider']
|
|
39
|
-
VanSpace: typeof import('vant/es')['Space']
|
|
40
|
-
VanStepper: typeof import('vant/es')['Stepper']
|
|
41
|
-
VanSwitch: typeof import('vant/es')['Switch']
|
|
42
|
-
VanTimePicker: typeof import('vant/es')['TimePicker']
|
|
43
|
-
XBadge: typeof import('./components/data/XBadge/index.vue')['default']
|
|
44
|
-
XCellDetail: typeof import('./components/data/XCellDetail/index.vue')['default']
|
|
45
|
-
XCellList: typeof import('./components/data/XCellList/index.vue')['default']
|
|
46
|
-
XForm: typeof import('./components/data/XForm/index.vue')['default']
|
|
47
|
-
XFormItem: typeof import('./components/data/XFormItem/index.vue')['default']
|
|
48
|
-
XMultiSelect: typeof import('./components/core/XMultiSelect/index.vue')['default']
|
|
49
|
-
XReportForm: typeof import('./components/data/XReportForm/index.vue')['default']
|
|
50
|
-
XReportFormJsonRender: typeof import('./components/data/XReportForm/XReportFormJsonRender.vue')['default']
|
|
51
|
-
XSelect: typeof import('./components/core/XSelect/index.vue')['default']
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// Generated by unplugin-vue-components
|
|
5
|
+
// Read more: https://github.com/vuejs/core/pull/3399
|
|
6
|
+
export {}
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
export interface GlobalComponents {
|
|
10
|
+
BeautifulLoading: typeof import('./components/core/BeautifulLoading/index.vue')['default']
|
|
11
|
+
MicroAppView: typeof import('./components/core/App/MicroAppView.vue')['default']
|
|
12
|
+
NavBar: typeof import('./components/core/NavBar/index.vue')['default']
|
|
13
|
+
NormalDataLayout: typeof import('./components/layout/NormalDataLayout/index.vue')['default']
|
|
14
|
+
RouterLink: typeof import('vue-router')['RouterLink']
|
|
15
|
+
RouterView: typeof import('vue-router')['RouterView']
|
|
16
|
+
SvgIcon: typeof import('./components/core/SvgIcon/index.vue')['default']
|
|
17
|
+
Tabbar: typeof import('./components/core/Tabbar/index.vue')['default']
|
|
18
|
+
TabBarLayout: typeof import('./components/layout/TabBarLayout/index.vue')['default']
|
|
19
|
+
Uploader: typeof import('./components/core/Uploader/index.vue')['default']
|
|
20
|
+
VanArea: typeof import('vant/es')['Area']
|
|
21
|
+
VanButton: typeof import('vant/es')['Button']
|
|
22
|
+
VanCalendar: typeof import('vant/es')['Calendar']
|
|
23
|
+
VanCell: typeof import('vant/es')['Cell']
|
|
24
|
+
VanCellGroup: typeof import('vant/es')['CellGroup']
|
|
25
|
+
VanCheckbox: typeof import('vant/es')['Checkbox']
|
|
26
|
+
VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
|
|
27
|
+
VanDatePicker: typeof import('vant/es')['DatePicker']
|
|
28
|
+
VanField: typeof import('vant/es')['Field']
|
|
29
|
+
VanForm: typeof import('vant/es')['Form']
|
|
30
|
+
VanLoading: typeof import('vant/es')['Loading']
|
|
31
|
+
VanNavBar: typeof import('vant/es')['NavBar']
|
|
32
|
+
VanPicker: typeof import('vant/es')['Picker']
|
|
33
|
+
VanPopup: typeof import('vant/es')['Popup']
|
|
34
|
+
VanRadio: typeof import('vant/es')['Radio']
|
|
35
|
+
VanRadioGroup: typeof import('vant/es')['RadioGroup']
|
|
36
|
+
VanRate: typeof import('vant/es')['Rate']
|
|
37
|
+
VanRow: typeof import('vant/es')['Row']
|
|
38
|
+
VanSlider: typeof import('vant/es')['Slider']
|
|
39
|
+
VanSpace: typeof import('vant/es')['Space']
|
|
40
|
+
VanStepper: typeof import('vant/es')['Stepper']
|
|
41
|
+
VanSwitch: typeof import('vant/es')['Switch']
|
|
42
|
+
VanTimePicker: typeof import('vant/es')['TimePicker']
|
|
43
|
+
XBadge: typeof import('./components/data/XBadge/index.vue')['default']
|
|
44
|
+
XCellDetail: typeof import('./components/data/XCellDetail/index.vue')['default']
|
|
45
|
+
XCellList: typeof import('./components/data/XCellList/index.vue')['default']
|
|
46
|
+
XForm: typeof import('./components/data/XForm/index.vue')['default']
|
|
47
|
+
XFormItem: typeof import('./components/data/XFormItem/index.vue')['default']
|
|
48
|
+
XMultiSelect: typeof import('./components/core/XMultiSelect/index.vue')['default']
|
|
49
|
+
XReportForm: typeof import('./components/data/XReportForm/index.vue')['default']
|
|
50
|
+
XReportFormJsonRender: typeof import('./components/data/XReportForm/XReportFormJsonRender.vue')['default']
|
|
51
|
+
XSelect: typeof import('./components/core/XSelect/index.vue')['default']
|
|
52
|
+
}
|
|
53
|
+
}
|
package/src/router/index.ts
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
// https://router.vuejs.org/zh/
|
|
2
|
-
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
|
|
3
|
-
import 'nprogress/nprogress.css'
|
|
4
|
-
import type { RouteLocationNormalized } from 'vue-router'
|
|
5
|
-
import setPageTitle from '@af-mobile-client-vue3/utils/set-page-title'
|
|
6
|
-
import useCachedViewStore from '@af-mobile-client-vue3/stores/modules/cachedView'
|
|
7
|
-
import useRouteTransitionNameStore from '@af-mobile-client-vue3/stores/modules/routeTransitionName'
|
|
8
|
-
import routes from '@af-mobile-client-vue3/router/routes'
|
|
9
|
-
const baseUrl = import.meta.env.VITE_APP_PUBLIC_PATH
|
|
10
|
-
// 创建路由实例并传递 `routes` 配置
|
|
11
|
-
const router = createRouter({
|
|
12
|
-
history: import.meta.env.NODE_ENV === 'development' ? createWebHistory(baseUrl) : createWebHashHistory(baseUrl),
|
|
13
|
-
routes,
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
export interface toRouteType extends RouteLocationNormalized {
|
|
17
|
-
meta: {
|
|
18
|
-
title?: string
|
|
19
|
-
noCache?: boolean
|
|
20
|
-
index?: number
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
router.beforeEach((to: toRouteType, _from: toRouteType, next) => {
|
|
25
|
-
const toDepth = to.path.split('/').length
|
|
26
|
-
const fromDepth = _from.path.split('/').length
|
|
27
|
-
// 路由过渡动画
|
|
28
|
-
const routeTransitionNameStore = useRouteTransitionNameStore()
|
|
29
|
-
let name: string
|
|
30
|
-
if (toDepth > fromDepth || to.name === '404') {
|
|
31
|
-
console.warn('in')
|
|
32
|
-
// 进入动画
|
|
33
|
-
name = 'slide-fadein-left'
|
|
34
|
-
}
|
|
35
|
-
else if (toDepth < fromDepth) {
|
|
36
|
-
// 返回动画
|
|
37
|
-
name = 'slide-fadein-right'
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
const toIndex = to.meta.index ? to.meta.index : 0
|
|
41
|
-
const fromIndex = _from.meta.index ? _from.meta.index : 0
|
|
42
|
-
if (toIndex > fromIndex)
|
|
43
|
-
name = 'slide-right'
|
|
44
|
-
else if (toIndex < fromIndex)
|
|
45
|
-
name = 'slide-left'
|
|
46
|
-
else
|
|
47
|
-
name = ''
|
|
48
|
-
}
|
|
49
|
-
routeTransitionNameStore.setName(name)
|
|
50
|
-
// 路由缓存
|
|
51
|
-
useCachedViewStore().addCachedView(to)
|
|
52
|
-
// 页面 title
|
|
53
|
-
setPageTitle(to.meta.title)
|
|
54
|
-
next()
|
|
55
|
-
})
|
|
56
|
-
|
|
57
|
-
router.afterEach(() => {})
|
|
58
|
-
|
|
59
|
-
// 导出路由实例,并在 `main.ts` 挂载
|
|
60
|
-
export default router
|
|
1
|
+
// https://router.vuejs.org/zh/
|
|
2
|
+
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
|
|
3
|
+
import 'nprogress/nprogress.css'
|
|
4
|
+
import type { RouteLocationNormalized } from 'vue-router'
|
|
5
|
+
import setPageTitle from '@af-mobile-client-vue3/utils/set-page-title'
|
|
6
|
+
import useCachedViewStore from '@af-mobile-client-vue3/stores/modules/cachedView'
|
|
7
|
+
import useRouteTransitionNameStore from '@af-mobile-client-vue3/stores/modules/routeTransitionName'
|
|
8
|
+
import routes from '@af-mobile-client-vue3/router/routes'
|
|
9
|
+
const baseUrl = import.meta.env.VITE_APP_PUBLIC_PATH
|
|
10
|
+
// 创建路由实例并传递 `routes` 配置
|
|
11
|
+
const router = createRouter({
|
|
12
|
+
history: import.meta.env.NODE_ENV === 'development' ? createWebHistory(baseUrl) : createWebHashHistory(baseUrl),
|
|
13
|
+
routes,
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
export interface toRouteType extends RouteLocationNormalized {
|
|
17
|
+
meta: {
|
|
18
|
+
title?: string
|
|
19
|
+
noCache?: boolean
|
|
20
|
+
index?: number
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
router.beforeEach((to: toRouteType, _from: toRouteType, next) => {
|
|
25
|
+
const toDepth = to.path.split('/').length
|
|
26
|
+
const fromDepth = _from.path.split('/').length
|
|
27
|
+
// 路由过渡动画
|
|
28
|
+
const routeTransitionNameStore = useRouteTransitionNameStore()
|
|
29
|
+
let name: string
|
|
30
|
+
if (toDepth > fromDepth || to.name === '404') {
|
|
31
|
+
console.warn('in')
|
|
32
|
+
// 进入动画
|
|
33
|
+
name = 'slide-fadein-left'
|
|
34
|
+
}
|
|
35
|
+
else if (toDepth < fromDepth) {
|
|
36
|
+
// 返回动画
|
|
37
|
+
name = 'slide-fadein-right'
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
const toIndex = to.meta.index ? to.meta.index : 0
|
|
41
|
+
const fromIndex = _from.meta.index ? _from.meta.index : 0
|
|
42
|
+
if (toIndex > fromIndex)
|
|
43
|
+
name = 'slide-right'
|
|
44
|
+
else if (toIndex < fromIndex)
|
|
45
|
+
name = 'slide-left'
|
|
46
|
+
else
|
|
47
|
+
name = ''
|
|
48
|
+
}
|
|
49
|
+
routeTransitionNameStore.setName(name)
|
|
50
|
+
// 路由缓存
|
|
51
|
+
useCachedViewStore().addCachedView(to)
|
|
52
|
+
// 页面 title
|
|
53
|
+
setPageTitle(to.meta.title)
|
|
54
|
+
next()
|
|
55
|
+
})
|
|
56
|
+
|
|
57
|
+
router.afterEach(() => {})
|
|
58
|
+
|
|
59
|
+
// 导出路由实例,并在 `main.ts` 挂载
|
|
60
|
+
export default router
|
package/src/router/routes.ts
CHANGED
|
@@ -1,139 +1,145 @@
|
|
|
1
|
-
import type { RouteRecordRaw } from 'vue-router'
|
|
2
|
-
import ComponentView from '@af-mobile-client-vue3/views/component/index.vue'
|
|
3
|
-
import XCellListView from '@af-mobile-client-vue3/views/component/XCellListView/index.vue'
|
|
4
|
-
import XCellDetailView from '@af-mobile-client-vue3/views/component/XCellDetailView/index.vue'
|
|
5
|
-
import XReportFormView from '@af-mobile-client-vue3/views/component/XReportFormView/index.vue'
|
|
6
|
-
import XFormView from '@af-mobile-client-vue3/views/component/XFormView/index.vue'
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
// }
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
1
|
+
import type { RouteRecordRaw } from 'vue-router'
|
|
2
|
+
import ComponentView from '@af-mobile-client-vue3/views/component/index.vue'
|
|
3
|
+
import XCellListView from '@af-mobile-client-vue3/views/component/XCellListView/index.vue'
|
|
4
|
+
import XCellDetailView from '@af-mobile-client-vue3/views/component/XCellDetailView/index.vue'
|
|
5
|
+
import XReportFormView from '@af-mobile-client-vue3/views/component/XReportFormView/index.vue'
|
|
6
|
+
import XFormView from '@af-mobile-client-vue3/views/component/XFormView/index.vue'
|
|
7
|
+
import XFormAppraiseView from '@af-mobile-client-vue3/views/component/XFormAppraiseView/index.vue'
|
|
8
|
+
import EvaluateRecordView from '@af-mobile-client-vue3/views/component/EvaluateRecordView/index.vue'
|
|
9
|
+
import XReportFormIframeView from '@af-mobile-client-vue3/views/component/XReportFormIframeView/index.vue'
|
|
10
|
+
import PageLayout from '@af-mobile-client-vue3/layout/PageLayout.vue'
|
|
11
|
+
import login from '@af-mobile-client-vue3/views/user/login/index.vue'
|
|
12
|
+
import NotFound from '@af-mobile-client-vue3/views/common/NotFound.vue'
|
|
13
|
+
import SingleLayout from '@af-mobile-client-vue3/layout/SingleLayout.vue'
|
|
14
|
+
import XFormGroupView from '@af-mobile-client-vue3/views/component/XFormGroupView/index.vue'
|
|
15
|
+
import XSignatureView from '@af-mobile-client-vue3/views/component/XSignatureView/index.vue'
|
|
16
|
+
import XReportGridView from '@af-mobile-client-vue3/views/component/XReportGridView/index.vue'
|
|
17
|
+
import GridView from '@af-mobile-client-vue3/layout/GridView/index.vue'
|
|
18
|
+
import XForm from '@af-mobile-client-vue3/components/data/XForm/index.vue'
|
|
19
|
+
import XReport from '@af-mobile-client-vue3/components/data/XReportGrid/XReport.vue'
|
|
20
|
+
|
|
21
|
+
const routes: Array<RouteRecordRaw> = [
|
|
22
|
+
{
|
|
23
|
+
path: '/',
|
|
24
|
+
name: 'root',
|
|
25
|
+
component: PageLayout,
|
|
26
|
+
redirect: { name: 'Component' },
|
|
27
|
+
children: [
|
|
28
|
+
{
|
|
29
|
+
path: '/XReportFormIframeView',
|
|
30
|
+
name: 'XReportFormIframeView',
|
|
31
|
+
component: XReportFormIframeView,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
path: '/Components/XForm',
|
|
35
|
+
name: 'XForm',
|
|
36
|
+
component: XForm,
|
|
37
|
+
props: route => ({
|
|
38
|
+
groupFormItems: JSON.parse(decodeURIComponent(route.query.groupFormItems as string)),
|
|
39
|
+
serviceName: route.query.serviceName,
|
|
40
|
+
formData: JSON.parse(decodeURIComponent(route.query.formData as string)),
|
|
41
|
+
mode: route.query.mode,
|
|
42
|
+
}),
|
|
43
|
+
meta: { title: '新增/修改表单' },
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
path: '/Component',
|
|
49
|
+
name: 'Component',
|
|
50
|
+
component: SingleLayout,
|
|
51
|
+
redirect: { name: 'ComponentView' },
|
|
52
|
+
children: [
|
|
53
|
+
{
|
|
54
|
+
path: '/Component/main',
|
|
55
|
+
name: 'ComponentView',
|
|
56
|
+
component: ComponentView,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
path: '/Component/XCellListView',
|
|
60
|
+
name: 'XCellListView',
|
|
61
|
+
component: XCellListView,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
path: '/Component/XCellDetailView/:id',
|
|
65
|
+
name: 'XCellDetailView',
|
|
66
|
+
component: XCellDetailView,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
path: '/Component/XFormGroupView',
|
|
70
|
+
name: 'XFormGroupView',
|
|
71
|
+
component: XFormGroupView,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
path: '/Component/XReportFormView',
|
|
75
|
+
name: 'XReportFormView',
|
|
76
|
+
component: XReportFormView,
|
|
77
|
+
},
|
|
78
|
+
// {
|
|
79
|
+
// path: '/Components/XForm',
|
|
80
|
+
// name: 'XForm',
|
|
81
|
+
// component: XForm,
|
|
82
|
+
// props: route => ({
|
|
83
|
+
// groupFormItems: JSON.parse(decodeURIComponent(route.query.groupFormItems as string)),
|
|
84
|
+
// serviceName: route.query.serviceName,
|
|
85
|
+
// formData: JSON.parse(decodeURIComponent(route.query.formData as string)),
|
|
86
|
+
// mode: route.query.mode,
|
|
87
|
+
// }),
|
|
88
|
+
// meta:{ title: '新增/修改表单' }
|
|
89
|
+
// },
|
|
90
|
+
{
|
|
91
|
+
path: '/Component/XFormAppraiseView/:id/:openid',
|
|
92
|
+
name: 'XFormAppraiseView',
|
|
93
|
+
component: XFormAppraiseView
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
path: '/Component/XFormView/:id/:openid',
|
|
97
|
+
name: 'XFormView',
|
|
98
|
+
component: XFormView,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
path: '/Component/EvaluateRecordView',
|
|
102
|
+
name: 'EvaluateRecordView',
|
|
103
|
+
component: EvaluateRecordView,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
path: '/Component/XSignatureView',
|
|
107
|
+
name: 'XSignatureView',
|
|
108
|
+
component: XSignatureView,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
path: '/Component/XReportGridView',
|
|
112
|
+
name: 'XReportGridView',
|
|
113
|
+
component: XReportGridView,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
path: '/Component/XReport',
|
|
117
|
+
name: 'XReport',
|
|
118
|
+
component: XReport,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
path: '/GridView',
|
|
122
|
+
name: 'GridView',
|
|
123
|
+
component: GridView,
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
path: '/login',
|
|
129
|
+
name: 'login',
|
|
130
|
+
component: login,
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
path: '/404',
|
|
134
|
+
name: '404',
|
|
135
|
+
component: NotFound,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
path: '/:pathMatch(.*)',
|
|
139
|
+
redirect: {
|
|
140
|
+
name: '404',
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
]
|
|
144
|
+
|
|
145
|
+
export default routes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const loginApi = {
|
|
2
|
-
Login: '/af-auth/login',
|
|
3
|
-
Logout: '/af-auth/logout',
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export { loginApi }
|
|
1
|
+
const loginApi = {
|
|
2
|
+
Login: '/af-auth/login',
|
|
3
|
+
Logout: '/af-auth/logout',
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export { loginApi }
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ref } from 'vue'
|
|
3
|
-
import {
|
|
4
|
-
Icon as VanIcon,
|
|
5
|
-
} from 'vant'
|
|
6
|
-
|
|
7
|
-
import XCellList from '@af-mobile-client-vue3/components/data/XCellList/index.vue'
|
|
8
|
-
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
9
|
-
|
|
10
|
-
const configName = ref('get_evaluate_by_id')
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<template>
|
|
14
|
-
<NormalDataLayout title="评价纪录">
|
|
15
|
-
<template #layout_header_row_right_col>
|
|
16
|
-
<VanIcon class="header_row_icon" name="filter-o" />
|
|
17
|
-
</template>
|
|
18
|
-
<template #layout_content>
|
|
19
|
-
<XCellList :config-name="configName" id-key="t_id" service-name="af-revenue" />
|
|
20
|
-
</template>
|
|
21
|
-
</NormalDataLayout>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<style scoped lang="less">
|
|
25
|
-
.header_row_icon {
|
|
26
|
-
font-size: 18px;
|
|
27
|
-
}
|
|
28
|
-
//.van-tabs {
|
|
29
|
-
// display: flex;
|
|
30
|
-
// flex-flow: column;
|
|
31
|
-
// height: 100%;
|
|
32
|
-
//}
|
|
33
|
-
//:deep(.van-tabs__content) {
|
|
34
|
-
// flex: 1;
|
|
35
|
-
//}
|
|
36
|
-
//:deep(.van-tab__panel) {
|
|
37
|
-
// height: 100%;
|
|
38
|
-
// max-height: 100vh;
|
|
39
|
-
//}
|
|
40
|
-
</style>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue'
|
|
3
|
+
import {
|
|
4
|
+
Icon as VanIcon,
|
|
5
|
+
} from 'vant'
|
|
6
|
+
|
|
7
|
+
import XCellList from '@af-mobile-client-vue3/components/data/XCellList/index.vue'
|
|
8
|
+
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
9
|
+
|
|
10
|
+
const configName = ref('get_evaluate_by_id')
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<NormalDataLayout title="评价纪录">
|
|
15
|
+
<template #layout_header_row_right_col>
|
|
16
|
+
<VanIcon class="header_row_icon" name="filter-o" />
|
|
17
|
+
</template>
|
|
18
|
+
<template #layout_content>
|
|
19
|
+
<XCellList :config-name="configName" id-key="t_id" service-name="af-revenue" />
|
|
20
|
+
</template>
|
|
21
|
+
</NormalDataLayout>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="less">
|
|
25
|
+
.header_row_icon {
|
|
26
|
+
font-size: 18px;
|
|
27
|
+
}
|
|
28
|
+
//.van-tabs {
|
|
29
|
+
// display: flex;
|
|
30
|
+
// flex-flow: column;
|
|
31
|
+
// height: 100%;
|
|
32
|
+
//}
|
|
33
|
+
//:deep(.van-tabs__content) {
|
|
34
|
+
// flex: 1;
|
|
35
|
+
//}
|
|
36
|
+
//:deep(.van-tab__panel) {
|
|
37
|
+
// height: 100%;
|
|
38
|
+
// max-height: 100vh;
|
|
39
|
+
//}
|
|
40
|
+
</style>
|
|
@@ -12,8 +12,8 @@ const router = useRouter()
|
|
|
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('crud_oper_log_manage')
|
|
16
|
+
const serviceName = ref('af-system')
|
|
17
17
|
|
|
18
18
|
// 资源权限测试
|
|
19
19
|
// const configName = ref('crud_sources_test')
|