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
3d6fa891
Commit
3d6fa891
authored
Dec 27, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改内容为空的问题
parent
41580624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
33 deletions
+37
-33
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+37
-33
No files found.
applications/dee-mes/src/views/taskExecution/index.vue
View file @
3d6fa891
...
@@ -991,44 +991,48 @@ export default {
...
@@ -991,44 +991,48 @@ export default {
formatHTML
(
statusCode
,
html
)
{
formatHTML
(
statusCode
,
html
)
{
if
(
statusCode
===
'Not'
)
{
if
(
statusCode
===
'Not'
)
{
// 扫码录入
// 扫码录入
return
(
if
(
html
)
{
html
return
(
.
replaceAll
(
html
'##'
,
.
replaceAll
(
"<div class='scan-code'><textarea type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
'##'
,
)
"<div class='scan-code'><textarea type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
)
// 手工录入
// 手工录入
.
replaceAll
(
.
replaceAll
(
'@@'
,
'@@'
,
"<textarea type='text' placeholder='请填写内容'></textarea>"
"<textarea type='text' placeholder='请填写内容'></textarea>"
)
)
// 日期框
// 日期框
.
replaceAll
(
.
replaceAll
(
'$$'
,
'$$'
,
"<input type='datetime-local' placeholder='请填写日期'>"
"<input type='datetime-local' placeholder='请填写日期'>"
)
)
)
)
}
}
else
{
}
else
{
return
(
if
(
html
)
{
html
return
(
.
replaceAll
(
html
'##'
,
.
replaceAll
(
"<div class='scan-code'><textarea disabled type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
'##'
,
)
"<div class='scan-code'><textarea disabled type='text'placeholder='请填写内容'></textarea><span class='saoma'></span></div>"
)
// 手工录入
// 手工录入
.
replaceAll
(
.
replaceAll
(
'@@'
,
'@@'
,
"<textarea type='text' disabled placeholder='请填写内容'></textarea>"
"<textarea type='text' disabled placeholder='请填写内容'></textarea>"
)
)
// 日期框
// 日期框
.
replaceAll
(
.
replaceAll
(
'$$'
,
'$$'
,
"<input type='datetime-local' disabled placeholder='请填写日期'>"
"<input type='datetime-local' disabled placeholder='请填写日期'>"
)
)
.
replaceAll
(
'saoma'
,
''
)
.
replaceAll
(
'saoma'
,
''
)
.
replaceAll
(
'<input'
,
'<input disabled '
)
.
replaceAll
(
'<input'
,
'<input disabled '
)
.
replaceAll
(
'<textarea'
,
'<textarea disabled '
)
.
replaceAll
(
'<textarea'
,
'<textarea disabled '
)
)
)
}
}
}
},
},
/**
/**
...
...
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