Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
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
TFMOM
TF-MOM-WEB
Commits
e90291e1
Commit
e90291e1
authored
Jul 03, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题进展组件修改
parent
2890da8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
config.js
...privateComponents/components/ProblemProgressCom/config.js
+7
-0
index.vue
...privateComponents/components/ProblemProgressCom/index.vue
+3
-2
No files found.
applications/dee-mes/src/privateComponents/components/ProblemProgressCom/config.js
View file @
e90291e1
...
@@ -11,6 +11,13 @@ export default {
...
@@ -11,6 +11,13 @@ export default {
defaultValue
:
''
,
defaultValue
:
''
,
name
:
'el-input'
name
:
'el-input'
}
}
},
{
key
:
'readOnly'
,
title
:
'只读'
,
component
:
{
name
:
'el-checkbox'
}
}
}
]
]
}
}
...
...
applications/dee-mes/src/privateComponents/components/ProblemProgressCom/index.vue
View file @
e90291e1
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
v-model=
"item.progressTime"
v-model=
"item.progressTime"
size=
"small"
size=
"small"
type=
"date"
type=
"date"
:disabled=
"itemObj.readOnly"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
placeholder=
"选择日期"
placeholder=
"选择日期"
/>
/>
...
@@ -28,10 +29,10 @@
...
@@ -28,10 +29,10 @@
<!-- :rules="[
<!-- :rules="[
{required: true, message: '该项必填', trigger: 'blur'},
{required: true, message: '该项必填', trigger: 'blur'},
]" -->
]" -->
<el-input
v-model=
"item.progressItem"
autosize
type=
"textarea"
size=
"small"
@
change=
"changeVal"
/>
<el-input
v-model=
"item.progressItem"
:disabled=
"itemObj.readOnly"
autosize
type=
"textarea"
size=
"small"
@
change=
"changeVal"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-col
v-if=
"!itemObj.readOnly"
:span=
"2"
>
<el-form-item
class=
"btn-box"
>
<el-form-item
class=
"btn-box"
>
<span
v-if=
"index+1 == resultFormData.length"
class=
"btn-item"
title=
"新增"
@
click=
"addItem"
@
change=
"changeVal"
>
<span
v-if=
"index+1 == resultFormData.length"
class=
"btn-item"
title=
"新增"
@
click=
"addItem"
@
change=
"changeVal"
>
<img
src=
"/icons/c-add.png"
alt=
""
>
<img
src=
"/icons/c-add.png"
alt=
""
>
...
...
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