Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
郑艺斌
/
emaint-web-master
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f3ec15cd
authored
Dec 06, 2022
by
郑艺斌
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复问题项
parent
8364c3e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
src/views/workOrderEdit/index.vue
src/views/workOrderManage/index.vue
src/views/workOrderEdit/index.vue
View file @
f3ec15cd
...
...
@@ -164,8 +164,8 @@
<Col
span=
"24"
>
<FormItem
label=
"问题项"
style=
"text-align:left"
>
<CheckboxGroup
v-model=
"formItem.problem"
@
on-change=
"checkProblem"
>
<Checkbox
:key=
"index"
:label=
"item
.problem"
v-for=
"(item, index) in question
List"
>
<span>
{{
item
.
problem
}}
</span>
<Checkbox
:key=
"index"
:label=
"item
"
v-for=
"(item, index) in formItem.problem
List"
>
<span>
{{
item
}}
</span>
</Checkbox>
<Checkbox
key=
"other"
label=
"其他"
><span>
其他
</span></Checkbox>
</CheckboxGroup>
...
...
@@ -1694,7 +1694,8 @@ export default {
finishRemark
:
data
.
finishRemark
,
repairEstimate
:
data
.
repairEstimate
?
data
.
repairEstimate
:
{},
estimateLabel
:
data
.
estimateLabel
,
repairImgs
:
data
.
repairImgs
repairImgs
:
data
.
repairImgs
,
problemList
:
data
.
problemList
};
this
.
getTreeList
()
// 历史报修
...
...
src/views/workOrderManage/index.vue
View file @
f3ec15cd
...
...
@@ -964,6 +964,16 @@ export default {
let
arr
=
this
.
sublevelList
.
filter
(
item
=>
item
.
problem
===
val
)
console
.
log
(
arr
);
this
.
formItem
.
problemBaseId
=
arr
[
0
].
id
this
.
$request
.
post
(
"/api/emaint/problem-base/list"
,
qs
.
stringify
({
parentId
:
arr
[
0
].
id
,
label
:
'0'
}),
res
=>
{
if
(
res
.
statusCode
===
200
)
{
this
.
questionList
=
res
.
responseResult
;
}
},
res
=>
{
}
);
// console.log(this.formItem.problemType);
// this.childList.forEach(v => {
// if (v.problem == this.formItem.problemType) {
...
...
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