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
beb33f5a
Commit
beb33f5a
authored
Nov 27, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
f9aa2ab4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
467 additions
and
76 deletions
+467
-76
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
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/msg.js
0 → 100644
View file @
beb33f5a
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 @
beb33f5a
1.28 KB
src/assets/images/myimg/gou.png
0 → 100644
View file @
beb33f5a
895 Bytes
src/assets/images/myimg/success.png
0 → 100644
View file @
beb33f5a
1.17 KB
src/components/system/site-form.vue
View file @
beb33f5a
...
@@ -10,8 +10,7 @@
...
@@ -10,8 +10,7 @@
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"col-12"
style=
"margin-bottom:10px;"
>
<div
class=
"col-12"
style=
"margin-bottom:10px;"
>
存储位置
存储位置
<q-radio
v-model=
"objOption.StoreType"
:val=
"1"
label=
"腾讯云COS"
/>
<q-radio
v-model=
"objOption.StoreType"
v-for=
"item in statusData"
:val=
"item.Id"
:label=
"item.Name"
/>
<q-radio
v-model=
"objOption.StoreType"
:val=
"2"
label=
"阿里云"
/>
</div>
</div>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.Bucket"
ref=
"Bucket"
<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 || '请填写空间名称']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"空间名称(Bucket)"
:rules=
"[val => !!val || '请填写空间名称']"
/>
...
@@ -39,6 +38,10 @@
...
@@ -39,6 +38,10 @@
import
{
import
{
setSiteConfig
,
setSiteConfig
,
}
from
'../../api/system/sitecfg'
}
from
'../../api/system/sitecfg'
import
{
getConfigStatus
,
}
from
'../../api/system/index'
export
default
{
export
default
{
props
:
{
props
:
{
saveObj
:
{
saveObj
:
{
...
@@ -60,6 +63,7 @@
...
@@ -60,6 +63,7 @@
SecretKey
:
''
,
SecretKey
:
''
,
ImgStyle
:
''
,
ImgStyle
:
''
,
},
},
statusData
:[],
//状态数据
}
}
},
},
computed
:
{
computed
:
{
...
@@ -74,6 +78,8 @@
...
@@ -74,6 +78,8 @@
this
.
objOption
.
SecretId
=
this
.
saveObj
.
SecretId
;
this
.
objOption
.
SecretId
=
this
.
saveObj
.
SecretId
;
this
.
objOption
.
SecretKey
=
this
.
saveObj
.
SecretKey
;
this
.
objOption
.
SecretKey
=
this
.
saveObj
.
SecretKey
;
}
}
this
.
getStatus
();
},
},
methods
:
{
methods
:
{
//保存数据
//保存数据
...
@@ -137,6 +143,15 @@
...
@@ -137,6 +143,15 @@
this
.
$emit
(
'close'
)
this
.
$emit
(
'close'
)
this
.
persistent
=
false
this
.
persistent
=
false
},
},
//获去下拉状态
getStatus
(){
getConfigStatus
().
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
statusData
=
res
.
Data
;
}
})
},
},
},
}
}
...
...
src/pages/system/msgmanage.vue
View file @
beb33f5a
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