vue2-client 1.18.21 → 1.18.22
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 +112 -112
- package/src/assets/svg/female.svg +1 -1
- package/src/assets/svg/male.svg +1 -1
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +491 -491
- package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
- package/src/base-client/components/common/HIS/HTab/HTab.vue +443 -443
- package/src/base-client/components/common/XCollapse/XCollapse.vue +830 -830
- package/src/base-client/components/common/XTimeline/XTimeline.vue +477 -477
- package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
- package/src/base-client/components/his/XList/XList.vue +938 -938
- package/src/base-client/components/his/XTimeSelect/XTimeSelect.vue +354 -354
- package/src/base-client/components/his/XTitle/XTitle.vue +314 -314
- package/src/base-client/components/his/XTreeRows/XTreeRows.vue +341 -341
- package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
- package/src/components/FileImageItem/FileItem.vue +320 -320
- package/src/components/FileImageItem/FileItemGroup.vue +297 -297
- package/src/pages/WorkflowDetail/WorkflowDetail.vue +404 -404
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +1815 -1815
- package/src/pages/WorkflowDetail/WorkflowPageDetail/worklog.vue +98 -98
- package/src/pages/userInfoDetailManage/ApplyRecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
- package/src/pages/userInfoDetailManage/SafeCheckPaperV3RecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/TelephoneV3RecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/userInfoDetailQueryTabs.vue +155 -155
- package/src-base-client/components/common/HIS/HForm/HForm.vue +347 -0
- package/src-base-client/components/common/XCollapse/XCollapse.vue +0 -0
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-card :bordered="false">
|
|
3
|
-
<x-form-table
|
|
4
|
-
title="工作日志"
|
|
5
|
-
ref="xFormTable"
|
|
6
|
-
service-name="af-system"
|
|
7
|
-
:queryParamsName="queryParamsName"
|
|
8
|
-
:fixedAddForm="fixedAddForm"
|
|
9
|
-
:fixed-query-form="fixedQueryForm"
|
|
10
|
-
@afterSubmit="Submit"
|
|
11
|
-
@action="toDetail"
|
|
12
|
-
>
|
|
13
|
-
</x-form-table>
|
|
14
|
-
<!-- 抽屉 -->
|
|
15
|
-
<a-drawer
|
|
16
|
-
:visible="visible"
|
|
17
|
-
width="40vw"
|
|
18
|
-
placement="right"
|
|
19
|
-
title="查看附件"
|
|
20
|
-
@close="visible = false, previewFileVisible=false"
|
|
21
|
-
>
|
|
22
|
-
<div>
|
|
23
|
-
<file-item :files="fileList" @preview="handlePreviewFile"/>
|
|
24
|
-
</div>
|
|
25
|
-
<!-- 文件预览 -->
|
|
26
|
-
<a-modal v-model="previewFileVisible" :footer="null" :dialog-style="{ top: '20px' }" width="80%" :z-index="1001">
|
|
27
|
-
<file-preview :path="filePath"/>
|
|
28
|
-
</a-modal>
|
|
29
|
-
</a-drawer>
|
|
30
|
-
</a-card>
|
|
31
|
-
</template>
|
|
32
|
-
|
|
33
|
-
<script>
|
|
34
|
-
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
|
|
35
|
-
import { runLogic } from '@vue2-client/services/api/common'
|
|
36
|
-
import fileItem from '@vue2-client/components/FileImageItem/FileItem.vue'
|
|
37
|
-
import FilePreview from '@vue2-client/components/FilePreview/FilePreview.vue'
|
|
38
|
-
import { mapState } from 'vuex'
|
|
39
|
-
export default {
|
|
40
|
-
name: '工作日志',
|
|
41
|
-
components: {
|
|
42
|
-
XFormTable,
|
|
43
|
-
fileItem,
|
|
44
|
-
FilePreview
|
|
45
|
-
},
|
|
46
|
-
props: {
|
|
47
|
-
workflowId: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: ''
|
|
50
|
-
},
|
|
51
|
-
details: {
|
|
52
|
-
type: Object,
|
|
53
|
-
required: true
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
computed: {
|
|
57
|
-
...mapState('account', { currUser: 'user' }),
|
|
58
|
-
},
|
|
59
|
-
data () {
|
|
60
|
-
return {
|
|
61
|
-
// 查询配置文件名
|
|
62
|
-
queryParamsName: 'worklogCRUD',
|
|
63
|
-
visible: false,
|
|
64
|
-
previewFileVisible: false,
|
|
65
|
-
filePath: '',
|
|
66
|
-
fileList: [],
|
|
67
|
-
fixedQueryForm: {},
|
|
68
|
-
fixedAddForm: {}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
mounted () {
|
|
72
|
-
this.init()
|
|
73
|
-
},
|
|
74
|
-
methods: {
|
|
75
|
-
init () {
|
|
76
|
-
this.fixedQueryForm = { w_f_workflow_id: this.workflowId }
|
|
77
|
-
this.fixedAddForm = { w_defname: this.details.f_sub_state }
|
|
78
|
-
this.$refs.xFormTable.refreshTable(true)
|
|
79
|
-
},
|
|
80
|
-
toDetail (record, id) {
|
|
81
|
-
runLogic('getfiles', { id: id, f_table_name: 't_work_log' }, 'af-system').then(res => {
|
|
82
|
-
this.fileList = res
|
|
83
|
-
this.visible = true
|
|
84
|
-
})
|
|
85
|
-
},
|
|
86
|
-
handlePreviewFile (url) {
|
|
87
|
-
this.filePath = url
|
|
88
|
-
this.previewFileVisible = true
|
|
89
|
-
},
|
|
90
|
-
Submit (record) {
|
|
91
|
-
record.form.id = record.id
|
|
92
|
-
record.form.f_workflow_id = this.workflowId
|
|
93
|
-
runLogic('updataworklogfiles', record, 'af-system')
|
|
94
|
-
this.$refs.xFormTable.refreshTable(true)
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<a-card :bordered="false">
|
|
3
|
+
<x-form-table
|
|
4
|
+
title="工作日志"
|
|
5
|
+
ref="xFormTable"
|
|
6
|
+
service-name="af-system"
|
|
7
|
+
:queryParamsName="queryParamsName"
|
|
8
|
+
:fixedAddForm="fixedAddForm"
|
|
9
|
+
:fixed-query-form="fixedQueryForm"
|
|
10
|
+
@afterSubmit="Submit"
|
|
11
|
+
@action="toDetail"
|
|
12
|
+
>
|
|
13
|
+
</x-form-table>
|
|
14
|
+
<!-- 抽屉 -->
|
|
15
|
+
<a-drawer
|
|
16
|
+
:visible="visible"
|
|
17
|
+
width="40vw"
|
|
18
|
+
placement="right"
|
|
19
|
+
title="查看附件"
|
|
20
|
+
@close="visible = false, previewFileVisible=false"
|
|
21
|
+
>
|
|
22
|
+
<div>
|
|
23
|
+
<file-item :files="fileList" @preview="handlePreviewFile"/>
|
|
24
|
+
</div>
|
|
25
|
+
<!-- 文件预览 -->
|
|
26
|
+
<a-modal v-model="previewFileVisible" :footer="null" :dialog-style="{ top: '20px' }" width="80%" :z-index="1001">
|
|
27
|
+
<file-preview :path="filePath"/>
|
|
28
|
+
</a-modal>
|
|
29
|
+
</a-drawer>
|
|
30
|
+
</a-card>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
|
|
35
|
+
import { runLogic } from '@vue2-client/services/api/common'
|
|
36
|
+
import fileItem from '@vue2-client/components/FileImageItem/FileItem.vue'
|
|
37
|
+
import FilePreview from '@vue2-client/components/FilePreview/FilePreview.vue'
|
|
38
|
+
import { mapState } from 'vuex'
|
|
39
|
+
export default {
|
|
40
|
+
name: '工作日志',
|
|
41
|
+
components: {
|
|
42
|
+
XFormTable,
|
|
43
|
+
fileItem,
|
|
44
|
+
FilePreview
|
|
45
|
+
},
|
|
46
|
+
props: {
|
|
47
|
+
workflowId: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: ''
|
|
50
|
+
},
|
|
51
|
+
details: {
|
|
52
|
+
type: Object,
|
|
53
|
+
required: true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
computed: {
|
|
57
|
+
...mapState('account', { currUser: 'user' }),
|
|
58
|
+
},
|
|
59
|
+
data () {
|
|
60
|
+
return {
|
|
61
|
+
// 查询配置文件名
|
|
62
|
+
queryParamsName: 'worklogCRUD',
|
|
63
|
+
visible: false,
|
|
64
|
+
previewFileVisible: false,
|
|
65
|
+
filePath: '',
|
|
66
|
+
fileList: [],
|
|
67
|
+
fixedQueryForm: {},
|
|
68
|
+
fixedAddForm: {}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
mounted () {
|
|
72
|
+
this.init()
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
init () {
|
|
76
|
+
this.fixedQueryForm = { w_f_workflow_id: this.workflowId }
|
|
77
|
+
this.fixedAddForm = { w_defname: this.details.f_sub_state }
|
|
78
|
+
this.$refs.xFormTable.refreshTable(true)
|
|
79
|
+
},
|
|
80
|
+
toDetail (record, id) {
|
|
81
|
+
runLogic('getfiles', { id: id, f_table_name: 't_work_log' }, 'af-system').then(res => {
|
|
82
|
+
this.fileList = res
|
|
83
|
+
this.visible = true
|
|
84
|
+
})
|
|
85
|
+
},
|
|
86
|
+
handlePreviewFile (url) {
|
|
87
|
+
this.filePath = url
|
|
88
|
+
this.previewFileVisible = true
|
|
89
|
+
},
|
|
90
|
+
Submit (record) {
|
|
91
|
+
record.form.id = record.id
|
|
92
|
+
record.form.f_workflow_id = this.workflowId
|
|
93
|
+
runLogic('updataworklogfiles', record, 'af-system')
|
|
94
|
+
this.$refs.xFormTable.refreshTable(true)
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</script>
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-card :bordered="false" v-if="currUserInfo">
|
|
3
|
-
<x-form-table
|
|
4
|
-
title="报建记录查询"
|
|
5
|
-
:queryParamsName="queryParamsName"
|
|
6
|
-
:fixedQueryForm="fixedQueryForm"
|
|
7
|
-
@action="action"
|
|
8
|
-
service-name="af-revenue"
|
|
9
|
-
ref="xFormTable">
|
|
10
|
-
</x-form-table>
|
|
11
|
-
</a-card>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import { mapState } from 'vuex'
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
name: 'ApplyRecordQuery',
|
|
19
|
-
components: {
|
|
20
|
-
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
21
|
-
},
|
|
22
|
-
data () {
|
|
23
|
-
return {
|
|
24
|
-
// 查询配置名称
|
|
25
|
-
queryParamsName: 'ApplyRecordQueryCRUD',
|
|
26
|
-
// 查询表单固定值
|
|
27
|
-
fixedQueryForm: { ab_f_userinfo_id: this.currUserInfo.f_userinfo_id },
|
|
28
|
-
// 是否显示详情抽屉
|
|
29
|
-
detailVisible: false,
|
|
30
|
-
// 当前记录
|
|
31
|
-
record: {}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
props: {
|
|
35
|
-
currUserInfo: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default: () => undefined
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
mounted () {
|
|
41
|
-
this.$refs.xFormTable.refresh(true)
|
|
42
|
-
},
|
|
43
|
-
methods: {
|
|
44
|
-
action (record, id, actionType) {
|
|
45
|
-
this.detailVisible = true
|
|
46
|
-
console.log('触发了详情操作', record, id, actionType)
|
|
47
|
-
},
|
|
48
|
-
onClose () {
|
|
49
|
-
this.detailVisible = false
|
|
50
|
-
// 关闭详情之后重新查询表单
|
|
51
|
-
this.$refs.xFormTable.refreshTable(true)
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
computed: {
|
|
56
|
-
...mapState('account', { currUser: 'user' }),
|
|
57
|
-
...mapState('setting', { isMobile: 'isMobile' })
|
|
58
|
-
},
|
|
59
|
-
}
|
|
60
|
-
</script>
|
|
61
|
-
|
|
62
|
-
<style scoped>
|
|
63
|
-
|
|
64
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<a-card :bordered="false" v-if="currUserInfo">
|
|
3
|
+
<x-form-table
|
|
4
|
+
title="报建记录查询"
|
|
5
|
+
:queryParamsName="queryParamsName"
|
|
6
|
+
:fixedQueryForm="fixedQueryForm"
|
|
7
|
+
@action="action"
|
|
8
|
+
service-name="af-revenue"
|
|
9
|
+
ref="xFormTable">
|
|
10
|
+
</x-form-table>
|
|
11
|
+
</a-card>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import { mapState } from 'vuex'
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: 'ApplyRecordQuery',
|
|
19
|
+
components: {
|
|
20
|
+
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
21
|
+
},
|
|
22
|
+
data () {
|
|
23
|
+
return {
|
|
24
|
+
// 查询配置名称
|
|
25
|
+
queryParamsName: 'ApplyRecordQueryCRUD',
|
|
26
|
+
// 查询表单固定值
|
|
27
|
+
fixedQueryForm: { ab_f_userinfo_id: this.currUserInfo.f_userinfo_id },
|
|
28
|
+
// 是否显示详情抽屉
|
|
29
|
+
detailVisible: false,
|
|
30
|
+
// 当前记录
|
|
31
|
+
record: {}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
props: {
|
|
35
|
+
currUserInfo: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: () => undefined
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
mounted () {
|
|
41
|
+
this.$refs.xFormTable.refresh(true)
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
action (record, id, actionType) {
|
|
45
|
+
this.detailVisible = true
|
|
46
|
+
console.log('触发了详情操作', record, id, actionType)
|
|
47
|
+
},
|
|
48
|
+
onClose () {
|
|
49
|
+
this.detailVisible = false
|
|
50
|
+
// 关闭详情之后重新查询表单
|
|
51
|
+
this.$refs.xFormTable.refreshTable(true)
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
computed: {
|
|
56
|
+
...mapState('account', { currUser: 'user' }),
|
|
57
|
+
...mapState('setting', { isMobile: 'isMobile' })
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
</script>
|
|
61
|
+
|
|
62
|
+
<style scoped>
|
|
63
|
+
|
|
64
|
+
</style>
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
export default {
|
|
3
|
-
name: 'ExceptionQuery',
|
|
4
|
-
components: {
|
|
5
|
-
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
6
|
-
},
|
|
7
|
-
props: {
|
|
8
|
-
currUserInfo: {
|
|
9
|
-
type: Object,
|
|
10
|
-
default: () => undefined
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
mounted () {
|
|
14
|
-
this.$refs.xFormTable.refresh(true)
|
|
15
|
-
},
|
|
16
|
-
data () {
|
|
17
|
-
return {
|
|
18
|
-
// 查询配置名称
|
|
19
|
-
queryParamsName: 'ExceptionRecordQueryCRUD',
|
|
20
|
-
fixedQueryForm: { ex_f_userfiles_id: this.currUserInfo.f_userfiles_id },
|
|
21
|
-
// 新增表单固定值
|
|
22
|
-
fixedAddForm: {},
|
|
23
|
-
// 是否显示详情抽屉
|
|
24
|
-
detailVisible: false,
|
|
25
|
-
// 当前记录
|
|
26
|
-
record: {}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
<template>
|
|
33
|
-
<a-card :bordered="false">
|
|
34
|
-
<x-form-table
|
|
35
|
-
title="异常查询"
|
|
36
|
-
:queryParamsName="queryParamsName"
|
|
37
|
-
:fixedQueryForm="fixedQueryForm"
|
|
38
|
-
ref="xFormTable">
|
|
39
|
-
</x-form-table>
|
|
40
|
-
</a-card>
|
|
41
|
-
</template>
|
|
42
|
-
|
|
43
|
-
<style scoped>
|
|
44
|
-
|
|
45
|
-
</style>
|
|
1
|
+
<script>
|
|
2
|
+
export default {
|
|
3
|
+
name: 'ExceptionQuery',
|
|
4
|
+
components: {
|
|
5
|
+
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
6
|
+
},
|
|
7
|
+
props: {
|
|
8
|
+
currUserInfo: {
|
|
9
|
+
type: Object,
|
|
10
|
+
default: () => undefined
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
mounted () {
|
|
14
|
+
this.$refs.xFormTable.refresh(true)
|
|
15
|
+
},
|
|
16
|
+
data () {
|
|
17
|
+
return {
|
|
18
|
+
// 查询配置名称
|
|
19
|
+
queryParamsName: 'ExceptionRecordQueryCRUD',
|
|
20
|
+
fixedQueryForm: { ex_f_userfiles_id: this.currUserInfo.f_userfiles_id },
|
|
21
|
+
// 新增表单固定值
|
|
22
|
+
fixedAddForm: {},
|
|
23
|
+
// 是否显示详情抽屉
|
|
24
|
+
detailVisible: false,
|
|
25
|
+
// 当前记录
|
|
26
|
+
record: {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<template>
|
|
33
|
+
<a-card :bordered="false">
|
|
34
|
+
<x-form-table
|
|
35
|
+
title="异常查询"
|
|
36
|
+
:queryParamsName="queryParamsName"
|
|
37
|
+
:fixedQueryForm="fixedQueryForm"
|
|
38
|
+
ref="xFormTable">
|
|
39
|
+
</x-form-table>
|
|
40
|
+
</a-card>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<style scoped>
|
|
44
|
+
|
|
45
|
+
</style>
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-card :bordered="false" v-if="currUserInfo">
|
|
3
|
-
<x-form-table
|
|
4
|
-
title="安检记录查询"
|
|
5
|
-
:queryParamsName="queryParamsName"
|
|
6
|
-
:fixedQueryForm="fixedQueryForm"
|
|
7
|
-
@action="action"
|
|
8
|
-
service-name="af-revenue"
|
|
9
|
-
ref="xFormTable">
|
|
10
|
-
</x-form-table>
|
|
11
|
-
</a-card>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import { mapState } from 'vuex'
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
name: 'SafeCheckPaperV3RecordQuery',
|
|
19
|
-
components: {
|
|
20
|
-
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
21
|
-
},
|
|
22
|
-
data () {
|
|
23
|
-
return {
|
|
24
|
-
// 查询配置名称
|
|
25
|
-
queryParamsName: 'SafeCheckRecordQueryCRUD',
|
|
26
|
-
// 查询表单固定值
|
|
27
|
-
fixedQueryForm: { tcp_f_userinfoid: this.currUserInfo.f_userinfo_id },
|
|
28
|
-
// 是否显示详情抽屉
|
|
29
|
-
detailVisible: false,
|
|
30
|
-
// 当前记录
|
|
31
|
-
record: {}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
props: {
|
|
35
|
-
currUserInfo: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default: () => undefined
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
mounted () {
|
|
41
|
-
this.$refs.xFormTable.refresh(true)
|
|
42
|
-
},
|
|
43
|
-
methods: {
|
|
44
|
-
action (record, id, actionType) {
|
|
45
|
-
this.detailVisible = true
|
|
46
|
-
console.log('触发了详情操作', record, id, actionType)
|
|
47
|
-
},
|
|
48
|
-
onClose () {
|
|
49
|
-
this.detailVisible = false
|
|
50
|
-
// 关闭详情之后重新查询表单
|
|
51
|
-
this.$refs.xFormTable.refreshTable(true)
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
computed: {
|
|
56
|
-
...mapState('account', { currUser: 'user' }),
|
|
57
|
-
...mapState('setting', { isMobile: 'isMobile' })
|
|
58
|
-
},
|
|
59
|
-
}
|
|
60
|
-
</script>
|
|
61
|
-
|
|
62
|
-
<style scoped>
|
|
63
|
-
|
|
64
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<a-card :bordered="false" v-if="currUserInfo">
|
|
3
|
+
<x-form-table
|
|
4
|
+
title="安检记录查询"
|
|
5
|
+
:queryParamsName="queryParamsName"
|
|
6
|
+
:fixedQueryForm="fixedQueryForm"
|
|
7
|
+
@action="action"
|
|
8
|
+
service-name="af-revenue"
|
|
9
|
+
ref="xFormTable">
|
|
10
|
+
</x-form-table>
|
|
11
|
+
</a-card>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import { mapState } from 'vuex'
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: 'SafeCheckPaperV3RecordQuery',
|
|
19
|
+
components: {
|
|
20
|
+
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
21
|
+
},
|
|
22
|
+
data () {
|
|
23
|
+
return {
|
|
24
|
+
// 查询配置名称
|
|
25
|
+
queryParamsName: 'SafeCheckRecordQueryCRUD',
|
|
26
|
+
// 查询表单固定值
|
|
27
|
+
fixedQueryForm: { tcp_f_userinfoid: this.currUserInfo.f_userinfo_id },
|
|
28
|
+
// 是否显示详情抽屉
|
|
29
|
+
detailVisible: false,
|
|
30
|
+
// 当前记录
|
|
31
|
+
record: {}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
props: {
|
|
35
|
+
currUserInfo: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: () => undefined
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
mounted () {
|
|
41
|
+
this.$refs.xFormTable.refresh(true)
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
action (record, id, actionType) {
|
|
45
|
+
this.detailVisible = true
|
|
46
|
+
console.log('触发了详情操作', record, id, actionType)
|
|
47
|
+
},
|
|
48
|
+
onClose () {
|
|
49
|
+
this.detailVisible = false
|
|
50
|
+
// 关闭详情之后重新查询表单
|
|
51
|
+
this.$refs.xFormTable.refreshTable(true)
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
computed: {
|
|
56
|
+
...mapState('account', { currUser: 'user' }),
|
|
57
|
+
...mapState('setting', { isMobile: 'isMobile' })
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
</script>
|
|
61
|
+
|
|
62
|
+
<style scoped>
|
|
63
|
+
|
|
64
|
+
</style>
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-card :bordered="false" v-if="currUserInfo">
|
|
3
|
-
<x-form-table
|
|
4
|
-
title="工单记录查询"
|
|
5
|
-
:queryParamsName="queryParamsName"
|
|
6
|
-
:fixedQueryForm="fixedQueryForm"
|
|
7
|
-
@action="action"
|
|
8
|
-
service-name="af-revenue"
|
|
9
|
-
ref="xFormTable">
|
|
10
|
-
</x-form-table>
|
|
11
|
-
</a-card>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import { mapState } from 'vuex'
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
name: 'TelephoneV3RecordQuery',
|
|
19
|
-
components: {
|
|
20
|
-
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
21
|
-
},
|
|
22
|
-
data () {
|
|
23
|
-
return {
|
|
24
|
-
// 查询配置名称
|
|
25
|
-
queryParamsName: 'TelephoneRecordQueryCRUD',
|
|
26
|
-
// 查询表单固定值
|
|
27
|
-
fixedQueryForm: { ts_f_userinfo_id: this.currUserInfo.f_userinfo_id },
|
|
28
|
-
// 是否显示详情抽屉
|
|
29
|
-
detailVisible: false,
|
|
30
|
-
// 当前记录
|
|
31
|
-
record: {}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
props: {
|
|
35
|
-
currUserInfo: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default: () => undefined
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
mounted () {
|
|
41
|
-
this.$refs.xFormTable.refresh(true)
|
|
42
|
-
},
|
|
43
|
-
methods: {
|
|
44
|
-
action (record, id, actionType) {
|
|
45
|
-
this.detailVisible = true
|
|
46
|
-
console.log('触发了详情操作', record, id, actionType)
|
|
47
|
-
},
|
|
48
|
-
onClose () {
|
|
49
|
-
this.detailVisible = false
|
|
50
|
-
// 关闭详情之后重新查询表单
|
|
51
|
-
this.$refs.xFormTable.refreshTable(true)
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
computed: {
|
|
56
|
-
...mapState('account', { currUser: 'user' }),
|
|
57
|
-
...mapState('setting', { isMobile: 'isMobile' })
|
|
58
|
-
},
|
|
59
|
-
}
|
|
60
|
-
</script>
|
|
61
|
-
|
|
62
|
-
<style scoped>
|
|
63
|
-
|
|
64
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<a-card :bordered="false" v-if="currUserInfo">
|
|
3
|
+
<x-form-table
|
|
4
|
+
title="工单记录查询"
|
|
5
|
+
:queryParamsName="queryParamsName"
|
|
6
|
+
:fixedQueryForm="fixedQueryForm"
|
|
7
|
+
@action="action"
|
|
8
|
+
service-name="af-revenue"
|
|
9
|
+
ref="xFormTable">
|
|
10
|
+
</x-form-table>
|
|
11
|
+
</a-card>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import { mapState } from 'vuex'
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: 'TelephoneV3RecordQuery',
|
|
19
|
+
components: {
|
|
20
|
+
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
|
21
|
+
},
|
|
22
|
+
data () {
|
|
23
|
+
return {
|
|
24
|
+
// 查询配置名称
|
|
25
|
+
queryParamsName: 'TelephoneRecordQueryCRUD',
|
|
26
|
+
// 查询表单固定值
|
|
27
|
+
fixedQueryForm: { ts_f_userinfo_id: this.currUserInfo.f_userinfo_id },
|
|
28
|
+
// 是否显示详情抽屉
|
|
29
|
+
detailVisible: false,
|
|
30
|
+
// 当前记录
|
|
31
|
+
record: {}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
props: {
|
|
35
|
+
currUserInfo: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: () => undefined
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
mounted () {
|
|
41
|
+
this.$refs.xFormTable.refresh(true)
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
action (record, id, actionType) {
|
|
45
|
+
this.detailVisible = true
|
|
46
|
+
console.log('触发了详情操作', record, id, actionType)
|
|
47
|
+
},
|
|
48
|
+
onClose () {
|
|
49
|
+
this.detailVisible = false
|
|
50
|
+
// 关闭详情之后重新查询表单
|
|
51
|
+
this.$refs.xFormTable.refreshTable(true)
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
computed: {
|
|
56
|
+
...mapState('account', { currUser: 'user' }),
|
|
57
|
+
...mapState('setting', { isMobile: 'isMobile' })
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
</script>
|
|
61
|
+
|
|
62
|
+
<style scoped>
|
|
63
|
+
|
|
64
|
+
</style>
|