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
54059f9d
Commit
54059f9d
authored
Apr 29, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
层级&工步
parent
7b229c05
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
255 additions
and
132 deletions
+255
-132
add.vue
pages/technology/details/routingStep/add.vue
+214
-124
edit.vue
pages/technology/details/routingStep/edit.vue
+31
-3
index.vue
pages/technology/details/routingStep/index.vue
+9
-4
index.vue
pages/technology/index.vue
+1
-1
No files found.
pages/technology/details/routingStep/add.vue
View file @
54059f9d
This diff is collapsed.
Click to expand it.
pages/technology/details/routingStep/edit.vue
View file @
54059f9d
...
@@ -14,7 +14,12 @@
...
@@ -14,7 +14,12 @@
</Col>
</Col>
<Col
:span=
"24"
>
<Col
:span=
"24"
>
<FormItem
:label=
"l('stepContent')"
prop=
"stepContent"
>
<FormItem
:label=
"l('stepContent')"
prop=
"stepContent"
>
<Input
v-model=
"entity.stepContent"
type=
"textarea"
:rows=
"5"
></Input>
<i-quill
v-model=
"entity.stepContent"
:height=
"260"
v-paste=
"handleImg"
/>
<!--
<Input
v-model=
"entity.stepContent"
type=
"textarea"
:rows=
"5"
></Input>
-->
<!--
<Input
v-model=
"entity.stepContent"
type=
"textarea"
:minRows=
"3"
,
:maxRows=
"7"
></Input>
-->
<!--
<Input
v-model=
"entity.stepContent"
type=
"textarea"
:minRows=
"3"
,
:maxRows=
"7"
></Input>
-->
</FormItem>
</FormItem>
</Col>
</Col>
...
@@ -27,12 +32,12 @@
...
@@ -27,12 +32,12 @@
<!--
<Dictionary
style=
"width:100px"
code=
"Process.Status"
v-model=
"entity.status"
></Dictionary>
-->
<!--
<Dictionary
style=
"width:100px"
code=
"Process.Status"
v-model=
"entity.status"
></Dictionary>
-->
</FormItem>
</FormItem>
</Col>
</Col>
<Col
:span=
"24"
>
<
!--
<
Col
:span=
"24"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<FormItem
:label=
"l('description')"
prop=
"description"
>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"5"
></Input>
<Input
v-model=
"entity.description"
type=
"textarea"
:rows=
"5"
></Input>
</FormItem>
</FormItem>
</Col>
</Col>
<
!--
<
Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<FormItem
:label=
"l('creationTime')"
prop=
"creationTime"
>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
<DatePicker
type=
"date"
v-model=
"entity.creationTime"
></DatePicker>
</FormItem>
</FormItem>
...
@@ -101,8 +106,10 @@
...
@@ -101,8 +106,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"./api"
;
import
Api
from
"./api"
;
import
iQuill
from
'@/components/quill'
export
default
{
export
default
{
name
:
"Edit"
,
name
:
"Edit"
,
components
:
{
iQuill
},
data
()
{
data
()
{
return
{
return
{
disabled
:
false
,
disabled
:
false
,
...
@@ -150,6 +157,27 @@ export default {
...
@@ -150,6 +157,27 @@ export default {
}
}
});
});
},
},
handleImg
(
e
)
{
console
.
warn
(
e
)
// let file = null
// if (
// e.clipboardData &&
// e.clipboardData.items[0] &&
// e.clipboardData.items[0].type &&
// e.clipboardData.items[0].type.indexOf('image') > -1
// ) {
// //这里就是判断是否有粘贴进来的文件且文件为图片格式
// file = e.clipboardData.items[0].getAsFile()
// let reader = new FileReader()
// reader.readAsDataURL(file)
// setTimeout(() => {
// var img = '
<
img
src
=
"' + reader.result + '"
alt
=
""
/>
'
// this.bugForm.content += img
// }, 1000)
// // new R
// }
},
handleClose() {
handleClose() {
this.$emit("on-close");
this.$emit("on-close");
},
},
...
...
pages/technology/details/routingStep/index.vue
View file @
54059f9d
...
@@ -81,13 +81,13 @@ export default {
...
@@ -81,13 +81,13 @@ export default {
{
{
key
:
"routingHeaderId"
,
key
:
"routingHeaderId"
,
title
:
this
.
l
(
"routingHeaderId"
),
title
:
this
.
l
(
"routingHeaderId"
),
hi
de
:
true
,
hi
gh
:
true
,
align
:
"left"
align
:
"left"
},
},
{
{
key
:
"routingDetailId"
,
key
:
"routingDetailId"
,
title
:
this
.
l
(
"routingDetailId"
),
title
:
this
.
l
(
"routingDetailId"
),
hi
de
:
true
,
hi
gh
:
true
,
align
:
"left"
align
:
"left"
},
},
{
key
:
"classId"
,
title
:
this
.
l
(
"classId"
),
hide
:
true
,
align
:
"left"
},
{
key
:
"classId"
,
title
:
this
.
l
(
"classId"
),
hide
:
true
,
align
:
"left"
},
...
@@ -103,8 +103,13 @@ export default {
...
@@ -103,8 +103,13 @@ export default {
key
:
"description"
,
key
:
"description"
,
title
:
this
.
l
(
"description"
),
title
:
this
.
l
(
"description"
),
align
:
"left"
,
align
:
"left"
,
easy
:
true
,
hide
:
true
high
:
true
},
{
key
:
"stepContent"
,
title
:
this
.
l
(
"stepContent"
),
align
:
"left"
,
hide
:
true
},
},
{
{
key
:
"status"
,
key
:
"status"
,
...
...
pages/technology/index.vue
View file @
54059f9d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
right: 0;
right: 0;
// bottom:100%;
// bottom:100%;
// right: 100%;
// right: 100%;
z-index:
990
;
z-index:
898
;
background-color: white;
background-color: white;
// background: red;
// background: red;
.top {
.top {
...
...
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