Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
eba19c16
Commit
eba19c16
authored
Aug 28, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
9b035b80
76a32afb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
15 deletions
+11
-15
index.vue
layouts/basic-layout/header-notice/index.vue
+1
-1
msgRecord.vue
pages/home/msgRecord.vue
+5
-13
process.vue
pages/import/process.vue
+5
-1
No files found.
layouts/basic-layout/header-notice/index.vue
View file @
eba19c16
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<div
slot=
"clear"
>
历史消息
</div>
<div
slot=
"clear"
>
历史消息
</div>
</NotificationTab>
</NotificationTab>
</Notification>
</Notification>
<Modal
v-model=
"modal1"
:title=
"msg.title"
>
<Modal
v-model=
"modal1"
:title=
"msg.title"
width=
"1200"
>
<p
class=
"content-in"
>
发送时间:
{{
msg
.
creationTime
}}
</p>
<p
class=
"content-in"
>
发送时间:
{{
msg
.
creationTime
}}
</p>
<p
class=
"content-in"
>
{{
msg
.
content
}}
</p>
<p
class=
"content-in"
>
{{
msg
.
content
}}
</p>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
...
...
pages/home/msgRecord.vue
View file @
eba19c16
...
@@ -69,6 +69,7 @@ export default {
...
@@ -69,6 +69,7 @@ export default {
action
:
Api
.
index
,
action
:
Api
.
index
,
easySearch
:
{
easySearch
:
{
keys
:
{
op
:
"title"
,
value
:
null
},
keys
:
{
op
:
"title"
,
value
:
null
},
receiverId
:
{
op
:
"Equal"
,
value
:
this
.
$store
.
state
.
userInfo
.
userId
},
},
},
disabled
:
false
,
disabled
:
false
,
entity
:
{},
entity
:
{},
...
@@ -122,13 +123,13 @@ export default {
...
@@ -122,13 +123,13 @@ export default {
width
:
200
,
width
:
200
,
},
},
{
{
title
:
"
发送
人"
,
title
:
"
接受
人"
,
key
:
"receiverId"
,
key
:
"receiverId"
,
width
:
120
,
width
:
120
,
type
:
"user"
,
type
:
"user"
,
},
},
{
{
title
:
"
接受
人"
,
title
:
"
发送
人"
,
key
:
"senderId"
,
key
:
"senderId"
,
width
:
120
,
width
:
120
,
type
:
"user"
,
type
:
"user"
,
...
@@ -137,17 +138,8 @@ export default {
...
@@ -137,17 +138,8 @@ export default {
title
:
"状态"
,
title
:
"状态"
,
key
:
"messageType"
,
key
:
"messageType"
,
width
:
120
,
width
:
120
,
render
:
(
h
,
params
)
=>
{
code
:
"message.status"
,
return
h
(
"div"
,
{
style
:
{
color
:
"red"
,
},
},
params
.
row
.
messageType
==
1
?
"已读"
:
""
);
},
},
},
{
{
title
:
this
.
l
(
"action"
),
title
:
this
.
l
(
"action"
),
...
...
pages/import/process.vue
View file @
eba19c16
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<DataGrid
:tool=
"false"
:page=
"false"
:columns=
"colsIm"
:data=
"dataIm"
:height=
"tdHeightExcel+30"
ref=
"dataImport"
></DataGrid>
<DataGrid
:tool=
"false"
:page=
"false"
:columns=
"colsIm"
:data=
"dataIm"
:height=
"tdHeightExcel+30"
ref=
"dataImport"
></DataGrid>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<Button
@
click=
"infoModal=false"
>
关闭
</Button>
<Button
@
click=
"infoModal=false"
>
关闭
</Button>
<Button
type=
"primary"
@
click=
"importOk"
>
确定导入
</Button>
<Button
type=
"primary"
@
click=
"importOk"
v-show=
"imBtn"
>
确定导入
</Button>
</div>
</div>
</Modal>
</Modal>
</div>
</div>
...
@@ -350,6 +350,7 @@ export default {
...
@@ -350,6 +350,7 @@ export default {
listLength
:
0
,
listLength
:
0
,
titleInfo
:
''
,
titleInfo
:
''
,
noDataText
:
'暂无数据'
,
noDataText
:
'暂无数据'
,
imBtn
:
true
,
};
};
},
},
props
:
{
props
:
{
...
@@ -641,6 +642,7 @@ export default {
...
@@ -641,6 +642,7 @@ export default {
//打开导入数据格式化后的窗口
//打开导入数据格式化后的窗口
openInfoModal
()
{
openInfoModal
()
{
if
(
this
.
excelData
.
length
>
0
&&
this
.
pageType
!=
undefined
)
{
if
(
this
.
excelData
.
length
>
0
&&
this
.
pageType
!=
undefined
)
{
this
.
imBtn
=
true
;
switch
(
this
.
pageType
)
{
switch
(
this
.
pageType
)
{
case
0
:
case
0
:
this
.
loadColum
(
this
.
columns0
);
this
.
loadColum
(
this
.
columns0
);
...
@@ -657,6 +659,7 @@ export default {
...
@@ -657,6 +659,7 @@ export default {
)
+
"】 模块"
)
+
"】 模块"
this
.
infoModal
=
true
this
.
infoModal
=
true
}
else
{
}
else
{
this
.
imBtn
=
true
;
if
(
this
.
excelData
.
length
==
0
)
{
if
(
this
.
excelData
.
length
==
0
)
{
this
.
$Message
.
error
(
"表【"
+
this
.
sheetNames
[
this
.
tabVal
]
+
"】没有可导入的数据!"
)
this
.
$Message
.
error
(
"表【"
+
this
.
sheetNames
[
this
.
tabVal
]
+
"】没有可导入的数据!"
)
}
else
if
(
this
.
pageType
==
undefined
)
{
}
else
if
(
this
.
pageType
==
undefined
)
{
...
@@ -711,6 +714,7 @@ export default {
...
@@ -711,6 +714,7 @@ export default {
Api
.
importUser
(
parms
).
then
((
res
)
=>
{
Api
.
importUser
(
parms
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"成功批量导入用户管理成功模块 "
+
tempList
.
length
+
" 条数据"
);
this
.
$Message
.
success
(
"成功批量导入用户管理成功模块 "
+
tempList
.
length
+
" 条数据"
);
this
.
imBtn
=
false
;
this
.
cancelExcel
();
this
.
cancelExcel
();
}
else
{
}
else
{
this
.
$Message
.
error
(
"批量导入用户管理失败!"
);
this
.
$Message
.
error
(
"批量导入用户管理失败!"
);
...
...
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