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 95d21bdd
authored
Jan 12, 2022
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
a684e9ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
27 deletions
src/views/appointment/index.vue
src/views/config/addConfig.vue
src/views/config/index.vue
src/views/appointment/index.vue
View file @
95d21bd
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"showDialog('add')"
style=
"margin-left: 40px"
>
新增特别约定
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"small"
@
click=
"showDialog('add')"
style=
"margin-left: 40px"
><span
style=
"margin-left: 5px"
>
新增特别约定
</span>
</el-button>
<div
class=
"equity-wrap contain"
style=
"margin-top: 10px"
>
<div
class=
"equity-wrap contain"
style=
"margin-top: 10px"
>
<el-form
:inline=
"true"
label-width=
"auto"
label-position=
"right"
style=
"margin-top: 20px"
class=
"appointmen
tForm"
>
<el-form
:inline=
"true"
label-width=
"auto"
label-position=
"right"
class=
"selec
tForm"
>
<el-row
style=
"align-items: center"
class=
"select"
>
<el-row
style=
"align-items: center"
>
<el-form-item
label=
"特约名称"
>
<el-form-item
label=
"特约名称"
>
<el-input
v-model=
"appointmentForm.spaName"
placeholder=
"请输入"
size=
"small"
></el-input>
<el-input
v-model=
"appointmentForm.spaName"
placeholder=
"请输入"
size=
"small"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
</div>
<div
class=
"equity-wrap contain"
style=
"margin-top: 10px"
>
<GLTable
ref=
"appointmentTable"
:searchForm=
"appointmentForm"
:tableParams=
"tableParams"
:pageConf=
"tablePageConf"
:getListApi=
"getAppointmentList"
>
<GLTable
ref=
"appointmentTable"
:searchForm=
"appointmentForm"
:tableParams=
"tableParams"
:pageConf=
"tablePageConf"
:getListApi=
"getAppointmentList"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<!-- 批次管理详情弹窗按钮 -->
<!-- 批次管理详情弹窗按钮 -->
...
@@ -254,4 +256,10 @@ export default {
...
@@ -254,4 +256,10 @@ export default {
/
deep
/
.contain
.el-input--small
.el-input__inner
{
/
deep
/
.contain
.el-input--small
.el-input__inner
{
width
:
215px
;
width
:
215px
;
}
}
/
deep
/
.el-form-item
{
margin-bottom
:
0
;
}
.selectForm
.el-button
+
.el-button
{
margin-left
:
20px
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/config/addConfig.vue
View file @
95d21bd
...
@@ -129,25 +129,25 @@ export default {
...
@@ -129,25 +129,25 @@ export default {
honorable
:
false
,
honorable
:
false
,
carefree
:
false
,
carefree
:
false
,
first
:
false
,
first
:
false
,
collisionRadio
:
'
1
'
,
collisionRadio
:
''
,
vehicleRadio
:
'
1
'
,
vehicleRadio
:
''
,
theftAll
:
tru
e
,
theftAll
:
fals
e
,
againstTheft
:
[
'盗抢卡输入'
],
againstTheft
:
[],
thefts
:
theftOptions
,
thefts
:
theftOptions
,
theftTerminate
:
false
,
theftTerminate
:
false
,
vehicleAll
:
tru
e
,
vehicleAll
:
fals
e
,
againstVehicle
:
[
'全损卡输入'
],
againstVehicle
:
[],
vehicles
:
vehicleOptions
,
vehicles
:
vehicleOptions
,
vehicleTerminate
:
false
,
vehicleTerminate
:
false
,
tyreAll
:
tru
e
,
tyreAll
:
fals
e
,
againstTyre
:
[
'轮胎卡输入'
],
againstTyre
:
[],
tyres
:
tyreOptions
,
tyres
:
tyreOptions
,
tyreTerminate
:
false
,
tyreTerminate
:
false
,
collisionAll
:
tru
e
,
collisionAll
:
fals
e
,
againstCollision
:
[
'碰撞卡输入'
],
againstCollision
:
[],
collisions
:
collisionOptions
,
collisions
:
collisionOptions
,
collisionTerminate
:
false
collisionTerminate
:
false
}
}
...
@@ -165,6 +165,16 @@ export default {
...
@@ -165,6 +165,16 @@ export default {
console
.
log
(
'11111'
)
console
.
log
(
'11111'
)
}
else
{
}
else
{
this
.
add
=
true
this
.
add
=
true
this
.
theftAll
=
true
this
.
vehicleAll
=
true
this
.
tyreAll
=
true
this
.
collisionAll
=
true
this
.
againstTheft
=
[
'盗抢卡输入'
]
this
.
againstVehicle
=
[
'全损卡输入'
]
this
.
againstTyre
=
[
'轮胎卡输入'
]
this
.
againstCollision
=
[
'碰撞卡输入'
]
this
.
collisionRadio
=
'1'
this
.
vehicleRadio
=
'1'
}
}
this
.
getStoreConfig
()
this
.
getStoreConfig
()
},
},
...
@@ -229,17 +239,13 @@ export default {
...
@@ -229,17 +239,13 @@ export default {
if
(
arrs
[
i
].
packageCode
==
'PC0005'
)
{
if
(
arrs
[
i
].
packageCode
==
'PC0005'
)
{
this
.
theftAll
=
true
this
.
theftAll
=
true
if
(
arrs
[
i
].
cardName
==
'card'
)
{
if
(
arrs
[
i
].
cardName
==
'card'
)
{
this
.
againstTheft
=
true
this
.
againstTheft
=
[
'盗抢卡输入'
]
}
else
{
this
.
againstTheft
=
false
}
}
}
}
if
(
arrs
[
i
].
packageCode
==
'PC0007'
)
{
if
(
arrs
[
i
].
packageCode
==
'PC0007'
)
{
this
.
vehicleAll
=
true
this
.
vehicleAll
=
true
if
(
arrs
[
i
].
cardName
==
'card'
)
{
if
(
arrs
[
i
].
cardName
==
'card'
)
{
this
.
againstVehicle
=
true
this
.
againstVehicle
=
[
'全损卡输入'
]
}
else
{
this
.
againstVehicle
=
false
}
}
this
.
vehicleRadio
=
arrs
[
i
].
templateFlag
+
''
this
.
vehicleRadio
=
arrs
[
i
].
templateFlag
+
''
console
.
log
(
this
.
vehicleRadio
,
'vehicleradio'
)
console
.
log
(
this
.
vehicleRadio
,
'vehicleradio'
)
...
@@ -247,17 +253,13 @@ export default {
...
@@ -247,17 +253,13 @@ export default {
if
(
arrs
[
i
].
packageCode
==
'PC0006'
)
{
if
(
arrs
[
i
].
packageCode
==
'PC0006'
)
{
this
.
tyreAll
=
true
this
.
tyreAll
=
true
if
(
arrs
[
i
].
cardName
==
'card'
)
{
if
(
arrs
[
i
].
cardName
==
'card'
)
{
this
.
againstTyre
=
true
this
.
againstTyre
=
[
'轮胎卡输入'
]
}
else
{
this
.
againstTyre
=
false
}
}
}
}
if
(
arrs
[
i
].
packageCode
==
'PC0008'
)
{
if
(
arrs
[
i
].
packageCode
==
'PC0008'
)
{
this
.
collisionAll
=
true
this
.
collisionAll
=
true
if
(
arrs
[
i
].
cardName
==
'card'
)
{
if
(
arrs
[
i
].
cardName
==
'card'
)
{
this
.
againstCollision
=
true
this
.
againstCollision
=
[
'碰撞卡输入'
]
}
else
{
this
.
againstCollision
=
false
}
}
this
.
collisionRadio
=
arrs
[
i
].
planId
+
''
this
.
collisionRadio
=
arrs
[
i
].
planId
+
''
console
.
log
(
arrs
[
i
].
templateFlag
,
'collisionRadio1'
)
console
.
log
(
arrs
[
i
].
templateFlag
,
'collisionRadio1'
)
...
@@ -284,6 +286,7 @@ export default {
...
@@ -284,6 +286,7 @@ export default {
theftObj
.
cardName
=
'card'
theftObj
.
cardName
=
'card'
}
}
params
.
push
(
theftObj
)
params
.
push
(
theftObj
)
console
.
log
(
params
,
'params'
);
}
}
if
(
this
.
vehicleAll
==
true
)
{
if
(
this
.
vehicleAll
==
true
)
{
let
vehicleObj
=
{}
let
vehicleObj
=
{}
...
...
src/views/config/index.vue
View file @
95d21bd
<
template
>
<
template
>
<div
class=
"equity-wrap"
>
<div
class=
"equity-wrap"
>
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<GLButton
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</GLButton>
<
el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button
>
<
!--
<el-button
fn=
"开通配置"
class=
"addGood"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"jump('add')"
>
开通配置
</el-button>
--
>
<div
class=
"equity-wrap contain"
>
<div
class=
"equity-wrap contain"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"85px"
label-position=
"right"
>
<el-row>
<el-row>
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
},
},
{
{
label
:
'操作人'
,
label
:
'操作人'
,
prop
:
'
cre
atedBy'
prop
:
'
upd
atedBy'
},
},
{
{
label
:
'操作'
,
label
:
'操作'
,
...
...
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