@qqt-product/system 0.0.1 → 0.0.16
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/dist/index.es.js +53240 -10634
- package/dist/index.umd.js +94 -21
- package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +2878 -0
- package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +2871 -0
- package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +2878 -0
- package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +23 -4
- package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +9 -4
- package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +9 -4
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +2864 -0
- package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +2 -3
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +2864 -0
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +2876 -0
- package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +29 -14
- package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +2 -6
- package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +5 -8
- package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +9 -4
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +2872 -0
- package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +126 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +2864 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +2887 -0
- package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +25 -5
- package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +7 -0
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +221 -28
- package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue.d.ts +45 -0
- package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +24 -5
- package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +23 -7
- package/dist/lib/components/QRoleList/src/useConfigData.d.ts +1 -11
- package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +7 -3
- package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +15 -35
- package/dist/lib/components/QUsageList/src/useConfigData.d.ts +111 -10
- package/dist/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
- package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +9 -10
- package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +1209 -0
- package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +1 -1
- package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +8 -7
- package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +2 -3
- package/dist/lib/components/index.d.ts +2 -2
- package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +2863 -0
- package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +2872 -0
- package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +8 -11
- package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +16 -10
- package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +2 -9
- package/dist/lib/components/loginLogList/src/index.vue.d.ts +2 -8
- package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +2 -12
- package/dist/lib/components/operateLogList/src/index.vue.d.ts +2 -13
- package/dist/style.css +1 -1
- package/dist/vite-env.d.ts +13 -13
- package/package.json +13 -11
- package/src/lib/components/QAccountList/src/QAccountCreate.vue +272 -0
- package/src/lib/components/QAccountList/src/QAccountDetail.vue +82 -14
- package/src/lib/components/QAccountList/src/QAccountEdit.vue +65 -33
- package/src/lib/components/QAccountList/src/QAccountList.vue +532 -530
- package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +143 -137
- package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +172 -166
- package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +123 -124
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +66 -18
- package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +151 -122
- package/src/lib/components/QI18nList/src/QI18nList.vue +365 -361
- package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +103 -94
- package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +109 -105
- package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -3
- package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +218 -221
- package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +110 -117
- package/src/lib/components/QPermissionDataList/src/form.vue +109 -109
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +1 -1
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +120 -32
- package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +189 -163
- package/src/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.ts +84 -0
- package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -22
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +134 -85
- package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue +91 -0
- package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +276 -263
- package/src/lib/components/QRoleList/src/QRoleList.vue +332 -288
- package/src/lib/components/QRoleList/src/useConfigData.ts +1 -6
- package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +304 -302
- package/src/lib/components/QUsageList/src/QUsageList.vue +287 -82
- package/src/lib/components/QUsageList/src/useConfigData.ts +147 -13
- package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -140
- package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +28 -28
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +130 -42
- package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +2 -2
- package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +2 -2
- package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +12 -12
- package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +276 -268
- package/src/lib/components/QcustomConfigList/src/useConfigData.ts +1 -1
- package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +124 -125
- package/src/lib/components/index.ts +78 -78
- package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +2 -10
- package/src/lib/components/integratedNodesList/src/index.vue +130 -136
- package/src/lib/components/integratedReportList/src/index.vue +55 -30
- package/src/lib/components/integratedReportSearchList/src/index.vue +106 -66
- package/src/lib/components/loginAbnormalLogList/src/index.vue +43 -50
- package/src/lib/components/loginLogList/src/index.vue +51 -57
- package/src/lib/components/loginSupplierLogList/src/index.vue +53 -63
- package/src/lib/components/operateLogList/src/index.vue +46 -57
- package/src/vite-env.d.ts +13 -13
- package/tsconfig.json +24 -24
- package/vite.config.ts +1 -1
- package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +0 -80
- package/dist/lib/components/QCompanyermissionList/src/types.d.ts +0 -44
- package/dist/lib/components/integratedReportList/src/index.vue.d.ts +0 -70
- package/src/lib/components/QCompanyermissionList/src/editTree.vue +0 -291
- package/src/lib/components/QCompanyermissionList/src/form.vue +0 -238
- package/src/lib/components/QCompanyermissionList/src/index.vue +0 -309
- package/src/lib/components/QCompanyermissionList/src/types.ts +0 -44
|
@@ -1,94 +1,103 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="height: 100%">
|
|
3
|
-
<q-list-layout ref="listLayoutRef" v-if="!showEditPage" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script lang="ts">
|
|
8
|
-
//JS
|
|
9
|
-
import { defineComponent, reactive, toRefs } from 'vue'
|
|
10
|
-
//hook
|
|
11
|
-
import { useConfigData } from './useConfigData'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
const {
|
|
80
|
-
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
//
|
|
89
|
-
//
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height: 100%">
|
|
3
|
+
<q-list-layout ref="listLayoutRef" v-if="!showEditPage" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script lang="ts">
|
|
8
|
+
//JS
|
|
9
|
+
import { defineComponent, reactive, toRefs, inject } from 'vue'
|
|
10
|
+
//hook
|
|
11
|
+
import { useConfigData } from './useConfigData'
|
|
12
|
+
//ts
|
|
13
|
+
interface layimTS {
|
|
14
|
+
openGruopChat: (parmas: object) => void
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default defineComponent({
|
|
18
|
+
name: 'QImChatGroupList',
|
|
19
|
+
|
|
20
|
+
props: {
|
|
21
|
+
userInfo: {
|
|
22
|
+
type: Object,
|
|
23
|
+
defalut: () => {
|
|
24
|
+
return {}
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
setup() {
|
|
29
|
+
//inject
|
|
30
|
+
const layIM = inject('Q_APPLICATION_IM') as layimTS
|
|
31
|
+
//data
|
|
32
|
+
const pageData = reactive({
|
|
33
|
+
statusConfig: {
|
|
34
|
+
show: false,
|
|
35
|
+
},
|
|
36
|
+
optionConfig: {
|
|
37
|
+
attrs: {},
|
|
38
|
+
extend: {},
|
|
39
|
+
options: [
|
|
40
|
+
// { authorityCode: 'template#templateHead:edit', type: 'edit', title: '编辑', click: handleEdit, allow: allowEdit },
|
|
41
|
+
// { authorityCode: 'template#templateHead:copyById', type: 'copyById', title: '复制', click: handleCusotmCopy },
|
|
42
|
+
// { authorityCode: 'template#templateHead:cancel', type: 'cancel', title: '作废', click: handleCustomCancel, allow: allowCancel },
|
|
43
|
+
{
|
|
44
|
+
type: 'chat',
|
|
45
|
+
title: '查看',
|
|
46
|
+
click: handleViewChat,
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
buttonConfig: {
|
|
51
|
+
attrs: {},
|
|
52
|
+
extend: {},
|
|
53
|
+
buttons: [
|
|
54
|
+
// {label: srmI18n(`${getLangAccount()}#i18n_title_listCustom`, '列自定义'), icon: 'setting', clickFn: this.settingColumns}
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
queryConfig: {
|
|
58
|
+
attrs: {},
|
|
59
|
+
extend: {},
|
|
60
|
+
form: [
|
|
61
|
+
{
|
|
62
|
+
type: 'input',
|
|
63
|
+
label: '群组名称',
|
|
64
|
+
fieldName: 'keyWord',
|
|
65
|
+
placeholder: '请输入群组名称',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'select',
|
|
69
|
+
label: 'IM群聊单据类型',
|
|
70
|
+
fieldName: 'recordType',
|
|
71
|
+
dictCode: 'ImRecordType',
|
|
72
|
+
placeholder: '请选择单据类型',
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
pagerConfig: {},
|
|
77
|
+
})
|
|
78
|
+
//data-hook
|
|
79
|
+
const { showEditPage, apiUrls } = useConfigData()
|
|
80
|
+
//methods
|
|
81
|
+
// function allowDelete() {
|
|
82
|
+
// console.log('userInfo.value?.userInfo?.elsAccount', userInfo.value?.userInfo?.elsAccount)
|
|
83
|
+
// if (userInfo.value?.userInfo?.elsAccount != '100000') {
|
|
84
|
+
// return true
|
|
85
|
+
// } else {
|
|
86
|
+
// return false
|
|
87
|
+
// }
|
|
88
|
+
// }
|
|
89
|
+
//methods
|
|
90
|
+
function handleViewChat({ row }) {
|
|
91
|
+
let chatInfo = {
|
|
92
|
+
groupname: row.name,
|
|
93
|
+
avatar: row.avatar || '',
|
|
94
|
+
id: row.id,
|
|
95
|
+
}
|
|
96
|
+
console.log('123123', layIM)
|
|
97
|
+
layIM.openGruopChat(chatInfo)
|
|
98
|
+
}
|
|
99
|
+
return { showEditPage, apiUrls, pageData }
|
|
100
|
+
},
|
|
101
|
+
})
|
|
102
|
+
</script>
|
|
103
|
+
<style scoped></style>
|
|
@@ -1,105 +1,109 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="height: 100%">
|
|
3
|
-
<q-list-layout ref="listLayoutRef" v-if="!showEditPage" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script lang="ts">
|
|
8
|
-
//JS
|
|
9
|
-
import { defineComponent, reactive, inject } from 'vue'
|
|
10
|
-
//hook
|
|
11
|
-
import { useConfigData } from './useConfigData'
|
|
12
|
-
//ts
|
|
13
|
-
import { INJECT_HTTP, HttpClient, MapObjectNoneType } from '../../../utils/global.types'
|
|
14
|
-
import { message } from '@qqt-product/ui'
|
|
15
|
-
export default defineComponent({
|
|
16
|
-
name: 'QMqRecordList',
|
|
17
|
-
props: {
|
|
18
|
-
userInfo: {
|
|
19
|
-
type: Object,
|
|
20
|
-
defalut: () => {
|
|
21
|
-
return {}
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
setup() {
|
|
26
|
-
//data-hook
|
|
27
|
-
const { showEditPage, apiUrls, listLayoutRef } = useConfigData()
|
|
28
|
-
const qHttp = inject(INJECT_HTTP) as HttpClient
|
|
29
|
-
// const { userInfo } = toRefs(props)
|
|
30
|
-
//data
|
|
31
|
-
const pageData = reactive({
|
|
32
|
-
statusConfig: {
|
|
33
|
-
show: false,
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
attrs: {},
|
|
37
|
-
extend: {},
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
buttonConfig: {
|
|
41
|
-
attrs: {},
|
|
42
|
-
extend: {},
|
|
43
|
-
buttons: [
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
{
|
|
59
|
-
type: 'select',
|
|
60
|
-
label: '
|
|
61
|
-
dictCode: '
|
|
62
|
-
fieldName: '
|
|
63
|
-
placeholder: '
|
|
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
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height: 100%">
|
|
3
|
+
<q-list-layout ref="listLayoutRef" v-if="!showEditPage" :pageData="pageData" :apiUrls="apiUrls" />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script lang="ts">
|
|
8
|
+
//JS
|
|
9
|
+
import { defineComponent, reactive, inject } from 'vue'
|
|
10
|
+
//hook
|
|
11
|
+
import { useConfigData } from './useConfigData'
|
|
12
|
+
//ts
|
|
13
|
+
import { INJECT_HTTP, HttpClient, MapObjectNoneType } from '../../../utils/global.types'
|
|
14
|
+
import { message } from '@qqt-product/ui'
|
|
15
|
+
export default defineComponent({
|
|
16
|
+
name: 'QMqRecordList',
|
|
17
|
+
props: {
|
|
18
|
+
userInfo: {
|
|
19
|
+
type: Object,
|
|
20
|
+
defalut: () => {
|
|
21
|
+
return {}
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
setup() {
|
|
26
|
+
//data-hook
|
|
27
|
+
const { showEditPage, apiUrls, listLayoutRef } = useConfigData()
|
|
28
|
+
const qHttp = inject(INJECT_HTTP) as HttpClient
|
|
29
|
+
// const { userInfo } = toRefs(props)
|
|
30
|
+
//data
|
|
31
|
+
const pageData = reactive({
|
|
32
|
+
statusConfig: {
|
|
33
|
+
show: false,
|
|
34
|
+
},
|
|
35
|
+
optionConfig: {
|
|
36
|
+
attrs: {},
|
|
37
|
+
extend: {},
|
|
38
|
+
options: [{ authorityCode: 'mq#mqRecord:retry', type: 'delete', title: '重试 ', click: retry, disabled: allowRetryOpt }],
|
|
39
|
+
},
|
|
40
|
+
buttonConfig: {
|
|
41
|
+
attrs: {},
|
|
42
|
+
extend: {},
|
|
43
|
+
buttons: [
|
|
44
|
+
{
|
|
45
|
+
label: '列自定义',
|
|
46
|
+
icon: {
|
|
47
|
+
type: 'icon-Q-setting',
|
|
48
|
+
},
|
|
49
|
+
type: 'setting',
|
|
50
|
+
},
|
|
51
|
+
// {label: this.$srmI18n(`${this.$getLangAccount()}#i18n_title_listCustom`, '列自定义'), icon: 'setting', clickFn: this.settingColumns}
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
queryConfig: {
|
|
55
|
+
attrs: {},
|
|
56
|
+
extend: {},
|
|
57
|
+
form: [
|
|
58
|
+
{
|
|
59
|
+
type: 'select',
|
|
60
|
+
label: '消息分组',
|
|
61
|
+
dictCode: 'mqGroup',
|
|
62
|
+
fieldName: 'msgGroup',
|
|
63
|
+
placeholder: '请选择消息分组',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: 'select',
|
|
67
|
+
label: '消息状态',
|
|
68
|
+
dictCode: 'mqStatus',
|
|
69
|
+
fieldName: 'msgStatus',
|
|
70
|
+
placeholder: '请选择消息状态',
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
pagerConfig: {},
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
//methods
|
|
78
|
+
function allowRetryOpt({ row = {} as MapObjectNoneType }) {
|
|
79
|
+
if (row.msgStatus !== '1' && row.msgStatus !== '0') {
|
|
80
|
+
return false
|
|
81
|
+
} else {
|
|
82
|
+
return true
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function retry({ row = {} as MapObjectNoneType }) {
|
|
87
|
+
listLayoutRef.value.loading = true
|
|
88
|
+
qHttp
|
|
89
|
+
.post({
|
|
90
|
+
url: apiUrls.value.retry,
|
|
91
|
+
data: row,
|
|
92
|
+
})
|
|
93
|
+
.then((res) => {
|
|
94
|
+
if (res.success) {
|
|
95
|
+
listLayoutRef.value.fetchListData()
|
|
96
|
+
message.success(res.message)
|
|
97
|
+
} else {
|
|
98
|
+
message.warning(res.message)
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
.finally(() => {
|
|
102
|
+
listLayoutRef.value.loading = false
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
return { showEditPage, apiUrls, pageData, listLayoutRef }
|
|
106
|
+
},
|
|
107
|
+
})
|
|
108
|
+
</script>
|
|
109
|
+
<style scoped></style>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>auth</div>
|
|
3
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<div>auth</div>
|
|
3
|
+
</template>
|