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
484a98f4
Commit
484a98f4
authored
Jan 12, 2020
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
2e799351
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
55 deletions
+34
-55
igirl-channel-web/app/front/entry/public/css/pagecom.css
+0
-0
igirl-channel-web/app/front/entry/public/js/index.js
+0
-1
igirl-channel-web/app/front/vues/pages/nowbuy/nowbuy.css
+1
-1
igirl-channel-web/app/front/vues/pages/nowbuy/nowbuy.js
+4
-14
igirl-channel-web/app/front/vues/pages/orderpay/orderpay.html
+0
-2
igirl-channel-web/app/front/vues/pages/servicedetails/servicedetails.js
+29
-37
No files found.
igirl-channel-web/app/front/entry/public/css/pagecom.css
View file @
484a98f4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
igirl-channel-web/app/front/entry/public/js/index.js
View file @
484a98f4
...
@@ -293,7 +293,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
...
@@ -293,7 +293,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
console
.
log
(
d
.
msg
);
console
.
log
(
d
.
msg
);
this
.
$message
(
"请重试"
);
this
.
$message
(
"请重试"
);
}
}
});
});
...
...
igirl-channel-web/app/front/vues/pages/nowbuy/nowbuy.css
View file @
484a98f4
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
height
:
18px
;
height
:
18px
;
margin-bottom
:
3px
;
margin-bottom
:
3px
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-left
:
6
47
px
;
margin-left
:
6
04
px
;
}
}
.nowbuy-footer-img
>
img
{
.nowbuy-footer-img
>
img
{
...
...
igirl-channel-web/app/front/vues/pages/nowbuy/nowbuy.js
View file @
484a98f4
...
@@ -79,7 +79,6 @@
...
@@ -79,7 +79,6 @@
},
},
methods
:
{
methods
:
{
goOrder
(){
goOrder
(){
let
that
=
this
;
this
.
params
.
tm
.
totalSum
=
this
.
tableData
[
0
].
countPrice
;
this
.
params
.
tm
.
totalSum
=
this
.
tableData
[
0
].
countPrice
;
this
.
params
.
tm
.
salesNum
=
Number
(
this
.
$route
.
query
.
num
);
this
.
params
.
tm
.
salesNum
=
Number
(
this
.
$route
.
query
.
num
);
this
.
apply
.
orderType
=
"zzdd"
;
this
.
apply
.
orderType
=
"zzdd"
;
...
@@ -105,19 +104,10 @@
...
@@ -105,19 +104,10 @@
})
})
},
},
getProduct
(){
getProduct
(){
var
sdsId
=
window
.
location
.
href
.
split
(
"sdsId="
)[
1
];
var
data
=
{
...
this
.
$route
.
query
};
var
that
=
this
;
this
.
tableData
.
push
(
data
);
this
.
$root
.
getReq
(
"/web/serviceitemCtl/findOneById"
,
{
id
:
sdsId
}).
then
(
function
(
d
)
{
console
.
log
(
data
,
'!!!!!!!!!!!!!!!1'
);
if
(
d
.
code
==
1
)
{
var
data
=
d
.
data
;
console
.
log
(
d
.
data
);
d
.
data
.
num
=
that
.
$route
.
query
.
num
;
d
.
data
.
countPrice
=
(
d
.
data
.
serviceCharge
+
d
.
data
.
publicExpense
)
*
Number
(
that
.
$route
.
query
.
num
);
that
.
tableData
.
push
(
d
.
data
);
console
.
log
(
"返回信息"
,
that
.
tableData
);
that
.
serviceName
=
d
.
data
.
name
;
}
});
},
},
tiaozhuan
(
code
)
{
tiaozhuan
(
code
)
{
switch
(
code
)
{
switch
(
code
)
{
...
...
igirl-channel-web/app/front/vues/pages/orderpay/orderpay.html
View file @
484a98f4
...
@@ -216,9 +216,7 @@
...
@@ -216,9 +216,7 @@
<br
/>
<br
/>
<gsb-upload2
flag=
"zfpz"
ref=
"zfpz"
:d=
"d"
@
setKey=
"setKey"
:action=
"action"
filetype=
"image/jpeg"
<gsb-upload2
flag=
"zfpz"
ref=
"zfpz"
:d=
"d"
@
setKey=
"setKey"
:action=
"action"
filetype=
"image/jpeg"
:ifshowlist=
"false"
@
uploadsuccess=
"uploadsuccess2"
@
error=
"error"
>
:ifshowlist=
"false"
@
uploadsuccess=
"uploadsuccess2"
@
error=
"error"
>
</gsb-upload2>
</gsb-upload2>
<div
style=
"margin-top:20px;"
>
<div
style=
"margin-top:20px;"
>
<span
style=
"color:#828282;font-size: 14px;"
>
<span
style=
"color:#828282;font-size: 14px;"
>
请上传线下支付凭证。
请上传线下支付凭证。
...
...
igirl-channel-web/app/front/vues/pages/servicedetails/servicedetails.js
View file @
484a98f4
...
@@ -328,7 +328,7 @@
...
@@ -328,7 +328,7 @@
{
required
:
true
,
validator
:
validateMobile
,
trigger
:
'blur'
}
{
required
:
true
,
validator
:
validateMobile
,
trigger
:
'blur'
}
],
],
},
},
num
:
null
,
num
:
1
,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -345,12 +345,13 @@
...
@@ -345,12 +345,13 @@
});
});
},
},
getServiceItemInfo
(){
getServiceItemInfo
(){
var
sdsId
=
window
.
location
.
href
.
split
(
"sdsId="
)[
1
]
;
var
sdsId
=
this
.
$route
.
query
.
sdsId
;
var
that
=
this
;
var
that
=
this
;
let
obj
=
this
.
$root
.
copyParams
({
channelUserId
:
"123"
,
channelItemCode
:
sdsId
},
"getProductDetail"
,
"/action/tmOrder/springBoard"
);
let
obj
=
this
.
$root
.
copyParams
({
channelUserId
:
that
.
$root
.
channelUserId
,
channelItemCode
:
sdsId
},
"getProductDetail"
,
"/action/tmOrder/springBoard"
);
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
function
(
d
)
{
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
function
(
d
)
{
if
(
d
.
status
==
0
)
{
if
(
d
.
status
==
0
)
{
that
.
serviceItem
=
d
.
data
;
that
.
serviceItem
=
d
.
data
;
that
.
serviceItem
.
price
=
that
.
serviceItem
.
proPrice
*
that
.
num
;
console
.
log
(
"返回信息"
,
{
...
d
.
data
})
console
.
log
(
"返回信息"
,
{
...
d
.
data
})
}
else
{
}
else
{
console
.
log
(
d
.
msg
);
console
.
log
(
d
.
msg
);
...
@@ -359,22 +360,20 @@
...
@@ -359,22 +360,20 @@
},
},
handleChange
(
value
)
{
handleChange
(
value
)
{
console
.
log
(
value
);
console
.
log
(
value
);
this
.
serviceItem
.
price
=
(
this
.
serviceItem
.
publicExpense
+
this
.
serviceItem
.
serviceCharge
)
*
value
;
this
.
serviceItem
.
price
=
this
.
serviceItem
.
proPrice
*
value
;
this
.
serviceItem
.
number
=
value
;
this
.
serviceItem
.
number
=
value
;
this
.
num
=
value
;
this
.
num
=
value
;
console
.
log
(
this
.
serviceItem
);
console
.
log
(
{
...
this
.
serviceItem
}
);
},
},
sdsOp2
(){
sdsOp2
(){
var
sdsId
=
window
.
location
.
href
.
split
(
"sdsId="
)[
1
];
var
sdsId
=
this
.
$route
.
query
.
sdsId
;
/*
window.open("https://wpa.qq.com/msgrd?v=3&uin="+this.$root.contextCompany().serviceqq+"&site=qq&menu=yes");
*/
let
routeUrl
=
this
.
$router
.
resolve
({
let
routeUrl
=
this
.
$router
.
resolve
({
path
:
`/
${
this
.
$root
.
channelName
}
/nowbuy`
,
path
:
`/
${
this
.
$root
.
channelName
}
/nowbuy`
,
query
:
{
query
:
{
isDirectJump
:
1
,
num
:
this
.
num
,
sdsId
,
sdsId
,
num
:
this
.
num
,
name
:
this
.
serviceItem
.
itemName
,
countPrice
:
this
.
serviceItem
.
price
}
}
});
});
window
.
open
(
routeUrl
.
href
,
'_blank'
);
window
.
open
(
routeUrl
.
href
,
'_blank'
);
...
@@ -397,35 +396,28 @@
...
@@ -397,35 +396,28 @@
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
console
.
log
(
"---------------valid------------------"
);
console
.
log
(
"---------------valid------------------"
);
var
need
=
{
var
subNeedInfo
=
{
publisherName
:
this
.
form
.
name
,
"channelUser"
:
{
publisherMobile
:
this
.
form
.
mobile
,
"channelUserId"
:
""
,
province
:
this
.
form
.
city
[
0
],
"channelUserName"
:
"testUser"
,
city
:
this
.
form
.
city
[
1
],
"channelUserMoblie"
:
"15010929368"
,
notes
:
this
.
form
.
notes
,
"nickname"
:
""
,
servicecode
:
this
.
serviceCode
,
"orgName"
:
""
,
company_id
:
this
.
$root
.
currentCompany
&&
this
.
$root
.
currentCompany
.
id
?
this
.
$root
.
currentCompany
.
id
:
""
"orgPath"
:
""
},
"channelNeedNo"
:
""
,
"needUserMoblie"
:
this
.
form
.
mobile
,
"needUserName"
:
this
.
form
.
name
,
"needDesc"
:
this
.
form
.
notes
,
"itemCode"
:
this
.
serviceItem
.
itemCode
,
"notes"
:
""
};
};
console
.
log
(
need
);
let
obj
=
this
.
$root
.
copyParams
(
subNeedInfo
,
"subNeed"
,
"/action/needOrder/springBoard"
);
var
that
=
this
;
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
((
d
)
=>
{
this
.
$root
.
postReq
(
"/web/needCtl/submitneed"
,
need
).
then
(
function
(
d
)
{
console
.
log
(
d
);
console
.
log
(
d
);
that
.
dialogFormVisible
=
false
;
console
.
log
(
d
.
msg
)
if
(
d
.
code
==
1
)
{
that
.
$alert
(
'需求提交成功,我们会尽快联系您!'
,
''
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{
}
});
}
else
if
(
d
.
code
==
-
100
||
d
.
code
==
0
)
{
that
.
$message
.
warning
(
d
.
msg
);
}
else
{
that
.
$message
.
warning
(
'操作失败,请稍后重试'
);
}
})
})
}
else
{
return
false
;
}
}
})
})
},
},
...
...
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