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 3eb020be
authored
Apr 16, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改
1 parent
5d629261
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
32 additions
and
24 deletions
src/router/routes.js
src/setup/qiankun.js
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/beforeSale/introduct.vue
src/views/claims/components/material.vue
src/views/claims/ghIndex.vue
src/views/claims/ghOrder.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/views/config/index.vue
src/views/config/indexOfGh.vue
src/router/routes.js
View file @
3eb020b
...
@@ -94,6 +94,12 @@ const staticRoutes = Object.freeze([
...
@@ -94,6 +94,12 @@ const staticRoutes = Object.freeze([
path
:
'/claims/ghIndex'
,
path
:
'/claims/ghIndex'
,
component
:
resolve
=>
require
([
`@/views/claims/ghIndex.vue`
],
resolve
),
component
:
resolve
=>
require
([
`@/views/claims/ghIndex.vue`
],
resolve
),
meta
:
{}
meta
:
{}
},
{
name
:
'ghOrder'
,
path
:
'/claims/ghOrder/:id'
,
component
:
resolve
=>
require
([
`@/views/claims/ghOrder.vue`
],
resolve
),
meta
:
{}
}
}
])
])
export
default
staticRoutes
export
default
staticRoutes
src/setup/qiankun.js
View file @
3eb020b
...
@@ -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,13 +15,13 @@ let instance = null
...
@@ -15,13 +15,13 @@ 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
})
{
const
{
response
,
request
,
request_brand
,
sign
,
secret
}
=
await
fetchConfig
()
const
{
response
,
request
,
request_brand
,
sign
,
secret
}
=
await
fetchConfig
()
// request.baseURL = 'https://scrm.
dev
.glsx.com.cn'
// request.baseURL = 'https://scrm.
test
.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.
dev
.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.
test
.glsx.com.cn'
// request.baseURL = 'http://192.168.1.165:7226'
// request.baseURL = 'http://192.168.1.165:7226'
// request_brand.baseURL = 'http://192.168.1.165:7226'
// request_brand.baseURL = 'http://192.168.1.165:7226'
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
...
...
src/views/beforeSale/editEquity.vue
View file @
3eb020b
<!-- 编辑权益 -->
<!-- 编辑权益 -->
<
template
>
<
template
>
<div
class=
"app"
>
<div
class=
"before-sale edit-equity"
>
<div
class=
"before-sale edit-equity"
>
<!-- 车辆信息 -->
<!-- 车辆信息 -->
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -213,7 +212,6 @@
...
@@ -213,7 +212,6 @@
<!-- 二维码 -->
<!-- 二维码 -->
<qrCode
:bottom=
"320"
phone=
"400 6123 886"
phoneTitle=
"提单及服务咨询"
:codeUrl=
"qrcodUrl"
></qrCode>
<qrCode
:bottom=
"320"
phone=
"400 6123 886"
phoneTitle=
"提单及服务咨询"
:codeUrl=
"qrcodUrl"
></qrCode>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -2028,7 +2026,7 @@ export default {
...
@@ -2028,7 +2026,7 @@ export default {
}
}
.app
{
.app
{
background
:
#f4f5fa
;
background
:
#f4f5fa
;
padding
:
0px
0
20px
0
;
padding
:
0px
20px
20px
40px
;
position
:
absolute
;
position
:
absolute
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
width
:
100%
;
...
...
src/views/beforeSale/equityList.vue
View file @
3eb020b
<!-- 权益订单列表 -->
<!-- 权益订单列表 -->
<
template
>
<
template
>
<div
class=
"app"
>
<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>
...
@@ -60,7 +59,6 @@
...
@@ -60,7 +59,6 @@
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -954,7 +952,7 @@ export default {
...
@@ -954,7 +952,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app
{
.app
{
background
:
#f4f5fa
;
background
:
#f4f5fa
;
padding
:
0px
0
20px
0
;
padding
:
0px
20px
20px
40px
;
position
:
absolute
;
position
:
absolute
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
width
:
100%
;
...
...
src/views/beforeSale/introduct.vue
View file @
3eb020b
<
template
>
<
template
>
<div
class=
"app"
>
<div
class=
"introduct_container"
>
<div
class=
"introduct_container"
>
<div
class=
"top_play_wrap flex_scb"
>
<div
class=
"top_play_wrap flex_scb"
>
<div
class=
"text_wrap"
>
<div
class=
"text_wrap"
>
...
@@ -66,7 +65,6 @@
...
@@ -66,7 +65,6 @@
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
src=
"https://img02.glsx.com.cn/scrm/video/beforeSale.mp4"
></video>
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
src=
"https://img02.glsx.com.cn/scrm/video/beforeSale.mp4"
></video>
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
qrCode
from
'../../components/qr-code/index.vue'
import
qrCode
from
'../../components/qr-code/index.vue'
...
@@ -139,7 +137,7 @@ export default {
...
@@ -139,7 +137,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app
{
.app
{
background
:
#f4f5fa
;
background
:
#f4f5fa
;
padding
:
0px
0
20px
0
;
padding
:
0px
20px
20px
40px
;
position
:
absolute
;
position
:
absolute
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
100%
;
width
:
100%
;
...
...
src/views/claims/components/material.vue
View file @
3eb020b
...
@@ -97,6 +97,7 @@ export default {
...
@@ -97,6 +97,7 @@ export default {
},
},
methods
:
{
methods
:
{
beforeAvatarUpload
(
e
,
fieldName
)
{
beforeAvatarUpload
(
e
,
fieldName
)
{
console
.
log
(
e
)
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
let
AllImgExt
=
'.png|.jpg|.jpeg'
let
AllImgExt
=
'.png|.jpg|.jpeg'
if
(
fieldName
===
'otherInfo'
)
{
if
(
fieldName
===
'otherInfo'
)
{
...
@@ -108,8 +109,17 @@ export default {
...
@@ -108,8 +109,17 @@ export default {
return
reject
(
false
)
return
reject
(
false
)
}
}
const
size
=
e
.
size
/
1024
/
1024
const
size
=
e
.
size
/
1024
/
1024
if
(
size
>
200
)
{
let
maxSize
=
200
this
.
$message
.
error
(
'上传文件不可超过200M'
)
let
filetype
=
this
.
getFileType
(
e
.
type
)
if
(
filetype
==
'image'
){
maxSize
=
9
}
else
if
(
filetype
==
'doc'
){
maxSize
=
100
}
else
{
maxSize
=
200
}
if
(
size
>
maxSize
)
{
this
.
$message
.
error
(
`上传文件不可超过
${
maxSize
}
M`
)
return
reject
(
false
)
return
reject
(
false
)
}
}
return
resolve
(
true
)
return
resolve
(
true
)
...
...
src/views/claims/ghIndex.vue
View file @
3eb020b
<!-- 权益订单 -->
<!-- 权益订单 -->
<
template
>
<
template
>
<div
class=
"app"
>
<div>
<div
class=
"header_btn_widget flex_sc"
>
<div
class=
"header_btn_widget flex_sc"
>
<GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLButton>
<GLButton
size=
"small"
fn=
"
广汇
订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLButton>
</div>
</div>
<div
class=
"header_info_widget"
>
<div
class=
"header_info_widget"
>
<span
class=
"el-icon-warning"
></span>
<span
class=
"el-icon-warning"
></span>
...
@@ -17,11 +17,11 @@
...
@@ -17,11 +17,11 @@
<div
slot=
"footer"
class=
"footer-btns"
style=
"float:right;"
>
<div
slot=
"footer"
class=
"footer-btns"
style=
"float:right;"
>
<el-button
size=
"small"
@
click=
"handleRestFn()"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleRestFn()"
>
重置
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOkFn"
>
查询
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOkFn"
>
查询
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"exportList"
plain
>
导出excel
</el-button>
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
<el-button
style=
"float:right;margin-bottom:10px;"
size=
"small"
type=
"primary"
@
click=
"exportList"
plain
>
导出excel
</el-button>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"batchPageConf"
>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"batchPageConf"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</GLButton>
<GLButton
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</GLButton>
...
@@ -254,7 +254,7 @@ export default {
...
@@ -254,7 +254,7 @@ export default {
urlParam
.
contractNo
=
editNo
==
1
?
''
:
row
.
writeOffCode
urlParam
.
contractNo
=
editNo
==
1
?
''
:
row
.
writeOffCode
}
}
const
temp
=
encodeURIComponent
(
JSON
.
stringify
(
urlParam
))
const
temp
=
encodeURIComponent
(
JSON
.
stringify
(
urlParam
))
this
.
$router
.
push
({
path
:
'/claims/
o
rder/'
+
temp
})
this
.
$router
.
push
({
path
:
'/claims/
ghO
rder/'
+
temp
})
},
},
handleOkFn
()
{
handleOkFn
()
{
this
.
getParams
()
this
.
getParams
()
...
...
src/views/claims/ghOrder.vue
0 → 100644
View file @
3eb020b
This diff is collapsed.
Click to expand it.
src/views/claims/index.vue
View file @
3eb020b
<!-- 权益订单 -->
<!-- 权益订单 -->
<
template
>
<
template
>
<div
class=
"app"
>
<div>
<div
class=
"header_btn_widget flex_sc"
>
<div
class=
"header_btn_widget flex_sc"
>
<GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLButton>
<GLButton
size=
"small"
fn=
"订单详情"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"handleEdit(1)"
>
新增核赔
</GLButton>
</div>
</div>
...
@@ -17,11 +17,11 @@
...
@@ -17,11 +17,11 @@
<div
slot=
"footer"
class=
"footer-btns"
style=
"float:right;"
>
<div
slot=
"footer"
class=
"footer-btns"
style=
"float:right;"
>
<el-button
size=
"small"
@
click=
"handleRestFn()"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleRestFn()"
>
重置
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOkFn"
>
查询
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOkFn"
>
查询
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"exportList"
plain
>
导出excel
</el-button>
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
<el-button
style=
"float:right;margin-bottom:10px;"
size=
"small"
type=
"primary"
@
click=
"exportList"
plain
>
导出excel
</el-button>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"batchPageConf"
>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"searchParams"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"batchPageConf"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</GLButton>
<GLButton
v-if=
"[0].includes(scope.scope.status)"
fn=
"去处理"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
去处理
</GLButton>
...
...
src/views/claims/order.vue
View file @
3eb020b
<!-- 权益订单 -->
<!-- 权益订单 -->
<
template
>
<
template
>
<div
class=
"app"
>
<div>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
ref=
"repairRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
ref=
"repairRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<material
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
...
...
src/views/config/index.vue
View file @
3eb020b
...
@@ -344,7 +344,6 @@ export default {
...
@@ -344,7 +344,6 @@ export default {
}
}
.addGood
{
.addGood
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
margin-left
:
40px
;
padding
:
8px
16px
;
padding
:
8px
16px
;
//
margin-bottom
:
20px
;
//
margin-bottom
:
20px
;
}
}
...
...
src/views/config/indexOfGh.vue
View file @
3eb020b
...
@@ -345,7 +345,6 @@ export default {
...
@@ -345,7 +345,6 @@ export default {
}
}
.addGood
{
.addGood
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
margin-left
:
40px
;
padding
:
8px
16px
;
padding
:
8px
16px
;
//
margin-bottom
:
20px
;
//
margin-bottom
:
20px
;
}
}
...
...
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