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
3cedda34
Commit
3cedda34
authored
Nov 09, 2019
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
95fe8b40
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
59 deletions
+54
-59
igirl-channel-web/app/front/entry/public/js/index.js
+3
-3
igirl-channel-web/app/front/vues/pages/jdindentdetail/jdindentdetail.js
+14
-27
igirl-channel-web/app/front/vues/pages/jdindentlist/jdindentlist.html
+1
-1
igirl-channel-web/app/front/vues/pages/jdindentlist/jdindentlist.js
+35
-27
igirl-channel-web/package-lock.json
+1
-1
No files found.
igirl-channel-web/app/front/entry/public/js/index.js
View file @
3cedda34
...
@@ -156,8 +156,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -156,8 +156,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
showPhoneNum
:
false
,
showPhoneNum
:
false
,
rsData
:
[],
rsData
:
[],
channelPath
:
""
,
channelPath
:
""
,
channelUserId
:
"123"
,
channelUserId
:
""
,
channelUserToken
:
"123"
,
};
};
},
},
created
()
{
created
()
{
...
@@ -192,13 +191,14 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -192,13 +191,14 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
// 处理参数方法
// 处理参数方法
copyParams
(
actionBody
,
actionType
,
url
,
isUser
=
"no"
)
{
copyParams
(
actionBody
,
actionType
,
url
,
isUser
=
"no"
)
{
var
data
=
this
.
commonParams
;
var
data
=
this
.
commonParams
;
data
.
actionProcess
=
this
.
$root
.
getChannelPath
()
data
.
actionProcess
=
this
.
$root
.
getChannelPath
()
;
data
.
actionType
=
actionType
;
data
.
actionType
=
actionType
;
data
.
actionBody
=
actionBody
||
{};
data
.
actionBody
=
actionBody
||
{};
data
.
requrl
=
this
.
host
+
url
;
data
.
requrl
=
this
.
host
+
url
;
data
.
isUser
=
isUser
;
data
.
isUser
=
isUser
;
let
currentDate
=
Math
.
floor
(
new
Date
().
getTime
()
/
1000
);
let
currentDate
=
Math
.
floor
(
new
Date
().
getTime
()
/
1000
);
data
.
actionBody
.
timeStamp
=
currentDate
;
data
.
actionBody
.
timeStamp
=
currentDate
;
data
.
actionBody
.
channelUserId
=
this
.
$root
.
channelUserId
;
var
newObj
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
var
newObj
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
newObj
;
return
newObj
;
},
},
...
...
igirl-channel-web/app/front/vues/pages/jdindentdetail/jdindentdetail.js
View file @
3cedda34
...
@@ -309,7 +309,6 @@
...
@@ -309,7 +309,6 @@
var
that
=
this
;
var
that
=
this
;
var
obj
=
this
.
$root
.
copyParams
(
""
,
"getOssConfig"
,
"/action/tmTools/springBoard"
);
var
obj
=
this
.
$root
.
copyParams
(
""
,
"getOssConfig"
,
"/action/tmTools/springBoard"
);
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
function
(
d
)
{
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
function
(
d
)
{
console
.
log
(
d
,
`mmmmmmmmmmmmmmmmmmmmmmm`
);
that
.
d
[
"key"
]
=
"key"
;
that
.
d
[
"key"
]
=
"key"
;
that
.
d
[
"Bucket"
]
=
d
.
data
.
Bucket
;
that
.
d
[
"Bucket"
]
=
d
.
data
.
Bucket
;
that
.
d
[
"OSSAccessKeyId"
]
=
d
.
data
.
OSSAccessKeyId
;
that
.
d
[
"OSSAccessKeyId"
]
=
d
.
data
.
OSSAccessKeyId
;
...
@@ -317,39 +316,27 @@
...
@@ -317,39 +316,27 @@
that
.
d
[
"policy"
]
=
d
.
data
.
policy
;
that
.
d
[
"policy"
]
=
d
.
data
.
policy
;
that
.
d
[
"success_action_status"
]
=
d
.
data
.
success_action_status
;
that
.
d
[
"success_action_status"
]
=
d
.
data
.
success_action_status
;
that
.
action
=
d
.
data
.
url
;
that
.
action
=
d
.
data
.
url
;
console
.
log
(
that
.
action
,
`oooooooooooooooooooooooooooo`
);
});
});
this
.
deliveryOrderNo
=
this
.
$route
.
query
.
channelOrder
?
this
.
$route
.
query
.
channelOrder
.
deliveryOrderNo
:
this
.
$route
.
query
.
deliveryOrderNo
;
console
.
log
(
this
.
$route
.
query
,
'11111111111'
);
console
.
log
(
this
.
$route
.
query
,
'11111111111'
);
if
(
this
.
$route
.
query
.
channelUser
&&
this
.
$route
.
query
.
channelOrder
)
{
if
(
this
.
$route
.
query
.
deliveryOrderNo
!=
""
&&
this
.
$route
.
query
.
channelUserId
!=
""
)
{
let
channelUser
=
JSON
.
parse
(
this
.
$route
.
query
.
channelUser
);
this
.
deliveryOrderNo
=
this
.
$route
.
query
.
deliveryOrderNo
;
let
channelOrder
=
JSON
.
parse
(
this
.
$route
.
query
.
channelOrder
);
this
.
$root
.
channelUserId
=
this
.
$route
.
query
.
channelUserId
;
console
.
log
(
channelOrder
,
`zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz`
);
/*渠道单号 */
this
.
channelServiceNo
=
channelOrder
.
channelServiceNo
;
/*交付单号 */
this
.
deliveryOrderNo
=
channelOrder
.
deliveryOrderNo
;
this
.
channelUserId
=
channelUser
.
channelUserId
;
console
.
log
(
this
.
channelUserId
,
`vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv`
);
this
.
initIndent
();
this
.
initIndent
();
}
}
this
.
initIndent
();
},
},
created
:
function
()
{
created
:
function
()
{
},
},
computed
:
{
computed
:
{
},
},
methods
:
{
methods
:
{
/*初始化订单数据 */
/*初始化订单数据 */
initIndent
(){
initIndent
(){
var
deliveryObj
=
this
.
$root
.
copyParams
({
"deliveryOrderNo"
:
this
.
deliveryOrderNo
,
"channelUserId"
:
this
.
channelUserId
},
"getTmOrderInfo"
,
"/action/tmOrder/springBoard"
);
var
deliveryObj
=
this
.
$root
.
copyParams
({
"deliveryOrderNo"
:
this
.
deliveryOrderNo
,
"channelUserId"
:
this
.
$root
.
channelUserId
},
"getTmOrderInfo"
,
"/action/tmOrder/springBoard"
);
var
applyObj
=
this
.
$root
.
copyParams
({
"deliveryOrderNo"
:
this
.
deliveryOrderNo
},
"getTmApplyInfo"
,
"/action/tmOrder/springBoard"
);
var
applyObj
=
this
.
$root
.
copyParams
({
"deliveryOrderNo"
:
this
.
deliveryOrderNo
,
"channelUserId"
:
this
.
$root
.
channelUserId
},
"getTmApplyInfo"
,
"/action/tmOrder/springBoard"
);
var
nclObj
=
this
.
$root
.
copyParams
({
"deliveryOrderNo"
:
this
.
deliveryOrderNo
},
"getTmNclList"
,
"/action/tmOrder/springBoard"
);
var
nclObj
=
this
.
$root
.
copyParams
({
"deliveryOrderNo"
:
this
.
deliveryOrderNo
,
"channelUserId"
:
this
.
$root
.
channelUserId
},
"getTmNclList"
,
"/action/tmOrder/springBoard"
);
let
[
loadingA
,
loadingB
,
loadingC
]
=
[
1
,
1
,
1
];
let
[
loadingA
,
loadingB
,
loadingC
]
=
[
1
,
1
,
1
];
this
.
$root
.
loading
=
true
;
this
.
$root
.
loading
=
true
;
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
deliveryObj
).
then
((
d
)
=>
{
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
deliveryObj
).
then
((
d
)
=>
{
...
@@ -1105,14 +1092,14 @@
...
@@ -1105,14 +1092,14 @@
obj
=
{
companyName
:
this
.
apply
.
name
};
obj
=
{
companyName
:
this
.
apply
.
name
};
var
obj
=
this
.
$root
.
copyParams
(
obj
,
"getEntregistryByCompanyName"
,
"/action/tmTools/springBoard"
);
var
obj
=
this
.
$root
.
copyParams
(
obj
,
"getEntregistryByCompanyName"
,
"/action/tmTools/springBoard"
);
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
d
=>
{
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
d
=>
{
console
.
log
(
d
,
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
);
console
.
log
(
d
,
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
);
if
(
d
.
creditCode
&&
d
.
creditCode
!=
""
)
{
if
(
d
.
creditCode
&&
d
.
creditCode
!=
""
)
{
this
.
apply
.
applyAddr
=
d
.
businessAddress
;
this
.
apply
.
applyAddr
=
d
.
businessAddress
;
this
.
apply
.
code
=
d
.
creditCode
;
this
.
apply
.
code
=
d
.
creditCode
;
}
}
});
});
},
},
setKey
(
name
,
flag
){
setKey
(
name
,
flag
){
name
=
name
.
substring
(
name
.
length
-
5
);
name
=
name
.
substring
(
name
.
length
-
5
);
var
myDate
=
new
Date
();
var
myDate
=
new
Date
();
...
...
igirl-channel-web/app/front/vues/pages/jdindentlist/jdindentlist.html
View file @
3cedda34
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
@
click=
"viewDetails(scope.$index, scope.row)"
>
详情
@
click=
"viewDetails(scope.$index, scope.row)"
>
详情
</el-button>
</el-button>
<el-button
v-show=
"showSelf(scope.$index, scope.row)"
style=
"border:0;color: #0F8EE9;margin:0;"
<el-button
v-show=
"showSelf(scope.$index, scope.row)"
style=
"border:0;color: #0F8EE9;margin:0;"
size=
"mini"
@
click=
"
showUploadStuff = true
"
>
上传材料
</el-button>
size=
"mini"
@
click=
"
uploadMaterials(scope.$index, scope.row)
"
>
上传材料
</el-button>
<el-button
v-show=
"showSup(scope.$index, scope.row)"
style=
"border:0;color: #0F8EE9;margin:0;"
<el-button
v-show=
"showSup(scope.$index, scope.row)"
style=
"border:0;color: #0F8EE9;margin:0;"
size=
"mini"
@
click=
"goScheme(scope.$index, scope.row) = true"
>
确认注册方案
</el-button>
size=
"mini"
@
click=
"goScheme(scope.$index, scope.row) = true"
>
确认注册方案
</el-button>
</template>
</template>
...
...
igirl-channel-web/app/front/vues/pages/jdindentlist/jdindentlist.js
View file @
3cedda34
...
@@ -216,6 +216,7 @@
...
@@ -216,6 +216,7 @@
orderId
:
""
,
orderId
:
""
,
stuff
:
{},
stuff
:
{},
showUploadStuff
:
false
,
showUploadStuff
:
false
,
currentOrderNo
:
""
,
}
}
},
},
created
:
function
()
{
created
:
function
()
{
...
@@ -255,7 +256,7 @@
...
@@ -255,7 +256,7 @@
},
},
viewDetails
(
index
,
row
)
{
viewDetails
(
index
,
row
)
{
console
.
log
(
index
,
row
);
console
.
log
(
index
,
row
);
this
.
$router
.
push
({
path
:
"/1688/jdindentdetail"
,
query
:
{
deliveryOrderNo
:
row
.
deliveryOrderNo
}
});
this
.
$router
.
push
({
path
:
"/1688/jdindentdetail"
,
query
:
{
deliveryOrderNo
:
row
.
deliveryOrderNo
,
channelUserId
:
this
.
$root
.
channelUserId
}
});
},
},
showSelf
(
index
,
row
){
showSelf
(
index
,
row
){
if
(
row
.
itemName
==
"商标自助注册"
||
row
.
itemName
==
"商标自主注册"
)
{
if
(
row
.
itemName
==
"商标自助注册"
||
row
.
itemName
==
"商标自主注册"
)
{
...
@@ -276,22 +277,23 @@
...
@@ -276,22 +277,23 @@
},
},
handleSizeChange
(){
handleSizeChange
(){
if
(
this
.
currentPage
&&
this
.
$root
.
channelUserId
!=
""
)
{
if
(
this
.
$root
.
channelUserId
!=
""
)
{
this
.
indentInfo
.
pageIndex
=
this
.
currentPage
;
this
.
indentInfo
.
pageIndex
=
this
.
currentPage
;
var
obj
=
this
.
$root
.
copyParams
(
this
.
indentInfo
,
"getTmOrderList"
,
"/action/tmOrder/springBoard"
);
this
.
$root
.
loading
=
true
;
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
((
d
)
=>
{
this
.
$root
.
loading
=
false
;
if
(
d
.
status
==
0
&&
d
.
data
)
{
this
.
tableData
=
d
.
data
;
this
.
countPage
=
d
.
data
.
length
;
d
.
data
.
map
((
item
,
index
)
=>
{
item
.
CreateDate
=
new
Date
(
item
.
CreateDate
).
toLocaleDateString
(
'chinese'
,
{
hour12
:
false
});
item
.
submitTime
=
new
Date
(
item
.
submitTime
).
toLocaleString
(
'chinese'
,
{
hour12
:
false
});
});
}
});
}
}
var
obj
=
this
.
$root
.
copyParams
(
this
.
indentInfo
,
"getTmOrderList"
,
"/action/tmOrder/springBoard"
);
this
.
$root
.
loading
=
true
;
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
((
d
)
=>
{
this
.
$root
.
loading
=
false
;
if
(
d
.
status
==
0
&&
d
.
data
)
{
this
.
tableData
=
d
.
data
;
this
.
countPage
=
d
.
data
.
length
;
d
.
data
.
map
((
item
,
index
)
=>
{
item
.
CreateDate
=
new
Date
(
item
.
CreateDate
).
toLocaleDateString
(
'chinese'
,
{
hour12
:
false
});
item
.
submitTime
=
new
Date
(
item
.
submitTime
).
toLocaleString
(
'chinese'
,
{
hour12
:
false
});
});
}
});
},
},
reset
(){
reset
(){
this
.
channelServiceNo
=
null
;
this
.
channelServiceNo
=
null
;
...
@@ -400,7 +402,7 @@
...
@@ -400,7 +402,7 @@
that
.
loading3
=
false
;
that
.
loading3
=
false
;
that
.
loading
=
false
;
that
.
loading
=
false
;
if
(
d
.
status
==
0
)
{
if
(
d
.
status
==
0
)
{
that
.
stuff
.
sealAuthorizeStuff
=
d
.
data
.
url
;
that
.
stuff
.
gzwtsUrl
=
d
.
data
.
url
;
console
.
log
(
d
.
data
.
url
);
console
.
log
(
d
.
data
.
url
);
}
else
{
}
else
{
that
.
$refs
[
obj
.
flag
][
0
].
result
=
""
;
that
.
$refs
[
obj
.
flag
][
0
].
result
=
""
;
...
@@ -424,7 +426,7 @@
...
@@ -424,7 +426,7 @@
that
.
loading2
=
false
;
that
.
loading2
=
false
;
that
.
loading3
=
false
;
that
.
loading3
=
false
;
that
.
loading
=
false
;
that
.
loading
=
false
;
that
.
stuff
.
desc
Url
=
obj
.
result
that
.
stuff
.
smwj
Url
=
obj
.
result
}
}
},
},
...
@@ -435,18 +437,24 @@
...
@@ -435,18 +437,24 @@
this
.
stuff
=
{};
this
.
stuff
=
{};
this
.
showUploadStuff
=
false
;
this
.
showUploadStuff
=
false
;
},
},
uploadMaterials
(
index
,
row
){
console
.
log
(
row
,
`zzzzzzzzzzzzzzzzzzzzzz`
);
this
.
showUploadStuff
=
true
;
this
.
currentOrderNo
=
row
.
deliveryOrderNo
;
},
uploadStuffs
(){
uploadStuffs
(){
var
obj
=
this
.
stuff
;
console
.
log
(
this
.
stuff
);
var
that
=
this
;
this
.
stuff
.
deliveryOrderNo
=
this
.
currentOrderNo
;
this
.
$root
.
postReq
(
"/web/orderCtl/uploadStuffs"
,
obj
).
then
(
function
(
d
)
{
var
obj
=
this
.
$root
.
copyParams
(
this
.
stuff
,
"updateCustomerInfo"
,
"/action/tmOrder/springBoard"
,
"yes"
);
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
((
res
)
=>
{
if
(
d
&&
d
.
code
==
1
)
{
console
.
log
(
res
);
that
.
hideUploadStuff
();
if
(
res
.
status
==
0
)
{
that
.
$refs
.
grid
.
fetchData
();
this
.
showUploadStuff
=
false
;
}
else
{
this
.
$message
({
message
:
"上传成功"
,
type
:
'success'
});
that
.
$message
.
warning
(
d
.
msg
);
}
}
})
}).
catch
((
e
)
=>
{
this
.
$message
(
e
);
});
},
},
},
},
vname
:
"gsb-jdindentlist"
vname
:
"gsb-jdindentlist"
...
...
igirl-channel-web/package-lock.json
View file @
3cedda34
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
}
}
},
},
"ali-oss"
:
{
"ali-oss"
:
{
"version"
:
"4.1
5
.0"
,
"version"
:
"4.1
6
.0"
,
"resolved"
:
"https://registry.npmjs.org/ali-oss/-/ali-oss-4.15.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/ali-oss/-/ali-oss-4.15.0.tgz"
,
"integrity"
:
"sha512-3WK0vI5Q7CSgp34Ke46rng9h3uXXHVTu2bJv6ni2/RbmklPzpbAFdPC3WYLdWEWA87J4ugokWYEfMhAMaZZVfA=="
,
"integrity"
:
"sha512-3WK0vI5Q7CSgp34Ke46rng9h3uXXHVTu2bJv6ni2/RbmklPzpbAFdPC3WYLdWEWA87J4ugokWYEfMhAMaZZVfA=="
,
"requires"
:
{
"requires"
:
{
...
...
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