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 79e14216
authored
Aug 08, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
位置点功能开发
1 parent
a26b6947
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
src/views/config/addConfig.vue
src/views/config/index.vue
src/views/config/addConfig.vue
View file @
79e1421
...
@@ -76,6 +76,12 @@
...
@@ -76,6 +76,12 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-checkbox
v-model=
"checkPosition"
>
位置点验证
</el-checkbox>
<el-checkbox-group
v-model=
"checkPosition"
>
<el-checkbox
label=
"不验证位置点"
></el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item>
<el-checkbox
v-model=
"honorable"
>
舒享版
</el-checkbox>
<el-checkbox
v-model=
"honorable"
>
舒享版
</el-checkbox>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -134,6 +140,7 @@ export default {
...
@@ -134,6 +140,7 @@ export default {
vehicleServerList
:[],
vehicleServerList
:[],
configTitle
:
''
,
configTitle
:
''
,
selectedTable
:
false
,
selectedTable
:
false
,
checkPosition
:
false
,
tableData
:
[],
tableData
:
[],
merchantIds
:
[],
merchantIds
:
[],
selectedList
:
[],
selectedList
:
[],
...
@@ -300,6 +307,7 @@ export default {
...
@@ -300,6 +307,7 @@ export default {
this
.
costPrice
=
res
.
openCostPrice
==
1
this
.
costPrice
=
res
.
openCostPrice
==
1
this
.
storeSelParams
=
res
this
.
storeSelParams
=
res
this
.
id
=
res
.
id
this
.
id
=
res
.
id
this
.
checkPosition
=
res
.
checkPosition
==
0
let
arrs
=
[]
let
arrs
=
[]
arrs
=
res
.
packageConfigs
arrs
=
res
.
packageConfigs
for
(
var
i
=
0
;
i
<
arrs
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
arrs
.
length
;
i
++
)
{
...
@@ -418,7 +426,8 @@ export default {
...
@@ -418,7 +426,8 @@ export default {
}
}
let
targetParams
=
{
let
targetParams
=
{
openCostPrice
:
this
.
costPrice
?
1
:
0
,
openCostPrice
:
this
.
costPrice
?
1
:
0
,
createDetailRequests
:
params
createDetailRequests
:
params
,
checkPosition
:
this
.
checkPosition
?
0
:
1
}
}
if
(
this
.
showGh
){
if
(
this
.
showGh
){
delete
targetParams
.
createDetailRequests
delete
targetParams
.
createDetailRequests
...
...
src/views/config/index.vue
View file @
79e1421
...
@@ -116,7 +116,8 @@ export default {
...
@@ -116,7 +116,8 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商户名称'
,
label
:
'商户名称'
,
prop
:
'merchantName'
prop
:
'merchantName'
,
width
:
250
},
},
{
{
label
:
'商户号'
,
label
:
'商户号'
,
...
@@ -132,6 +133,7 @@ export default {
...
@@ -132,6 +133,7 @@ export default {
{
{
prop
:
'createdDate'
,
prop
:
'createdDate'
,
label
:
'开通时间'
,
label
:
'开通时间'
,
width
:
220
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
date_format
(
cellValue
.
createdDate
)
return
this
.
date_format
(
cellValue
.
createdDate
)
}
}
...
...
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