Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
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
常超
founder_vue
Commits
592c83b9
Commit
592c83b9
authored
Aug 02, 2021
by
chenqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面样式全局修改;
网上社区子系统; 统计视图子系统界面开发
parent
75b94ce4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
4 deletions
+36
-4
src/utils/http.js
+28
-1
src/views/tjstzxt/index.scss
+2
-1
src/views/tjstzxt/index.vue
+0
-0
src/views/wssqzxt/index.vue
+6
-2
No files found.
src/utils/http.js
View file @
592c83b9
import
axios
from
"axios"
;
// import { getToken } from "./auth.js";
import
{
Message
,
MessageBox
}
from
"element-ui"
;
// import store from "@/store";
// import router from "@/router";
import
qs
from
"qs"
;
axios
.
defaults
.
timeout
=
0
;
...
...
@@ -22,7 +24,17 @@ down.defaults.responseType = "arraybuffer";
// request 请求拦截器
axios
.
interceptors
.
request
.
use
(
config
=>
{
config
.
headers
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
;
// config.headers["Content-Type"] = "application/x-www-form-urlencoded";
config
.
headers
[
"Content-Type"
]
=
"application/json"
;
// config.headers['Content-Type'] = 'multipart/form-data';
// 请求前进行拦截, 验证是否已经登录等
// const token = getToken();
// if (token) {
// if (config.url.indexOf("/login") === -1) {
// config.headers["Authorization"] = token;
// }
// }
return
config
;
},
error
=>
{
...
...
@@ -107,6 +119,11 @@ export function get(url, params) {
})
.
then
(
res
=>
{
resolve
(
res
.
data
);
// if(res.code =='200' ||res.code == '201'){
// resolve(res.data);
// }else {
// this.$message.error(res.message);
// }
})
.
catch
(
err
=>
{
reject
(
err
.
data
);
...
...
@@ -126,6 +143,16 @@ export function post(url, params) {
.
post
(
url
,
qs
.
stringify
(
params
))
.
then
(
response
=>
{
resolve
(
response
);
// var urlIp = window.location.host.substring(
// 0,
// window.location.host.length - 5
// );
// var logs = {
// ip: urlIp,
// request: url,
// params: params
// };
// store.commit("user/SET_Logs", logs);
})
.
catch
(
err
=>
{
reject
(
err
.
data
);
...
...
src/views/tjstzxt/index.scss
View file @
592c83b9
...
...
@@ -17,8 +17,9 @@
.tjstzxt_top_one
{
height
:
450px
;
padding
:
1
0px
20px
;
margin
:
2
0px
20px
;
background-color
:
#ccc
;
}
.tj_wrap
{
height
:calc
(
100
%
-
13px
)
;
position
:
relative
;
top
:
-37px
;}
}
src/views/tjstzxt/index.vue
View file @
592c83b9
This diff is collapsed.
Click to expand it.
src/views/wssqzxt/index.vue
View file @
592c83b9
...
...
@@ -286,10 +286,11 @@ export default {
dialogFormVisible
:
false
,
// 弹窗表单
formData2
:
{
bt
:
''
,
tg
bt
:
''
,
fbsj
:
''
,
sffb
:
''
,
fblb
:
''
fblb
:
''
,
tgnr
:
''
},
propQueryField2
:
[
{
...
...
@@ -362,6 +363,7 @@ export default {
},
// 弹出框显现后的回调
eldialingShow
()
{
debugger
let
self
=
this
self
.
editor
=
null
const
item
=
document
.
querySelector
(
'#editor'
)
...
...
@@ -400,7 +402,9 @@ export default {
this
.
dialogFormVisible
=
false
},
saveDialog
()
{
debugger
let
self
=
this
console
.
log
(
self
.
formData2
)
self
.
$refs
[
'DialogForm'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
self
.
title
==
'发布通告'
)
{
...
...
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