af-mobile-client-vue3 1.1.7 → 1.1.8
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 +6 -6
- package/.env.development +4 -4
- package/.env.envoiceShow +6 -6
- package/.env.production +6 -6
- package/.husky/commit-msg +1 -1
- package/.husky/pre-commit +1 -1
- package/.vscode/settings.json +61 -61
- package/mock/modules/user.mock.ts +152 -152
- package/package.json +1 -1
- package/public/favicon.svg +4 -4
- package/public/safari-pinned-tab.svg +32 -32
- package/scripts/verifyCommit.js +19 -19
- package/src/App.vue +43 -43
- package/src/api/user/index.ts +40 -40
- package/src/bootstrap.ts +18 -18
- package/src/components/core/NavBar/index.vue +12 -12
- package/src/components/core/Tabbar/index.vue +38 -38
- package/src/components/core/XGridDropOption/index.vue +151 -151
- package/src/components/core/XMultiSelect/index.vue +183 -183
- package/src/components/data/XCellDetail/index.vue +106 -106
- package/src/components/data/XCellList/index.vue +2 -1
- package/src/components/data/XOlMap/utils/wgs84ToGcj02.js +154 -154
- package/src/components/data/XReportForm/XReportFormJsonRender.vue +220 -220
- package/src/components/data/XReportForm/index.vue +1079 -1079
- package/src/components/data/XReportGrid/XAddReport/index.ts +1 -1
- package/src/components/data/XReportGrid/XReportDrawer/index.ts +1 -1
- package/src/components/data/XSignature/index.vue +285 -285
- package/src/components/data/XTag/index.vue +10 -10
- package/src/components/layout/NormalDataLayout/index.vue +70 -70
- package/src/components/layout/TabBarLayout/index.vue +40 -40
- package/src/components.d.ts +53 -53
- package/src/env.d.ts +16 -16
- package/src/font-style/font.css +3 -3
- package/src/hooks/useCommon.ts +9 -9
- package/src/locales/en-US.json +25 -25
- package/src/locales/zh-CN.json +25 -25
- package/src/plugins/AppData.ts +38 -38
- package/src/router/guards.ts +59 -59
- package/src/router/index.ts +61 -61
- package/src/router/invoiceRoutes.ts +33 -33
- package/src/services/api/common.ts +109 -109
- package/src/services/api/manage.ts +8 -8
- package/src/services/api/search.ts +16 -16
- package/src/services/restTools.ts +56 -56
- package/src/services/v3Api.ts +11 -11
- package/src/stores/modules/setting.ts +52 -52
- package/src/stores/mutation-type.ts +7 -7
- package/src/utils/authority-utils.ts +84 -84
- package/src/utils/crypto.ts +39 -39
- package/src/utils/i18n.ts +41 -41
- package/src/utils/indexedDB.ts +180 -180
- package/src/utils/mobileUtil.ts +26 -26
- package/src/utils/routerUtil.ts +271 -271
- package/src/utils/runEvalFunction.ts +13 -13
- package/src/utils/wechatUtil.ts +9 -9
- package/src/views/common/LoadError.vue +64 -64
- package/src/views/common/NotFound.vue +68 -68
- package/src/views/component/EvaluateRecordView/index.vue +40 -40
- package/src/views/component/XCellDetailView/index.vue +217 -217
- package/src/views/component/XCellListView/index.vue +2 -2
- package/src/views/component/XOlMapView/XLocationPicker/index.vue +120 -120
- package/src/views/component/XReportFormIframeView/index.vue +47 -47
- package/src/views/component/XReportFormView/index.vue +13 -13
- package/src/views/component/XSignatureView/index.vue +50 -50
- package/src/views/component/menu.vue +117 -117
- package/src/views/component/notice.vue +46 -46
- package/src/views/component/topNav.vue +36 -36
- package/src/views/invoiceShow/index.vue +61 -61
- package/src/views/user/login/ForgetPasswordForm.vue +94 -94
- package/src/views/user/login/LoginTitle.vue +68 -68
- package/src/views/user/login/index.vue +22 -22
- package/src/views/user/my/index.vue +230 -230
- package/src/vue-router.d.ts +9 -9
- package/tsconfig.json +43 -43
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import SvgIcon from '@af-mobile-client-vue3/components/core/SvgIcon/index.vue'
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div class="load_error_main">
|
|
7
|
-
<div class="container">
|
|
8
|
-
<SvgIcon name="loadError" class="loadError" />
|
|
9
|
-
</div>
|
|
10
|
-
<div class="text">
|
|
11
|
-
似乎出了点问题,下拉再试试
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<style lang="less" scoped>
|
|
17
|
-
@keyframes fadeInUp {
|
|
18
|
-
from {
|
|
19
|
-
opacity: 0;
|
|
20
|
-
transform: translateY(30px);
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
opacity: 1;
|
|
24
|
-
transform: translateY(0);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@keyframes fadeIn {
|
|
29
|
-
from {
|
|
30
|
-
opacity: 0;
|
|
31
|
-
}
|
|
32
|
-
to {
|
|
33
|
-
opacity: 1;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.load_error_main {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
align-items: center;
|
|
41
|
-
background-color: var(--van-background-2);
|
|
42
|
-
border-radius: var(--van-radius-lg);
|
|
43
|
-
padding-top: 20vh;
|
|
44
|
-
padding-bottom: 30vh;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.container {
|
|
48
|
-
width: 100px;
|
|
49
|
-
height: 100px;
|
|
50
|
-
animation: fadeIn 0.8s ease-in-out;
|
|
51
|
-
.loadError {
|
|
52
|
-
width: 100px;
|
|
53
|
-
height: 100px;
|
|
54
|
-
vertical-align: middle;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.text {
|
|
59
|
-
margin-top: 25px;
|
|
60
|
-
font-size: 14px;
|
|
61
|
-
color: #333;
|
|
62
|
-
animation: fadeIn 1.2s ease-in-out;
|
|
63
|
-
}
|
|
64
|
-
</style>
|
|
1
|
+
<script setup>
|
|
2
|
+
import SvgIcon from '@af-mobile-client-vue3/components/core/SvgIcon/index.vue'
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="load_error_main">
|
|
7
|
+
<div class="container">
|
|
8
|
+
<SvgIcon name="loadError" class="loadError" />
|
|
9
|
+
</div>
|
|
10
|
+
<div class="text">
|
|
11
|
+
似乎出了点问题,下拉再试试
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<style lang="less" scoped>
|
|
17
|
+
@keyframes fadeInUp {
|
|
18
|
+
from {
|
|
19
|
+
opacity: 0;
|
|
20
|
+
transform: translateY(30px);
|
|
21
|
+
}
|
|
22
|
+
to {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
transform: translateY(0);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@keyframes fadeIn {
|
|
29
|
+
from {
|
|
30
|
+
opacity: 0;
|
|
31
|
+
}
|
|
32
|
+
to {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.load_error_main {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: center;
|
|
41
|
+
background-color: var(--van-background-2);
|
|
42
|
+
border-radius: var(--van-radius-lg);
|
|
43
|
+
padding-top: 20vh;
|
|
44
|
+
padding-bottom: 30vh;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.container {
|
|
48
|
+
width: 100px;
|
|
49
|
+
height: 100px;
|
|
50
|
+
animation: fadeIn 0.8s ease-in-out;
|
|
51
|
+
.loadError {
|
|
52
|
+
width: 100px;
|
|
53
|
+
height: 100px;
|
|
54
|
+
vertical-align: middle;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.text {
|
|
59
|
+
margin-top: 25px;
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
color: #333;
|
|
62
|
+
animation: fadeIn 1.2s ease-in-out;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
<script setup>
|
|
2
|
-
import SvgIcon from '@af-mobile-client-vue3/components/core/SvgIcon/index.vue'
|
|
3
|
-
import { Button as VanButton } from 'vant'
|
|
4
|
-
</script>
|
|
5
|
-
|
|
6
|
-
<template>
|
|
7
|
-
<div class="not_found_main">
|
|
8
|
-
<div class="container">
|
|
9
|
-
<SvgIcon name="notFound" class="notFound" />
|
|
10
|
-
</div>
|
|
11
|
-
<div class="text">
|
|
12
|
-
本来无一物,何处惹尘埃
|
|
13
|
-
</div>
|
|
14
|
-
<div class="button_group">
|
|
15
|
-
<VanButton type="primary" size="small" @click="$router.replace('/home')">
|
|
16
|
-
返回首页
|
|
17
|
-
</VanButton>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<style lang="less" scoped>
|
|
23
|
-
@keyframes fadeInUp {
|
|
24
|
-
from {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
transform: translateY(30px);
|
|
27
|
-
}
|
|
28
|
-
to {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
transform: translateY(0);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@keyframes fadeIn {
|
|
35
|
-
from {
|
|
36
|
-
opacity: 0;
|
|
37
|
-
}
|
|
38
|
-
to {
|
|
39
|
-
opacity: 1;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.not_found_main {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: center;
|
|
47
|
-
height: 100vh;
|
|
48
|
-
padding-top: 30vh;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.container {
|
|
52
|
-
width: 128px;
|
|
53
|
-
height: 128px;
|
|
54
|
-
animation: fadeInUp 0.8s ease-in-out;
|
|
55
|
-
.notFound {
|
|
56
|
-
width: 128px;
|
|
57
|
-
height: 128px;
|
|
58
|
-
vertical-align: middle;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.text {
|
|
63
|
-
margin-bottom: 20px;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
color: #333;
|
|
66
|
-
animation: fadeIn 1.2s ease-in-out;
|
|
67
|
-
}
|
|
68
|
-
</style>
|
|
1
|
+
<script setup>
|
|
2
|
+
import SvgIcon from '@af-mobile-client-vue3/components/core/SvgIcon/index.vue'
|
|
3
|
+
import { Button as VanButton } from 'vant'
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<template>
|
|
7
|
+
<div class="not_found_main">
|
|
8
|
+
<div class="container">
|
|
9
|
+
<SvgIcon name="notFound" class="notFound" />
|
|
10
|
+
</div>
|
|
11
|
+
<div class="text">
|
|
12
|
+
本来无一物,何处惹尘埃
|
|
13
|
+
</div>
|
|
14
|
+
<div class="button_group">
|
|
15
|
+
<VanButton type="primary" size="small" @click="$router.replace('/home')">
|
|
16
|
+
返回首页
|
|
17
|
+
</VanButton>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<style lang="less" scoped>
|
|
23
|
+
@keyframes fadeInUp {
|
|
24
|
+
from {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translateY(30px);
|
|
27
|
+
}
|
|
28
|
+
to {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
transform: translateY(0);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@keyframes fadeIn {
|
|
35
|
+
from {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
}
|
|
38
|
+
to {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.not_found_main {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
align-items: center;
|
|
47
|
+
height: 100vh;
|
|
48
|
+
padding-top: 30vh;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.container {
|
|
52
|
+
width: 128px;
|
|
53
|
+
height: 128px;
|
|
54
|
+
animation: fadeInUp 0.8s ease-in-out;
|
|
55
|
+
.notFound {
|
|
56
|
+
width: 128px;
|
|
57
|
+
height: 128px;
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.text {
|
|
63
|
+
margin-bottom: 20px;
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
color: #333;
|
|
66
|
+
animation: fadeIn 1.2s ease-in-out;
|
|
67
|
+
}
|
|
68
|
+
</style>
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import XCellList from '@af-mobile-client-vue3/components/data/XCellList/index.vue'
|
|
3
|
-
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
Icon as VanIcon,
|
|
7
|
-
} from 'vant'
|
|
8
|
-
import { ref } from '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 XCellList from '@af-mobile-client-vue3/components/data/XCellList/index.vue'
|
|
3
|
+
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
Icon as VanIcon,
|
|
7
|
+
} from 'vant'
|
|
8
|
+
import { ref } from '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>
|