Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
a8927ed3
Commit
a8927ed3
authored
Apr 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交抽奖配置 ,配置java测试环境接口地址
parent
990e0d14
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
103 additions
and
35 deletions
+103
-35
App.vue
src/App.vue
+1
-1
zh.js
src/assets/common/lang/zh.js
+4
-0
CustomerCertification.vue
src/components/SalesModule/CustomerCertification.vue
+41
-14
CouponList.vue
src/components/activity/CouponList.vue
+54
-17
index.js
src/plug/index.js
+3
-3
No files found.
src/App.vue
View file @
a8927ed3
...
...
@@ -113,7 +113,7 @@ export default {
}
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
pz3qcmnou88
.css"
;
@import
"//at.alicdn.com/t/font_635492_
k0w3yrpxjyg
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/assets/common/lang/zh.js
View file @
a8927ed3
...
...
@@ -738,6 +738,8 @@ export const active = {
cl_wsxiao
:
'未生效'
,
cl_ygqi
:
'已过期'
,
cl_deleteCoupon
:
'删除优惠券'
,
cl_jyCoupon
:
'禁用优惠券'
,
cl_hfCoupon
:
'恢复优惠券'
,
cl_couponType
:
'优惠券类型'
,
cl_yhqmiane
:
'优惠券面额'
,
cl_dkjezk
:
'抵扣金额/折扣'
,
...
...
@@ -1300,6 +1302,8 @@ export const tips = {
hqsjshibai
:
'数据获取失败!'
,
accWorkTips
:
'注:指定银行卡收支方向的单据会自动分发到各个窗口,管理员在设定时应注意以下窗口是否涵盖了所有的业务,如果没有请及时设定,以免造成单据混乱'
,
qrscchuangkou
:
'确定删除窗口?'
,
qrjinyong
:
'确定禁用'
,
qrhuifu
:
'确定恢复'
,
}
export
const
Operation
=
{
Op_ShortName
:
'线路简称'
,
...
...
src/components/SalesModule/CustomerCertification.vue
View file @
a8927ed3
...
...
@@ -13,7 +13,11 @@
<div
class=
"topMsg"
>
<!--
<img
v-if=
"!item.photo"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"item.photo"
:onerror=
"defaultImg"
:src=
"item.photo"
>
-->
<p>
{{
item
.
CustomerName
}}
</p>
<p>
{{
item
.
CustomerName
}}
<span
v-if=
"item.ApplyState === 0"
class=
"_status_str _status_str_y"
>
审核中
</span>
<span
v-if=
"item.ApplyState === 1"
class=
"_status_str _status_str_g"
>
已通过
</span>
<span
v-if=
"item.ApplyState === 2"
class=
"_status_str _status_str_r"
>
已拒绝
</span>
</p>
<p
class=
"mt5"
>
<i
class=
"iconfont icon-img_dianhua fz12"
style=
"color: #09d49d;"
></i>
<span
class=
"fz14 color333"
>
{{
item
.
Customer
}}
</span>
...
...
@@ -31,19 +35,21 @@
<div
class=
"salesApprovalLayercontentBtn"
>
<p
class=
"fz12 color999 mt5"
>
认证方式:
{{
item
.
ApplyType
==
1
?
"三证合一"
:
"身份证+名片"
}}
</p>
<p
class=
"fz12 color999 mt5"
>
申请时间:
{{
item
.
CreateDateStr
}}
</p>
<div
v-if=
"item.CertificationPics&&item.CertificationPics.length>0"
>
<div
v-for=
"picItem in item.CertificationPics"
>
<img
v-if=
"!picItem"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"picItem"
:onerror=
"defaultImg"
:src=
"picItem"
></div>
<div
v-if=
"item.CertificationPics&&item.CertificationPics.length>0"
class=
"mt10"
>
<div
v-for=
"picItem in item.CertificationPics"
class=
"img_box"
>
<img
v-if=
"!picItem"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"picItem"
:src=
"picItem"
></div>
</div>
<div>
<span
class=
"fz14 color333"
>
审批意见
</span>
</div>
<p
class=
"mt20"
>
<el-input
type=
"textarea"
v-model=
"Reason"
></el-input>
<p
class=
"mt10"
>
<el-input
v-if=
"item.ApplyState === 0"
type=
"textarea"
v-model=
"Reason"
></el-input>
<span
v-else
>
Reason
</span>
</p>
<input
type=
"button"
class=
"
normalBtn mt20 fr"
value=
"通过"
@
click=
"saveIdea(item,1)
"
>
<input
type=
"button"
class=
"normalBtn mt20 fr"
value=
"拒绝"
@
click=
"saveIdea(item,2
)"
>
<span
class=
"fr cursorpointer colorE95252"
@
click=
"closeLayer"
>
取消
</span
>
<input
type=
"button"
class=
"
hollowFixedBtn mt20 fr"
value=
"取消"
@
click=
"closeLayer
"
>
<input
type=
"button"
class=
"normalBtn mt20 fr"
v-if=
"item.ApplyState === 0"
value=
"通过"
@
click=
"saveIdea(item,1
)"
>
<input
type=
"button"
class=
"normalBtn mt20 fr"
v-if=
"item.ApplyState === 0"
value=
"拒绝"
@
click=
"saveIdea(item,2)"
>
</div>
</div>
</div>
...
...
@@ -104,11 +110,12 @@
v-loading=
"loading"
>
<tr>
<th
width=
"
2
0%"
>
门店名称
</th>
<th
width=
"
1
0%"
>
门店名称
</th>
<th
width=
"10%"
>
联系人
</th>
<th
width=
"10%"
>
电话
</th>
<th
width=
"10%"
>
地址
</th>
<th
width=
"10%"
>
申请时间
</th>
<th
width=
"10%"
>
申请状态
</th>
<th
width=
"10%"
>
操作
</th>
</tr>
<tr>
...
...
@@ -120,6 +127,11 @@
<td>
{{
item
.
ContactPhone
}}
</td>
<td>
{{
item
.
Addres
}}
</td>
<td>
{{
item
.
CreateDateStr
}}
</td>
<td>
<span
v-if=
"item.ApplyState === 0"
class=
"_status_str _status_str_y"
>
审核中
</span>
<span
v-if=
"item.ApplyState === 1"
class=
"_status_str _status_str_g"
>
已通过
</span>
<span
v-if=
"item.ApplyState === 2"
class=
"_status_str _status_str_r"
>
已拒绝
</span>
</td>
<td>
<input
type=
"button"
...
...
@@ -270,11 +282,9 @@ export default {
color
:
#333
;
}
.CertificationDetail
.list
.item
{
width
:
380px
;
height
:
auto
;
overflow
:
hidden
;
border
:
1px
solid
#e6e6e6
;
margin
:
20px
0
20px
20px
;
padding
:
20px
;
}
.CertificationDetail
.list
.item
.topMsg
{
...
...
@@ -298,9 +308,8 @@ export default {
padding
:
15px
0
;
}
.CertificationDetail
.list
.itemAnswer
{
width
:
380px
;
height
:
auto
;
margin
:
20px
0
20px
20px
;
margin
:
20px
;
padding
:
20px
;
background
:
#ebf0ff
;
}
...
...
@@ -373,4 +382,22 @@ export default {
.salesApprovalLayercontentDiv
{
width
:
450px
!important
;
}
.salesApprovalLayercontentBtn
.img_box
img
{
height
:
120px
;
}
._status_str
{
float
:
right
;
}
._status_str_y
{
color
:
#E6A23C
;
}
._status_str_g
{
color
:
#67C23A
;
}
._status_str_r
{
color
:
#F56C6C
;
}
td
._status_str
{
float
:
initial
}
</
style
>
\ No newline at end of file
src/components/activity/CouponList.vue
View file @
a8927ed3
...
...
@@ -17,9 +17,16 @@
text-decoration
:
underline
;
cursor
:
pointer
;
}
/* .page_CouponList .el-button.is-circle{
border-radius: 4px
} */
.text_al_left
{
text-align
:
left
;
padding
:
0
10px
;
}
</
style
>
<
template
>
<div
class=
"flexOne"
>
<div
class=
"flexOne
page_CouponList
"
>
<div
class=
"query-box"
>
<ul
class=
"user_time_picker"
>
<li>
...
...
@@ -141,24 +148,45 @@
<span
v-if=
"item.couponStatus == 3"
style=
"color: red"
>
{{
$t
(
'system.ph_shanchu'
)
}}
</span>
</td>
<td>
{{
item
.
createUserName
}}
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"outerVisible=true,dialogTitle=$t('pub.updateMsg'),updateData(item),getCompany()"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.cl_deleteCoupon')"
placement=
"top"
>
<td
class=
"text_al_left"
>
<!--
<el-button-group>
-->
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top"
>
<el-button
v-if=
"item.couponEffectStatus === 2 && item.couponStatus === 1"
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"outerVisible=true,dialogTitle=$t('pub.updateMsg'),updateData(item),getCompany()"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.cl_jyCoupon')"
placement=
"top"
>
<el-button
v-if=
"item.couponStatus !==
3
"
v-if=
"item.couponStatus !==
2
"
type=
"danger"
icon=
"iconfont icon-
img_delete_small
"
icon=
"iconfont icon-
jinyong
"
circle
@
click=
"deleteItem(item)"
@
click=
"deleteItem(item
, 2
)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.cl_hfCoupon')"
placement=
"top"
>
<el-button
v-if=
"item.couponStatus === 2"
type=
"success"
icon=
"iconfont icon-huifu"
circle
@
click=
"deleteItem(item, 3)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.cl_deleteCoupon')"
placement=
"top"
>
<el-button
v-if=
"item.couponStatus === 2"
type=
"danger"
icon=
"iconfont icon-img_delete_small"
circle
@
click=
"deleteItem(item)"
></el-button>
</el-tooltip>
<!--
</el-button-group>
-->
</td>
</tr>
</table>
...
...
@@ -536,13 +564,22 @@ export default {
this
.
isleaveBtn
=
true
;
},
// 删除
deleteItem
:
function
(
item
)
{
this
.
$confirm
(
this
.
$t
(
'tips.qrsc'
)
+
'“'
+
item
.
couponsName
+
'”'
+
this
.
$t
(
'tips.scyhquan'
),
this
.
$t
(
'tips.tips'
),
{
deleteItem
:
function
(
item
,
type
)
{
let
text
=
this
.
$t
(
'tips.qrsc'
);
let
status
=
3
;
if
(
type
==
2
)
{
text
=
this
.
$t
(
'tips.qrjinyong'
);
status
=
2
}
else
if
(
type
==
3
)
{
text
=
this
.
$t
(
'tips.qrhuifu'
);
status
=
1
}
this
.
$confirm
(
text
+
'“'
+
item
.
couponsName
+
'”'
+
this
.
$t
(
'active.ad_yhq'
),
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
'warning'
}).
then
(()
=>
{
this
.
apiJavaPost
(
"/api/sell/coupon/updateCouponStatus"
,
{
couponId
:
item
.
id
,
status
:
3
,},
res
=>
{
this
.
apiJavaPost
(
"/api/sell/coupon/updateCouponStatus"
,
{
couponId
:
item
.
id
,
status
:
status
,},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
...
...
src/plug/index.js
View file @
a8927ed3
...
...
@@ -118,9 +118,9 @@ export default {
let
domainUrl
=
''
;
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://192.168.2.65:8025"; //214主域名
//
domainUrl = "http://192.168.2.214:8082"; //214主域名
domainUrl
=
"http://192.168.2.214:8082"
;
//214主域名
// domainUrl = "http://192.168.0.119:8082";
domainUrl
=
"http://192.168.2.16:8083"
;
//
domainUrl = "http://192.168.2.16:8083";
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'viitto'
)
!==
-
1
)
{
...
...
@@ -151,7 +151,7 @@ export default {
UploadUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://upload.oytour.com"
:
"http://192.168.2.214:8120"
,
//文件站点
ViittoFileUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://imgfile.oytour.com"
:
'http://192.168.2.214:8130'
,
javaUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://192.168.2.215:9000"
,
javaUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://efficient.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.215:9000"
,
};
return
obj
;
},
...
...
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