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
a6deb69d
authored
Dec 02, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
修复 social 在 IDEA 报错的问题
parent
3407cc66
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
15 deletions
+12
-15
src/views/system/social/client/SocialClientForm.vue
+2
-2
src/views/system/social/client/index.vue
+8
-8
src/views/system/social/user/SocialUserDetail.vue
+1
-1
src/views/system/social/user/index.vue
+1
-4
No files found.
src/views/system/social/client/SocialClientForm.vue
View file @
a6deb69d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-radio-group
v-model=
"formData.socialType"
>
<el-radio-group
v-model=
"formData.socialType"
>
<el-radio
<el-radio
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.value"
:label=
"dict.value"
>
>
{{
dict
.
label
}}
{{
dict
.
label
}}
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<el-radio-group
v-model=
"formData.status"
>
<el-radio-group
v-model=
"formData.status"
>
<el-radio
<el-radio
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.value"
:label=
"dict.value"
>
>
{{
dict
.
label
}}
{{
dict
.
label
}}
...
...
src/views/system/social/client/index.vue
View file @
a6deb69d
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
>
>
<el-option
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:label=
"dict.label"
:value=
"dict.value"
:value=
"dict.value"
/>
/>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
>
>
<el-option
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:label=
"dict.label"
:value=
"dict.value"
:value=
"dict.value"
/>
/>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<el-select
v-model=
"queryParams.status"
class=
"!w-240px"
clearable
placeholder=
"请选择状态"
>
<el-select
v-model=
"queryParams.status"
class=
"!w-240px"
clearable
placeholder=
"请选择状态"
>
<el-option
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:label=
"dict.label"
:value=
"dict.value"
:value=
"dict.value"
/>
/>
...
@@ -169,11 +169,11 @@ const list = ref([]) // 列表的数据
...
@@ -169,11 +169,11 @@ const list = ref([]) // 列表的数据
const
queryParams
=
reactive
({
const
queryParams
=
reactive
({
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
null
,
name
:
undefined
,
socialType
:
null
,
socialType
:
undefined
,
userType
:
null
,
userType
:
undefined
,
clientId
:
null
,
clientId
:
undefined
,
status
:
null
status
:
undefined
})
})
const
queryFormRef
=
ref
()
// 搜索的表单
const
queryFormRef
=
ref
()
// 搜索的表单
...
...
src/views/system/social/user/SocialUserDetail.vue
View file @
a6deb69d
...
@@ -44,7 +44,7 @@ import * as SocialUserApi from '@/api/system/social/user'
...
@@ -44,7 +44,7 @@ import * as SocialUserApi from '@/api/system/social/user'
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
dialogVisible
=
ref
(
false
)
// 弹窗的是否展示
const
detailLoading
=
ref
(
false
)
// 表单的加载中
const
detailLoading
=
ref
(
false
)
// 表单的加载中
const
detailData
=
ref
({})
// 详情数据
const
detailData
=
ref
({}
as
SocialUserApi
.
SocialUserVO
)
// 详情数据
/** 打开弹窗 */
/** 打开弹窗 */
const
open
=
async
(
id
:
number
)
=>
{
const
open
=
async
(
id
:
number
)
=>
{
...
...
src/views/system/social/user/index.vue
View file @
a6deb69d
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
>
>
<el-option
<el-option
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.SYSTEM_SOCIAL_TYPE)"
:key=
"dict.value"
:key=
"dict.value
as number
"
:label=
"dict.label"
:label=
"dict.label"
:value=
"dict.value"
:value=
"dict.value"
/>
/>
...
@@ -131,9 +131,6 @@ import { createImageViewer } from '@/components/ImageViewer'
...
@@ -131,9 +131,6 @@ import { createImageViewer } from '@/components/ImageViewer'
defineOptions
({
name
:
'SocialUser'
})
defineOptions
({
name
:
'SocialUser'
})
const
message
=
useMessage
()
// 消息弹窗
const
{
t
}
=
useI18n
()
// 国际化
const
loading
=
ref
(
true
)
// 列表的加载中
const
loading
=
ref
(
true
)
// 列表的加载中
const
total
=
ref
(
0
)
// 列表的总页数
const
total
=
ref
(
0
)
// 列表的总页数
const
list
=
ref
([])
// 列表的数据
const
list
=
ref
([])
// 列表的数据
...
...
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