Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 2f21bf5b
authored
Apr 21, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug,上传修改限制30M
1 parent
345b354b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
144 additions
and
96 deletions
src/api/modules/claims.js
src/views/beforeSale/equityList.vue
src/views/claims/components/material.vue
src/views/claims/components/repair.vue
src/views/claims/components/report.vue
src/views/claims/ghIndex.vue
src/views/claims/ghOrder.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/api/modules/claims.js
View file @
2f21bf5
...
@@ -9,7 +9,8 @@ const getclaimsList = params => {
...
@@ -9,7 +9,8 @@ const getclaimsList = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -19,7 +20,8 @@ const getclaimsCount = params => {
...
@@ -19,7 +20,8 @@ const getclaimsCount = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -29,7 +31,8 @@ const resubmitOrder = params => {
...
@@ -29,7 +31,8 @@ const resubmitOrder = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -39,7 +42,8 @@ const commitClaimsOrder = params => {
...
@@ -39,7 +42,8 @@ const commitClaimsOrder = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -49,7 +53,8 @@ const getClaimsDetail = params => {
...
@@ -49,7 +53,8 @@ const getClaimsDetail = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -59,7 +64,8 @@ const exportClaimsData = params => {
...
@@ -59,7 +64,8 @@ const exportClaimsData = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -69,7 +75,8 @@ const checkContractNo = params => {
...
@@ -69,7 +75,8 @@ const checkContractNo = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -79,7 +86,8 @@ const getDetailByWOCode = params => {
...
@@ -79,7 +86,8 @@ const getDetailByWOCode = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -89,7 +97,8 @@ const getBankList = params => {
...
@@ -89,7 +97,8 @@ const getBankList = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -99,7 +108,8 @@ const getCityList = params => {
...
@@ -99,7 +108,8 @@ const getCityList = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
@@ -109,7 +119,8 @@ const getAccountInfo = params => {
...
@@ -109,7 +119,8 @@ const getAccountInfo = params => {
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
data
:
params
,
sign
:
true
})
})
}
}
...
...
src/views/beforeSale/equityList.vue
View file @
2f21bf5
<!-- 权益订单列表 -->
<!-- 权益订单列表 -->
<
template
>
<
template
>
<div
class=
"before-sale"
>
<div
class=
"before-sale"
>
<div
class=
"flex m-b-10"
>
<div
class=
"flex m-b-10"
>
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增权益
</el-button>
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增权益
</el-button>
<!--
<GLButton
:size=
"size"
fn=
"新增权益"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增权益
</GLButton>
-->
<!--
<GLButton
:size=
"size"
fn=
"新增权益"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增权益
</GLButton>
-->
<!--
<div
class=
"table-top-tips"
><span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
{{
countNoData
}}
单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。
</div>
-->
<!--
<div
class=
"table-top-tips"
><span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
{{
countNoData
}}
单未上传客户凭证等资料,若发生事故无法获得补偿,请尽快在列表操作-上传资料中完善。
</div>
-->
</div>
<div
class=
"container"
>
<div
class=
"find_wrap"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData2"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData3"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
class=
"resetBtn"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</glsx-combi-form>
</div>
</div>
<div
class=
"container"
>
<!-- 表格区域 开始 -->
<div
class=
"find_wrap"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData2"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData3"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
class=
"resetBtn"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 -->
<div
class=
"table_wrapper"
>
<div
class=
"table_wrapper"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<GLButton
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[2].includes(scope.scope.orderStatus)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<GLButton
v-if=
"[2].includes(scope.scope.orderStatus)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<GLButton
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
<GLButton
v-if=
"[3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
</div>
</div>
</GLTable>
</GLTable>
</div>
<!-- 表格区域 end -->
</div>
</div>
<pdf-dialog
:isVisible=
"isPdfVisible"
title=
"合同"
:pdfUrl=
"pdfUrl"
@
closeDialog=
"handlePdfClose"
></pdf-dialog>
<!-- 表格区域 end -->
<!--
<glsx-dialog
title=
"上传资料"
:isVisible
.
sync=
"isFileVisible"
width=
"547px"
:noCancel=
"noCancel"
btnOkLabel=
"关闭"
@
confirmDialog=
"handleUploadFileClose"
@
closeDialog=
"handleUploadFileClose"
>
</div>
<pdf-dialog
:isVisible=
"isPdfVisible"
title=
"合同"
:pdfUrl=
"pdfUrl"
@
closeDialog=
"handlePdfClose"
></pdf-dialog>
<!--
<glsx-dialog
title=
"上传资料"
:isVisible
.
sync=
"isFileVisible"
width=
"547px"
:noCancel=
"noCancel"
btnOkLabel=
"关闭"
@
confirmDialog=
"handleUploadFileClose"
@
closeDialog=
"handleUploadFileClose"
>
<div
style=
"height: 284px; overflow-y: scroll"
>
<div
style=
"height: 284px; overflow-y: scroll"
>
<glsx-combi-form
labelWidth=
"300px"
:isBlock=
"isBlock"
ref=
"uploadFormRef"
formRef=
"uploadChildRef"
:formRules=
"uploadRule"
:formObj
.
sync=
"uploadForm"
:formData=
"uploadFormData"
></glsx-combi-form>
<glsx-combi-form
labelWidth=
"300px"
:isBlock=
"isBlock"
ref=
"uploadFormRef"
formRef=
"uploadChildRef"
:formRules=
"uploadRule"
:formObj
.
sync=
"uploadForm"
:formData=
"uploadFormData"
></glsx-combi-form>
</div>
</div>
</glsx-dialog>
-->
</glsx-dialog>
-->
<el-dialog
:visible
.
sync=
"isTipVisible"
width=
"400px"
class=
"tips-dialog"
top=
"30%"
title=
"提示"
>
<el-dialog
:visible
.
sync=
"isTipVisible"
width=
"400px"
class=
"tips-dialog"
top=
"30%"
title=
"提示"
>
<div
class=
"f-size"
>
<div
class=
"f-size"
>
<i
v-show=
"editNotify.code == '0'"
class=
"el-icon-success"
></i>
<i
v-show=
"editNotify.code == '0'"
class=
"el-icon-success"
></i>
<i
v-show=
"editNotify.code != '0'"
class=
"el-icon-error"
></i>
<i
v-show=
"editNotify.code != '0'"
class=
"el-icon-error"
></i>
<span>
{{
editNotify
.
code
==
'0'
?
'操作成功'
:
editNotify
.
message
}}
</span>
<span>
{{
editNotify
.
code
==
'0'
?
'操作成功'
:
editNotify
.
message
}}
</span>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
:visible
.
sync=
"isSecondVisible"
width=
"400px"
class=
"tips-dialog"
top=
"30%"
:title=
"secondObj.title"
>
<el-dialog
:visible
.
sync=
"isSecondVisible"
width=
"400px"
class=
"tips-dialog"
top=
"30%"
:title=
"secondObj.title"
>
<div
class=
"f-size"
>
<div
class=
"f-size"
>
<i
class=
"el-icon-warning"
></i>
<i
class=
"el-icon-warning"
></i>
<span>
{{
secondObj
.
txt
}}
</span>
<span>
{{
secondObj
.
txt
}}
</span>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
:size=
"size"
@
click=
"handleSecondCancel"
>
取 消
</el-button>
<el-button
:size=
"size"
@
click=
"handleSecondCancel"
>
取 消
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSecondConfirm"
>
确 定
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSecondConfirm"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
isClear
:
true
isClear
:
true
}
}
],
],
searchFormData3
:
[
searchFormData3
:
[
{
{
label
:
'总部'
,
label
:
'总部'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
...
@@ -196,7 +196,7 @@ export default {
...
@@ -196,7 +196,7 @@ export default {
this
.
searchFormData3
[
idx
].
isHide
=
false
this
.
searchFormData3
[
idx
].
isHide
=
false
this
.
searchForm
[
this
.
levelToShow
[
'2'
]]
=
''
this
.
searchForm
[
this
.
levelToShow
[
'2'
]]
=
''
var
tempIdx
=
''
var
tempIdx
=
''
for
(
var
i
=
3
;
i
<=
4
;
i
++
)
{
for
(
var
i
=
3
;
i
<=
4
;
i
++
)
{
tempIdx
=
this
.
searchFormData3
.
findIndex
(
item
=>
item
.
name
==
this
.
levelToShow
[
i
+
''
])
tempIdx
=
this
.
searchFormData3
.
findIndex
(
item
=>
item
.
name
==
this
.
levelToShow
[
i
+
''
])
this
.
searchFormData3
[
tempIdx
].
isHide
=
true
this
.
searchFormData3
[
tempIdx
].
isHide
=
true
this
.
searchForm
[
this
.
levelToShow
[
i
+
''
]]
=
''
this
.
searchForm
[
this
.
levelToShow
[
i
+
''
]]
=
''
...
@@ -520,7 +520,7 @@ export default {
...
@@ -520,7 +520,7 @@ export default {
dqList
:
[],
dqList
:
[],
pqList
:
[],
pqList
:
[],
mdList
:
[],
mdList
:
[],
orderStatusList
:
[
orderStatusList
:
[
{
{
confId
:
0
,
confId
:
0
,
confName
:
'待提单'
confName
:
'待提单'
...
@@ -984,7 +984,7 @@ export default {
...
@@ -984,7 +984,7 @@ export default {
//
margin-top
:
10px
;
//
margin-top
:
10px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
padding
:
0
20px
20px
;
}
}
.before-sale
.m-b-10
{
.before-sale
.m-b-10
{
...
...
src/views/claims/components/material.vue
View file @
2f21bf5
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
<el-button
v-if=
"item.name == 'otherInfo'"
slot=
"default"
:disabled=
"pageType == 2"
size=
"small"
class=
"el-icon-plus"
>
上传文件
</el-button>
<el-button
v-if=
"item.name == 'otherInfo'"
slot=
"default"
:disabled=
"pageType == 2"
size=
"small"
class=
"el-icon-plus"
>
上传文件
</el-button>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCard'"
>
身份证人像面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCard'"
>
身份证人像面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"remark"
v-if=
"item.name == 'idCardBack'"
>
身份证国徽面
</div>
<div
slot=
"tip"
class=
"file-box"
v-if=
"item.name == 'otherInfo'"
>
<div
slot=
"tip"
:style=
"[
{ 'margin-top': materialForm[item.name].length == 0 ? '5px' : '12px' }]"
class="file-box" v-if="item.name == 'otherInfo'">
<span
v-if=
"materialForm[item.name].length == 0"
class=
"file_tip"
>
支持扩展名:.rar .zip .doc .docx .pdf .jpg .png .jpeg。
</span>
<span
v-if=
"materialForm[item.name].length == 0"
class=
"file_tip"
>
支持扩展名:.rar .zip .doc .docx .pdf .jpg .png .jpeg。
图片类型大小不能超过9M,其他类型文件大小不能超过30M。
</span>
<template
v-else
>
<template
v-else
>
<div
class=
"bar_outer"
v-for=
"(imgItem, imgId) in materialForm[item.name]"
:key=
"imgId"
>
<div
class=
"bar_outer"
v-for=
"(imgItem, imgId) in materialForm[item.name]"
:key=
"imgId"
>
<el-progress
<el-progress
...
@@ -28,8 +28,12 @@
...
@@ -28,8 +28,12 @@
"
"
:percentage="imgItem.progress"
:percentage="imgItem.progress"
>
</el-progress>
>
</el-progress>
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top"
>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
</el-tooltip>
</div>
</div>
</
template
>
</
template
>
</div>
</div>
...
@@ -115,14 +119,12 @@ export default {
...
@@ -115,14 +119,12 @@ export default {
return
reject
(
false
)
return
reject
(
false
)
}
}
const
size
=
e
.
size
/
1024
/
1024
const
size
=
e
.
size
/
1024
/
1024
let
maxSize
=
200
let
maxSize
=
9
let
filetype
=
this
.
getFileType
(
e
.
type
)
let
filetype
=
this
.
getFileType
(
e
.
type
)
if
(
filetype
==
'image'
)
{
if
(
filetype
==
'image'
)
{
maxSize
=
9
maxSize
=
9
}
else
if
(
filetype
==
'doc'
)
{
maxSize
=
100
}
else
{
}
else
{
maxSize
=
20
0
maxSize
=
3
0
}
}
if
(
size
>
maxSize
)
{
if
(
size
>
maxSize
)
{
this
.
$message
.
error
(
`上传文件不可超过
${
maxSize
}
M`
)
this
.
$message
.
error
(
`上传文件不可超过
${
maxSize
}
M`
)
...
@@ -142,6 +144,17 @@ export default {
...
@@ -142,6 +144,17 @@ export default {
}
}
},
},
httpRequest
({
file
:
e
},
fieldName
)
{
httpRequest
({
file
:
e
},
fieldName
)
{
let
size
=
e
.
size
/
1024
/
1024
let
loading
=
null
// 大于2给loading
if
(
size
>
2
)
{
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.3)'
})
}
// // 转码base64
// // 转码base64
const
reader
=
new
FileReader
()
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
e
)
reader
.
readAsDataURL
(
e
)
...
@@ -159,8 +172,13 @@ export default {
...
@@ -159,8 +172,13 @@ export default {
const
paramObj
=
{
file
:
fileInfo
,
fileType
:
fileType
}
const
paramObj
=
{
file
:
fileInfo
,
fileType
:
fileType
}
let
param
=
{}
let
param
=
{}
param
.
fileList
=
[
paramObj
]
param
.
fileList
=
[
paramObj
]
this
.
$apis
.
common
this
.
$apis
.
common
.
uploadFileApi
(
param
,
res
=>
{
.
uploadFileApi
(
param
,
res
=>
{
if
(
loading
!=
null
)
{
loading
.
close
()
loading
=
null
}
this
.
$set
(
this
.
materialForm
[
fieldName
][
id
],
'progress'
,
((
res
.
loaded
/
res
.
total
)
*
100
).
toFixed
(
2
))
this
.
$set
(
this
.
materialForm
[
fieldName
][
id
],
'progress'
,
((
res
.
loaded
/
res
.
total
)
*
100
).
toFixed
(
2
))
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -269,6 +287,9 @@ export default {
...
@@ -269,6 +287,9 @@ export default {
&
:nth-child
(
3
)
{
&
:nth-child
(
3
)
{
flex
:
1
;
flex
:
1
;
margin-bottom
:
0
;
margin-bottom
:
0
;
.upload-item
{
max-width
:
650px
;
}
/
deep
/
.el-upload-list__item
,
/
deep
/
.el-upload-list__item
,
/
deep
/
.el-upload--picture-card
{
/
deep
/
.el-upload--picture-card
{
width
:
104px
;
width
:
104px
;
...
@@ -283,6 +304,7 @@ export default {
...
@@ -283,6 +304,7 @@ export default {
}
}
}
}
&
:nth-child
(
4
)
{
&
:nth-child
(
4
)
{
margin-top
:
5px
;
.require
{
.require
{
margin-top
:
9px
;
margin-top
:
9px
;
}
}
...
...
src/views/claims/components/repair.vue
View file @
2f21bf5
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<div
class=
"tip"
v-else
>
输入合同号后自动代入
</div>
<div
class=
"tip"
v-else
>
{{ `输入${isGH ? '核销码' : '合同号'}后自动代入` }}
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"serviceItemsList.length > 0"
class=
"total-price"
>
<div
v-if=
"serviceItemsList.length > 0"
class=
"total-price"
>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
定损批准金为
定损批准金为
<span
class=
"price"
>
<span
class=
"price"
>
<span
class=
"sign"
>
¥
</span>
<span
class=
"sign"
>
¥
</span>
{{ totalPrice }}
<span>
{{ totalPrice }}
</span>
</span>
</span>
</span>
</span>
</div>
</div>
...
@@ -168,6 +168,7 @@ export default {
...
@@ -168,6 +168,7 @@ export default {
}
}
],
],
accountRule
:
{
accountRule
:
{
accountType
:
[{
required
:
true
,
message
:
'请选择账户类型'
,
trigger
:
'change'
}],
branchBankCode
:
[{
required
:
true
,
message
:
'请选择开户行名称'
,
trigger
:
'change'
}],
branchBankCode
:
[{
required
:
true
,
message
:
'请选择开户行名称'
,
trigger
:
'change'
}],
accountName
:
[{
required
:
true
,
message
:
'请输入账户名称'
,
trigger
:
'change'
}],
accountName
:
[{
required
:
true
,
message
:
'请输入账户名称'
,
trigger
:
'change'
}],
accountNo
:
[{
required
:
true
,
message
:
'请输入收款账号'
,
trigger
:
'change'
}],
accountNo
:
[{
required
:
true
,
message
:
'请输入收款账号'
,
trigger
:
'change'
}],
...
@@ -332,7 +333,6 @@ export default {
...
@@ -332,7 +333,6 @@ export default {
max-width
:
1250px
;
max-width
:
1250px
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
margin-bottom
:
6px
;
.tip
{
.tip
{
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
...
@@ -351,10 +351,11 @@ export default {
...
@@ -351,10 +351,11 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#e8e8ea
;
border
:
1px
solid
#e8e8ea
;
margin-right
:
20px
;
margin-right
:
20px
;
margin-bottom
:
1
0px
;
margin-bottom
:
2
0px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
.name
{
.name
{
font-weight
:
600
;
flex
:
1
;
flex
:
1
;
margin-bottom
:
16px
;
margin-bottom
:
16px
;
}
}
...
...
src/views/claims/components/report.vue
View file @
2f21bf5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<glsxCombiForm
:regionData=
"regionData"
class=
"edit-form-container "
ref=
"editFormRefReport"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsxCombiForm
:regionData=
"regionData"
class=
"edit-form-container "
ref=
"editFormRefReport"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
v-if=
"pageType == 1"
style=
"display:inline-block;"
slot=
"syncBtn"
>
<div
v-if=
"pageType == 1"
style=
"display:inline-block;"
slot=
"syncBtn"
>
<el-button
style=
"margin:0 12px;"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
<el-button
style=
"margin:0 12px;"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
<span
style=
"font-weight: 400; color:#666;"
>
同步合同中以下信息,同步后的信息可手动编辑
</span>
<span
style=
"font-weight: 400; color:#666;"
>
{{
`同步${isGH ? '核销码关联合同中的' : '合同中'
}
以下信息,同步后的信息可手动编辑`
}}
<
/span
>
<
/div
>
<
/div
>
<
/glsxCombiForm
>
<
/glsxCombiForm
>
<
/div
>
<
/div
>
...
...
src/views/claims/ghIndex.vue
View file @
2f21bf5
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
请注意:订单列表还有
<span
class=
"count_num"
>
{{
orderCount
.
toBeCommitCount
}}
</span>
<span
class=
"count_num"
>
{{
orderCount
.
toBeCommitCount
||
0
}}
</span>
单待提交国任,
单待提交国任,
<span
class=
"count_num"
>
{{
orderCount
.
noPassCount
}}
</span>
<span
class=
"count_num"
>
{{
orderCount
.
noPassCount
||
0
}}
</span>
单校验不通过退回处理,为保障客户权益,请尽快处理哦!
单校验不通过退回处理,为保障客户权益,请尽快处理哦!
</div>
</div>
<div
class=
"search_container"
>
<div
class=
"search_container"
>
...
@@ -37,6 +37,10 @@ import glsxCombiForm from '@/components/glsx-combi-form'
...
@@ -37,6 +37,10 @@ import glsxCombiForm from '@/components/glsx-combi-form'
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
const
statusList
=
[
const
statusList
=
[
{
{
confId
:
''
,
confName
:
'全部'
},
{
confId
:
0
,
confId
:
0
,
confName
:
'待提交国任'
confName
:
'待提交国任'
},
},
...
@@ -171,7 +175,8 @@ export default {
...
@@ -171,7 +175,8 @@ export default {
prop
:
'status'
,
prop
:
'status'
,
width
:
'120'
,
width
:
'120'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
statusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
status
)
?
statusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
status
).
confName
:
'-'
if
(
!
cellValue
)
return
'-'
return
statusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
status
)
?
statusList
.
find
(
item
=>
item
.
confId
===
cellValue
.
status
).
confName
:
'-'
}
}
},
},
{
{
...
...
src/views/claims/ghOrder.vue
View file @
2f21bf5
...
@@ -279,11 +279,13 @@ export default {
...
@@ -279,11 +279,13 @@ export default {
})
})
this
.
$apis
.
claims
.
commitClaimsOrder
(
params
).
then
(
res
=>
{
this
.
$apis
.
claims
.
commitClaimsOrder
(
params
).
then
(
res
=>
{
loading
.
close
()
loading
.
close
()
this
.
$message
({
if
(
res
)
{
message
:
type
==
1
?
'提交成功'
:
'保存草稿成功'
,
this
.
$message
({
type
:
'success'
message
:
type
==
1
?
'提交成功'
:
'保存草稿成功'
,
})
type
:
'success'
this
.
handleCancel
()
})
this
.
handleCancel
()
}
})
})
},
},
handleCancel
()
{
handleCancel
()
{
...
...
src/views/claims/index.vue
View file @
2f21bf5
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
请注意:订单列表还有
请注意:订单列表还有
<span
class=
"count_num"
>
{{
orderCount
.
toBeCommitCount
}}
</span>
<span
class=
"count_num"
>
{{
orderCount
.
toBeCommitCount
||
0
}}
</span>
单待提交国任,
单待提交国任,
<span
class=
"count_num"
>
{{
orderCount
.
noPassCount
}}
</span>
<span
class=
"count_num"
>
{{
orderCount
.
noPassCount
||
0
}}
</span>
单校验不通过退回处理,为保障客户权益,请尽快处理哦!
单校验不通过退回处理,为保障客户权益,请尽快处理哦!
</div>
</div>
<div
class=
"search_container"
>
<div
class=
"search_container"
>
...
@@ -37,6 +37,10 @@ import glsxCombiForm from '@/components/glsx-combi-form'
...
@@ -37,6 +37,10 @@ import glsxCombiForm from '@/components/glsx-combi-form'
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
const
statusList
=
[
const
statusList
=
[
{
{
confId
:
''
,
confName
:
'全部'
},
{
confId
:
0
,
confId
:
0
,
confName
:
'待提交国任'
confName
:
'待提交国任'
},
},
...
@@ -171,7 +175,8 @@ export default {
...
@@ -171,7 +175,8 @@ export default {
prop
:
'status'
,
prop
:
'status'
,
width
:
'120'
,
width
:
'120'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
statusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
status
)
?
statusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
status
).
confName
:
'-'
if
(
!
cellValue
)
return
'-'
return
statusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
status
)
?
statusList
.
find
(
item
=>
item
.
confId
===
cellValue
.
status
).
confName
:
'-'
}
}
},
},
{
{
...
...
src/views/claims/order.vue
View file @
2f21bf5
...
@@ -279,11 +279,13 @@ export default {
...
@@ -279,11 +279,13 @@ export default {
})
})
this
.
$apis
.
claims
.
commitClaimsOrder
(
params
).
then
(
res
=>
{
this
.
$apis
.
claims
.
commitClaimsOrder
(
params
).
then
(
res
=>
{
loading
.
close
()
loading
.
close
()
this
.
$message
({
if
(
res
)
{
message
:
type
==
1
?
'提交成功'
:
'保存草稿成功'
,
this
.
$message
({
type
:
'success'
message
:
type
==
1
?
'提交成功'
:
'保存草稿成功'
,
})
type
:
'success'
this
.
handleCancel
()
})
this
.
handleCancel
()
}
})
})
},
},
handleCancel
()
{
handleCancel
()
{
...
...
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