Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4ccc5ac2
...
4ccc5ac245dcc12eea98b6d8fbebfe687bea95e9
authored
2020-09-16 17:07:15 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
e205b327
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
8 deletions
src/page/activityConfig.vue
src/page/tool.vue
src/page/activityConfig.vue
View file @
4ccc5ac
...
...
@@ -260,6 +260,12 @@
},
methods
:
{
activity
()
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.7)'
});
let
config
=
{
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
...
...
@@ -284,6 +290,18 @@
type
:
'error'
});
})
loading
.
close
();
},
openFullScreen
()
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.7)'
});
setTimeout
(()
=>
{
loading
.
close
();
},
2000
);
}
}
}
...
...
src/page/tool.vue
View file @
4ccc5ac
...
...
@@ -2,7 +2,7 @@
<div>
<el-row
style=
"margin-bottom: 15px; margin-top: 5px"
>
<el-col
:span=
"8"
>
<el-form
ref=
"
form
"
:model=
"deleteClues"
label-width=
"0px"
>
<el-form
ref=
"
deleteClues
"
:model=
"deleteClues"
label-width=
"0px"
>
<el-card
class=
"yellowgreen"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
删除线索
</span>
...
...
@@ -24,7 +24,7 @@
</el-form>
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"
form
"
:model=
"bizData"
label-width=
"0px"
>
<el-form
ref=
"
bizData
"
:model=
"bizData"
label-width=
"0px"
>
<el-card
class=
"darkred"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
加密biz_data
</span>
...
...
@@ -51,7 +51,7 @@
</el-dialog>
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"
form
"
:model=
"smsCode"
label-width=
"0px"
>
<el-form
ref=
"
smsCode
"
:model=
"smsCode"
label-width=
"0px"
>
<el-card
class=
"blue"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
设置短信验证码
</span>
...
...
@@ -74,17 +74,17 @@
</el-row>
<el-row
style=
"margin-bottom: 15px;"
>
<el-col
:span=
"8"
>
<el-form
ref=
"
form
"
:model=
"activityConfig"
label-width=
"0px"
>
<el-form
ref=
"
activityConfig
"
:model=
"activityConfig"
label-width=
"0px"
>
<el-card
class=
"chocolate"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
查询活动配置
</span>
</div>
<div
class=
"text item"
>
<el-form-item>
<el-form-item
prop=
"id"
>
<el-input
placeholder=
"请输入活动ID"
v-model=
"activityConfig.id"
clearable
></el-input>
</el-form-item>
<el-form-item>
<el-select
v-model=
"activityConfig.huanjing"
placeholder=
"
单选是查询,多选是对比
"
>
<el-select
v-model=
"activityConfig.huanjing"
placeholder=
"
请选择执行环境
"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -102,7 +102,7 @@
</el-form>
</el-col>
<el-col
:span=
"8"
>
<el-form
ref=
"
form
"
:model=
"createCluesYoubaoe"
label-width=
"0px"
>
<el-form
ref=
"
createCluesYoubaoe
"
:model=
"createCluesYoubaoe"
label-width=
"0px"
>
<el-card
class=
"aquamarine"
shadow=
"always"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
生成线索-活动类型-有预约保额
</span>
...
...
@@ -211,6 +211,11 @@
value
:
'release'
,
label
:
'线上环境'
}]
// activityConfigRules: {
// id: [
// { required: true, message: '请输入活动ID', trigger: 'blur' }
// ]
// }
}
},
methods
:
{
...
...
@@ -336,10 +341,19 @@
})
},
activityConfigSubmit
()
{
// this.$refs['activityConfig'].validate((valid) => {
// if(valid) {
// const {href} = this.$router.resolve({ name:'activityConfig', query:
// {id: this.activityConfig.id, huangjing: this.activityConfig.huanjing.toString()}})
// window.open(href, '_blank')
// } else {
// console.log('valid fail')
// return false;
// }
// })
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'activityConfig'
,
query
:
{
id
:
this
.
activityConfig
.
id
,
huangjing
:
this
.
activityConfig
.
huanjing
.
toString
()}})
window
.
open
(
href
,
'_blank'
)
}
}
}
...
...
Please
register
or
sign in
to post a comment