Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5766dc81
authored
Dec 02, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
修复 notify 在 IDEA 报错的问题
parent
b103c408
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
15 deletions
+16
-15
src/api/system/notify/message/index.ts
+1
-0
src/api/system/notify/template/index.ts
+1
-1
src/views/system/notify/message/NotifyMessageDetail.vue
+1
-1
src/views/system/notify/message/index.vue
+2
-2
src/views/system/notify/my/MyNotifyMessageDetail.vue
+1
-1
src/views/system/notify/my/index.vue
+1
-1
src/views/system/notify/template/NotifyTemplateForm.vue
+6
-6
src/views/system/notify/template/NotifyTemplateSendForm.vue
+2
-2
src/views/system/notify/template/index.vue
+1
-1
No files found.
src/api/system/notify/message/index.ts
View file @
5766dc81
...
...
@@ -13,6 +13,7 @@ export interface NotifyMessageVO {
templateParams
:
string
readStatus
:
boolean
readTime
:
Date
createTime
:
Date
}
// 查询站内信消息列表
...
...
src/api/system/notify/template/index.ts
View file @
5766dc81
...
...
@@ -6,7 +6,7 @@ export interface NotifyTemplateVO {
nickname
:
string
code
:
string
content
:
string
type
:
number
type
?
:
number
params
:
string
status
:
number
remark
:
string
...
...
src/views/system/notify/message/NotifyMessageDetail.vue
View file @
5766dc81
...
...
@@ -49,7 +49,7 @@ defineOptions({ name: 'SystemNotifyMessageDetail' })
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
detailLoading
=
ref
(
false
)
// 表单的加载中
const
detailData
=
ref
()
// 详情数据
const
detailData
=
ref
(
{}
as
NotifyMessageApi
.
NotifyMessageVO
)
// 详情数据
/** 打开弹窗 */
const
open
=
async
(
data
:
NotifyMessageApi
.
NotifyMessageVO
)
=>
{
...
...
src/views/system/notify/message/index.vue
View file @
5766dc81
...
...
@@ -28,7 +28,7 @@
>
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:value=
"dict.value"
/>
...
...
@@ -52,7 +52,7 @@
>
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:value=
"dict.value"
/>
...
...
src/views/system/notify/my/MyNotifyMessageDetail.vue
View file @
5766dc81
...
...
@@ -31,7 +31,7 @@ defineOptions({ name: 'MyNotifyMessageDetailDetail' })
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
detailLoading
=
ref
(
false
)
// 表单的加载中
const
detailData
=
ref
()
// 详情数据
const
detailData
=
ref
(
{}
as
NotifyMessageApi
.
NotifyMessageVO
)
// 详情数据
/** 打开弹窗 */
const
open
=
async
(
data
:
NotifyMessageApi
.
NotifyMessageVO
)
=>
{
...
...
src/views/system/notify/my/index.vue
View file @
5766dc81
...
...
@@ -19,7 +19,7 @@
>
<el-option
v-for=
"dict in getBoolDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:value=
"dict.value"
/>
...
...
src/views/system/notify/template/NotifyTemplateForm.vue
View file @
5766dc81
...
...
@@ -23,7 +23,7 @@
<el-select
v-model=
"formData.type"
placeholder=
"请选择类型"
>
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_NOTIFY_TEMPLATE_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:value=
"dict.value"
/>
...
...
@@ -33,7 +33,7 @@
<el-radio-group
v-model=
"formData.status"
>
<el-radio
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.value as string"
>
{{
dict
.
label
}}
...
...
@@ -61,12 +61,12 @@ const dialogTitle = ref('') // 弹窗的标题
const
formLoading
=
ref
(
false
)
// 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const
formType
=
ref
(
''
)
// 表单的类型
const
formData
=
ref
<
NotifyTemplateApi
.
NotifyTemplateVO
>
({
id
:
null
,
id
:
undefined
,
name
:
''
,
nickname
:
''
,
code
:
''
,
content
:
''
,
type
:
null
,
type
:
undefined
,
params
:
''
,
status
:
CommonStatusEnum
.
ENABLE
,
remark
:
''
...
...
@@ -126,12 +126,12 @@ const submitForm = async () => {
/** 重置表单 */
const
resetForm
=
()
=>
{
formData
.
value
=
{
id
:
null
,
id
:
undefined
,
name
:
''
,
nickname
:
''
,
code
:
''
,
content
:
''
,
type
:
null
,
type
:
undefined
,
params
:
''
,
status
:
CommonStatusEnum
.
ENABLE
,
remark
:
''
...
...
src/views/system/notify/template/NotifyTemplateSendForm.vue
View file @
5766dc81
...
...
@@ -19,7 +19,7 @@
<el-radio-group
v-model=
"formData.userType"
>
<el-radio
v-for=
"dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.value as number"
>
{{
dict
.
label
}}
...
...
@@ -71,7 +71,7 @@ const formLoading = ref(false) // 表单的加载中:1)修改时的数据加
const
formData
=
ref
({
content
:
''
,
params
:
{},
userId
:
null
,
userId
:
undefined
,
userType
:
1
,
templateCode
:
''
,
templateParams
:
new
Map
()
...
...
src/views/system/notify/template/index.vue
View file @
5766dc81
...
...
@@ -37,7 +37,7 @@
>
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:value=
"dict.value"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment