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
1c2741cc
Commit
1c2741cc
authored
Sep 28, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化文档审核
parent
0807d4ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
14 deletions
+9
-14
index.vue
pages/handle/index.vue
+2
-5
add.vue
pages/word/document/add.vue
+7
-9
No files found.
pages/handle/index.vue
View file @
1c2741cc
...
...
@@ -269,7 +269,7 @@ export default {
},
//将schameId转为type1、2、3....
returnType
(
schemaId
)
{
console
.
log
(
schemaId
)
console
.
log
(
schemaId
)
;
let
types
=
1
;
switch
(
schemaId
)
{
case
"123327da-42b3-41f6-b785-cf933f137a95"
:
//订单送审
...
...
@@ -311,11 +311,8 @@ export default {
case
"b6303ddc-8b5e-40a3-a51b-294657d1d913"
:
//物料审批
types
=
13
;
break
;
case
"04d67b82-91aa-47a7-b9e3-28cdeec4537e"
:
//文档审批
types
=
14
;
break
;
default
:
types
=
1
;
types
=
1
4
;
break
;
}
return
types
;
...
...
pages/word/document/add.vue
View file @
1c2741cc
...
...
@@ -354,9 +354,9 @@ export default {
this
.
$emit
(
"on-close"
);
},
template
()
{
// alert(this.treeId);
Api
.
getcategorytemplate
({
cat
:
this
.
treeId
}).
then
((
r
)
=>
{
if
(
r
.
result
)
{
console
.
log
(
r
.
result
);
let
url
=
r
.
result
[
0
].
url
;
window
.
open
(
fileUrlDown
+
url
,
"_blank"
);
}
...
...
@@ -411,14 +411,12 @@ export default {
cursor: pointer;
}
}
.document-add {
.xia-zai {
position: relative;
.a-xiazai {
position: absolute;
top: 7px;
left: 260px;
}
.xia-zai {
position: relative;
.a-xiazai {
position: absolute;
top: 7px;
left: 260px;
}
}
</
style
>
\ No newline at end of file
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