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 9f01ca10
authored
Apr 06, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
..
1 parent
27ed4a09
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
26 deletions
src/setup/qiankun.js
src/views/claims/components/repair.vue
src/views/claims/components/report.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/setup/qiankun.js
View file @
9f01ca1
...
@@ -2,7 +2,7 @@ import Vue from 'vue'
...
@@ -2,7 +2,7 @@ import Vue from 'vue'
import
{
message
,
messageBox
}
from
'@/plugins/element.js'
import
{
message
,
messageBox
}
from
'@/plugins/element.js'
import
{
fetchConfig
}
from
'@/config'
import
{
fetchConfig
}
from
'@/config'
import
{
GLButton
,
GLTable
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
GLButton
,
GLTable
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
//
import GLCombiForm from '@/components/GlCombiForm'
import
GLCombiForm
from
'@/components/GlCombiForm'
// import GlSearch from '@/components/GlSearch'
// import GlSearch from '@/components/GlSearch'
// import GlSearchItem from '@/components/GlSearchItem'
// import GlSearchItem from '@/components/GlSearchItem'
import
{
getRoutes
}
from
'@/router'
import
{
getRoutes
}
from
'@/router'
...
@@ -15,7 +15,7 @@ let instance = null
...
@@ -15,7 +15,7 @@ let instance = null
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLTable
)
// Vue.use(Table)
// Vue.use(Table)
// Vue.use(TableColumn)
// Vue.use(TableColumn)
//
Vue.use(GLCombiForm)
Vue
.
use
(
GLCombiForm
)
// Vue.use(GlSearch)
// Vue.use(GlSearch)
// Vue.use(GlSearchItem)
// Vue.use(GlSearchItem)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
...
...
src/views/claims/components/repair.vue
View file @
9f01ca1
<
template
>
<
template
>
<div>
<div>
<div
class=
"report-components"
>
<div
v-if=
"isGH"
class=
"report-components"
>
<div
class=
"title"
>
报案信息(店面补充)
</div>
<div
class=
"title"
>
报案信息(店面补充)
</div>
<glsx-combi-form
class=
"edit-form-container"
ref=
"handlerRef"
:formRules=
"accountRule"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"accountForm"
:formData=
"handlerForm"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"handlerRef"
:formRules=
"accountRule"
labelWidth=
"144px"
defaultWidth=
"320px"
:formObj=
"accountForm"
:formData=
"handlerForm"
></glsx-combi-form>
</div>
</div>
...
@@ -45,7 +45,8 @@ export default {
...
@@ -45,7 +45,8 @@ export default {
props
:
{
props
:
{
accountForm
:
Object
,
accountForm
:
Object
,
equityList
:
Array
,
equityList
:
Array
,
totalPrice
:
Number
totalPrice
:
Number
,
isGH
:
Boolean
,
},
},
components
:
{
components
:
{
glsxCombiForm
,
glsxCombiForm
,
...
...
src/views/claims/components/report.vue
View file @
9f01ca1
...
@@ -14,6 +14,7 @@ export default {
...
@@ -14,6 +14,7 @@ export default {
},
},
props
:
{
props
:
{
editForm
:
Object
,
editForm
:
Object
,
isGH
:
Boolean
,
pageType
:
{
pageType
:
{
type
:
Number
,
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
...
@@ -33,20 +34,10 @@ export default {
...
@@ -33,20 +34,10 @@ export default {
}
}
}
}
},
},
crea
ted
()
{
moun
ted
()
{
this
.
diff
Host
(
)
this
.
diff
KeyHandle
(
this
.
isGH
)
},
},
methods
:
{
methods
:
{
// 从域名判断是不是广汇的
diffHost
()
{
let
href
=
window
.
location
.
host
if
(
href
.
indexOf
(
'cgacar'
)
!=
-
1
)
{
this
.
showGh
=
true
}
else
{
this
.
showGh
=
false
}
this
.
diffKeyHandle
(
this
.
showGh
)
},
// 处理广汇嘀加不同字段显示
// 处理广汇嘀加不同字段显示
diffKeyHandle
(
showGh
)
{
diffKeyHandle
(
showGh
)
{
const
isDisabled
=
this
.
pageType
==
2
?
true
:
false
const
isDisabled
=
this
.
pageType
==
2
?
true
:
false
...
...
src/views/claims/index.vue
View file @
9f01ca1
...
@@ -6,9 +6,15 @@
...
@@ -6,9 +6,15 @@
</div>
</div>
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
请注意:订单列表还有0单待提交国任,0单校验不通过退回处理,为保障客户权益,请尽快处理哦!
请注意:订单列表还有
<span
class=
"count_num"
>
0
</span>
单待提交国任,
<span
class=
"count_num"
>
0
</span>
单校验不通过退回处理,为保障客户权益,请尽快处理哦!
</div>
</div>
<div
class=
"search_container"
>
<GLCombiForm
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOkFn"
@
handleRest=
"handleRestFn"
:beforeSearchFn=
"beforeSearchFn"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleOkFn"
@
handleRest=
"handleRestFn"
:beforeSearchFn=
"beforeSearchFn"
></GLCombiForm>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
<GLTable
ref=
"equityRef"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageSizes=
"sizeList"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
>
<GLTable
ref=
"equityRef"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageSizes=
"sizeList"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
...
@@ -219,6 +225,7 @@ export default {
...
@@ -219,6 +225,7 @@ export default {
this
.
showGh
=
true
this
.
showGh
=
true
}
else
{
}
else
{
this
.
showGh
=
false
this
.
showGh
=
false
this
.
searchFormData
[
0
].
placeholder
=
'请输入客户名、合同号、报案号'
}
}
},
},
// 1.新增 2.查看 3.重新提交 4.去处理
// 1.新增 2.查看 3.重新提交 4.去处理
...
@@ -226,7 +233,8 @@ export default {
...
@@ -226,7 +233,8 @@ export default {
let
urlParam
=
{
let
urlParam
=
{
editNo
,
editNo
,
isGH
:
this
.
showGh
,
isGH
:
this
.
showGh
,
contractNo
:
editNo
==
1
?
-
1
:
row
.
contractNo
// 嘀加的用合同号
// isGH: true,
contractNo
:
editNo
==
1
?
''
:
row
.
contractNo
// 嘀加的用合同号
}
}
if
(
this
.
showGh
)
{
if
(
this
.
showGh
)
{
// 广汇的用核销码
// 广汇的用核销码
...
@@ -289,6 +297,18 @@ export default {
...
@@ -289,6 +297,18 @@ export default {
color
:
#5850ff
;
color
:
#5850ff
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.count_num
{
font-size
:
14px
;
color
:
#5850ff
;
letter-spacing
:
0
;
font-weight
:
500
;
margin
:
0
8px
;
}
}
.search_container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
0
;
}
}
.table_widget
{
.table_widget
{
padding
:
0px
20px
20px
40px
;
padding
:
0px
20px
20px
40px
;
...
...
src/views/claims/order.vue
View file @
9f01ca1
<!-- 权益订单 -->
<!-- 权益订单 -->
<
template
>
<
template
>
<div
class=
"app"
>
<div
class=
"app"
>
<report
ref=
"reportRef"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
ref=
"reportRef"
:
isGH=
"routeInfo.isGH"
:
pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
ref=
"repairRef"
:equityList
.
sync=
"equityList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
ref=
"repairRef"
:
isGH=
"routeInfo.isGH"
:
equityList
.
sync=
"equityList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
ref=
"materialRef"
:materialForm
.
sync=
"materialForm"
></material>
<material
ref=
"materialRef"
:materialForm
.
sync=
"materialForm"
></material>
<el-button
type=
"primary"
size=
"small"
@
click=
"validAccountInfo"
>
校验
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"validAccountInfo"
>
校验
</el-button>
</div>
</div>
...
@@ -20,6 +20,7 @@ export default {
...
@@ -20,6 +20,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
routeInfo
:
null
,
isGH
:
false
,
isGH
:
false
,
editForm
:
{
editForm
:
{
contractNo
:
''
,
contractNo
:
''
,
...
@@ -66,11 +67,11 @@ export default {
...
@@ -66,11 +67,11 @@ export default {
}
}
},
},
created
()
{
created
()
{
//
const urlParam = this.$route.params
const
urlParam
=
this
.
$route
.
params
//
const urlQuery = JSON.parse(decodeURIComponent(urlParam.id))
const
urlQuery
=
JSON
.
parse
(
decodeURIComponent
(
urlParam
.
id
))
//
this.pageType = urlQuery.editNo
this
.
pageType
=
urlQuery
.
editNo
//
this.routeInfo = urlQuery
this
.
routeInfo
=
urlQuery
//
this.handleFormInfo(urlQuery.contractNo, urlQuery.isGH)
this
.
handleFormInfo
(
urlQuery
.
contractNo
,
urlQuery
.
isGH
)
// if(!this.isGH){
// if(!this.isGH){
// }
// }
},
},
...
@@ -89,7 +90,7 @@ export default {
...
@@ -89,7 +90,7 @@ export default {
console
.
log
(
this
.
editForm
)
console
.
log
(
this
.
editForm
)
},
},
// 根据页面跳转参数处理表单信息-自动填入
// 根据页面跳转参数处理表单信息-自动填入
// 步骤流程:拿到核销码/
者
合同号后==》请求接口获取该合同号/核销码下对应的套餐,下发数据到维修信息模块,上传资料模块,报案信息模块
// 步骤流程:拿到核销码/合同号后==》请求接口获取该合同号/核销码下对应的套餐,下发数据到维修信息模块,上传资料模块,报案信息模块
handleFormInfo
(
contractNo
,
isGH
)
{
handleFormInfo
(
contractNo
,
isGH
)
{
if
(
isGH
)
{
if
(
isGH
)
{
this
.
editForm
.
writeOffCode
=
contractNo
this
.
editForm
.
writeOffCode
=
contractNo
...
...
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