Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
夏敏伟
xxx_phase2_web
Commits
7263d144
Commit
7263d144
authored
Jun 12, 2024
by
夏敏伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改tree以及选中框样式 系统名称改为从服务中调取
parent
e58b491b
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
138 additions
and
72 deletions
+138
-72
src/api/index.js
src/api/index.js
+8
-0
src/view/fzjc/wjfx.vue
src/view/fzjc/wjfx.vue
+5
-2
src/view/home.vue
src/view/home.vue
+8
-2
src/view/homepage.vue
src/view/homepage.vue
+102
-63
src/view/login.vue
src/view/login.vue
+9
-2
src/view/sjgl/wx_data_public.vue
src/view/sjgl/wx_data_public.vue
+5
-2
src/view/sjgl/wxk_public.vue
src/view/sjgl/wxk_public.vue
+1
-1
No files found.
src/api/index.js
View file @
7263d144
...
...
@@ -98,4 +98,12 @@ export function queryReport(pageNum, pageSize, name, startTime, endTime) {
let
url
=
`api/rest/sentiment/queryReport`
;
url
+=
addParam
({
pageNum
,
pageSize
,
name
,
startTime
,
endTime
});
return
get
(
url
);
}
/**
* 查询系统名称
*/
export
function
querySystemName
()
{
let
url
=
`api/rest/3z/dictitem/queryDictItem/06`
;
return
get
(
url
);
}
\ No newline at end of file
src/view/fzjc/wjfx.vue
View file @
7263d144
...
...
@@ -297,12 +297,15 @@ export default {
.checkDiv
{
position
:
absolute
;
bottom
:
2
0px
;
bottom
:
1
0px
;
background
:
#7f7f7f
17
;
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
7px
12px
;
width
:
calc
(
100%
-
60px
);
width
:
calc
(
100%
-
40px
);
max-height
:
90px
;
overflow-y
:
auto
;
box-sizing
:
border-box
;
padding
:
10px
10px
14px
;
}
...
...
src/view/home.vue
View file @
7263d144
...
...
@@ -80,9 +80,10 @@ import "../assets/css/home.css";
// import jh from "/static/img/main/logo.png";
import
{
endLoading
,
get
,
post
,
httpSSERequest
,
fetchEventSource
,
httpSSERequestPoly
}
from
"
../util/http_util
"
;
import
{
queryDictItem
}
from
'
../api/dictitem
'
;
import
{
querySystemName
}
from
'
@/api/index
'
;
import
Push
from
'
push.js
'
import
dayjs
from
'
dayjs
'
;
import
{
SYSTEM_NAME
,
MAIL_ADDRESS
}
from
"
@/constant/user
"
;
import
{
MAIL_ADDRESS
}
from
"
@/constant/user
"
;
export
default
{
name
:
"
home
"
,
data
()
{
...
...
@@ -123,7 +124,7 @@ export default {
day
:
null
,
week
:
null
},
system_name
:
SYSTEM_NAME
system_name
:
''
};
},
methods
:
{
...
...
@@ -315,6 +316,11 @@ export default {
},
(
err
)
=>
{
console
.
log
(
err
)
});
querySystemName
().
then
(
res
=>
{
res
.
forEach
(
item
=>
{
this
.
system_name
+=
item
.
name
;
});
})
},
computed
:
{
userInfo
()
{
...
...
src/view/homepage.vue
View file @
7263d144
This diff is collapsed.
Click to expand it.
src/view/login.vue
View file @
7263d144
...
...
@@ -46,8 +46,8 @@ import leftOne from '../assets/img/login/text1.png';
import
leftTwo
from
'
../assets/img/login/text2.png
'
;
import
rightOne
from
'
../assets/img/login/text3.png
'
;
import
rightTwo
from
'
../assets/img/login/text4.png
'
;
import
{
querySystemName
}
from
'
@/api/index
'
;
import
dayjs
from
"
dayjs
"
;
import
{
SYSTEM_NAME
}
from
"
@/constant/user
"
;
export
default
{
name
:
"
login
"
,
data
()
{
...
...
@@ -70,7 +70,7 @@ export default {
day
:
null
,
week
:
null
},
system_name
:
SYSTEM_NAME
system_name
:
''
};
},
methods
:
{
...
...
@@ -128,6 +128,13 @@ export default {
this
.
myDate
.
day
=
dayjs
().
format
(
'
YYYY年MM月DD日
'
);
const
weekList
=
[
'
星期日
'
,
'
星期一
'
,
'
星期二
'
,
'
星期三
'
,
'
星期四
'
,
'
星期五
'
,
'
星期六
'
];
this
.
myDate
.
week
=
weekList
[
dayjs
().
get
(
'
day
'
)]
},
mounted
(){
querySystemName
().
then
(
res
=>
{
res
.
forEach
(
item
=>
{
this
.
system_name
+=
item
.
name
;
});
})
}
};
</
script
>
...
...
src/view/sjgl/wx_data_public.vue
View file @
7263d144
...
...
@@ -372,12 +372,15 @@ export default {
float
:
left
;
.checkDiv
{
position
:
absolute
;
max-height
:
100px
;
overflow-y
:
auto
;
bottom
:
20px
;
background
:
#7f7f7f
17
;
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
7px
12px
;
width
:
280px
;
box-sizing
:
border-box
;
width
:
300px
;
padding
:
10px
10px
14px
;
}
.checkList
{
...
...
@@ -408,7 +411,7 @@ export default {
.el-tree
{
color
:
white
;
background
:
transparent
;
height
:
calc
(
100%
-
50px
);
height
:
calc
(
100%
-
1
50px
);
margin-top
:
10px
;
.el-tree-node__content
{
...
...
src/view/sjgl/wxk_public.vue
View file @
7263d144
...
...
@@ -49,7 +49,7 @@
</el-table-column>
<el-table-column
prop=
"file.type"
label=
"文档类型"
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"
file.type"
label=
"所属目录
"
width=
"200"
>
<el-table-column
prop=
"
labels"
label=
"标签
"
width=
"200"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
labels
.
join
(
'
、
'
)
}}
</span>
</
template
>
...
...
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