Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7a686b99
authored
Feb 24, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加工单图片上传功能
1 parent
abffa521
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
323 additions
and
33 deletions
package-lock.json
package.json
src/main.js
src/services/order.js
src/utils/sign.js
src/views/work/edit.vue
src/views/work/image.vue
src/views/work/order.vue
src/views/work/progress.vue
package-lock.json
View file @
7a686b9
...
...
@@ -14,6 +14,7 @@
"echarts"
:
"^5.2.2"
,
"element-ui"
:
"^2.15.7"
,
"glsx-common"
:
"^1.4.9"
,
"js-md5"
:
"^0.7.3"
,
"moment"
:
"^2.29.1"
,
"sass"
:
"^1.45.1"
,
"vue"
:
"^2.6.11"
,
...
...
@@ -8394,6 +8395,11 @@
"node"
:
">=8"
}
},
"node_modules/js-md5"
:
{
"version"
:
"0.7.3"
,
"resolved"
:
"https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz"
,
"integrity"
:
"sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ=="
},
"node_modules/js-message"
:
{
"version"
:
"1.0.5"
,
"resolved"
:
"https://registry.npm.taobao.org/js-message/download/js-message-1.0.5.tgz"
,
...
...
@@ -21720,6 +21726,11 @@
}
}
},
"js-md5"
:
{
"version"
:
"0.7.3"
,
"resolved"
:
"https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz"
,
"integrity"
:
"sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ=="
},
"js-message"
:
{
"version"
:
"1.0.5"
,
"resolved"
:
"https://registry.npm.taobao.org/js-message/download/js-message-1.0.5.tgz"
,
package.json
View file @
7a686b9
...
...
@@ -16,6 +16,7 @@
"echarts"
:
"^5.2.2"
,
"element-ui"
:
"^2.15.7"
,
"glsx-common"
:
"^1.4.9"
,
"js-md5"
:
"^0.7.3"
,
"moment"
:
"^2.29.1"
,
"sass"
:
"^1.45.1"
,
"vue"
:
"^2.6.11"
,
...
...
src/main.js
View file @
7a686b9
...
...
@@ -27,6 +27,7 @@ function render({ data = {} , container } = {}) {
base
:
window
.
__POWERED_BY_QIANKUN__
?
'/system'
:
'/'
,
routes
,
});
console
.
log
(
data
)
store
.
state
.
baseURL
=
data
.
baseURL
;
instance
=
new
Vue
({
router
,
...
...
src/services/order.js
View file @
7a686b9
...
...
@@ -31,7 +31,7 @@ export const GET_WORKORDER_INFO = (params) => {
// 工单管理-工单列表-验证工单设备有效位置接口
export
const
VERIFY_WORKORDER_INFO
=
(
params
)
=>
{
return
request
(
params
,
"/trialdrive/workorder/verify"
);
return
request
(
params
,
"/trialdrive/workorder/verify"
,
'POST'
);
};
// 工单管理-工单列表-激活工单接口
...
...
@@ -80,3 +80,8 @@ export const GET_WORKORDER_STATUSOPTION = (params) => {
export
const
GET_WORKORDER_PROGRESS
=
params
=>
{
return
request
(
params
,
"/trialdrive/workorder/getProgress"
);
}
// 工单管理-工单列表-工单详情-删除存量图片
export
const
DELETE_ORDER_IMAGE
=
params
=>
{
return
request
(
params
,
"/trialdrive/workorder/deleteImage"
);
}
\ No newline at end of file
src/utils/sign.js
0 → 100644
View file @
7a686b9
import
MD5
from
'js-md5'
const
sign
=
(
params
,
noSignAttr
=
[])
=>
{
delete
params
.
sign
const
secret
=
'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
const
keys
=
Object
.
keys
(
params
).
sort
()
var
str
=
[]
// for (const key in params) {
// if (typeof params[key] === 'object') params[key] = JSON.stringify(params[key])
// }
var
obj
=
null
for
(
const
key
in
params
)
{
obj
=
params
[
key
]
if
(
obj
===
null
||
obj
===
undefined
)
{
obj
=
''
}
else
if
(
typeof
obj
===
'object'
)
{
obj
=
JSON
.
stringify
(
obj
)
}
params
[
key
]
=
obj
}
keys
.
forEach
(
e
=>
{
!
noSignAttr
.
includes
(
e
)
&&
str
.
push
(
e
+
params
[
e
])
})
params
.
sign
=
MD5
(
secret
+
str
.
join
(
''
)
+
secret
)
return
params
}
export
default
sign
src/views/work/edit.vue
View file @
7a686b9
...
...
@@ -57,13 +57,20 @@
<el-input
v-model
.
trim=
"editForm.serviceLinkerPhone"
maxlength=
"11"
:disabled=
"isDisabled"
></el-input>
</el-form-item>
</div>
<!-- 工单进度 开始 -->
<div
ref=
"orderProgress"
class=
"line_title glsx_hairline"
>
工单进度
</div>
<order-progress
:id=
"editForm.bizOrderNo"
></order-progress>
<!-- 工单进度 end -->
<!-- 设备信息 开始 -->
<div
ref=
"deviceInfo"
class=
"line_title glsx_hairline"
>
设备信息
</div>
<el-form-item
label=
"设备套餐:"
prop=
"deviceCompose"
>
<el-select
v-model=
"editForm.deviceCompose"
:disabled=
"isDisabled"
>
<el-option
v-for=
"(item,index) in deviceList"
:key=
"index"
:label=
"item.name"
:value=
"item.code"
></el-option>
</el-select>
</el-form-item>
<template
v-if=
"type == 3 || editForm.orderStatus == 2"
>
<template
v-if=
"type == 3 || editForm.orderStatus == 2
|| editForm.orderStatus == 5
"
>
<el-form-item
label=
"车辆归属:"
prop=
"orgName"
>
<el-popover
v-model=
"filterVisible"
placement=
"bottom-start"
width=
"400"
trigger=
"click"
:disabled=
"editForm.orderStatus == 2"
>
<div>
...
...
@@ -73,17 +80,23 @@
</el-input>
</el-popover>
</el-form-item>
<div
class=
"form_flex form_device_flex"
v-for=
"(item,index) in editForm.snList"
:key=
"index"
>
<el-form-item
label=
"设备SN号:"
:prop=
"'snList.' + index + '.sn'"
:rules=
"deviceRules"
>
<el-input
v-model=
"item.sn"
maxlength=
"20"
placeholder=
"请输入设备号"
></el-input>
</el-form-item>
<el-form-item
label=
"设备型号:"
:prop=
"'snList.' + index + '.model'"
:rules=
"[
{ required: true, message: '未识别到正确设备型号', trigger:['blur','change']}]">
<el-input
v-model=
"item.model"
disabled
></el-input>
</el-form-item>
<span
class=
"device_tips"
v-if=
"false"
>
验证通过
</span>
</div>
<template
v-for=
"(item,index) in editForm.snList"
>
<div
class=
"form_flex form_device_flex"
:key=
"index"
>
<el-form-item
label=
"设备SN号:"
:prop=
"'snList.' + index + '.sn'"
:rules=
"deviceRules"
>
<el-input
v-model=
"item.sn"
maxlength=
"20"
placeholder=
"请输入设备号"
></el-input>
</el-form-item>
<el-form-item
label=
"设备型号:"
:prop=
"'snList.' + index + '.model'"
:rules=
"[
{ required: true, message: '未识别到正确设备型号', trigger:['blur','change']}]">
<el-input
v-model=
"item.model"
disabled
></el-input>
</el-form-item>
<span
class=
"device_tips"
:class=
"!item.checkResult?'cred':''"
>
{{
item
.
checkResult
?
'验证通过'
:
'验证不通过'
}}
</span>
<el-button
type=
"primary"
size=
"mini"
class=
"el_btn"
:disabled=
"!item.gpsBsData"
>
查看定位
</el-button>
</div>
<map-location
:info=
"getMapInfo(item)"
:key=
"index"
v-if=
"item.showMap"
></map-location>
</
template
>
</template>
<!-- 设备信息 end -->
<!-- 承租人信息 开始 -->
<div
ref=
"lesseeInfo"
class=
"line_title glsx_hairline"
>
承租人信息
</div>
<div
class=
"form_flex"
>
<el-form-item
label=
"承租人姓名:"
prop=
"lesseeName"
>
...
...
@@ -102,6 +115,9 @@
<el-input
v-model
.
trim=
"editForm.lesseePhone"
maxlength=
"11"
:disabled=
"isDisabled"
></el-input>
</el-form-item>
</div>
<!-- 承租人信息 end -->
<!-- 车辆信息 开始 -->
<div
ref=
"carInfo"
class=
"line_title glsx_hairline"
>
车辆信息
</div>
<div
class=
"form_flex"
>
<el-form-item
label=
"车牌号:"
>
...
...
@@ -132,6 +148,14 @@
<el-form-item
label=
"备注:"
>
<el-input
type=
"textarea"
rows=
"4"
resize=
"none"
v-model
.
trim=
"editForm.remark"
maxlength=
"500"
:disabled=
"isDisabled"
></el-input>
</el-form-item>
<!-- 车辆信息 end -->
<!-- 安装照片 开始 -->
<div
class=
"line_title glsx_hairline"
>
安装照片
</div>
<image-upload
v-model=
"editForm.workOrderDocs"
></image-upload>
<!-- 安装照片 end -->
<!-- 操作日志 开始 -->
<div
ref=
"logInfo"
class=
"line_title glsx_hairline"
>
操作日志
</div>
<el-form-item
label=
"操作记录:"
>
<div
class=
"log_list"
>
...
...
@@ -141,6 +165,7 @@
</div>
</div>
</el-form-item>
<!-- 操作日志 end -->
</el-form>
...
...
@@ -159,10 +184,14 @@ import {
GET_CLASSIFYNAME_INFO
,
ACTIVATE_WORKORDER_INFO
,
GET_WORKORDER_OPERLOG
,
VERIFY_WORKORDER_INFO
,
}
from
"@/services/order"
;
import
{
Validator
}
from
"@/common/validator"
;
import
{
showToast
,
deepClone
,
showModal
}
from
"@/utils/util"
;
import
moment
from
"moment"
;
import
MapLocation
from
"@/components/amap"
;
import
OrderProgress
from
"./progress"
;
import
ImageUpload
from
"./image"
;
/**
* type 1:查看工单,不可编辑 2:编辑工单 3:激活工单
...
...
@@ -173,6 +202,9 @@ export default {
components
:
{
PlateNumberInput
,
GlsxOrganization
,
MapLocation
,
OrderProgress
,
ImageUpload
,
},
props
:
{
id
:
{
...
...
@@ -191,14 +223,26 @@ export default {
console
.
log
(
rule
);
let
idx
=
rule
.
field
.
split
(
"."
)[
1
];
if
(
value
)
{
VERIFY_DEVICE_INFO
({
sn
:
value
}).
then
((
res
)
=>
{
let
oParams
=
{
devices
:
[{
sn
:
value
}],
workOrderId
:
_this
.
editForm
.
id
,
};
VERIFY_WORKORDER_INFO
(
oParams
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
GET_CLASSIFYNAME_INFO
({
sn
:
value
}).
then
((
res
)
=>
{
if
(
res
.
data
)
{
let
m
=
_this
.
editForm
.
snList
;
console
.
log
(
res
);
let
m
=
_this
.
editForm
.
snList
;
let
idx
=
m
.
findIndex
((
k
)
=>
k
.
sn
==
value
);
let
_arr
=
res
.
data
;
let
nd
=
_arr
.
find
((
k
)
=>
k
.
sn
==
value
);
if
(
nd
)
{
_this
.
$set
(
_this
.
editForm
.
snList
,
idx
,
nd
);
}
GET_CLASSIFYNAME_INFO
({
sn
:
value
}).
then
((
response
)
=>
{
if
(
response
.
data
)
{
//let idx = m.findIndex((k) => k.sn == value);
let
o
=
m
[
idx
];
o
.
model
=
res
.
data
;
//o = Object.assign(o, res.data);
o
.
model
=
response
.
data
;
_this
.
$set
(
_this
.
editForm
.
snList
,
idx
,
o
);
}
});
...
...
@@ -524,6 +568,7 @@ export default {
getEditParams
()
{
let
oParams
=
{};
let
o
=
deepClone
(
this
.
editForm
);
console
.
log
(
o
);
let
m
=
{};
oParams
.
id
=
o
.
id
;
...
...
@@ -571,6 +616,10 @@ export default {
m
.
displacement
=
o
.
displacement
;
oParams
.
vehicles
=
[
m
];
// 图片
oParams
.
workOrderDocs
=
o
.
workOrderDocs
;
return
oParams
;
},
...
...
@@ -586,7 +635,7 @@ export default {
},
// 激活工单
activeDevice
()
{
activeDevice
(
type
)
{
let
_this
=
this
;
let
o
=
deepClone
(
this
.
editForm
);
let
m
=
o
.
snList
;
...
...
@@ -604,6 +653,9 @@ export default {
oParams
.
devices
=
arr
;
oParams
.
workOrderId
=
o
.
id
;
oParams
.
orgId
=
o
.
orgId
;
oParams
.
activateType
=
type
||
1
;
oParams
.
workOrderDocs
=
o
.
workOrderDocs
;
oParams
.
plateNo
=
o
.
plateNo
;
ACTIVATE_WORKORDER_INFO
(
oParams
).
then
((
res
)
=>
{
if
(
res
.
code
!=
200
)
{
...
...
@@ -662,6 +714,20 @@ export default {
}
this
.
scrollTo
(
_id
);
},
// 审核工单
auditWorkOrderInfo
()
{
this
.
activeDevice
(
2
);
},
// 获取地图数据
getMapInfo
(
row
)
{
let
m
=
this
.
editForm
;
let
oParams
=
{
...
m
};
oParams
.
sn
=
row
.
sn
;
//oParams.gpsData
return
oParams
;
},
},
};
</
script
>
...
...
@@ -688,17 +754,23 @@ export default {
margin-bottom
:
30px
;
}
.form_device_flex
{
align-items
:
center
;
.el-form-item
{
flex
:
0
0
50%
;
flex
:
auto
;
}
.device_tips
{
margin-bottom
:
18px
;
padding-left
:
10px
;
color
:
#439900
;
font-size
:
12px
;
}
.cred
{
color
:
#f00
;
}
.el_btn
{
margin-left
:
4px
;
margin-bottom
:
18px
;
}
}
.log_list
{
.cell
{
...
...
src/views/work/image.vue
0 → 100644
View file @
7a686b9
<
template
>
<div
class=
"image_upload_page"
>
<!-- 图片列表 开始 -->
<div
class=
"img_cell"
v-for=
"(item,index) in imgList"
:key=
"index"
>
<div
class=
"el_img_box"
>
<i
class=
"el-icon-error el_icon"
@
click=
"removeImage(item)"
></i>
<el-image
class=
"el_img"
:src=
"item.path"
:preview-src-list=
"[item.path]"
></el-image>
</div>
</div>
<!-- 图片列表 end -->
<!-- 上传 开始 -->
<el-upload
class=
"el_upload"
v-if=
"imgList&&imgList.length
<9
"
:action=
"uploadUrl"
list-type=
"picture-card"
:show-file-list=
"false"
:on-change=
"onChange"
:http-request=
"uploadRequest"
>
<i
class=
"el-icon-plus"
></i>
</el-upload>
<!-- 上传 end -->
</div>
</
template
>
<
script
>
import
axios
from
"axios"
;
import
sign
from
"@/utils/sign"
;
import
qs
from
"qs"
;
import
{
DELETE_ORDER_IMAGE
}
from
"@/services/order"
;
export
default
{
name
:
"ImageUpload"
,
props
:
{
value
:
{
type
:
Array
,
default
:
function
()
{
return
[];
},
},
},
data
()
{
return
{
imgList
:
[],
uploadUrl
:
""
,
};
},
watch
:
{
value
:
{
handler
:
function
(
n
,
o
)
{
this
.
imgList
=
n
;
},
immediate
:
true
,
},
},
mounted
()
{},
methods
:
{
// 监听选择图片
onChange
(
file
,
fileList
)
{},
// 图片转换成base64
toBase64
(
file
)
{
let
_this
=
this
;
const
reader
=
new
FileReader
();
reader
.
readAsDataURL
(
file
);
reader
.
onload
=
(
event
)
=>
{
const
imgFile
=
event
.
target
.
result
;
const
arrBase64
=
imgFile
.
split
(
","
);
let
arr
=
file
.
name
.
split
(
"."
);
let
_type
=
arr
[
arr
.
length
-
1
];
let
fileInfo
=
_type
+
"@"
+
arrBase64
[
1
];
let
oParams
=
{
fileName
:
file
.
name
,
file
:
fileInfo
,
};
_this
.
uploadImage
(
oParams
);
};
},
// 自定义上传
uploadRequest
(
e
)
{
let
file
=
e
.
file
;
this
.
toBase64
(
file
);
},
// 上传图片到服务器
uploadImage
(
params
=
{},
noSignAttr
=
[
"file"
])
{
let
_this
=
this
;
const
fileUploadURL
=
"https://didicb.glsx.com.cn"
||
localStorage
.
getItem
(
"FILE_UPLOAD_URL"
);
params
.
source
=
"glsx-oss-carowner"
;
params
.
app_key
=
"48e5e13229b82c1b4e6e8c96151f0637"
;
params
.
timestamp
=
new
Date
().
getTime
();
params
.
v
=
"1.0.0"
;
params
.
format
=
"json"
;
params
.
method
=
"glsx.accounts.biz.common.pictureUpload"
;
const
data
=
sign
(
params
,
noSignAttr
);
axios
.
post
(
`
${
fileUploadURL
}
/router?method=
${
params
.
method
}
`
,
qs
.
stringify
(
data
)
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
let
response
=
res
.
data
;
if
(
response
.
returnCode
==
0
)
{
_this
.
imgList
.
push
({
path
:
response
.
data
});
console
.
log
(
_this
.
imgList
);
//
//this.$emit("change", response.data);
_this
.
$emit
(
"input"
,
_this
.
imgList
);
}
});
},
// 删除图片
removeImage
(
row
)
{
//数组中删除对应img
this
.
imgList
=
this
.
imgList
.
filter
((
k
)
=>
k
.
path
!=
row
.
path
);
// 删除存量图片
if
(
row
.
id
)
{
DELETE_ORDER_IMAGE
({
id
:
row
.
id
});
}
},
},
};
</
script
>
<
style
lang=
"scss"
>
.el_upload
{
.el-upload--picture-card
{
width
:
120px
!important
;
height
:
120px
;
line-height
:
118px
;
}
}
</
style
>
<
style
lang=
"scss"
scoped
>
.image_upload_page
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.img_cell
{
display
:
flex
;
flex-wrap
:
wrap
;
.el_img_box
{
position
:
relative
;
width
:
120px
;
height
:
120px
;
border-radius
:
4px
;
border
:
1px
dashed
#d8d8d8
;
padding
:
4px
;
margin
:
0
10px
10px
0
;
box-sizing
:
border-box
;
.el_icon
{
position
:
absolute
;
top
:
0
;
right
:
0
;
z-index
:
2
;
color
:
#f00
;
font-size
:
20px
;
display
:
none
;
cursor
:
pointer
;
}
.el_img
{
width
:
100%
;
height
:
100%
;
border-radius
:
4px
;
}
}
.el_img_box
:hover
{
.el_icon
{
display
:
block
;
}
}
}
</
style
>
\ No newline at end of file
src/views/work/order.vue
View file @
7a686b9
...
...
@@ -55,14 +55,6 @@
</div>
<!-- 搜索区域 end -->
<!-- 测试代码 开始 -->
<!--
<el-button
@
click=
"goCarDetail"
>
查看详情
</el-button>
<map-location></map-location>
-->
<!--
<order-progress
id=
"glsx_1645009975009"
></order-progress>
-->
<!-- 测试代码 end -->
<!-- 操作区域 开始 -->
<div
class=
"links_group"
>
<span
class=
"name"
>
工单管理
</span>
...
...
@@ -98,6 +90,7 @@
<el-link
class=
"el_link"
type=
"primary"
@
click=
"lookDetail(row,1)"
>
查看
</el-link>
<el-link
class=
"el_link"
type=
"primary"
v-if=
"row.status == 0 ||row.status == 1"
@
click=
"lookDetail(row,2)"
>
编辑
</el-link>
<el-link
class=
"el_link"
type=
"primary"
v-if=
"row.status == 0 ||row.status == 1"
@
click=
"lookDetail(row,3)"
>
激活
</el-link>
<el-link
class=
"el_link"
type=
"primary"
v-if=
"row.status == 5"
@
click=
"lookDetail(row,4)"
>
审核
</el-link>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -157,8 +150,10 @@
<edit-order
ref=
"editOrderCom"
:id=
"orderId"
:type=
"orderType"
@
change=
"onEditChange"
></edit-order>
</div>
<div
slot=
"footer"
>
<el-button
type=
"primary"
size=
"small"
:loading=
"aloading"
v-if=
"orderType == 1"
@
click=
"goCarDetail()"
>
车辆详情
</el-button>
<el-button
type=
"primary"
size=
"small"
:loading=
"aloading"
v-if=
"orderType == 3"
@
click=
"activeDevice()"
>
激活
</el-button>
<el-button
type=
"primary"
size=
"small"
:loading=
"aloading"
v-if=
"orderType == 2"
@
click=
"saveInfo()"
>
提交
</el-button>
<el-button
type=
"primary"
size=
"small"
:loading=
"aloading"
v-if=
"orderType == 4"
@
click=
"auditWorkOrderInfo()"
>
审核
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"closeDetailDialog()"
>
关闭
</el-button>
</div>
</glsx-dialog>
...
...
@@ -181,15 +176,11 @@ import store from "@/store";
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
EditOrder
from
"./edit.vue"
;
import
moment
from
"moment"
;
import
MapLocation
from
"@/components/amap"
;
import
OrderProgress
from
"./progress"
;
export
default
{
components
:
{
GlsxDialog
,
GlsxOrganization
,
EditOrder
,
MapLocation
,
OrderProgress
,
},
data
()
{
return
{
...
...
@@ -228,10 +219,12 @@ export default {
1
:
"查看工单"
,
2
:
"编辑工单"
,
3
:
"激活工单"
,
4
:
"审核工单"
,
},
statusList
:
[],
tdWidth
:
140
,
longTdWidth
:
180
,
orderInfo
:
{},
};
},
watch
:
{
...
...
@@ -425,6 +418,7 @@ export default {
this
.
showWorkDialog
=
true
;
this
.
orderId
=
row
.
id
;
this
.
orderType
=
type
;
this
.
orderInfo
=
row
;
if
(
type
==
3
)
{
this
.
activeId
=
"deviceInfo"
;
}
...
...
@@ -446,6 +440,7 @@ export default {
this
.
showWorkDialog
=
false
;
this
.
activeId
=
"orderInfo"
;
this
.
orderId
=
""
;
this
.
orderInfo
=
{};
this
.
$refs
.
editOrderCom
.
rest
();
},
...
...
@@ -492,11 +487,19 @@ export default {
// 查看车辆详情
goCarDetail
()
{
let
row
=
this
.
orderInfo
;
let
oParams
=
{};
oParams
.
vin
=
"LGBF5AE08FR305952"
;
oParams
.
vin
=
row
.
vin
;
let
path
=
`/trialRun#/vehicleManage/vehicleList`
;
history
.
pushState
(
oParams
,
"车辆列表"
,
path
);
},
// 审核工单
auditWorkOrderInfo
(){
this
.
aloading
=
true
;
this
.
$refs
.
editOrderCom
.
auditWorkOrderInfo
();
}
},
};
</
script
>
...
...
src/views/work/progress.vue
View file @
7a686b9
...
...
@@ -41,7 +41,7 @@ export default {
props
:
{
id
:
{
type
:
[
String
,
Number
],
default
:
"
1000013780
"
,
default
:
""
,
},
},
data
()
{
...
...
@@ -60,7 +60,7 @@ export default {
},
},
mounted
()
{
this
.
getList
();
//
this.getList();
},
methods
:
{
// 获取工单进度
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment