Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DTBPcompnay
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
李堔
DTBPcompnay
Commits
2dff1a96
Commit
2dff1a96
authored
Nov 23, 2022
by
zhouyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
咨询服务发送钉钉消息。
parent
ad74750a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13678 additions
and
228 deletions
+13678
-228
package-lock.json
package-lock.json
+13540
-22
config.js
src/config.js
+1
-1
default.vue
src/layouts/default.vue
+5
-3
index.vue
src/pages/news/index.vue
+132
-202
No files found.
package-lock.json
View file @
2dff1a96
This diff is collapsed.
Click to expand it.
src/config.js
View file @
2dff1a96
...
@@ -13,7 +13,7 @@ const Config = {
...
@@ -13,7 +13,7 @@ const Config = {
/**
/**
* @description: 默认接口地址
* @description: 默认接口地址
*/
*/
// apiBaseUrl: "http://localhost:60
6
6",
// apiBaseUrl: "http://localhost:60
0
6",
apiBaseUrl
:
"http://47.92.102.113:6006"
,
apiBaseUrl
:
"http://47.92.102.113:6006"
,
// apiBaseUrl: "http://154.8.185.122:8002",
// apiBaseUrl: "http://154.8.185.122:8002",
timeout
:
30000
,
// 请求超时时间
timeout
:
30000
,
// 请求超时时间
...
...
src/layouts/default.vue
View file @
2dff1a96
...
@@ -308,9 +308,9 @@
...
@@ -308,9 +308,9 @@
placeholder=
"请填写您的邮箱"
placeholder=
"请填写您的邮箱"
></Input>
></Input>
</FormItem>
</FormItem>
<FormItem
label=
"留言"
prop=
"
ly
"
>
<FormItem
label=
"留言"
prop=
"
note
"
>
<Input
<Input
v-model
.
trim=
"entity.
ly
"
v-model
.
trim=
"entity.
note
"
type=
"textarea"
type=
"textarea"
placeholder=
"请填写您想对我们说的"
placeholder=
"请填写您想对我们说的"
></Input>
></Input>
...
@@ -443,6 +443,7 @@ export default {
...
@@ -443,6 +443,7 @@ export default {
email
:
""
,
email
:
""
,
note
:
""
,
note
:
""
,
type
:
""
,
type
:
""
,
come
:
""
,
},
},
screenY
:
0
,
screenY
:
0
,
rules
:
{
rules
:
{
...
@@ -597,7 +598,8 @@ export default {
...
@@ -597,7 +598,8 @@ export default {
sendMessage
()
{
sendMessage
()
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
this
.
$refs
.
form
.
validate
((
v
)
=>
{
if
(
v
)
{
if
(
v
)
{
this
.
$api
.
post
(
"/message/create"
,
this
.
entity
).
then
((
r
)
=>
{
this
.
entity
.
come
=
window
.
location
.
href
;
this
.
$api
.
post
(
"/message/ding"
,
this
.
entity
).
then
((
r
)
=>
{
if
(
r
.
success
)
{
if
(
r
.
success
)
{
// console.log(r);
// console.log(r);
this
.
$Message
.
success
(
"留言成功!"
);
this
.
$Message
.
success
(
"留言成功!"
);
...
...
src/pages/news/index.vue
View file @
2dff1a96
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