Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
86ba77b1
Commit
86ba77b1
authored
Jan 06, 2020
by
尹亚亭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix selftmreg
parent
7c67cb35
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
18 deletions
+24
-18
channel-access/src/router/index.js
+7
-9
channel-access/src/views/pages/selftmreg/ModifyTrademark.vue
+1
-6
channel-access/src/views/pages/selftmreg/Selftmreg.vue
+15
-2
channel-access/src/views/pages/selftmreg/SelftmregPageSteps.vue
+1
-1
No files found.
channel-access/src/router/index.js
View file @
86ba77b1
...
@@ -4,43 +4,41 @@ import VueRouter from "vue-router";
...
@@ -4,43 +4,41 @@ import VueRouter from "vue-router";
Vue
.
use
(
VueRouter
);
Vue
.
use
(
VueRouter
);
const
routes
=
[{
const
routes
=
[{
path
:
"/
:chanue/
jdbycdetailtm"
,
path
:
"/jdbycdetailtm"
,
name
:
"jdbycdetailtm"
,
name
:
"jdbycdetailtm"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/jdbycdetailtm"
)
import
(
"@/views/pages/jdbycdetailtm"
)
},
},
{
{
path
:
"/
:chanue/
companydetail"
,
path
:
"/companydetail"
,
name
:
"companydetail"
,
name
:
"companydetail"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/companydetail"
)
import
(
"@/views/pages/companydetail"
)
},
},
{
{
path
:
"/
:chanue/
jdindentlist"
,
path
:
"/jdindentlist"
,
name
:
"jdindentdetail"
,
name
:
"jdindentdetail"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/jdindentlist"
)
import
(
"@/views/pages/jdindentlist"
)
},
},
{
{
path
:
"/
:chanue/
jdindentdetail"
,
path
:
"/jdindentdetail"
,
name
:
"jdindentdetail"
,
name
:
"jdindentdetail"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/jdindentdetail"
)
import
(
"@/views/pages/jdindentdetail"
)
},
},
/////////
/////////
{
{
path
:
"/
:chanue/
jdtrademark"
,
path
:
"/jdtrademark"
,
name
:
"jdtrademark"
,
name
:
"jdtrademark"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/jdtrademark/Jdtrademark"
)
import
(
"@/views/pages/jdtrademark/Jdtrademark"
)
},
},
{
{
path
:
"/
:chanue/
selftmreg"
,
path
:
"/selftmreg"
,
name
:
"selftmreg"
,
name
:
"selftmreg"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/selftmreg/Selftmreg"
),
import
(
"@/views/pages/selftmreg/Selftmreg"
),
// 默认页面是一级路由下的第一个子路由
redirect
:
'/:chanue/selftmreg/basic'
,
// 配置二级路由
// 配置二级路由
children
:
[
children
:
[
// 第一步:填写基本信息
// 第一步:填写基本信息
...
@@ -71,7 +69,7 @@ const routes = [{
...
@@ -71,7 +69,7 @@ const routes = [{
},
},
{
{
// path: "/bycnoticeindex",
// path: "/bycnoticeindex",
path
:
"/
:chanue/
bycnoticeindex"
,
path
:
"/bycnoticeindex"
,
name
:
"bycnoticeindex"
,
name
:
"bycnoticeindex"
,
component
:
()
=>
component
:
()
=>
import
(
"@/views/pages/bycnoticeindex/Bycnoticeindex"
)
import
(
"@/views/pages/bycnoticeindex/Bycnoticeindex"
)
...
...
channel-access/src/views/pages/selftmreg/ModifyTrademark.vue
View file @
86ba77b1
...
@@ -149,7 +149,6 @@
...
@@ -149,7 +149,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getNcldata
}
from
"@/api/api.js"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -254,11 +253,7 @@ export default {
...
@@ -254,11 +253,7 @@ export default {
this
.
classDataList
.
splice
(
this
.
classDataList
.
indexOf
(
tag
),
1
);
this
.
classDataList
.
splice
(
this
.
classDataList
.
indexOf
(
tag
),
1
);
}
}
},
},
mounted
()
{
mounted
()
{}
getNcldata
().
then
(
res
=>
{
console
.
log
(
res
.
data
);
});
}
};
};
</
script
>
</
script
>
...
...
channel-access/src/views/pages/selftmreg/Selftmreg.vue
View file @
86ba77b1
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"jdindentdetail-page"
>
<div
class=
"jdindentdetail-page"
>
<div
class=
"jdindentdetail-wrap"
>
<div
class=
"jdindentdetail-wrap"
>
<!-- 主体内容步骤条 -->
<!-- 主体内容步骤条 -->
<SelftmregPageSteps
/>
<SelftmregPageSteps
ref=
"qwe"
/>
<!-- 主页内容 -->
<!-- 主页内容 -->
<el-form
class=
"demo-ruleForm"
label-width=
"120px"
>
<el-form
class=
"demo-ruleForm"
label-width=
"120px"
>
...
@@ -75,14 +75,27 @@ export default {
...
@@ -75,14 +75,27 @@ export default {
data
()
{
data
()
{
return
{
return
{
//
//
index
:
0
};
};
},
},
created
()
{
if
(
this
.
index
==
0
)
{
this
.
$router
.
push
(
"/selftmreg/basic"
);
}
},
methods
:
{
methods
:
{
next
()
{
next
()
{
console
.
log
(
"two level router"
);
console
.
log
(
"two level router"
);
// 加载二级路由组件:第二步,填写申请人信息
// 加载二级路由组件:第二步,填写申请人信息
// this.$router.push("/:chanue/selftmreg/user");
// this.$router.push("/:chanue/selftmreg/user");
console
.
log
(
this
);
console
.
log
(
this
.
$refs
.
qwe
.
$refs
.
asd
.
children
);
this
.
index
++
;
if
(
this
.
index
==
1
)
{
this
.
$router
.
push
(
"/selftmreg/user"
);
}
if
(
this
.
index
==
2
)
{
this
.
$router
.
push
(
"/selftmreg/confirm"
);
}
// 加载二级路由组件:第三步,确认订单
// 加载二级路由组件:第三步,确认订单
// this.$router.push("/:chanue/selftmreg/confirm");
// this.$router.push("/:chanue/selftmreg/confirm");
// 加载二级路由组件:第四步,支付订单
// 加载二级路由组件:第四步,支付订单
...
...
channel-access/src/views/pages/selftmreg/SelftmregPageSteps.vue
View file @
86ba77b1
<
template
>
<
template
>
<div
class=
"selftmreg_steps"
>
<div
class=
"selftmreg_steps"
>
<div
class=
"pointsRule"
>
<div
class=
"pointsRule"
>
<ul
id=
"list"
>
<ul
id=
"list"
ref=
"asd"
>
<li>
<li>
<a
class=
"active"
>
<a
class=
"active"
>
<span>
填写基本信息
</span>
<span>
填写基本信息
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment