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
35e953b7
Commit
35e953b7
authored
Aug 26, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
process
parent
ce54ed22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
60 deletions
+9
-60
process.vue
pages/import/process.vue
+9
-60
No files found.
pages/import/process.vue
View file @
35e953b7
...
...
@@ -76,27 +76,6 @@ export default {
title
:
this
.
l
(
"userName"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
{
class
:
"action"
,
},
[
h
(
"op"
,
{
attrs
:
{
oprate
:
"detail"
,
},
on
:
{
click
:
()
=>
this
.
detail
(
params
.
row
.
id
),
},
},
params
.
row
.
userName
),
]
);
},
},
{
key
:
"cardNo"
,
...
...
@@ -187,12 +166,6 @@ export default {
hide
:
true
,
align
:
"left"
,
},
// {
// key: 'userType',
// title: this.l('userType'),
// hide: true,
// align: 'left'
// },
{
key
:
"phone"
,
title
:
this
.
l
(
"phone"
),
...
...
@@ -320,35 +293,12 @@ export default {
key
:
"userName"
,
title
:
this
.
l
(
"userName"
),
align
:
"left"
,
easy
:
true
,
high
:
true
,
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
{
class
:
"action"
,
},
[
h
(
"op"
,
{
attrs
:
{
oprate
:
"detail"
,
},
on
:
{
click
:
()
=>
this
.
detail
(
params
.
row
.
id
),
},
},
params
.
row
.
userName
),
]
);
},
},
{
key
:
"status"
,
title
:
this
.
l
(
"status"
),
align
:
"center"
,
high
:
true
,
code
:
"User.base.status"
,
},
],
...
...
@@ -371,7 +321,6 @@ export default {
rows
:
10
,
placeholder
:
"请从Excel复制一段表格数据,粘贴在这里"
,
},
value
:
""
,
};
},
props
:
{
...
...
@@ -394,7 +343,12 @@ export default {
///浏览器窗口大小变化
return
(()
=>
{
window
.
screenHeight
=
window
.
innerHeight
;
this
.
tdHeightExcel
=
window
.
innerHeight
-
240
;
if
(
showTablePaste
)
{
this
.
tdHeightExcel
=
window
.
screenHeight
-
240
-
220
;
}
else
{
this
.
tdHeightExcel
=
window
.
screenHeight
-
240
;
}
})();
};
},
...
...
@@ -638,11 +592,13 @@ export default {
this
.
ghostStatus
=
true
;
this
.
showTablePaste
=
true
;
this
.
btnTxt
=
"关闭粘贴Excel"
;
this
.
tdHeightExcel
=
window
.
innerHeight
-
180
-
220
;
}
else
{
this
.
btnType
=
"default"
;
this
.
ghostStatus
=
false
;
this
.
showTablePaste
=
false
;
this
.
btnTxt
=
"打开粘贴Excel"
;
this
.
tdHeightExcel
=
window
.
innerHeight
-
180
;
}
},
//粘贴excel成功
...
...
@@ -686,6 +642,7 @@ export default {
this
.
btnType
=
"default"
;
this
.
ghostStatus
=
false
;
this
.
load
(
this
.
eid
);
this
.
tdHeightExcel
=
window
.
innerHeight
-
180
;
},
openInfoModal
()
{
if
(
this
.
pageType
!=
undefined
)
{
...
...
@@ -771,13 +728,5 @@ export default {
float: left;
}
}
.demo-split {
border: 1px solid #dcdee2;
}
.demo-split-pane {
padding: 10px;
}
}
</
style
>
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