Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
5033308f
Commit
5033308f
authored
Nov 27, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
0560aa6b
beb33f5a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
486 additions
and
78 deletions
+486
-78
index.js
src/api/system/index.js
+12
-0
msg.js
src/api/system/msg.js
+35
-0
failed.png
src/assets/images/myimg/failed.png
+0
-0
gou.png
src/assets/images/myimg/gou.png
+0
-0
success.png
src/assets/images/myimg/success.png
+0
-0
post-form.vue
src/components/system/post-form.vue
+7
-2
site-form.vue
src/components/system/site-form.vue
+17
-2
msgmanage.vue
src/pages/system/msgmanage.vue
+415
-74
No files found.
src/api/system/index.js
View file @
5033308f
...
...
@@ -298,3 +298,15 @@ export function SetRolePermission(data) {
data
})
}
/**
* 获取短信配置发送状态下拉
*/
export
function
getConfigStatus
(
data
)
{
return
request
({
url
:
'/Public/GetStoreTypeEnumList'
,
method
:
'post'
,
data
});
}
src/api/system/msg.js
0 → 100644
View file @
5033308f
import
request
from
'../../utils/request'
/**
* 获取短信流水分页列表
*/
export
function
getMsgPage
(
data
)
{
return
request
({
url
:
'/Msg/GetMsgLogPageList'
,
method
:
'post'
,
data
});
}
/**
* 获取短信配置分页列表
*/
export
function
getConfigPage
(
data
)
{
return
request
({
url
:
'/Msg/GetMsgBasePageList'
,
method
:
'post'
,
data
});
}
/**
* 新增修改短信配置
*/
export
function
EditMsgConfig
(
data
)
{
return
request
({
url
:
'/Msg/SetMsgBase'
,
method
:
'post'
,
data
});
}
src/assets/images/myimg/failed.png
0 → 100644
View file @
5033308f
1.28 KB
src/assets/images/myimg/gou.png
0 → 100644
View file @
5033308f
895 Bytes
src/assets/images/myimg/success.png
0 → 100644
View file @
5033308f
1.17 KB
src/components/system/post-form.vue
View file @
5033308f
<
style
>
.post-form
.tranbox
.el-transfer-panel
{
width
:
300px
;
}
.post-form
.tranbox
.el-button
{
padding
:
7px
10px
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"persistent"
persistent
transition-show=
"scale"
transition-hide=
"scale"
>
...
...
@@ -22,7 +27,7 @@
</div>
</div>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
绑定角色
</div>
<div
class=
"row wrap
"
>
<div
class=
"row wrap
tranbox"
>
<template>
<el-transfer
filterable
...
...
src/components/system/site-form.vue
View file @
5033308f
...
...
@@ -10,8 +10,7 @@
<div
class=
"row wrap"
>
<div
class=
"col-12"
style=
"margin-bottom:10px;"
>
存储位置
<q-radio
v-model=
"objOption.StoreType"
:val=
"1"
label=
"腾讯云COS"
/>
<q-radio
v-model=
"objOption.StoreType"
:val=
"2"
label=
"阿里云"
/>
<q-radio
v-model=
"objOption.StoreType"
v-for=
"item in statusData"
:val=
"item.Id"
:label=
"item.Name"
/>
</div>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.Bucket"
ref=
"Bucket"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"空间名称(Bucket)"
:rules=
"[val => !!val || '请填写空间名称']"
/>
...
...
@@ -39,6 +38,10 @@
import
{
setSiteConfig
,
}
from
'../../api/system/sitecfg'
import
{
getConfigStatus
,
}
from
'../../api/system/index'
export
default
{
props
:
{
saveObj
:
{
...
...
@@ -60,6 +63,7 @@
SecretKey
:
''
,
ImgStyle
:
''
,
},
statusData
:[],
//状态数据
}
},
computed
:
{
...
...
@@ -74,6 +78,8 @@
this
.
objOption
.
SecretId
=
this
.
saveObj
.
SecretId
;
this
.
objOption
.
SecretKey
=
this
.
saveObj
.
SecretKey
;
}
this
.
getStatus
();
},
methods
:
{
//保存数据
...
...
@@ -137,6 +143,15 @@
this
.
$emit
(
'close'
)
this
.
persistent
=
false
},
//获去下拉状态
getStatus
(){
getConfigStatus
().
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
statusData
=
res
.
Data
;
}
})
},
},
}
...
...
src/pages/system/msgmanage.vue
View file @
5033308f
This diff is collapsed.
Click to expand it.
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