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
bd67d3d3
authored
Dec 06, 2022
by
郑艺斌
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复已知BUG
parent
a37623f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
src/views/commonProblem/index.vue
src/views/workOrderEdit/index.vue
src/views/commonProblem/index.vue
View file @
bd67d3d3
...
...
@@ -84,8 +84,8 @@
<Col
span=
"20"
>
<FormItem
label=
"标签分类"
prop=
"problem"
>
<RadioGroup
v-model=
"addForm.label"
>
<Radio
label=
"
常见问题"
>
</Radio>
<Radio
label=
"
解决办法"
>
</Radio>
<Radio
label=
"
0"
>
常见问题
</Radio>
<Radio
label=
"
1"
>
解决方案
</Radio>
</RadioGroup>
</FormItem>
</Col>
...
...
@@ -299,7 +299,7 @@ export default {
}
else
if
(
params
.
row
.
label
==
'1'
)
{
return
h
(
'span'
,
'解决
问题
'
'解决
方案
'
)
}
else
{
return
h
(
...
...
@@ -310,7 +310,7 @@ export default {
}
},
{
title
:
"
常见问
题"
,
title
:
"
标
题"
,
key
:
"problem"
,
width
:
200
,
align
:
"center"
...
...
@@ -339,7 +339,7 @@ export default {
tabsList
:
[
{
label
:
'全部'
,
value
:
''
},
{
label
:
'常见问题'
,
value
:
'0'
},
{
label
:
'解决
办法
'
,
value
:
'1'
},
{
label
:
'解决
方案
'
,
value
:
'1'
},
],
tabActive
:
''
};
...
...
src/views/workOrderEdit/index.vue
View file @
bd67d3d3
...
...
@@ -1493,6 +1493,7 @@ export default {
let
headers
=
{
headers
:
{
"Content-Type"
:
"multipart/form-data"
}
};
//修改成文件上传的请求头
axios
.
post
(
"/api/emaint/repairProblem/save"
,
data
,
headers
).
then
(
resdata
=>
{
if
(
resdata
.
data
.
statusCode
===
200
)
{
this
.
isok
=
false
;
this
.
modal_loading
=
false
;
this
.
$Message
.
success
(
"修改成功!"
);
...
...
@@ -1500,6 +1501,16 @@ export default {
setTimeout
(()
=>
{
this
.
$router
.
push
({
name
:
"order_list"
});
},
1000
);
}
else
{
console
.
log
(
resdata
);
this
.
isok
=
false
;
this
.
modal_loading
=
false
;
this
.
$Modal
.
error
({
title
:
"提示信息"
,
content
:
resdata
.
data
.
responseResult
});
this
.
$Spin
.
hide
();
}
},
err
=>
{
this
.
modal_loading
=
false
;
...
...
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