Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
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 69fc68ab
authored
Oct 24, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
e1d2864a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
32 deletions
src/assets/css/public.scss
src/views/leadManage/collision.vue
src/views/leadManage/leadInto.vue
src/views/leadManage/sendRepairList.vue
src/views/leadManage/snManageList.vue
src/assets/css/public.scss
View file @
69fc68a
...
...
@@ -150,3 +150,7 @@ img {
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.customMessageClass
{
z-index
:
9999
!
important
;
}
\ No newline at end of file
src/views/leadManage/collision.vue
View file @
69fc68a
...
...
@@ -219,7 +219,11 @@ export default {
}
this
.
$apis
.
sendRepair
.
setFollowInfoApi
(
params
).
then
(
res
=>
{
if
(
res
){
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
({
type
:
'success'
,
message
:
'操作成功'
,
customClass
:
'customMessageClass'
})
// const { followResult, followRemark} = this.recordForm
// this.detailDataObj.followResult = followResult
// this.detailDataObj.followRemark = followRemark
...
...
src/views/leadManage/leadInto.vue
View file @
69fc68a
...
...
@@ -72,27 +72,31 @@ export default {
},
uploadFile
(
e
)
{
const
file
=
e
.
srcElement
.
files
[
0
]
let
AllImgExt
=
'.xlsx'
//文件格式判断
let
AllImgExt
=
'.xlsx
|.xls
'
//文件格式判断
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
if
(
AllImgExt
!==
extName
)
{
this
.
$message
.
error
(
'文件格式不正确'
)
if
(
AllImgExt
.
indexOf
(
extName
)
<
0
)
{
this
.
$message
({
type
:
'error'
,
message
:
'请选择xlsx、xls文件'
,
customClass
:
'customMessageClass'
})
this
.
$refs
.
file
.
value
=
''
return
false
}
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
reader
.
onload
=
event
=>
{
const
imgFile
=
event
.
target
.
result
const
arrBase64
=
imgFile
.
split
(
','
)
const
fileName
=
file
.
name
.
split
(
'.'
)
//fileUrl: 文件名 + @ + base64拼接
const
fileUrl
=
fileName
.
pop
()
+
'@'
+
arrBase64
[
1
]
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
this
.
$apis
.
common
.
pictureUpload
({
file
:
fileUrl
}).
then
(
res
=>
{
loading
.
close
()
if
(
res
){
...
...
src/views/leadManage/sendRepairList.vue
View file @
69fc68a
...
...
@@ -214,16 +214,6 @@ export default {
label
:
'IMEI/SN号'
},
{
type
:
'input'
,
name
:
'merchantName'
,
label
:
'商户名称'
},
{
type
:
'input'
,
name
:
'merchantNo'
,
label
:
'商户号'
},
{
type
:
'select'
,
name
:
'snType'
,
label
:
'设备类型'
,
...
...
@@ -420,6 +410,7 @@ export default {
},
closeDialogFn
(){
this
.
collVisible
=
false
this
.
searchTable
()
},
handleOk
()
{
this
.
$refs
.
sendNoticeRef
.
$refs
.
formRef
.
validate
(
valid
=>
{
...
...
src/views/leadManage/snManageList.vue
View file @
69fc68a
...
...
@@ -223,16 +223,6 @@ export default {
label
:
'IMEI/SN号'
},
{
type
:
'input'
,
name
:
'merchantName'
,
label
:
'商户名称'
},
{
type
:
'input'
,
name
:
'merchantNo'
,
label
:
'商户号'
},
{
type
:
'select'
,
name
:
'snType'
,
label
:
'设备类型'
,
...
...
@@ -417,13 +407,13 @@ export default {
handleOk
()
{
this
.
$refs
.
deviceRef
.
$refs
.
formRef
.
validate
(
valid
=>
{
if
(
valid
){
console
.
log
(
this
.
basicForm
)
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
basicForm
))
delete
params
.
sn
this
.
$apis
.
sendRepair
.
editDeviceInfoApi
(
params
).
then
(
res
=>
{
if
(
res
){
console
.
log
(
res
)
this
.
$message
.
success
(
'操作成功'
)
this
.
handleCancel
()
this
.
searchTable
()
}
})
}
...
...
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