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
0807d4ed
Commit
0807d4ed
authored
Sep 28, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化文档审核
parent
b6825556
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
30 deletions
+15
-30
detail.vue
pages/handle/examine14/detail.vue
+14
-30
index.vue
pages/handle/index.vue
+1
-0
No files found.
pages/handle/examine14/detail.vue
View file @
0807d4ed
...
...
@@ -76,27 +76,37 @@ export default {
entity
:
{
state
:
""
,
},
avatorPath
:
""
,
downUrl
:
fileUrlDown
,
parms
:
{
app
:
"material"
,
eid
:
null
,
name
:
""
,
field
:
""
,
},
fileds
:
[],
};
},
created
()
{
this
.
parms
.
eid
=
this
.
$u
.
guid
();
this
.
dataImmut
=
[];
this
.
dataMut
=
[];
Api
.
get
({
Id
:
this
.
idVal
}).
then
((
r
)
=>
{
console
.
log
(
r
);
//
console.log(r);
if
(
r
.
success
)
{
let
farmData
=
{};
farmData
=
JSON
.
parse
(
r
.
result
.
formData
);
console
.
log
(
farmData
);
//
console.log(farmData);
this
.
entity
=
farmData
;
this
.
parms
.
eid
=
farmData
.
filePath
;
this
.
avatorPath
=
farmData
.
img
;
Api
.
listbyid
({
categoryId
:
farmData
.
categoryId
,
}).
then
((
r
)
=>
{
if
(
r
.
result
)
{
let
result
=
[];
result
=
r
.
result
.
definie
.
concat
(
r
.
result
.
inherit
);
console
.
log
(
result
);
//
console.log(result);
this
.
fileds
=
result
.
filter
(
function
(
item
)
{
item
.
span
=
6
;
if
(
item
.
dataType
>
4
)
{
...
...
@@ -132,29 +142,6 @@ export default {
};
</
script
>
<
style
lang=
"less"
>
// .top-title {
// // margin: 10px;
// background: #fff;
// box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
// position: relative;
// border-radius: 5px;
// .row-left {
// width: 1000px;
// }
// ul {
// display: -webkit-inline-box;
// display: inline-box;
// position: absolute;
// bottom: 5px;
// right: 0px;
// li {
// width: 70px;
// span {
// color: #e0e0e0;
// }
// }
// }
// }
.body-document {
margin: 0 20px;
background: #fff;
...
...
@@ -190,7 +177,4 @@ export default {
}
}
}
// .detail-document {
// background-color: #f5f7f9 !important;
// }
</
style
>
\ No newline at end of file
pages/handle/index.vue
View file @
0807d4ed
...
...
@@ -269,6 +269,7 @@ export default {
},
//将schameId转为type1、2、3....
returnType
(
schemaId
)
{
console
.
log
(
schemaId
)
let
types
=
1
;
switch
(
schemaId
)
{
case
"123327da-42b3-41f6-b785-cf933f137a95"
:
//订单送审
...
...
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